Power supply voltage regulating device, method and system, medium and product
Through the digital-to-analog converter and analog-to-digital converter combined with the power supply voltage regulation device of the controller, the problem of cumbersome and low efficiency of the power supply voltage regulation method in the prior art is solved, automatic and rapid voltage adjustment is realized, and voltage regulation efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202511055970.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The operating process of the existing power supply voltage regulation method is cumbersome and the voltage regulation efficiency is low. Especially in scenarios where frequent voltage adjustments are required, the machine needs to be shut down repeatedly and the circuit is disassembled, resulting in extremely low regulation efficiency.
The digital-to-analog converter and analog-to-digital converter are used in conjunction with the controller to achieve automatic voltage regulation. The controller receives the voltage regulation command and converts the digital signal into an analog voltage signal through the digital-to-analog converter. The analog-to-digital converter monitors the analog voltage signal output by the power module and feeds it back to the controller for comparison to ensure the accuracy of the voltage regulation.
No manual intervention is required, the voltage regulation efficiency is improved, and the rapid and flexible voltage adjustment is achieved to ensure that the output voltage of the power module meets the requirements.
Smart Images

Figure CN120560431A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a power supply voltage regulation device, method, system, medium and product. Background Art
[0002] Power management is a crucial component of modern electronic devices. Specifically, the stability and adjustability of the power module's output voltage directly impacts the device's performance. Consequently, power supply voltage regulation technology is widely used in communications equipment, industrial control, instrumentation, and other fields.
[0003] Currently, power supply voltage regulation employs resistor dividers. This approach involves inserting resistors of varying resistance into the power supply control loop, utilizing the resistor divider principle to alter the feedback voltage and thereby adjust the output voltage of the power supply module. However, this approach is cumbersome and inefficient. Summary of the Invention
[0004] The present application provides a power supply voltage regulation device, method, system, medium and product to at least solve the problems of power supply voltage regulation in related technologies, such as cumbersome operation procedures and low voltage regulation efficiency.
[0005] In a first aspect, the present application provides a power supply voltage regulating device, comprising:
[0006] A digital-to-analog converter, an analog-to-digital converter, and a controller, wherein the digital-to-analog converter and the analog-to-digital converter are both communicatively connected to the controller; the power supply module to be regulated is both communicatively connected to the digital-to-analog converter and the analog-to-digital converter;
[0007] A controller is configured to obtain a voltage regulation instruction, wherein the voltage regulation instruction includes a target voltage value; and send the target voltage value to a digital-to-analog converter;
[0008] a digital-to-analog converter, configured to perform digital-to-analog conversion according to a target voltage value to obtain a first analog voltage signal; and transmit the first analog voltage signal to a power supply module to be regulated; and the power supply module to be regulated is configured to operate according to the first analog voltage signal to output a second analog voltage signal;
[0009] an analog-to-digital converter, configured to acquire a second analog voltage signal and perform analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value;
[0010] The controller is further configured to obtain an initial voltage value, compare the initial voltage value with a target voltage value, and send a voltage regulation completion message when an error between the initial voltage value and the target voltage value is less than a preset threshold.
[0011] In a second aspect, the present application further provides a power supply voltage regulation method, comprising:
[0012] Obtaining a voltage regulation instruction; wherein the voltage regulation instruction includes a target voltage value;
[0013] The target voltage value is sent to a digital-to-analog converter; wherein the digital-to-analog converter is used to perform digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal, and the first analog voltage signal is sent to the power supply module to be regulated; the power supply module to be regulated is used to operate according to the first analog voltage signal to output a second analog voltage signal; the analog-to-digital converter is used to obtain the second analog voltage signal and perform analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value;
[0014] An initial voltage value is obtained, and the initial voltage value is compared with a target voltage value. If the error between the initial voltage value and the target voltage value is less than a preset threshold, a voltage regulation completion message is sent.
[0015] In a third aspect, the present application further provides a power supply voltage regulation system, comprising: a baseboard management controller, a power supply module to be regulated, and a power supply voltage regulation device according to any one of the first aspects; the baseboard management controller is communicatively connected to the power supply voltage regulation device, and the power supply voltage regulation device is communicatively connected to the power supply module to be regulated;
[0016] A baseboard management controller is used to send a voltage regulation instruction to the power supply voltage regulation device;
[0017] The power supply voltage regulating device is used to adjust the output voltage of the power supply module to be regulated according to the voltage regulation instruction; and send voltage regulation completion information to the baseboard management controller after the voltage regulation is completed.
[0018] In a fourth aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the power supply voltage regulation method of the second aspect are implemented.
[0019] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the power supply voltage regulation method of the second aspect.
[0020] The present application provides a power supply voltage regulation device, method, system, medium, and product. The power supply voltage regulation device includes a digital-to-analog converter (DAC), an analog-to-digital converter (ADC), and a controller. When voltage regulation is required for a power supply module, the controller obtains a voltage regulation instruction containing a target voltage value and sends the target voltage value to the DAC. The DAC converts the target voltage value into a first analog voltage signal, which is transmitted to the power supply module to be regulated. The power supply module to be regulated operates based on the first analog voltage signal to output a second analog voltage signal. The ADC collects the second analog voltage signal output by the power supply module to be regulated, converts it into an initial voltage value, and feeds it back to the controller. The controller compares the initial voltage value with the target voltage value and calculates the error between the two to determine whether the voltage regulation meets the requirements. When the error value is less than a preset threshold, indicating that the voltage output by the power supply module to be regulated meets the requirements, the controller transmits a voltage regulation completion message. This power supply voltage regulation device eliminates the need for manual intervention, from obtaining the voltage regulation instruction, sending the target voltage value, to comparing the initial voltage value with the target voltage value, and transmitting the voltage regulation completion message, thereby improving voltage regulation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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.
[0022] Figure 1 A schematic diagram of the structure of a power supply voltage regulator provided in one embodiment of the present application Figure 1 ;
[0023] Figure 2 A schematic diagram of the structure of a power supply voltage regulator provided in one embodiment of the present application Figure 2 ;
[0024] Figure 3 A schematic diagram of the structure of a power supply voltage regulator provided in one embodiment of the present application Figure 3 ;
[0025] Figure 4 A schematic structural diagram of a power supply voltage regulation system provided in one embodiment of the present application;
[0026] Figure 5 A flowchart of a power supply voltage regulation method provided in one embodiment of the present application is provided.
[0027] Reference numerals:
[0028] 10-power supply voltage regulator; 11-digital-to-analog converter; 12-analog-to-digital converter; 13-controller; 14-memory;
[0029] 20-power supply module to be regulated;
[0030] 30-Baseboard Management Controller. DETAILED DESCRIPTION
[0031] 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.
[0032] 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.
[0033] In modern electronic devices, power management is a vital link. Specifically, during the operation of electronic equipment, the output voltage stability and adjustability of the power module directly affect the working performance of the electronic equipment. Therefore, power supply voltage regulation technology is widely used in the fields of communication equipment, industrial control, instrumentation, etc. At present, in the relevant power supply voltage regulation method, voltage dividing resistors are used for voltage regulation. The principle is to connect voltage dividing resistors of different resistance values in the power supply control loop, use the resistor voltage dividing principle to change the feedback voltage, and then adjust the output voltage of the power module. Specifically, when the output voltage of the power module needs to be adjusted, the operator needs to calculate the required voltage dividing resistor value based on the target voltage value, and then manually replace the voltage dividing resistor in the circuit, and then verify through testing whether the voltage regulation effect meets the requirements.
[0034] However, the power supply voltage regulation method in the related art requires manual participation to replace the voltage divider resistor each time the voltage is adjusted, and the operation process is cumbersome. Especially in scenarios where frequent voltage adjustment is required, the power supply needs to be repeatedly shut down and the circuit needs to be disconnected, resulting in extremely low regulation efficiency.
[0035] Therefore, in addressing the technical issues of the above-mentioned prior art, considering that voltage regulation using voltage divider resistors relies on the replacement of physical components and cannot achieve fast and flexible voltage adjustment, a technical solution that can automatically and quickly respond to voltage regulation needs can be used to replace voltage divider resistor regulation. As can be seen, digital signal processing technology features high precision and fast response, while analog signals can directly interact with the voltage output of the power module. Based on this, automatic voltage regulation can be achieved through the cooperation of a digital-to-analog converter (DAC), an analog-to-digital converter (ADC), and a controller. Specifically, the controller receives a voltage regulation instruction, converts the digital signal into an analog voltage signal using the DAC, and sends the analog voltage signal to the power module to be regulated for voltage adjustment. To ensure the accuracy of voltage regulation, the ADC monitors the analog voltage signal output by the power module, converts it into an initial voltage value, and feeds it back to the controller. The controller compares the fed-back initial voltage value with the target voltage value. If the error between the initial and target voltage values is within a preset threshold, the voltage regulation is confirmed to be complete.
[0036] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0037] Figure 1 A schematic diagram of the structure of a power supply voltage regulator provided in one embodiment of the present application Figure 1 ;refer to Figure 1 As shown in the figure, this embodiment provides a power supply voltage regulating device 10, which specifically includes: a digital-to-analog converter 11, an analog-to-digital converter 12 and a controller 13, and the digital-to-analog converter 11 and the analog-to-digital converter 12 are both communicatively connected to the controller 13; the power supply module 20 to be regulated is both communicatively connected to the digital-to-analog converter 11 and the analog-to-digital converter 12.
[0038] Specifically, the controller 13 is configured to obtain a voltage regulation instruction, wherein the voltage regulation instruction includes a target voltage value; and send the target voltage value to the digital-to-analog converter 11 .
[0039] The controller 13 is the core control unit of the power supply voltage regulation device 10 and is responsible for obtaining voltage regulation instructions.
[0040] The voltage regulation instruction includes a target voltage value, which is the voltage value that the user expects the power module 20 to ultimately output. Optionally, the voltage regulation instruction can be input by the user through an external input device, such as a keyboard or touch screen. The voltage regulation instruction can also come from other systems or devices. For example, when the power supply voltage regulation device 10 is used in a server, the voltage regulation instruction can be sent by a baseboard management controller.
[0041] Specifically, the controller 13 is further configured to obtain an initial voltage value, compare the initial voltage value with a target voltage value, and send a voltage regulation completion message when an error between the initial voltage value and the target voltage value is smaller than a preset threshold.
[0042] The initial voltage value is a voltage value obtained after the analog-to-digital converter 12 performs analog-to-digital conversion on the second analog voltage signal output by the voltage-regulated power supply module 20 . The initial voltage value reflects the actual output voltage of the voltage-regulated power supply module 20 .
[0043] It should be noted that when the controller 13 determines that the error between the initial voltage value and the target voltage value is less than a preset threshold value, it indicates that the output voltage of the power module 20 to be regulated has reached or is close to the target voltage value. At this time, the controller 13 sends a voltage regulation completion message to inform the user or other device that the voltage regulation process has ended. The preset threshold value is a pre-set voltage value.
[0044] Optionally, when the error between the initial voltage value and the target voltage value is greater than or equal to a preset threshold, the adjusted target voltage value can be resent to the digital-to-analog converter 11 and the voltage regulation process is performed again until the error value is less than the preset threshold.
[0045] Optionally, the controller 13 may be a single chip microcomputer or a CPLD (Complex Programmable Logic Device). In this embodiment, the specific type of the controller 13 is not limited.
[0046] Specifically, the digital-to-analog converter 11 is used to perform digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal; and send the first analog voltage signal to the power supply module 20 to be regulated; the power supply module 20 to be regulated is used to operate according to the first analog voltage signal to output a second analog voltage signal.
[0047] The target voltage value is in the form of a digital signal. The digital-to-analog converter 11 performs digital-to-analog conversion based on the target voltage value, converting the digital signal into an analog signal to obtain a first analog voltage signal. The first analog voltage signal is a continuously varying voltage signal whose voltage value corresponds to the target voltage value. The digital-to-analog converter 11 transmits the first analog voltage signal to the power supply module 20 to be regulated. The power supply module 20 to be regulated operates based on the first analog voltage signal, thereby adjusting the output voltage of the power supply module 20 to be regulated.
[0048] It should be noted that, in this embodiment, the operating voltage regulation method of the power module to be voltage-regulated 20 is the same as the voltage regulation method in the related art, and therefore will not be described in detail.
[0049] Specifically, the first analog voltage signal is sent to the voltage regulating pin of the power supply module 20 to be regulated.
[0050] Specifically, the analog-to-digital converter 12 is configured to acquire a second analog voltage signal and perform analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value.
[0051] In the power supply voltage regulation device 10 provided in an embodiment of the present application, when voltage regulation of a power supply module is required, the controller 13 obtains a voltage regulation instruction including a target voltage value and sends the target voltage value to the digital-to-analog converter 11. The digital-to-analog converter 11 converts the target voltage value into a first analog voltage signal, which is transmitted to the power supply module 20 to be regulated. The power supply module 20 to be regulated operates according to the first analog voltage signal to output a second analog voltage signal. The analog-to-digital converter 12 collects the second analog voltage signal output by the power supply module 20 to be regulated, converts it into an initial voltage value, and feeds it back to the controller 13. The controller 13 compares the initial voltage value with the target voltage value and calculates the error between the two to determine whether the voltage regulation meets the requirements. When the error value is less than a preset threshold, indicating that the voltage output of the power supply module 20 to be regulated meets the requirements, the controller 13 sends a voltage regulation completion message. This power supply voltage regulation device 10 eliminates the need for manual intervention in the entire process, from obtaining the voltage regulation instruction and sending the target voltage value to comparing the initial voltage value with the target voltage value and sending the voltage regulation completion message, thereby improving voltage regulation efficiency.
[0052] It should also be noted that the power supply voltage regulating device 10 provided in this embodiment can be applied to various electronic devices that require voltage regulation, whether electronic instruments or industrial equipment, and can meet the demand for voltage regulation.
[0053] As an optional implementation, based on any of the above embodiments, the controller 13 is further configured to send a voltage correction instruction to the digital-to-analog converter 11 when the error between the initial voltage value and the target voltage value is greater than a preset threshold.
[0054] Specifically, when the error between the initial voltage value and the target voltage value is greater than a preset threshold, the controller 13 sends a voltage correction instruction to the DAC 11. The voltage correction instruction is derived based on the error value and is used to instruct the DAC 11 to perform voltage correction.
[0055] Optionally, the voltage correction instruction includes a voltage increase instruction and a voltage reduction instruction; when the controller 13 sends the voltage correction instruction to the digital-to-analog converter 11, it is specifically used to: determine whether the initial voltage value is greater than the target voltage value; when the initial voltage value is greater than the target voltage value, send a voltage reduction instruction to the digital-to-analog converter 11; when the initial voltage value is less than the target voltage value, send a voltage increase instruction to the digital-to-analog converter 11.
[0056] Specifically, when the error value is greater than a preset threshold, the controller 13 determines whether the initial voltage value is greater than the target voltage value. If the initial voltage value is greater than the target voltage value, the controller 13 sends a voltage reduction instruction to the digital-to-analog converter 11; if the initial voltage value is less than the target voltage value, the controller 13 sends a voltage increase instruction to the digital-to-analog converter 11.
[0057] Specifically, the digital-to-analog converter 11 is further configured to receive a voltage correction instruction, perform correction according to the voltage correction instruction, and obtain a third analog voltage signal; and send the third analog voltage signal to the power supply module 20 to be regulated.
[0058] Specifically, the DAC 11 converts the correction information into a change in analog quantity through internal circuit adjustments and calculations, generating a third analog voltage signal. The third analog voltage signal is a voltage signal adjusted based on the error value of the first analog voltage signal. The DAC 11 transmits the third analog voltage signal to the power supply module 20 to be regulated. The power supply module 20 to be regulated can further adjust its output voltage based on the corrected third analog voltage signal.
[0059] Optionally, after the digital-to-analog converter 11 receives a voltage correction instruction, if it is a voltage reduction instruction, the output analog voltage signal is lowered for correction to obtain a third analog voltage signal; if it is a voltage increase instruction, the output analog voltage signal is increased for correction to obtain a third analog voltage signal, and it is sent to the power supply module 20 to be regulated.
[0060] Specifically, the power supply module 20 to be regulated can operate according to the third analog voltage signal to output a fourth analog voltage signal; the analog-to-digital converter 12 is also used to obtain the fourth analog voltage signal and perform analog-to-digital conversion on the fourth analog voltage signal to obtain a corrected voltage value; the controller 13 is also used to obtain the corrected voltage value and compare the corrected voltage value with the target voltage value, and when the error value between the corrected voltage value and the target voltage value is less than a preset threshold, a voltage regulation completion message is sent; if it is still greater than the preset threshold, the above correction process is repeated until the error value is less than the preset threshold.
[0061] In the power supply voltage regulating device 10 provided in the embodiment of the present application, when the error between the initial voltage value and the target voltage value is greater than a preset threshold, the controller 13 can generate a voltage correction instruction, and the digital-to-analog converter 11 can promptly respond to the voltage correction instruction and perform corrections, and then send the corrected third analog voltage signal to the power supply module 20 to be regulated. The voltage correction performed by the digital-to-analog converter 11 can ensure that the output voltage of the power supply module 20 to be regulated meets the voltage regulation requirements.
[0062] As an optional implementation manner, based on any of the above embodiments, when the error between the initial voltage value and the target voltage value is less than a preset threshold, the controller 13, when sending the voltage regulation completion information, is specifically configured to:
[0063] Obtain N initial voltage values after repeating the voltage regulation step N times; wherein the voltage regulation step includes: performing digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal; sending the first analog voltage signal to the power supply module 20 to be regulated; obtaining a second analog voltage signal, and performing analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value; N is a positive integer greater than 1.
[0064] Specifically, the controller 13 is configured to obtain N initial voltage values obtained by repeating the voltage regulation step N times, where N is a positive integer greater than 1. The effect of the voltage regulation step has been described in the above embodiment and will not be repeated here.
[0065] It should be noted that the purpose of repeatedly performing the voltage adjustment steps is to obtain initial voltage values at multiple different times or under different conditions, so as to avoid errors and fluctuations that may exist in a single measurement and improve data reliability.
[0066] Specifically, the N initial voltage values are compared with the target voltage value, and when the error values between the N initial voltage values and the target voltage value are all smaller than a preset threshold, a voltage regulation completion message is sent.
[0067] The comparison method is to calculate the error between each initial voltage value and the target voltage value. The error value can be calculated using absolute error or relative error. For example, the absolute error calculation formula is: Error value = |initial voltage value - target voltage value|.
[0068] It should be noted that only when the error values of the N initial voltage values all meet the condition of being less than the preset threshold, the controller 13 will consider that the voltage regulation of the power module 20 to be regulated has reached a stable state, and only then will the controller 13 send a voltage regulation completion message.
[0069] Optionally, if the error value between at least one initial voltage value and the target voltage value in the N voltage adjustment steps is greater than or equal to a preset threshold, voltage correction and subsequent repeated voltage adjustment steps are performed until the error values between the N initial voltage values and the target voltage values obtained by repeating the voltage adjustment steps N times are all less than the preset threshold, and then the voltage adjustment completion information is sent.
[0070] It should be noted that during the voltage regulation process, the output voltage of the power module 20 to be regulated may not immediately stabilize due to factors such as the characteristics of internal components and load variations, but may fluctuate within a certain range. By repeatedly performing the voltage regulation steps, obtaining N initial voltage values, and performing a comprehensive assessment of these N initial voltage values, the impact of voltage fluctuations on the voltage regulation results can be effectively reduced.
[0071] In the power supply voltage regulation device 10 provided in the embodiment of the present application, when the error value is less than a preset threshold, the controller 13 does not immediately send a voltage regulation completion message. Instead, it repeats the voltage regulation steps N times to obtain N initial voltage values. The voltage regulation completion message is only sent when the error values between the N initial voltage values and the target voltage value are all less than the preset threshold. By performing N repeated voltage regulation, misjudgments caused by accidental errors in a single voltage regulation result are avoided, ensuring the reliability of the voltage regulation results.
[0072] Figure 2 A schematic diagram of the structure of a power supply voltage regulator provided in one embodiment of the present application Figure 2 ;refer to Figure 2 As shown in , as an optional implementation, based on any one of the above embodiments, the power supply module, the digital-to-analog converter 11 and the analog-to-digital converter 12 are each provided with multiple, the output pins of the multiple digital-to-analog converters 11 correspond one-to-one to the voltage adjustment pins of the multiple power supply modules; the input voltage pins of the multiple analog-to-digital converters 12 correspond one-to-one to the output voltage pins of the multiple power supply modules; the voltage regulation instruction also includes the power supply information to be regulated.
[0073] Specifically, when an electronic system is configured with multiple power modules, the modules are responsible for providing voltage to various functional components within the electronic system. More specifically, the power modules have voltage adjustment pins and output voltage pins. The voltage adjustment pins are used to receive external voltage adjustment signals to change the output voltage of the power module; the output voltage pins are used to output the adjusted voltage.
[0074] Specifically, in this embodiment, to accommodate multiple power modules, multiple digital-to-analog converters 11 and multiple analog-to-digital converters 12 are provided. The output pin of each digital-to-analog converter 11 is connected in a one-to-one correspondence with the voltage adjustment pin of a power module. The input voltage pin of each analog-to-digital converter 12 is connected in a one-to-one correspondence with the output voltage pin of a power module.
[0075] Specifically, when obtaining the voltage regulation instruction, the controller 13 is specifically configured to: obtain information of the power supply to be regulated, and determine one or more power supply modules 20 to be regulated from among the multiple power supply modules based on the information of the power supply to be regulated.
[0076] It should be noted that the power supply module 20 to be regulated is one or more of the multiple power supply modules. Figure 2 Only an example is shown in which multiple power modules are all power modules 20 to be voltage-regulated.
[0077] Specifically, in this embodiment, the voltage regulation instruction includes not only the target voltage value but also the information of the power source to be regulated.
[0078] Optionally, the power supply information to be regulated may be a number, identifier or other information that can uniquely identify the power module. By using the power supply information to be regulated in the voltage regulation instruction, the controller 13 can accurately know which power module or modules need to be regulated.
[0079] Specifically, when power supply voltage regulation is required, the controller 13 obtains a voltage regulation instruction. After obtaining the voltage regulation instruction, the controller 13 first parses the information about the power supply to be regulated. Based on the parsed information about the power supply to be regulated, the controller 13 matches and searches multiple power modules to identify one or more power modules 20 to be regulated. For example, if the information about the power supply to be regulated is the number of a power module, the controller 13 searches for the corresponding power module in a pre-stored table that maps power module numbers to power modules. After determining the power module 20 to be regulated, the controller 13 transmits the target voltage value to the digital-to-analog converter 11 corresponding to the power module 20 to be regulated, based on the target voltage value in the voltage regulation instruction, for subsequent voltage regulation steps.
[0080] It should be noted that, due to the provision of multiple analog-to-digital converters 12 and multiple digital-to-analog converters 11, the controller 13 can perform voltage regulation operations on one or more of the multiple power modules simultaneously or separately, thereby improving the voltage regulation efficiency in the multi-power module scenario.
[0081] The power supply voltage regulator 10 provided in an embodiment of the present application utilizes a one-to-one correspondence between multiple power supply modules, a digital-to-analog converter 11, and an analog-to-digital converter 12. During power supply voltage regulation, the device obtains information about the power supply to be regulated and, based on the information about the power supply to be regulated, determines one or more power supply modules 20 to be regulated from among the multiple power supply modules. This power supply voltage regulator 10 can be applied to various electronic devices requiring voltage regulation, particularly in scenarios where multiple power supply modules require voltage regulation. The device can efficiently and accurately regulate the voltage of any one or more power supply modules 20 to be regulated.
[0082] Figure 3 A schematic diagram of the structure of a power supply voltage regulator provided in one embodiment of the present application Figure 3 ;refer to Figure 3 As shown in , as an optional implementation, based on any of the above embodiments, it also includes: a memory 14, the memory 14 is communicatively connected to the controller 13; the memory 14 is used to store the target voltage value and the preset threshold value.
[0083] Specifically, when the controller 13 performs a power supply voltage regulation operation, after obtaining the target voltage value and the preset threshold value, the controller 13 will send them to the memory 14 for storage; when the target voltage value and the preset threshold value are needed, they can be directly obtained from the memory 14, thereby improving the efficiency and accuracy of the voltage regulation operation.
[0084] Optionally, the power supply voltage regulator 10 further includes a communication module that is in communication with the controller 13 and whose main function is to realize data transmission and communication interaction between the power supply voltage regulator 10 and external devices (such as a host computer, a monitoring terminal, other intelligent devices, etc.).
[0085] Figure 4 A schematic diagram of a power supply voltage regulation system according to an embodiment of the present application is shown in FIG. Figure 4 As shown in , an embodiment of the present application further provides a power supply voltage regulation system, which includes:
[0086] The baseboard management controller 30, the power module to be regulated 20 and the power voltage regulating device 10 in any one of the above embodiments; the baseboard management controller 30 is in communication with the power voltage regulating device 10, and the power voltage regulating device 10 is in communication with the power module to be regulated 20.
[0087] The baseboard management controller 30 is used to send a voltage regulation instruction to the power supply voltage regulator 10. The power supply voltage regulator 10 is used to adjust the output voltage of the power supply module 20 to be regulated according to the voltage regulation instruction and send a voltage regulation completion message to the baseboard management controller 30 after the voltage regulation is completed.
[0088] Specifically, the baseboard management controller 30 is responsible for communicating with the power supply voltage regulator 10. When the output voltage of the power supply module 20 to be regulated needs to be adjusted, the baseboard management controller 30 generates a corresponding voltage adjustment instruction based on external input information and sends the voltage adjustment instruction to the power supply voltage regulator 10 to initiate the voltage adjustment operation on the power supply module 20 to be regulated. Simultaneously, the baseboard management controller 30 can also receive voltage adjustment completion information from the power supply voltage regulator 10, thereby enabling monitoring and management of the entire voltage adjustment process.
[0089] Specifically, in this embodiment, the controller 13 is a CPLD, and the baseboard management controller 30 is communicatively connected to the controller 13 via an I2C (Inter-Integrated Circuit) bus.
[0090] Specifically, a plurality of power modules 20 to be regulated are provided, and the controller 13 is communicatively connected to the enable terminals (EN) of the plurality of power modules 20 to be regulated. The controller 13 is configured to control the operating status of the power modules 20 to be regulated. Optionally, the controller 13 can control the simultaneous power-up of the plurality of power modules 20 to be regulated, or control the power-up of one or more of the power modules 20 to be regulated.
[0091] Specifically, the output terminals (Vout) of multiple power supply modules 20 to be regulated are connected to multiple loads in a one-to-one correspondence, and the power supply modules 20 to be regulated provide power to the loads. When the power supply voltage regulation system is applied to a server, the multiple loads may include a central processing unit (CPU), a graphics processing unit (GPU), a hard disk, and a memory module.
[0092] Optionally, the power supply voltage regulating device 10 may further monitor the output voltages of a plurality of power supply modules 20 to be regulated, and send the monitored voltage values to the baseboard management controller 30 .
[0093] Optionally, the power supply voltage regulator 10 is further provided with a JTAG (Joint Test Action Group) interface, which can be connected to an external debugger, thereby allowing developers to view the working status of various components inside the power supply voltage regulator 10 and adjust the parameters of the power supply voltage regulator 10.
[0094] Optionally, the voltage adjustment pin (TRIM) of each power supply module 20 to be regulated is further provided with voltage-dividing resistors R0 and R1. By reasonably setting the resistance values of R0 and R1, the voltage output from the power supply module 20 to be regulated to the load can be effectively limited during the initial enabling phase of the power supply module 20 to be regulated, thereby effectively preventing irreversible damage to the load due to excessive voltage in the initial phase.
[0095] Figure 5 A flow chart of a power supply voltage regulation method provided in one embodiment of the present application is shown as follows: Figure 5 As shown, the execution subject of this embodiment is a controller. This embodiment of the application also provides a power supply voltage regulation method, which includes the following steps:
[0096] S501. Obtain a voltage regulation instruction; wherein the voltage regulation instruction includes a target voltage value.
[0097] S502. Send the target voltage value to the digital-to-analog converter; wherein the digital-to-analog converter is used to perform digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal, and send the first analog voltage signal to the power supply module to be regulated; the power supply module to be regulated is used to operate according to the first analog voltage signal to output a second analog voltage signal; the analog-to-digital converter is used to obtain the second analog voltage signal and perform analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value.
[0098] S503 : Acquire an initial voltage value, and compare the initial voltage value with the target voltage value. If the error between the initial voltage value and the target voltage value is less than a preset threshold, send voltage regulation completion information.
[0099] Optionally, the power supply voltage regulation method further includes: sending a voltage correction instruction to the digital-to-analog converter when an error value between the initial voltage value and the target voltage value is greater than a preset threshold.
[0100] Optionally, the power supply voltage regulation method sends a voltage correction instruction to the digital-to-analog converter, including: determining whether the initial voltage value is greater than the target voltage value; when the initial voltage value is greater than the target voltage value, sending a voltage reduction instruction to the digital-to-analog converter; when the initial voltage value is less than the target voltage value, sending a voltage increase instruction to the digital-to-analog converter.
[0101] Optionally, the power supply voltage regulation method, when an error between an initial voltage value and a target voltage value is less than a preset threshold, sends voltage regulation completion information, including:
[0102] Obtain N initial voltage values obtained after repeating the voltage regulation step N times; wherein the voltage regulation step includes: performing digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal; sending the first analog voltage signal to the power supply module to be regulated; obtaining a second analog voltage signal, and performing analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value; N is a positive integer greater than 1; comparing the N initial voltage values with the target voltage value; and sending a voltage regulation completion message when the error values between the N initial voltage values and the target voltage value are all less than a preset threshold.
[0103] Optionally, the power supply voltage regulation method obtains a voltage regulation instruction, including: obtaining information of a power supply to be regulated, and determining one or more power supply modules to be regulated from a plurality of power supply modules based on the information of the power supply to be regulated.
[0104] It should be noted that the technical effects of the power supply voltage regulation method provided in this embodiment have been explained in the power supply voltage regulation device in the above embodiment, and therefore, they will not be repeated in this embodiment.
[0105] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above-mentioned power supply voltage regulation method embodiments when running.
[0106] 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.
[0107] 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 data processor, the steps of any of the above-mentioned power supply voltage regulation method embodiments are implemented.
[0108] An embodiment of the present application further 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 power supply voltage regulation method embodiments are implemented.
[0109] 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.
[0110] The above is a detailed introduction to the solution provided by this application. Specific examples are used herein to illustrate the principles and implementation methods of this application. The description of the above embodiments is only intended to help understand the method and core ideas of this application. It should be pointed out that, for those skilled in the art, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the scope of protection of the claims of this application.
Claims
1. A power supply voltage regulating device, characterized in that: include: A digital-to-analog converter, an analog-to-digital converter, and a controller, wherein the digital-to-analog converter and the analog-to-digital converter are both communicatively connected to the controller; The power supply module to be regulated is communicatively connected to both the digital-to-analog converter and the analog-to-digital converter; The controller is configured to obtain a voltage regulation instruction, wherein the voltage regulation instruction includes a target voltage value; and send the target voltage value to the digital-to-analog converter; The digital-to-analog converter is configured to perform digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal; and send the first analog voltage signal to the power supply module to be regulated; the power supply module to be regulated is configured to operate according to the first analog voltage signal to output a second analog voltage signal; The analog-to-digital converter is configured to obtain the second analog voltage signal and perform analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value; The controller is further configured to obtain the initial voltage value, compare the initial voltage value with the target voltage value, and send voltage regulation completion information if an error between the initial voltage value and the target voltage value is less than a preset threshold.
2. The device according to claim 1, characterized in that The controller is further configured to send a voltage correction instruction to the digital-to-analog converter when an error between the initial voltage value and the target voltage value is greater than a preset threshold; The digital-to-analog converter is further configured to receive the voltage correction instruction, perform correction according to the voltage correction instruction, so as to obtain a third analog voltage signal; and send the third analog voltage signal to the power supply module to be regulated.
3. The device according to claim 2, characterized in that The voltage correction instruction includes a voltage increase instruction and a voltage reduction instruction; The controller, when sending a voltage correction instruction to the digital-to-analog converter, is specifically configured to: determining whether the initial voltage value is greater than the target voltage value; When the initial voltage value is greater than the target voltage value, sending the voltage reduction instruction to the digital-to-analog converter; When the initial voltage value is less than the target voltage value, the voltage increase instruction is sent to the digital-to-analog converter.
4. The device according to claim 1, characterized in that The controller, when sending voltage regulation completion information when the error between the initial voltage value and the target voltage value is less than a preset threshold, is specifically configured to: Obtaining N initial voltage values obtained after repeating the voltage regulation step N times; wherein the voltage regulation step includes: performing digital-to-analog conversion according to the target voltage value to obtain the first analog voltage signal; sending the first analog voltage signal to the power supply module to be regulated; obtaining the second analog voltage signal, and performing analog-to-digital conversion on the second analog voltage signal to obtain the initial voltage value; N is a positive integer greater than 1; Comparing the N initial voltage values with the target voltage value; When the error values between the N initial voltage values and the target voltage value are all smaller than a preset threshold, the voltage regulation completion information is sent.
5. The device according to any one of claims 1 to 4, characterized in that: The power supply module, the digital-to-analog converter, and the analog-to-digital converter are all provided in plurality, the output pins of the plurality of digital-to-analog converters correspond one-to-one with the voltage adjustment pins of the plurality of power supply modules; the input voltage pins of the plurality of analog-to-digital converters correspond one-to-one with the output voltage pins of the plurality of power supply modules; the voltage regulation instruction also includes information of the power supply to be regulated; The controller, when obtaining the voltage regulation instruction, is specifically configured to: The information of the power source to be regulated is obtained, and one or more power source modules to be regulated are determined from the plurality of power source modules based on the information of the power source to be regulated.
6. The device according to any one of claims 1 to 4, characterized in that: Also includes: a memory, the memory being communicatively connected to the controller; The memory is used to store the target voltage value and the preset threshold value.
7. A power supply voltage regulation method, characterized in that: include: Obtaining a voltage regulation instruction; wherein the voltage regulation instruction includes a target voltage value; The target voltage value is sent to a digital-to-analog converter; wherein the digital-to-analog converter is used to perform digital-to-analog conversion according to the target voltage value to obtain a first analog voltage signal, and the first analog voltage signal is sent to the power supply module to be regulated; the power supply module to be regulated is used to operate according to the first analog voltage signal to output a second analog voltage signal; the analog-to-digital converter is used to obtain the second analog voltage signal and perform analog-to-digital conversion on the second analog voltage signal to obtain an initial voltage value; An initial voltage value is obtained, and the initial voltage value is compared with the target voltage value. When an error between the initial voltage value and the target voltage value is less than a preset threshold, voltage regulation completion information is sent.
8. A power supply voltage regulation system, characterized in that: include: A baseboard management controller, a power supply module to be regulated, and a power supply voltage regulating device according to any one of claims 1 to 6; The baseboard management controller is in communication with the power supply voltage regulating device, and the power supply voltage regulating device is in communication with the power supply module to be regulated; The baseboard management controller is used to send the voltage regulation instruction to the power supply voltage regulation device; The power supply voltage regulating device is configured to adjust the output voltage of the power supply module to be regulated according to the voltage regulating instruction; and send the voltage regulation completion information to the baseboard management controller after the voltage regulation is completed.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the power supply voltage regulation method according to claim 7.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the steps of the power supply voltage regulation method according to claim 7 when executed by a processor.
Citation Information
Patent Citations
Supplying-end module of induction type power supply system and method of determining data thereof
CN104124781A
Air conditioner control method and device and storage medium
CN115289634A
Voltage monitoring device and method, voltage detection and correction device, equipment and medium
CN117849440A
Dynamic voltage regulation device and method and computer equipment
CN119179361A
Memory voltage processing method and device, storage medium and electronic equipment
CN119414943A
Cited By
Data transmission control method and electronic equipment
CN121210362A