Voltage stabilizer, power supply circuit, power supply method based on processor, equipment and medium
Through the output power controller and converter in the voltage regulator, combined with firmware burning technology, the processor power supply voltage is adjusted in real time, which solves the problem of poor processor power supply compatibility, realizes adaptive power supply, and ensures the normal operation of the processor under different loads.
Patent Information
- Application Number
- CN202510935112.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2045-07-08
AI Technical Summary
The processor supply voltage requirements of different manufacturers are different, resulting in poor compatibility of the processor power supply design in the server. Under heavy load conditions, the power supply voltage is below the critical value and affects the normal operation of the processor.
It adopts voltage regulators, including output power controllers and converters with firmware burning function, monitors processor power parameters in real time through management controllers, dynamically adjusts the power supply voltage to meet different voltage needs, and realizes adaptive power supply.
The compatibility and stability of the processor power supply is achieved, ensuring that the processor works normally under different load conditions, and avoiding the problem of the supply voltage being lower than the critical value.
Smart Images

Figure CN120428840A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a voltage stabilizer, a power supply circuit, a processor-based power supply method, a device, and a medium. Background Art
[0002] With the explosive growth of data volumes, the efficient flow of massive amounts of data requires significant computing power, posing challenges to the data storage and transmission capabilities of servers. This also poses challenges to the power supply voltage for each processor within the server. Different manufacturers have varying power supply voltage requirements, leading to poor compatibility among processor power supply designs within servers. Furthermore, under heavy loads, the power supply voltage can drop below the specified critical voltage, impacting the processor's power supply and, in turn, the server's normal operation.
[0003] Therefore, how to ensure the normal operation of the processor's power supply while being compatible with different power supply voltage requirements is an urgent problem that those skilled in the art need to solve. Summary of the Invention
[0004] The present application provides a voltage stabilizer, a power supply circuit, a processor-based power supply method, a device and a medium to at least solve the problem of poor compatibility of the power supply voltage requirements of the processor and the problem of affecting the normal power supply of the processor in the related art.
[0005] The present application provides a voltage stabilizer, including an output power controller with a power parameter configuration function and a converter with a firmware burning function;
[0006] The output power controller is connected to a management controller, and the management controller is connected to a target processor, so that the management controller detects actual output power parameters of the target processor, determines configuration power parameters based on the actual output power parameters and preset output power parameters pre-programmed into the converter, and inputs the configuration power parameters into the output power controller for configuration processing;
[0007] The converter is connected to the output power controller and the target processor, and is used to receive the configuration power parameters output by the output power controller to supply power to the target processor.
[0008] The present application also provides a power supply circuit, comprising a board, a target processor and the voltage regulator described above;
[0009] The board is connected to the voltage stabilizer;
[0010] The voltage regulator is connected to the target processor.
[0011] The present application provides a processor-based power supply method, which is applied to a voltage stabilizer. The voltage stabilizer includes an output power controller with a power parameter configuration function and a converter with a firmware burning function; the output power controller is connected to a management controller, which is connected to a target processor; the converter is connected to the output power controller and the target processor; the method includes:
[0012] detecting actual output power parameters of the target processor;
[0013] determining a configuration power supply parameter based on the actual output power supply parameter and a preset output power supply parameter pre-programmed into the converter;
[0014] The configured power supply parameters are configured and processed by an output power supply controller so as to be output to the converter to supply power to the target processor.
[0015] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned processor-based power supply methods when executing the computer program.
[0016] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned processor-based power supply methods are implemented.
[0017] According to the present application, on the one hand, the voltage stabilizer includes an output power controller with a power parameter configuration function and a converter with a firmware burning function. Compared with the converter in conventional technical means, the converter of the present application has a firmware burning function, which can realize the unified power supply of different voltage requirements in software without changing the hardware connection relationship inside the converter, and has compatibility. The output power controller has the power parameter configuration function. On the basis of the original converter, an output power controller is added to facilitate the hardware structure of the subsequent control configuration operation for the configured power parameters. On the other hand, the output power controller is connected to the management controller, and the management controller is connected to the target processor. The management controller monitors the actual output power parameters of the target processor in real time, and knows the deviation value between the actual output power parameters and the preset output power parameters pre-burned into the converter to determine the configuration power parameters, and inputs them into the output power controller for configuration processing, so as to achieve real-time adjustment according to the actual workload of the actual output power parameters. Thirdly, the converter is connected to the output power controller and the target processor. The configuration power parameters are determined by the management controller and the hardware configuration is performed by the output power controller, and the configuration power parameters are output to the converter to power the target processor, thereby realizing the adaptive power supply of the target processor and ensuring the normal power supply of the target processor and the normal operation of the server.
[0018] Therefore, the poor compatibility of the power supply voltage requirements of conventional processors and the technical problems that affect the normal power supply of the processor can be solved, so that the different power supply voltage requirements can be met by using firmware burning, while the power supply parameters can be determined and configured in real time according to the processor's workload, so as to adjust the output through the hardware configuration of the output power controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0020] Figure 1 A structural diagram of a power supply circuit between a conventional voltage regulator and a processor;
[0021] Figure 2 A schematic structural diagram of a voltage stabilizer provided in an embodiment of the present application;
[0022] Figure 3 A flowchart of a firmware burning method for determining preset output power parameters provided in an embodiment of the present application;
[0023] Figure 4A schematic structural diagram of another voltage stabilizer provided in an embodiment of the present application;
[0024] Figure 5 A flowchart of a processor-based power supply method provided in an embodiment of the present application;
[0025] Figure 6 A flowchart of another processor-based power supply method provided in an embodiment of the present application;
[0026] Figure 7 A schematic structural diagram of a processor-based power supply device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0028] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0029] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0030] In conjunction with the specific application environment architecture or the specific hardware architecture on which the execution of the power supply method of the processor depends, the specific application environment architecture or the specific hardware architecture is described herein.
[0031] For example, retimer processors, a key component of high-speed interconnect solutions, utilize internal clock recovery technology to retime and regenerate signals, eliminating jitter and noise. This addresses signal attenuation during high-speed data transmission and ensures that data reaches its destination cleanly and intact. For example, in artificial intelligence (AI) servers, the high-speed interconnect between the graphics processing unit (GPU) and the central processing unit (CPU) relies on retimer processors to maintain signal quality. Currently, processors from different manufacturers have varying power supply voltage requirements, resulting in incompatible power supply designs for retimer processors. Furthermore, retimer processors have strict power supply voltage requirements. Under heavy load, the supply voltage can fall below the specified voltage, causing the retimer processor to malfunction and impacting high-speed interconnection.
[0032] Figure 1 This is a structural diagram of the power supply circuit between a conventional voltage regulator and a processor, such as Figure 1 As shown, three sets of point-of-load power supplies (POL) (i.e., the first regulator) and a set of low-dropout linear regulator (LDO) power supplies (i.e., the second regulator) are designed on the board to convert the P12V on the board into P0V9_P1V0_P0V8, P1V8_P1V2_P1V5, P1V8, and P3V3. These four sets of power supplies are respectively supplied to the PWR_2D, PWR_2A, PWR_1A, and PWR_1D pins of the target processor (Retimer processor). All of them are connected to the input power pins at Figure 1 In display.
[0033] The current processors have different power supply voltage requirements, among which the voltage of PWR_2D and PWR_2A (in Figure 1 The first two input power pins from top to bottom of the target processor in the target processor) require 0.9V, 1.0V and 0.8V; the voltage requirements of PWR_1A are 1.8V, 1.2V and 1.5V (in Figure 1 The third input power pin from the top to the bottom of the target processor in the target processor); the voltage requirement of PWR_1D is 1.8V (in Figure 1The last input power pin of the target processor from top to bottom in the power supply design. To accommodate different voltage requirements, current power supply designs use a common voltage regulator (VR) solution. This solution uses a common layout (colay) to create a voltage divider resistor in the feedback circuit to output different voltages. Different retimer processors correspond to different board bills of materials (BOMs). Current retimer processors use a colay design to accommodate different voltage requirements. This solution has complex schematics and BOMs, and does not achieve a unified power supply design.
[0034] In addition, the Retimer processor's PWR_2A is an analog input pin, and PWR_2D is a digital input pin. The current design uses a magnetic bead to isolate P0V9_P1V0_P0V8 as analog power and supply it to the PWR_2A pin. Therefore, the VR voltage sampling point (sense) can only be set to the front end of the magnetic bead. When the workload of the Retimer processor increases, the voltage drop from the magnetic bead to the processor pin (pin) will increase, and the Retimer processor has a small power supply voltage range (the minimum is 3%), which will cause the VR output voltage to be lower than the processor's required voltage range, causing the retimer processor to not work properly and affecting high-speed interconnection. The voltage regulator provided in this application can solve the above technical problems.
[0035] Figure 2 A schematic diagram of the structure of a voltage stabilizer provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, it includes an output power controller 1 with a power parameter configuration function and a converter 4 with a firmware burning function;
[0036] The output power controller 1 is connected to the management controller 2, and the management controller 2 is connected to the target processor 3, so that the management controller 2 detects the actual output power parameters of the target processor 3, determines the configuration power parameters based on the actual output power parameters and the preset output power parameters pre-burned into the converter 4, and inputs the configuration power parameters to the output power controller 1 for configuration processing;
[0037] The converter 4 is connected to the output power controller 1 and the target processor 3 , and is used to receive the configured power parameters output by the output power controller 1 to supply power to the target processor 3 .
[0038] Specifically, the output power controller controls the converter's output voltage. It's essentially a digitally controlled analog switch. The specific model is not limited and can be configured based on practical needs, such as the CD4051. It features low on-resistance and extremely low off-leakage current, and is used for switching and controlling various analog signals, including controlling the converter's output voltage. In this embodiment, it includes the ability to configure power supply parameters to select the analog signal to be switched based on the configured power supply parameters.
[0039] The converter features firmware flashing. It should be noted that this converter includes Power Management Bus (PMBus) functionality and supports the Voltage Regulator Cloud protocol, such as Voltage Regulator 1X Cloud (VR1X.Cloud). 1X represents a specific voltage regulator with a maximum current of 20A to meet the power supply requirements of different processor manufacturers. This converter is designed for applications requiring precise control of output voltage and current. Because the converter supports the VR1X.Cloud protocol, the processor's output voltage and power supply parameters are set through the processor's internal VR firmware, meaning it has firmware flashing capabilities.
[0040] The power supply parameters here can be the supply voltage, or other parameters such as current or resistance for adjustment, as long as they can represent the parameters corresponding to the normal operation of the power supply.
[0041] For example, three firmware files are set for P0V9_P1V0_P0V8, with the output voltages set to 0.9V, 1.0V, and 0.8V; three firmware files are set for P1V8_P1V2_P1V5, with the output voltages set to 1.8V, 1.2V, and 1.5V. The voltage regulator firmware (VR FW) is stored in advance in the baseboard management controller (BMC) flash memory.
[0042] Firmware flashing allows for dynamic adjustment of the supply voltage during runtime, optimizing power supply parameter settings in real time. Software configuration can be adapted to different application scenarios and requirements without replacing hardware. Digital control and feedback mechanisms enable highly precise voltage settings. For example, the Digital Power System Controller (DPS) can precisely control voltage down to the millivolt level. Real-time calibration and compensation ensure voltage stability and accuracy.
[0043] Table 1 is a table of power supply voltages corresponding to different firmwares. As shown in Table 1, different firmware files adjust the output voltage of the converter. As long as the model of the target processor is automatically identified before the machine is turned on, adjustments can be made to achieve a unified power supply hardware design.
[0044] Table 1
[0045] Figure 3 The flowchart of a firmware burning and determining preset output power parameters provided in the embodiment of the present application is as follows: Figure 3 As shown, this step includes:
[0046] S11: Power on the board;
[0047] S12: The management controller identifies the board identifier information to determine the model of the target processor;
[0048] S13: The management controller burns the target firmware corresponding to the target processor into the converter;
[0049] S14: After the management controller detects that the target firmware is successfully burned, it allows the server to start up.
[0050] After the machine is powered on by alternating current (AC), the management controller obtains the board identifier information, which is related to the retimer processor model, and burns the firmware in the management controller flash to the converter via the PMBus bus. After the VR FW is successfully burned, the machine can start up.
[0051] The output power controller is connected to the management controller, which is in turn connected to the target processor. The management controller detects the actual output power parameters of the target processor in real time. The preset output power parameters are pre-programmed into the converter. These preset output power parameters correspond to a larger range for different power supply requirements. If the actual output power parameters exceed the specification range, the required configuration power parameters are determined based on the actual output power parameters and the preset output power parameters. It should be noted that the configuration power parameters here are not differential power parameters, but rather the differential power parameters plus the preset output power parameters to obtain the final power parameters after compensation.
[0052] The configuration processing of the output power controller takes into account the different configuration intervals for configuring the power parameters. After finding the gear of the power parameters under the corresponding configuration interval, the configuration power parameters will be mapped using the hardware pin mapping relationship to connect the output pin and the pin corresponding to the gear of the power parameters under the configuration interval, and output the final configuration power parameters to the converter to power the target processor.
[0053] The converter is connected to the output power controller and the target processor to receive the final configuration power parameters output by the output power controller and supply power to the target processor.
[0054] According to the embodiments of the present application, in the first aspect, the voltage stabilizer includes an output power controller with a power parameter configuration function and a converter with a firmware burning function. Compared with the converter in conventional technical means, the converter of the present application has a firmware burning function, which can achieve unified power supply for different voltage requirements in software without changing the hardware connection relationship inside the converter, and has compatibility. The output power controller has the power parameter configuration function. On the basis of the original converter, an output power controller is added to facilitate the hardware structure of the subsequent control configuration operation for the configured power parameters. In the second aspect, the output power controller is connected to the management controller, and the management controller is connected to the target processor. The management controller monitors the actual output power parameters of the target processor in real time, and knows the deviation value between the actual output power parameters and the preset output power parameters pre-burned into the converter to determine the configuration power parameters, and inputs them into the output power controller for configuration processing, so as to achieve real-time adjustment according to the actual workload of the actual output power parameters. Thirdly, the converter is connected to the output power controller and the target processor. The configuration power parameters are determined by the management controller and the hardware configuration is performed by the output power controller, and the configuration power parameters are output to the converter to power the target processor, thereby realizing the adaptive power supply of the target processor and ensuring the normal power supply of the target processor and the normal operation of the server.
[0055] Therefore, the poor compatibility of the power supply voltage requirements of conventional processors and the technical problems that affect the normal power supply of the processor can be solved, so that the different power supply voltage requirements can be met by using firmware burning, while the power supply parameters can be determined and configured in real time according to the processor's workload, so as to adjust the output through the hardware configuration of the output power controller.
[0056] In some embodiments, the status pin of the output power controller is connected to the configuration status pin of the management controller; wherein the number of the configuration status pins is related to the number of the resistor pins in the configuration interval corresponding to the configuration power parameter;
[0057] The sensor pin of the management controller is connected to the input power pin of the target processor.
[0058] Specifically, Figure 4 A schematic diagram of the structure of another voltage stabilizer provided in an embodiment of the present application is shown in FIG. Figure 4 As shown in the figure, the status pins (A, B, C) of the output power controller are connected to the configuration status pins (BMC_VR_CONFIG_STATE_A, BMC_VR_CONFIG_STATE_B, and BMC_VR_CONFIG_STATE_C) of the management controller. It should be noted that the number of configuration status pins is related to the number of resistor pins in the configuration interval corresponding to the configuration power parameters. Specifically, the signal of the configuration status pin is represented by binary data. The binary data of the combination of the three configuration status pins represents 8 different results ( ), divided into 8 configuration intervals, corresponding to 8 resistor pins. If there are N configuration status pins, the corresponding representation As a result, it can be divided configuration intervals, corresponding to resistor pins.
[0059] For example, there are eight resistor pins (R0-R7), corresponding to configurations 1-8. The output voltage interval is set with 10mV. The output voltage values of configurations 1-8 are adjusted to 0.77V, 0.78V, 0.79V, 0.8V, 0.81V, 0.82V, 0.83V, and 0.84V. Configuration 3 is the default configuration.
[0060] The sensor pins (P0V9_P1V0_P0V8_SENSOR or P1V8_P1V2_P1V5_SENSOR) of the management controller are connected to the input power pin (PWR) of the target processor to detect the actual output power parameters of the target processor. Figure 4 As shown, in the circuit connecting the enable pin of the converter to the target processor, there is an inductor L1, which acts as a filter, and a parallel branch of resistors R8-R11, which acts as a voltage divider.
[0061] The number of resistor pins set inside the output power controller provided in this embodiment and the corresponding transmission connection relationship are adjusted in real time through hardware to improve the response speed, thereby ensuring that the processor power supply remains within the specification range and providing a stable and reliable power supply method.
[0062] In some embodiments, a configuration pin of the converter is connected to an output pin of the output power controller, and an enable pin of the converter is connected to an input power pin of the target processor;
[0063] The output power controller includes at least one resistance branch corresponding to the configuration interval;
[0064] When there are multiple resistance branches, the first end of the resistance branch is connected to the resistance pin of the output power controller; the second end of the resistance branch is grounded;
[0065] The output power controller is used to receive the configuration power parameters to adjust and determine the corresponding configuration resistor, and connect the resistor pin corresponding to the configuration resistor to the output pin for output.
[0066] Figure 4 Each resistor pin of the output power controller is connected to a corresponding resistor branch (R0-R7, respectively). This resistor branch must correspond to at least one configuration interval, meaning there's a configuration interval between adjacent resistor branches. If there are multiple resistor branches, the first end of each resistor branch is connected to the output power controller's resistor pin, and the second end is grounded. The converter's configuration pin (ADDR / CONFIG) is connected to the output pin (OUT) of the output power controller. A smaller configuration interval results in higher output accuracy for the corresponding configuration power parameters, and the number of corresponding resistor pins is greater. This configuration interval should be set based on actual conditions.
[0067] The output power controller is used to receive the configuration power parameters and adjust them to determine the corresponding configuration resistors, which are then mapped to the resistor pins and then connected to the output pins for output.
[0068] The configuration switching process within the output power controller provided in this embodiment ensures that, while obtaining accurate configuration power parameters, the output is achieved in hardware via analog signals to the resistor pins corresponding to different configuration intervals within the output power controller.
[0069] In some embodiments, the converter is further connected to the management controller for burning target firmware, wherein the target firmware is determined by the configuration power parameters and the firmware mapping.
[0070] Specifically, considering that the above embodiment achieves configuration adjustment through hardware switching within the output power controller, in this embodiment, configuration adjustment can also be performed using software. In this process, one firmware flash corresponds to one configuration interval, while in the above embodiment, one firmware flash corresponds to multiple configuration intervals within the output power controller. The flash process here is based on connecting other pins of the management controller to the serial clock signal pin and serial data signal pin of the converter.
[0071] The firmware burning method of this embodiment is the same as the firmware burning method corresponding to the above embodiment, except that the intervals of power supply parameters such as voltage are smaller.
[0072] This embodiment adopts a software firmware burning method in the specific switching configuration process of configuring power parameters, thereby improving the diversity and flexibility of the adjustment configuration.
[0073] Furthermore, the present application also provides a power supply circuit, comprising a board, a target processor and the above-mentioned voltage regulator;
[0074] The board is connected to the voltage regulator;
[0075] The voltage regulator is connected to the target processor.
[0076] The specific connection relationship and implementation method of the board, voltage regulator and target processor are the same as the conventional signal transmission method and are not limited here. It only corresponds to the modification of the hardware connection relationship inside the voltage regulator.
[0077] For an introduction to a power supply circuit provided in this application, please refer to the above method embodiment, which will not be described in detail in this application. It has the same beneficial effects as the above-mentioned voltage stabilizer.
[0078] Furthermore, the present application also provides a processor-based power supply method, which is applied to a voltage stabilizer, wherein the voltage stabilizer includes an output power controller with a power parameter configuration function and a converter with a firmware burning function; the output power controller is connected to a management controller, which is connected to a target processor; and the converter is connected to the output power controller and the target processor. Figure 5 A flowchart of a processor-based power supply method provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method includes:
[0079] S21: Detecting actual output power parameters of the target processor;
[0080] S22: determining configuration power supply parameters according to actual output power supply parameters and preset output power supply parameters pre-programmed into the converter;
[0081] S23: The configured power supply parameters are configured and processed by the output power controller to be output to the converter to supply power to the target processor.
[0082] Specifically, taking the Retimer processor as an example, during normal operation, the BMC control module uses the analog-to-digital converter (ADC) sampling circuit to obtain the voltage value of the processor pin in real time. The voltages of P0V9_P1V0_P0V8 and P1V8_P1V2_P1V5 are transmitted back to the BMC control module in the form of digital signals through the P0V9_P1V0_P0V8_SENSOR and P1V8_P1V2_P1V5_SENSOR signals. The BMC calculates the data and confirms the configuration information that needs to be adjusted through Vnormal-Vsensor.
[0083] The management controller and output power controller are interconnected via BMC_VR_CONFIG_STATE_A, BMC_VR_CONFIG_STATE_B, and BMC_VR_CONFIG_STATE_C. Upon receiving digital signals from the management controller, the output power controller turns on the corresponding pin, connecting a resistor in series with the converter's ADDR / CONFIG pin. This changes the VR configuration and the output voltage. This design allows real-time acquisition of the retimer processor pin voltage. The VR output voltage is adaptively adjusted based on the retimer processor pin voltage, keeping the processor supply voltage within specification and ensuring stable and reliable power supply.
[0084] The actual output power parameters of the target processor are detected, and the specific adjusted configuration power parameters are determined based on the actual output power parameters and the preset output power parameters. The configuration power parameters are accurately adjusted within a narrow range through the switching process of the analog signal inside the output power controller, and are ultimately output to the converter to provide normal power to the target processor.
[0085] For an introduction to a processor-based power supply method provided in this application, please refer to the above method embodiment, which will not be repeated here in this application. It has the same beneficial effects as the above-mentioned voltage stabilizer.
[0086] In some embodiments, a status pin of the output power controller is connected to a configuration status pin of the management controller; wherein the number of the configuration status pins is related to the number of resistor pins in a configuration interval corresponding to the configuration power parameter; a sensor pin of the management controller is connected to an input power pin of the target processor; and determining the configuration power parameter based on the actual output power parameter and the preset output power parameter pre-programmed into the converter includes:
[0087] Determine a differential power supply parameter according to the actual output power supply parameter and the preset output power supply parameter;
[0088] determining a configuration power supply parameter based on the differential power supply parameter and the preset output power supply parameter;
[0089] Presetting the number of configuration intervals corresponding to the configuration power parameters of the output power controller;
[0090] Performing mapping processing based on the number of configuration intervals and the resistance pins of the output power controller to determine a first mapping relationship; wherein the configuration intervals between the power parameters corresponding to the multiple resistance pins are the same;
[0091] Determine the target resistor pin corresponding to the configuration power supply parameter according to the first mapping relationship;
[0092] Determine target coding information of coding information corresponding to binary data of identification data corresponding to a target resistor pin at a plurality of resistor pins;
[0093] Determine configuration status information output by a configuration status pin of the management controller according to the target coding information;
[0094] The configuration status information is outputted from the configuration status pin, so that the configuration power parameters are inputted to the converter through the output power controller.
[0095] Specifically, the differential power parameters are first determined based on the actual output power parameters and the preset output power parameters; the configuration power parameters are then determined based on the differential power parameters and the preset output power parameters. It should be noted that the configuration power parameters are only theoretical information about the currently adjusted configuration power parameters, and hardware adjustments have not yet been made. Therefore, it is necessary to map the number of configuration intervals corresponding to the preset configuration power parameters of the output power controller to the resistor pins to obtain a first mapping relationship. For example, if the output voltage interval is set to 10mV and the voltage is 0.8V, the output voltage values of configurations 1-8 are adjusted to 0.77V, 0.78V, 0.79V, 0.8V, 0.81V, 0.82V, 0.83V, and 0.84V.
[0096] Determine the target resistor pin corresponding to the configuration power parameter according to the first mapping relationship to find the target resistor pin that needs to be switched. If the management controller sends the corresponding information, check the target encoding information of the binary encoding information under the identification data corresponding to the target resistor pin in the multiple resistor pins. For example, combined with Figure 3 If the target resistor pin is S7, the corresponding identification data is 8, and the target encoding information is 111, so Figure 3 The configuration status information output by the configuration status pin of the management controller is 111, that is, all three pins output high levels. The corresponding target resistor pin S7 is obtained. The converter's configuration pin is turned on, and its target resistor is connected in series to the configuration pin. This changes the configuration information and the output power parameters.
[0097] This embodiment provides a method for determining configuration power supply parameters based on actual output power supply parameters and preset output power supply parameters pre-programmed into the converter. From the initial theoretical determination of the data to be adjusted to the subsequent adjustment of the hardware configuration of the output power controller, truly adaptive adjustment is achieved, so that the processor power supply remains within the specification range, ensuring stable and reliable power supply.
[0098] In some embodiments, after determining the differential power supply parameter, the method further includes:
[0099] The numerical information of the target digits of the difference power parameter is processed according to the rounding method to obtain the updated difference power parameter, and the step of determining the configuration power parameter based on the difference power parameter and the preset output power parameter is entered.
[0100] It should be noted that, considering that the configuration interval in this embodiment is small, the conventional voltage is indicated in "V", but the configuration interval is indicated in "mV", so in this process, the differential power parameter is also indicated in "mV". On the basis of not affecting normal operation, in order to facilitate subsequent conversion and simplify calculation, the numerical information of the target number of digits (minimum number of digits) of the differential power parameter is rounded off to obtain the updated differential power parameter, so as to enter the step of determining the configuration power parameter based on the differential power parameter and the preset output power parameter in the above embodiment.
[0101] This embodiment provides a method for processing the difference power supply parameter by rounding off, which simplifies the calculation process and improves the hardware response speed while ensuring the adjustment accuracy.
[0102] Figure 6 A flowchart of another processor-based power supply method provided in an embodiment of the present application is shown in FIG. Figure 6 The specific steps are as follows:
[0103] S31: The target processor is working normally, and the actual output power parameters vary with the workload;
[0104] S32: obtaining the actual output power parameters in real time through the sampling circuit;
[0105] S33: Determine a differential power supply parameter according to the actual output power supply parameter and the preset output power supply parameter;
[0106] S34: Processing the difference power parameter according to a rounding method to obtain an updated difference power parameter;
[0107] S35: Determine the configuration power supply parameter based on the difference power supply parameter and the preset output power supply parameter;
[0108] S36: Transfer the configured power supply parameters to the output power supply controller;
[0109] S37: The output power supply controller connects the target resistor corresponding to the configuration to the configuration pin of the converter;
[0110] S38: The converter outputs the configured power supply parameters.
[0111] Taking the P0V9_P1V0_P0V8 power supply as an example, the default voltage is 0.8V.
[0112] The technical solution of this application has the following specific implementation steps:
[0113] Step 1: When the machine is powered on by AC, the management controller powers on and works normally. The management controller reads the board identifier information and judges through the board identifier information that this Retimer processor needs to burn VR FW3 (firmware file);
[0114] Step 2: The management controller burns the VR FW3 inside the management controller flash into the converter through the SMB_HOST_VR_PMBUS_SCL and SMB_HOST_VR_PMBUS_SDA signals;
[0115] Step 3: After the management controller detects that the VR FW3 is successfully burned, the power-on sequence can be normally executed. Otherwise, the machine cannot be powered on;
[0116] Step 4: After the machine is powered on, the Retimer processor works normally, the processor load increases, a voltage drop occurs from the VR voltage sense point to the processor pin, and the voltage at the Retimer processor pin obtained by the ADC sampling circuit is 0.779V, which is transmitted to the management controller control module through the P0V9_P1V0_P0V8_SENSOR signal;
[0117] Step 5: The management controller obtains the voltage value of 0.779V for calculation. According to Vchange = Vnormal - Vsensor, 0.8V - 0.779V = 21mV. The output voltages of 8 configuration information are set at intervals of 10mV. When 1mV < V ≤ 5mV, it is discarded, and when 5mV < V < 10mV, it is incremented to 10mV. Through calculation, it can be obtained that the VR output voltage needs to be increased by 20mV, that is, 0.82V;
[0118] Step 6: According to the 0.82V calculated by the management controller, the VR FW needs to be adjusted to configuration 6. The management controller transmits digital signals to the output power supply controller through the management controller_VR_CONFIG_STATE_A, management controller_VR_CONFIG_STATE_B, and management controller_VR_CONFIG_STATE_C;
[0119] Step 7: After receiving the signal, the output power controller takes action and connects R6 to the ADDR / CONFIG pin of the VR. At this time, the VR output voltage is adjusted to 0.82V, and the voltage on the retimer processor pin becomes 0.799V.
[0120] Step 8: Repeat steps 5-7. The management controller adaptively adjusts the VR output voltage based on the voltage at the processor pin to ensure that the retimer supply voltage remains within the specification range.
[0121] In some embodiments, in combination with the above embodiments, the management controller is further connected to the converter; in this case, the corresponding method further includes:
[0122] During the power supply test, obtaining a first actual output power parameter and a first preset output power parameter;
[0123] Determine a differential power supply parameter according to the actual output power supply parameter and the preset output power supply parameter;
[0124] determining a configuration power supply parameter based on the differential power supply parameter and the preset output power supply parameter;
[0125] Presetting the number of configuration intervals corresponding to the configuration power parameters of the output power controller;
[0126] Performing mapping processing based on the number of configuration intervals and the resistance pins of the output power controller to determine a first mapping relationship; wherein the configuration intervals between the power parameters corresponding to the multiple resistance pins are the same;
[0127] Determine the target resistor pin corresponding to the configuration power supply parameter according to the first mapping relationship;
[0128] Determine target coding information of coding information corresponding to binary data of identification data corresponding to a target resistor pin at a plurality of resistor pins;
[0129] Determine configuration status information output by a configuration status pin of the management controller according to the target coding information;
[0130] Outputting the configuration status information from the configuration status pin to input the configuration power parameters to the converter through the output power controller;
[0131] Obtaining a second actual output power parameter output by the converter;
[0132] Determine the target firmware to be burned by configuring the power supply parameters; burn the target firmware to the converter and obtain the third actual output power parameter output by the converter;
[0133] Determining a first difference between a first actual output power parameter and a second actual output power parameter and a second difference between the first actual output power parameter and a third actual output power parameter;
[0134] If the first difference is less than or equal to the second difference, the connection mode of the output power controller, the management controller and the converter is selected for power supply;
[0135] If the first difference is greater than the second difference, the connection mode between the management controller and the converter is selected for power supply.
[0136] Specifically, in this embodiment, the adjustment strategy is implemented by combining the hardware adjustment method and the software burning method of the output power controller. In actual application, only one method can be adopted. However, it is necessary to test the two adjustment strategies to determine which method to adopt. The technical solution of this embodiment mainly checks which method is more accurate during the test process.
[0137] The hardware adjustment method in this embodiment is the same as that in the above embodiment and will not be further described here. The second actual output power parameter is data collected in real time after the hardware adjustment method described above, and is used to verify the accuracy of the hardware adjustment method. The third actual output power parameter is based on data collected in real time after the software adjustment method, and is used to verify the accuracy of the software adjustment method.
[0138] The first actual output power parameter is compared with the second actual output power parameter and the third actual output power parameter to determine a corresponding first difference and a corresponding second difference.
[0139] The first difference and the second difference are compared. If the first difference is less than or equal to the second difference, it indicates that the hardware adjustment method is better and the hardware adjustment method should be adopted. Otherwise, the software adjustment method should be adopted.
[0140] The comparison between the hardware adjustment method and the software adjustment method during the test process provided in this embodiment facilitates the subsequent selection of an adjustment method with higher accuracy, and performs testing in advance during the test phase to improve the reliability of the adjustment process.
[0141] The embodiment of the present application also provides a processor-based power supply device, Figure 7 A schematic diagram of a processor-based power supply device according to an embodiment of the present application is shown in FIG. Figure 7 As shown, the device includes:
[0142] Detection module 11, used to detect the actual output power parameters of the target processor;
[0143] a determination module 12 for determining configuration power parameters based on actual output power parameters and preset output power parameters pre-programmed into the converter;
[0144] The output module 13 is used to configure and process the configuration power parameters through the output power controller, so as to output the configuration power parameters to the converter to supply power to the target processor.
[0145] For the description of the features in the embodiment corresponding to the device, please refer to the relevant description of the embodiment corresponding to the processor-based power supply method, and will not be repeated here.
[0146] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned processor-based power supply method embodiments.
[0147] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned processor-based power supply method embodiments when run.
[0148] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0149] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned processor-based power supply method embodiments.
[0150] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above-mentioned processor-based power supply method embodiments are implemented.
[0151] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0152] The above is a detailed introduction to a voltage stabilizer, a power supply circuit, a processor-based power supply method, a device, and a medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.
Claims
1. A voltage stabilizer, characterized in that: Includes an output power controller with power parameter configuration function and a converter with firmware burning function; The output power controller is connected to a management controller, and the management controller is connected to a target processor, so that the management controller detects actual output power parameters of the target processor, determines configuration power parameters based on the actual output power parameters and preset output power parameters pre-programmed into the converter, and inputs the configuration power parameters into the output power controller for configuration processing; The converter is connected to the output power controller and the target processor, and is used to receive the configuration power parameters output by the output power controller to supply power to the target processor.
2. The voltage stabilizer according to claim 1, wherein: The status pin of the output power controller is connected to the configuration status pin of the management controller; wherein the number of the configuration status pins is related to the number of the resistor pins in the configuration interval corresponding to the configuration power parameter; The sensor pin of the management controller is connected to the input power pin of the target processor.
3. The voltage stabilizer according to claim 2, wherein: The configuration pin of the converter is connected to the output pin of the output power controller, and the enable pin of the converter is connected to the input power pin of the target processor; The output power controller includes at least one resistance branch corresponding to the configuration interval; When there are multiple resistance branches, a first end of each resistance branch is connected to a resistance pin of the output power controller; a second end of each resistance branch is grounded; The output power controller is used to receive configuration power parameters to adjust and determine corresponding configuration resistors, and connect the resistor pins corresponding to the configuration resistors to the output pins for output.
4. The voltage stabilizer according to any one of claims 1 to 3, characterized in that: The converter is further connected to the management controller for burning target firmware, wherein the target firmware is determined by the configuration power parameters and firmware mapping.
5. A power supply circuit, characterized in that: comprising a board, a target processor and a voltage regulator according to any one of claims 1 to 4; The board is connected to the voltage stabilizer; The voltage regulator is connected to the target processor.
6. A processor-based power supply method, characterized in that: Applicable to a voltage stabilizer, the voltage stabilizer includes an output power controller with a power parameter configuration function and a converter with a firmware burning function; the output power controller is connected to a management controller, and the management controller is connected to a target processor; The converter is connected to the output power controller and the target processor; the method includes: detecting actual output power parameters of the target processor; determining a configuration power supply parameter based on the actual output power supply parameter and a preset output power supply parameter pre-programmed into the converter; The configured power supply parameters are configured and processed by an output power supply controller so as to be output to the converter to supply power to the target processor.
7. The processor-based power supply method according to claim 6, characterized in that: The status pin of the output power controller is connected to the configuration status pin of the management controller; wherein the number of the configuration status pins is related to the number of resistor pins in the configuration interval corresponding to the configuration power parameter; the sensor pin of the management controller is connected to the input power pin of the target processor; and the configuration power parameter is determined based on the actual output power parameter and the preset output power parameter pre-programmed into the converter, including: Determining a differential power supply parameter according to the actual output power supply parameter and the preset output power supply parameter; determining a configuration power parameter based on the difference power parameter and the preset output power parameter; Presetting the number of configuration intervals corresponding to the configuration power parameters of the output power controller; Performing mapping processing based on the number of configuration intervals and the resistance pins of the output power controller to determine a first mapping relationship; wherein the configuration intervals between the power parameters corresponding to the plurality of resistance pins are the same; Determine the target resistor pin corresponding to the configured power supply parameter according to the first mapping relationship; Determine target coding information of coding information corresponding to binary data of identification data corresponding to the target resistor pin at multiple resistor pins; Determining configuration status information output by a configuration status pin of the management controller according to the target coding information; The configuration status information is outputted via the configuration status pin, so that the configuration power parameters are inputted into the converter via the output power controller.
8. The processor-based power supply method according to claim 7, characterized in that: After determining the differential power supply parameter, the method further includes: The numerical information of the target digits of the difference power parameter is processed according to the rounding method to obtain the updated difference power parameter, and then the step of determining the configuration power parameter based on the difference power parameter and the preset output power parameter is entered.
9. An electronic device, characterized in that: include: memory for storing computer programs; The first processor is configured to implement the steps of the processor-based power supply method according to any one of claims 6 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the processor-based power supply method according to any one of claims 6 to 8 are implemented.
Citation Information
Patent Citations
32-bit MCU chip test system and test method thereof
CN109633413A
Voltage converter firmware burning method, system and device and medium
CN111857787A
Server power consumption monitoring method, server, electronic equipment and storage medium
CN118101473A
Power supply distribution method, power supply distribution circuit, storage medium and electronic equipment
CN119834583A
Power supply power control method and device, and storage medium
CN120262866A