Voltage regulation method, device and equipment and computer readable storage medium
By adjusting the second resistance value in the voltage divider circuit, the problem that the voltage at the sampling point of the voltage divider circuit cannot accurately represent the voltage received by the load is solved, and higher supply voltage accuracy and lower modification cost are achieved.
Patent Information
- Application Number
- CN202510123664.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, the voltage at the sampling point of the voltage divider circuit cannot accurately represent the voltage received by the load, making it difficult for the power supply to accurately provide the voltage.
By determining the real-time input voltage at the voltage input end of the load, and adjusting the resistance value of the second resistor based on the real-time input voltage, the target input voltage, the first resistance value and the sampling target value, the sampling voltage of the voltage divider circuit approaches the sampling target value, and the real-time input voltage approaches the target input voltage.
The accuracy of the power supply voltage is improved and the voltage is adjusted based on the adjustment of the resistance value in the voltage divider circuit, which is difficult and costly to transform.
Smart Images

Figure CN119882910A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit design, and in particular to a voltage regulation method, device, equipment and computer-readable storage medium. Background Art
[0002] In order to ensure that the power supply provides a stable voltage to the load, in the related art, the voltage at the load can be sampled by a voltage divider circuit (including a first resistor and a second resistor connected in series) to obtain a sampled voltage. The power supply can adjust the output voltage according to the sampled voltage to provide the load with a voltage of a target voltage value. For details, see Figure 2 , Figure 2 It is a structural schematic diagram of a power supply system in the related art;
[0003] However, in reality, the sampling point where the voltage divider circuit is located is at a certain distance from the load, that is, the voltage at the sampling point where the voltage divider circuit is located cannot accurately represent the voltage received by the load, which makes it difficult for the power supply to accurately provide voltage to the load.
[0004] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0005] The purpose of the present invention is to provide a voltage regulation method, device, equipment and computer-readable storage medium. First, the real-time input voltage of the voltage input terminal of the load is determined. When the real-time input voltage is not equal to the target input voltage of the load, the first adjustment amount of the second resistor is determined according to the real-time input voltage, the target input voltage, the first resistance value and the sampling target value through a preset first corresponding relationship. Then, the resistance value of the second resistor is adjusted by the first adjustment amount. The sampling voltage of the voltage divider circuit can be close to the sampling target value, and the real-time input voltage can be close to the target input voltage. Not only the power supply voltage accuracy is improved, but also the voltage is adjusted based on the adjustment of the resistance value of the resistor in the voltage divider circuit, and the modification difficulty and cost are relatively low.
[0006] In order to solve the above technical problems, the present invention provides a voltage regulation method, comprising:
[0007] determining a real-time input voltage at a voltage input terminal of the load;
[0008] When the real-time input voltage is not equal to the target input voltage of the load, a first amount to be adjusted of the second resistor is determined through a preset first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value, wherein the first resistance value refers to the resistance value of the first resistor in the voltage divider circuit of the power supply system, the second resistor is the second resistor in the voltage divider circuit, and the sampled target value refers to: the product of the target input voltage and the initial voltage divider ratio, and the initial voltage divider ratio refers to the ratio of the initial resistance value of the second resistor to the first resistance value;
[0009] Adjusting the resistance of the second resistor by the first amount to be adjusted so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0010] Among them, the voltage divider circuit of the power supply system includes a first resistor and a second resistor, the first end of the first resistor is grounded, the second end of the first resistor is connected to the first end of the second resistor and the power supply, and the second end of the second resistor is connected to a sampling point in the power supply circuit of the power supply to the load.
[0011] On the other hand, the first corresponding relationship includes:
[0012] Rx1=R1*(U1-U2) / Vfb;
[0013] Among them, Rx1 is the first variable to be adjusted, R1 is the first resistance value, U1 is the target input voltage, U2 is the real-time input voltage, and Vfb is the sampled target value.
[0014] On the other hand, the voltage regulation method further includes:
[0015] In response to the parameter modification instruction, modify the preset parameters;
[0016] Wherein, the preset parameters include the target input voltage, the first resistance value and the sampling target value.
[0017] On the other hand, the voltage regulation method further includes:
[0018] Determine the real-time current value of the load power supply circuit;
[0019] When the real-time current value is not equal to the initial current value of the power supply circuit, a second amount to be adjusted of the second resistor is determined through a preset second corresponding relationship according to the real-time current value, the initial current value, the first resistance value, the preset resistance value and the sampling target value, wherein the preset resistance value refers to: the impedance between the sampling point of the voltage divider circuit and the voltage input terminal of the load set in advance;
[0020] Adjusting the resistance of the second resistor by the second amount to be adjusted so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0021] When the real-time input voltage is not equal to the target input voltage of the load, determining the first amount to be adjusted of the second resistor through a first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value, and the sampled target value includes:
[0022] When the real-time current value is equal to the initial current value of the power supply circuit and the real-time input voltage is not equal to the target input voltage of the load, the first amount to be adjusted of the second resistor is determined through a first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value.
[0023] On the other hand, the second corresponding relationship includes:
[0024] Rx2=R1*R*(I2-I1) / Vfb;
[0025] Among them, Rx2 is the second amount to be adjusted, R1 is the first resistance value, R is the preset resistance value, I2 is the real-time current value, I1 is the initial current value, and Vfb is the sampling target value.
[0026] On the other hand, applied to processors;
[0027] Determining the real-time input voltage at the voltage input terminal of the load includes:
[0028] Determine the real-time input voltage of the voltage input terminal of the load through a voltage monitoring module, wherein the voltage monitoring module is arranged at the voltage input terminal of the load;
[0029] Determine the real-time current value of the power supply circuit of the load including:
[0030] The real-time current value of the power supply circuit of the load is determined by a current monitoring module, wherein the current monitoring module is connected to the power supply circuit of the load.
[0031] On the other hand, the voltage monitoring module includes a plurality of modules, and the current monitoring module includes a plurality of modules;
[0032] Determining the real-time input voltage of the voltage input terminal of the load through the voltage monitoring module includes:
[0033] When the voltage detection values of the voltage monitoring modules are consistent, the voltage detection value of any voltage monitoring module is used as the real-time input voltage of the voltage input terminal of the load;
[0034] When the voltage detection values of the voltage monitoring modules are inconsistent, the control prompter prompts a voltage detection error;
[0035] The real-time current value of the load power supply circuit determined by the current monitoring module includes:
[0036] When the current detection values of the current monitoring modules are consistent, the current detection value of any current monitoring module is used as the real-time current value of the power supply circuit of the load;
[0037] When the current detection values of the voltage monitoring modules are inconsistent, the control prompter prompts a current detection error.
[0038] In order to solve the above technical problems, the present invention further provides a voltage regulating device, comprising:
[0039] A first determining module, used to determine the real-time input voltage of the voltage input terminal of the load;
[0040] A second determination module is used to determine a first amount to be adjusted of the second resistor through a preset first corresponding relationship according to the real-time input voltage, the target input voltage, a first resistance value, and a sampled target value when the real-time input voltage is not equal to the target input voltage of the load, wherein the first resistance value refers to the resistance value of the first resistor in the voltage divider circuit of the power supply system, the second resistor is the second resistor in the voltage divider circuit, and the sampled target value refers to: the product of the target input voltage and an initial voltage divider ratio, and the initial voltage divider ratio refers to the ratio of the initial resistance value of the second resistor to the first resistance value;
[0041] A first adjustment module, configured to adjust the resistance of the second resistor by the first amount to be adjusted, so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0042] Among them, the voltage divider circuit of the power supply system includes a first resistor and a second resistor, the first end of the first resistor is grounded, the second end of the first resistor is connected to the first end of the second resistor and the power supply, and the second end of the second resistor is connected to a sampling point in the power supply circuit of the power supply to the load.
[0043] In order to solve the above technical problems, the present invention further provides a voltage regulating device, comprising:
[0044] Memory for storing computer programs;
[0045] A processor is used to implement the steps of the voltage regulation method described above when executing the computer program.
[0046] In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the voltage regulation method described above are implemented.
[0047] Beneficial effect: The present invention provides a voltage regulation method. Considering that (1) the voltage at the sampling point of the voltage divider circuit of the power supply system cannot accurately represent the voltage received by the load, and (2) the voltage provided to the load by the power supply can be adjusted by adjusting the resistance value of the second resistor in the voltage divider circuit, the present invention first determines the real-time input voltage of the voltage input terminal of the load. When the real-time input voltage is not equal to the target input voltage of the load, the first adjustment amount of the second resistor is determined by a preset first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampling target value. Then, the resistance value of the second resistor is adjusted by the first adjustment amount. In this way, the sampling voltage of the voltage divider circuit can be close to the sampling target value, and the real-time input voltage can be close to the target input voltage. This not only improves the accuracy of the power supply voltage, but also adjusts the voltage based on the adjustment of the resistance value of the resistor in the voltage divider circuit, and the difficulty and cost of the modification are relatively low.
[0048] The present invention also provides a voltage regulating device, equipment and computer-readable storage medium, which have the same beneficial effects as the above voltage regulating method. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the relevant technologies and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 A schematic flow chart of a voltage regulation method provided by the present invention;
[0051] Figure 2 It is a structural schematic diagram of a power supply system in the related art;
[0052] Figure 3 A schematic diagram of the structure of a voltage regulating device provided by the present invention;
[0053] Figure 4 A schematic diagram of the structure of a power supply system provided by the present invention;
[0054] Figure 5 A schematic diagram of the structure of a voltage regulating device provided by the present invention;
[0055] Figure 6A schematic diagram of the structure of another voltage regulating device provided by the present invention;
[0056] Figure 7 A schematic diagram of the structure of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0057] The core of the present invention is to provide a voltage regulation method, device, equipment and computer-readable storage medium. First, the real-time input voltage of the voltage input terminal of the load is determined. When the real-time input voltage is not equal to the target input voltage of the load, the first adjustment amount of the second resistor is determined according to the real-time input voltage, the target input voltage, the first resistance value and the sampling target value through a preset first corresponding relationship. Then, the resistance value of the second resistor is adjusted by the first adjustment amount, so that the sampling voltage of the voltage divider circuit approaches the sampling target value, and the real-time input voltage approaches the target input voltage. Not only the power supply voltage accuracy is improved, but also the voltage is adjusted based on the adjustment of the resistance value of the resistor in the voltage divider circuit, and the modification difficulty and cost are relatively low.
[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] Please refer to Figure 1 , Figure 1 A schematic flow chart of a voltage regulation method provided by the present invention, the voltage regulation method comprising:
[0060] S101: Determine the real-time input voltage of the voltage input terminal of the load;
[0061] Specifically, taking into account the technical problems in the above background technology, and considering that there is no problem with the original voltage regulation logic of the power supply system, the problem is that the voltage at the sampling point of the voltage divider circuit cannot represent the voltage at the voltage input terminal of the load. Therefore, in an embodiment of the present invention, the resistance value of the second resistor in the voltage divider circuit is adjusted based on the real-time input voltage of the voltage input terminal of the load, so as to achieve the purpose of "the real-time input voltage of the load approaches the target input voltage". Therefore, in an embodiment of the present invention, the real-time input voltage of the voltage input terminal of the load can be determined first, and it can be used as the data basis for subsequent steps.
[0062] Among them, the voltage input terminal of the load may refer to a position on the connection line between the power supply system and the voltage input terminal of the load that is sufficiently close to the voltage input terminal. The voltage collected at this position is the real-time input voltage of the voltage input terminal of the load, which can accurately represent the voltage received by the load.
[0063] S102: when the real-time input voltage is not equal to the target input voltage of the load, a first amount to be adjusted of the second resistor is determined through a preset first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value, and the sampled target value, wherein the first resistance value refers to the resistance value of the first resistor in the voltage divider circuit of the power supply system, the second resistor is the second resistor in the voltage divider circuit, and the sampled target value refers to: the product of the target input voltage and the initial voltage divider ratio, and the initial voltage divider ratio refers to the ratio of the initial resistance value of the second resistor to the first resistance value;
[0064] Specifically, considering that in some cases, the real-time input voltage may not be equal to the target input voltage of the load, in this case, the load may work abnormally due to inaccurate input voltage, and considering the voltage deviation through the voltage input terminal of the load (that is, the difference between the target input voltage and the real-time input voltage), combined with the basic parameters of the voltage divider circuit (such as the first resistance value and the target sampling value, etc.), the amount of adjustment of the second resistor that "can make the real-time input voltage approach the target input voltage" can be determined. Therefore, in an embodiment of the present invention, when the real-time input voltage is not equal to the target input voltage of the load, the first amount of adjustment of the second resistor can be determined according to the real-time input voltage, the target input voltage, the first resistance value and the sampling target value through a preset first corresponding relationship, and it can be used as the data basis for subsequent steps.
[0065] S103: adjusting the resistance of the second resistor by a first amount to be adjusted so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0066] Among them, the voltage divider circuit of the power supply system includes a first resistor and a second resistor, the first end of the first resistor is grounded, the second end of the first resistor is connected to the first end of the second resistor and the power supply, and the second end of the second resistor is connected to a sampling point in the power supply circuit of the power supply to the load.
[0067] Specifically, after determining the first amount to be adjusted of the second resistor, the resistance of the second resistor can be adjusted by the first amount to be adjusted. In this way, the sampling voltage of the voltage divider circuit can be directly changed, so that the power supply adjusts the output voltage to correct the sampling voltage, and also makes the real-time input voltage of the load approach the target input voltage.
[0068] The first amount to be adjusted has positive and negative values, a positive value corresponds to an increase in resistance, and a negative value corresponds to a decrease in resistance.
[0069] The present invention provides a voltage regulation method. Considering that (1) the voltage at the sampling point of the voltage divider circuit of the power supply system cannot accurately represent the voltage received by the load, and (2) the voltage provided to the load by the power supply can be adjusted by adjusting the resistance value of the second resistor in the voltage divider circuit, the present invention first determines the real-time input voltage of the voltage input terminal of the load. When the real-time input voltage is not equal to the target input voltage of the load, the first adjustment amount of the second resistor is determined by a preset first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value. Then, the resistance value of the second resistor is adjusted by the first adjustment amount. In this way, the sampled voltage of the voltage divider circuit can be close to the sampled target value, and the real-time input voltage can be close to the target input voltage. This not only improves the accuracy of the power supply voltage, but also adjusts the voltage based on the adjustment of the resistance value of the resistor in the voltage divider circuit, and the difficulty and cost of the modification are relatively low.
[0070] Based on the above embodiments:
[0071] As an optional embodiment, the first corresponding relationship includes:
[0072] Rx1=R1*(U1-U2) / Vfb;
[0073] Among them, Rx1 is the first variable to be adjusted, R1 is the first resistance value, U1 is the target input voltage, U2 is the real-time input voltage, and Vfb is the sampled target value.
[0074] Specifically, the expression of the sampling voltage under ideal conditions is Vfb=R1*Ua / (R1+R2), then the expression of the second resistor is: R2=R1*(Ua / Vfb)-R1, and when the sampling point voltage changes to Ub, the expression of the sampling voltage is Vfb=R1*Ub / (R1+R2), at this time the expression of the second resistor is: R2=R1*(Ub / Vfb)-R1, and in order to keep the sampling point voltage unchanged, it can be determined that the first amount to be adjusted is Rx1=R1*(Ua-Ub) / Vfb. By replacing U1-U2 with Ua-Ub, the first corresponding relationship of "being able to make the voltage at the voltage input end of the load approach the target input voltage" can be obtained, where Ua is also the target input voltage.
[0075] Among them, the first corresponding relationship of “being able to make the voltage at the voltage input terminal of the load approach the target input voltage” can be accurately determined through the first corresponding relationship, and the calculation method thereof is relatively simple and quick.
[0076] Of course, in addition to the above forms, the first corresponding relationship may also be in many other forms, which are not limited in the embodiments of the present invention.
[0077] As an optional embodiment, the voltage regulation method further includes:
[0078] In response to the parameter modification instruction, modify the preset parameters;
[0079] The preset parameters include a target input voltage, a first resistance value, and a sampling target value.
[0080] Specifically, considering that the staff has the need to "actively configure and change the preset parameters", in order to improve the flexibility of the system, the embodiments of the present invention can modify the preset parameters in response to parameter modification instructions, which is beneficial to improving system flexibility and work efficiency.
[0081] Of course, in addition to the examples listed above, the preset parameters may also include other types, which are not limited in the embodiment of the present invention.
[0082] As an optional embodiment, the voltage regulation method further includes:
[0083] Determine the real-time current value of the load power supply circuit;
[0084] When the real-time current value is not equal to the initial current value of the power supply circuit, a second amount to be adjusted of the second resistor is determined by a preset second corresponding relationship according to the real-time current value, the initial current value, the first resistance value, the preset resistance value and the sampling target value, wherein the preset resistance value refers to: the impedance between the sampling point of the preset voltage divider circuit and the voltage input terminal of the load;
[0085] The resistance value of the second resistor is adjusted by a second amount to be adjusted so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0086] When the real-time input voltage is not equal to the target input voltage of the load, determining the first amount to be adjusted of the second resistor through the first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value includes:
[0087] When the real-time current value is equal to the initial current value of the power supply circuit and the real-time input voltage is not equal to the target input voltage of the load, the first adjustment value of the second resistor is determined through a first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value.
[0088] Specifically, considering that the change of "the current value in the power supply circuit" will affect the "voltage value at the voltage input terminal of the load", that is, the "current value in the power supply circuit" changes before the "voltage value at the voltage input terminal of the load", adjusting the resistance value of the second resistor based on the change of the "current value in the power supply circuit" is beneficial to avoid the change of the "voltage value at the voltage input terminal of the load" before the "voltage value at the voltage input terminal of the load" changes, thereby further improving the accuracy of the input voltage of the load. Therefore, in the embodiment of the present invention, the real-time current value of the power supply circuit of the load can be determined. When the real-time current value is not equal to the initial current value of the power supply circuit, the second amount to be adjusted of the second resistor is determined through a preset second corresponding relationship according to the real-time current value, the initial current value, the first resistance value, the preset resistance value and the sampling target value, and the resistance value of the second resistor is adjusted by the second amount to be adjusted, so that the sampling voltage of the voltage divider circuit approaches the sampling target value while the real-time input voltage approaches the target input voltage.
[0089] As an optional embodiment, the second corresponding relationship includes:
[0090] Rx2=R1*R*(I2-I1) / Vfb;
[0091] Among them, Rx2 is the second amount to be adjusted, R1 is the first resistance value, R is the preset resistance value, I2 is the real-time current value, I1 is the initial current value, and Vfb is the sampling target value.
[0092] Specifically, if the voltage at the voltage input terminal of the load in the initial state is U1=I1*R+Ua, when the current changes to I2, the voltage at the voltage input terminal of the load is U2=I2*R+Ua, after the voltage at the voltage input terminal of the load is corrected to U1, the voltage at the voltage input terminal of the load is U1=I2*R+Ub, so we can get Ua-Ub=R*(I2-I1), therefore, combined with the first corresponding relationship, we can get the second corresponding relationship as above, through which the second amount to be adjusted can be determined efficiently and accurately, thereby preventing voltage fluctuations at the voltage input terminal of the load caused by "changes in load current".
[0093] Of course, in addition to this specific form, the second corresponding relationship may also be of other types, which is not limited in the embodiment of the present invention.
[0094] In addition, taking into account the possibility of instantaneous voltage fluctuations at the voltage input end of the load, when the duration of the real-time input voltage not being equal to the target input voltage reaches a first preset threshold, it can be determined that the real-time input voltage is not equal to the target input voltage, thereby starting the step of determining the first amount to be adjusted. Considering that if the real-time input voltage is high enough, the real-time input voltage of the load cannot approach the target input voltage by adjusting the resistance value of the second resistor, a second preset threshold can be set. When the real-time input voltage is higher than the second preset threshold, on the one hand, the power supply can be disconnected, and on the other hand, an alarm can be sounded through an alarm.
[0095] As an optional embodiment, applied to a processor;
[0096] Determining the real-time input voltage at the voltage input terminal of the load includes:
[0097] Determine the real-time input voltage of the voltage input terminal of the load through a voltage monitoring module, wherein the voltage monitoring module is arranged at the voltage input terminal of the load;
[0098] Determine the real-time current value of the power supply circuit of the load including:
[0099] The real-time current value of the power supply circuit of the load is determined by a current monitoring module, wherein the current monitoring module is connected to the power supply circuit of the load.
[0100] To better illustrate the embodiments of the present invention, please refer to Figure 3 and Figure 4 , Figure 3 A schematic diagram of the structure of a voltage regulating device provided by the present invention, Figure 4 This is a structural schematic diagram of a power supply system provided by the present invention, in which the processor is respectively connected to a voltage monitoring module, a current monitoring module and a digital potentiometer (i.e., a second resistor). The real-time input voltage can be obtained through the voltage monitoring module (which is set at the voltage input terminal of the load), and the real-time current value can be obtained through the current monitoring module (in cooperation with the current detection resistor).
[0101] in, Figure 3 The processor in the system can communicate with other parts through a unified type of communication bus, such as an IIC (Inter-Integrated Circuit) bus, etc., which is not limited in the embodiment of the present invention.
[0102] Specifically, the voltage regulating device and the power supply system in the embodiments of the present invention have the advantages of simple structure, low modification difficulty and modification cost.
[0103] Of course, in addition to this specific structure, the voltage regulating device and the power supply system may also be of other types, which are not limited in the embodiments of the present invention.
[0104] Specifically, the voltage monitoring module and the current monitoring module may be of various types. For example, the voltage monitoring module may be a voltage sensor, and the current monitoring module may be a current sensor, etc. This is not limited in the embodiment of the present invention.
[0105] Specifically, the reason why the voltage monitoring module can be set at the voltage input end of the load, while the voltage divider circuit is at a certain distance from the voltage input end of the load, is that the board size of the power supply system makes it necessary for the voltage input end of the load to have a certain distance from the voltage divider circuit.
[0106] In addition to the controllable resistor such as the digital potentiometer, the second resistor may also be of other types, which is not limited in the embodiment of the present invention.
[0107] As an optional embodiment, the voltage monitoring module includes multiple, and the current monitoring module includes multiple;
[0108] Determining the real-time input voltage of the voltage input terminal of the load through the voltage monitoring module includes:
[0109] When the voltage detection values of the various voltage monitoring modules are consistent, the voltage detection value of any voltage monitoring module is used as the real-time input voltage of the voltage input terminal of the load;
[0110] When the voltage detection values of each voltage monitoring module are inconsistent, the control prompter prompts a voltage detection error;
[0111] The real-time current value of the load power supply circuit determined by the current monitoring module includes:
[0112] When the current detection values of the various current monitoring modules are consistent, the current detection value of any current monitoring module is used as the real-time current value of the power supply circuit of the load;
[0113] When the current detection values of the various voltage monitoring modules are inconsistent, the control prompter prompts a current detection error.
[0114] Specifically, considering the possibility of failure of both the voltage monitoring module and the current monitoring module, in order to prevent the impact of device failure on the load voltage, multiple redundant voltage monitoring modules and current monitoring modules are provided in the embodiment of the present invention. When the voltage detection values of each voltage monitoring module are consistent, the real-time input voltage is used; when the current detection values of each current monitoring module are consistent, the real-time current value is used, thereby further improving the stability of the load voltage.
[0115] The number of voltage monitoring modules and current monitoring modules can be set independently, and the embodiment of the present invention does not limit this.
[0116] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of a voltage regulating device provided by the present invention, the voltage regulating device comprises:
[0117] A first determining module 51 is used to determine a real-time input voltage of a voltage input terminal of a load;
[0118] A second determination module 52 is used to determine a first amount to be adjusted of the second resistor through a preset first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value when the real-time input voltage is not equal to the target input voltage of the load, wherein the first resistance value refers to the resistance value of the first resistor in the voltage divider circuit of the power supply system, the second resistor is the second resistor in the voltage divider circuit, and the sampled target value refers to: the product of the target input voltage and the initial voltage divider ratio, and the initial voltage divider ratio refers to the ratio of the initial resistance value of the second resistor to the first resistance value;
[0119] A first adjustment module 53, used for adjusting the resistance of the second resistor by a first amount to be adjusted, so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0120] Among them, the voltage divider circuit of the power supply system includes a first resistor and a second resistor, the first end of the first resistor is grounded, the second end of the first resistor is connected to the first end of the second resistor and the power supply, and the second end of the second resistor is connected to a sampling point in the power supply circuit of the power supply to the load.
[0121] Based on the above embodiments:
[0122] As an optional embodiment, the voltage regulating device further includes:
[0123] A modification module, used to modify the preset parameters in response to the parameter modification instruction;
[0124] The preset parameters include a target input voltage, a first resistance value, and a sampling target value.
[0125] As an optional embodiment, the voltage regulating device further includes:
[0126] A third determination module is used to determine the real-time current value of the power supply circuit of the load;
[0127] a fourth determination module, for determining a second amount to be adjusted of the second resistor by a preset second corresponding relationship according to the real-time current value, the initial current value, the first resistance value, the preset resistance value and the sampling target value when the real-time current value is not equal to the initial current value of the power supply circuit, wherein the preset resistance value refers to: the impedance between the sampling point of the preset voltage divider circuit and the voltage input terminal of the load;
[0128] A second adjustment module, used for adjusting the resistance value of the second resistor by a second amount to be adjusted, so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage;
[0129] The second determining module 52 is specifically used for:
[0130] When the real-time current value is equal to the initial current value of the power supply circuit and the real-time input voltage is not equal to the target input voltage of the load, the first adjustment value of the second resistor is determined through a first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value.
[0131] As an optional embodiment, the second corresponding relationship includes:
[0132] Rx2=R1*R*(I2-I1) / Vfb;
[0133] Among them, Rx2 is the second amount to be adjusted, R1 is the first resistance value, R is the preset resistance value, I2 is the real-time current value, I1 is the initial current value, and Vfb is the sampling target value.
[0134] As an optional embodiment, applied to a processor;
[0135] The first determining module 51 is specifically used for:
[0136] Determine the real-time input voltage of the voltage input terminal of the load through a voltage monitoring module, wherein the voltage monitoring module is arranged at the voltage input terminal of the load;
[0137] The third determination module is specifically used for:
[0138] The real-time current value of the power supply circuit of the load is determined by a current monitoring module, wherein the current monitoring module is connected to the power supply circuit of the load.
[0139] As an optional embodiment, the voltage monitoring module includes multiple, and the current monitoring module includes multiple;
[0140] The first determination module 51 includes:
[0141] A first determination submodule is used to use the voltage detection value of any voltage monitoring module as the real-time input voltage of the voltage input terminal of the load when the voltage detection values of the voltage monitoring modules are consistent;
[0142] The second determination submodule is used to control the prompter to prompt a voltage detection error when the voltage detection values of the various voltage monitoring modules are inconsistent;
[0143] The third determination module includes:
[0144] A third determination submodule is used to use the current detection value of any current monitoring module as the real-time current value of the power supply circuit of the load when the current detection values of the current monitoring modules are consistent;
[0145] The fourth determination submodule is used to control the prompter to prompt a current detection error when the current detection values of the various voltage monitoring modules are inconsistent.
[0146] For an introduction to the voltage regulating device provided in the embodiment of the present invention, please refer to the aforementioned embodiment of the voltage regulating method, and the embodiment of the present invention will not be described in detail here.
[0147] Please refer to Figure 6 , Figure 6 A schematic diagram of the structure of another voltage regulating device provided by the present invention, the voltage regulating device comprising:
[0148] A memory 61, used for storing computer programs;
[0149] The processor 62 is used to implement the steps of the voltage regulation method in the above-mentioned embodiment when executing the computer program.
[0150] For an introduction to the voltage regulating device provided in the embodiment of the present invention, please refer to the aforementioned embodiment of the voltage regulating method, and the embodiment of the present invention will not be described in detail here.
[0151] Please refer to Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer-readable storage medium provided by the present invention. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the voltage regulation method in the aforementioned embodiment are implemented.
[0152] For an introduction to the computer-readable storage medium provided in the embodiment of the present invention, please refer to the aforementioned embodiment of the voltage regulation method, and the embodiment of the present invention will not be described in detail here.
[0153] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the voltage regulation method in the above-mentioned embodiment when the computer program / instruction is executed by a processor.
[0154] For an introduction to the computer program product provided by the embodiment of the present invention, please refer to the aforementioned embodiment of the voltage regulation method, and the embodiment of the present invention will not be described in detail here.
[0155] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the element.
[0156] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A voltage regulation method, characterized in that: include: determining a real-time input voltage at a voltage input terminal of the load; When the real-time input voltage is not equal to the target input voltage of the load, a first amount to be adjusted of the second resistor is determined through a preset first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value, wherein the first resistance value refers to the resistance value of the first resistor in the voltage divider circuit of the power supply system, the second resistor is the second resistor in the voltage divider circuit, and the sampled target value refers to: the product of the target input voltage and the initial voltage divider ratio, and the initial voltage divider ratio refers to the ratio of the initial resistance value of the second resistor to the first resistance value; Adjusting the resistance of the second resistor by the first amount to be adjusted so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage; Among them, the voltage divider circuit of the power supply system includes a first resistor and a second resistor, the first end of the first resistor is grounded, the second end of the first resistor is connected to the first end of the second resistor and the power supply, and the second end of the second resistor is connected to a sampling point in the power supply circuit of the power supply to the load.
2. The voltage regulation method according to strong claim 1, characterized in that: The first corresponding relationship includes: Rx1=R1*(U1-U2) / Vfb; Among them, Rx1 is the first variable to be adjusted, R1 is the first resistance value, U1 is the target input voltage, U2 is the real-time input voltage, and Vfb is the sampled target value.
3. The voltage regulation method according to claim 2, characterized in that: The voltage regulation method further comprises: In response to the parameter modification instruction, modify the preset parameters; Wherein, the preset parameters include the target input voltage, the first resistance value and the sampling target value.
4. The voltage regulation method according to any one of strong requirements 1 to 3, characterized in that: The voltage regulation method further comprises: Determine the real-time current value of the load power supply circuit; When the real-time current value is not equal to the initial current value of the power supply circuit, a second amount to be adjusted of the second resistor is determined through a preset second corresponding relationship according to the real-time current value, the initial current value, the first resistance value, the preset resistance value and the sampling target value, wherein the preset resistance value refers to: the impedance between the sampling point of the voltage divider circuit and the voltage input terminal of the load set in advance; Adjusting the resistance of the second resistor by the second amount to be adjusted so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage; When the real-time input voltage is not equal to the target input voltage of the load, determining the first amount to be adjusted of the second resistor through a first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value, and the sampled target value includes: When the real-time current value is equal to the initial current value of the power supply circuit and the real-time input voltage is not equal to the target input voltage of the load, the first amount to be adjusted of the second resistor is determined through a first corresponding relationship according to the real-time input voltage, the target input voltage, the first resistance value and the sampled target value.
5. The voltage regulation method according to claim 4, characterized in that: The second corresponding relationship includes: Rx2=R1*R*(I2-I1) / Vfb; Among them, Rx2 is the second amount to be adjusted, R1 is the first resistance value, R is the preset resistance value, I2 is the real-time current value, I1 is the initial current value, and Vfb is the sampling target value.
6. The voltage regulation method according to claim 4, characterized in that: Applied to processors; Determining the real-time input voltage at the voltage input terminal of the load includes: Determine the real-time input voltage of the voltage input terminal of the load through a voltage monitoring module, wherein the voltage monitoring module is arranged at the voltage input terminal of the load; Determine the real-time current value of the power supply circuit of the load including: The real-time current value of the power supply circuit of the load is determined by a current monitoring module, wherein the current monitoring module is connected to the power supply circuit of the load.
7. The voltage regulation method according to claim 6, characterized in that: The voltage monitoring modules include multiple ones, and the current monitoring modules include multiple ones; Determining the real-time input voltage of the voltage input terminal of the load through the voltage monitoring module includes: When the voltage detection values of the voltage monitoring modules are consistent, the voltage detection value of any voltage monitoring module is used as the real-time input voltage of the voltage input terminal of the load; When the voltage detection values of the voltage monitoring modules are inconsistent, the control prompter prompts a voltage detection error; The real-time current value of the load power supply circuit determined by the current monitoring module includes: When the current detection values of the current monitoring modules are consistent, the current detection value of any current monitoring module is used as the real-time current value of the power supply circuit of the load; When the current detection values of the voltage monitoring modules are inconsistent, the control prompter prompts a current detection error.
8. A voltage regulating device, characterized in that: include: A first determining module, used to determine the real-time input voltage of the voltage input terminal of the load; A second determination module is used to determine a first amount to be adjusted of the second resistor through a preset first corresponding relationship according to the real-time input voltage, the target input voltage, a first resistance value, and a sampled target value when the real-time input voltage is not equal to the target input voltage of the load, wherein the first resistance value refers to the resistance value of the first resistor in the voltage divider circuit of the power supply system, the second resistor is the second resistor in the voltage divider circuit, and the sampled target value refers to: the product of the target input voltage and an initial voltage divider ratio, and the initial voltage divider ratio refers to the ratio of the initial resistance value of the second resistor to the first resistance value; A first adjustment module, configured to adjust the resistance of the second resistor by the first amount to be adjusted, so that the sampled voltage of the voltage divider circuit approaches the sampled target value and the real-time input voltage approaches the target input voltage; Among them, the voltage divider circuit of the power supply system includes a first resistor and a second resistor, the first end of the first resistor is grounded, the second end of the first resistor is connected to the first end of the second resistor and the power supply, and the second end of the second resistor is connected to a sampling point in the power supply circuit of the power supply to the load.
9. A voltage regulating device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the voltage regulation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the voltage regulation method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Voltage regulating circuit and power adapter with same
CN102035410A
Integrated circuit and reference voltage generating circuit thereof
CN111984055A
Server power supply device assembly power supply control method, system, equipment and medium
CN115963912A
Voltage detection circuit, method and device and storage medium
CN118050560A
Current sampling method, system and device and computer storage medium
CN118259072A