Server voltage parameter testing method and device, storage medium and electronic equipment
By detecting the voltage of the voltage regulator and converting it into a measurable signal, and then using the target relation set to calculate the output voltage of the voltage regulator, the problem of low efficiency in testing voltage parameters of liquid-cooled servers is solved, and a more efficient testing method is achieved.
Patent Information
- Application Number
- CN202311048145.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-18
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2043-08-18
AI Technical Summary
The voltage parameter testing efficiency of liquid-cooled servers is low, and the cumbersome welding operation in existing technologies leads to low testing efficiency.
The actual output voltage of the voltage regulator is detected and converted into a measurable electrical signal by the detection circuit. The operating state of the voltage regulator is obtained by using the target relationship set, avoiding soldering operations and directly calculating the output voltage of the voltage regulator.
It improves the testing efficiency of server voltage parameters and solves the problem of low testing efficiency in liquid-cooled servers.
Smart Images

Figure CN117074760B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, storage medium, and electronic device for testing server voltage parameters. Background Technology
[0002] Faced with ever-increasing computing power demands, servers are gradually shifting from air cooling to liquid cooling for heat dissipation. However, in current technology, the voltage regulator testing methods for liquid-cooled servers differ from those for air-cooled servers. Both methods involve soldering wires to probes at test points for measurement. However, the soldering process is cumbersome and inconvenient with liquid cooling, resulting in lower efficiency for testing server voltage parameters.
[0003] There is still no effective solution to the problem of low testing efficiency of server voltage parameters in related technologies. Summary of the Invention
[0004] This application provides a method, apparatus, storage medium, and electronic device for testing server voltage parameters, in order to at least solve the problem of low testing efficiency of server voltage parameters in related technologies.
[0005] According to one embodiment of this application, a method for testing server voltage parameters is provided, comprising:
[0006] The detection circuit outputs a second output voltage after the first output voltage actually output by the voltage regulator passes through the detection circuit. The voltage regulator is used to convert the power supply voltage into a target voltage that is compatible with the target server and output it to the target server. The detection circuit is used to convert the voltage actually output by the voltage regulator into a target electrical signal that can be detected.
[0007] Obtain the first detection voltage corresponding to the second output voltage from the target relationship set, wherein the target relationship set is used to record the relationship between the third output voltage obtained after the input voltage of the detection circuit passes through the voltage divider resistor deployed in the detection circuit and the second output voltage output by the detection circuit, and the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit;
[0008] The first output voltage of the voltage regulator is predicted based on the first detected voltage, wherein the first output voltage is used to determine the operating state of the voltage regulator.
[0009] In an exemplary embodiment, obtaining the first detection voltage corresponding to the second output voltage from the target relation set includes: obtaining a first optical parameter corresponding to the second output voltage from the target relation set, wherein the first optical parameter is used to indicate the signal strength of the optical signal output by the converter deployed in the detection circuit after the third output voltage passes through it; calculating a second optical parameter before the first optical parameter is input to the converter, wherein the second optical parameter is used to indicate the signal strength of the optical signal that the third output voltage is allowed to convert; and obtaining the third output voltage corresponding to the second optical parameter from the target relation set as the first detection voltage.
[0010] In an exemplary embodiment, calculating the second optical parameter before the first optical parameter is input to the converter includes: acquiring the solution parameters of the target solution deployed in the converter, wherein an optical signal having the first optical parameter enters the target solution through a target incident angle in the converter, and the target solution outputs an optical signal having the second optical parameter at a target exit angle, the solution parameters being used to indicate the solution concentration, optical path length, and absorption coefficient of the target solution; according to the formula Calculate the second optical parameter, where the solution concentration is c, the optical path length is l, and the first optical parameter is I. t The absorption coefficient is k, and the calculated second optical parameter is I0.
[0011] In an exemplary embodiment, before obtaining the first detection voltage corresponding to the second output voltage from the target relationship set, the method further includes inputting an initial voltage to the detection circuit; detecting the voltage divider obtained after the initial voltage passes through the voltage divider resistor; detecting a first relationship between a first signal parameter of a target optical signal obtained after the voltage divider passes through a target solution deployed in the detection circuit and a second signal parameter of a target electrical signal output by the detection circuit; determining a second relationship between a third signal parameter of the initial optical signal and the voltage divider based on the first relationship, thereby obtaining the target relationship set, wherein the initial optical signal is an optical signal obtained by converting the voltage divider, and the target relationship set includes the first relationship and the second relationship.
[0012] In an exemplary embodiment, the first relationship between the first signal parameter of the target optical signal obtained after the voltage divider passes through the target solution and the second signal parameter of the target electrical signal output by the detection circuit includes: converting the voltage divider into an initial electrical signal using a first converter deployed in the detection circuit; emitting an initial optical signal of corresponding intensity to the target solution at a target incident angle using a transmitter based on the initial electrical signal; detecting the first signal parameter of the target optical signal output at a target exit angle after the initial optical signal passes through the target solution, wherein the first signal parameter includes the emitted light intensity of the target optical signal; converting the target optical signal into the target electrical signal using a second converter deployed in the detection circuit; and constructing the first relationship based on the first signal parameter of the target optical signal and the second signal parameter of the target electrical signal, wherein the second signal parameter includes the signal strength of the target electrical signal.
[0013] In an exemplary embodiment, constructing the first relationship based on the first signal parameters of the target optical signal and the second signal parameters of the target electrical signal includes: obtaining solution parameters of the target solution, wherein the solution parameters are used to indicate the solution concentration, optical path length, and absorption coefficient of the target solution; according to the formula Calculate the third signal parameter of the initial optical signal, wherein the solution concentration is c, the optical path length is l, and the first signal parameter is I. t The absorption coefficient is k, and the third signal parameter is I0. The third signal parameter is used to indicate the incident light intensity of the initial optical signal. The second relationship is constructed based on the third signal parameter of the initial optical signal and the voltage divider voltage.
[0014] In an exemplary embodiment, predicting the first output voltage of the voltage regulator based on the first detected voltage includes: obtaining the resistance value of a detection resistor deployed in the detection circuit and the resistance value of an internal resistor, wherein the detection resistor is used to connect to the first output voltage, the internal resistor is used to connect the detection resistor to the detection circuit, and the voltage divider resistor includes the detection resistor and the internal resistor; calculating the ratio of the resistance value of the detection resistor to the resistance value of the internal resistor; and determining the first output voltage by multiplying the ratio by the first detected voltage.
[0015] According to another embodiment of this application, a test apparatus for server voltage parameters is provided, comprising:
[0016] The first detection module is used to detect the second output voltage after the first output voltage actually output by the voltage regulator passes through the detection circuit. The voltage regulator is used to convert the power supply voltage into a target voltage that is compatible with the target server and output it to the target server. The detection circuit is used to convert the voltage actually output by the voltage regulator into a target electrical signal that can be detected.
[0017] The acquisition module is used to acquire the first detection voltage corresponding to the second output voltage from the target relationship set, wherein the target relationship set is used to record the relationship between the third output voltage obtained after the input voltage of the detection circuit passes through the voltage divider resistor deployed in the detection circuit and the second output voltage output by the detection circuit, and the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit;
[0018] The prediction module is used to predict the first output voltage of the voltage regulator based on the first detected voltage, wherein the first output voltage is used to determine the operating state of the voltage regulator.
[0019] According to yet another embodiment of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and the computer program is configured to perform the steps in any of the above method embodiments when it is run.
[0020] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0021] This application solves the problem of low testing efficiency for server voltage parameters by obtaining a measurable second output voltage after the actual first output voltage of the voltage regulator is passed through a detection circuit. Then, based on the second output voltage, the first detection voltage after the first output voltage passes through a voltage divider resistor is found from the target relationship set. The actual first output voltage of the voltage regulator can be calculated using the first detection voltage and the voltage divider resistor, thereby determining the working state of the voltage regulator. Therefore, this application solves the problem of low testing efficiency for server voltage parameters and improves the testing efficiency for server voltage parameters. Attached Figure Description
[0022] Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of testing server voltage parameters according to an embodiment of this application.
[0023] Figure 2 This is a flowchart illustrating the testing of server voltage parameters according to an embodiment of this application;
[0024] Figure 3 This is a schematic diagram illustrating the construction of a target relation set according to an embodiment;
[0025] Figure 4 This is a schematic diagram of a process for obtaining a first detection voltage corresponding to a second output voltage according to an embodiment;
[0026] Figure 5 This is a schematic diagram illustrating one method of obtaining a first optical parameter corresponding to a first output voltage according to an embodiment;
[0027] Figure 6 This is a schematic diagram of a process for testing a first output voltage according to an embodiment;
[0028] Figure 7 This is a flowchart of a process for testing a first output voltage according to an embodiment;
[0029] Figure 8 This is a structural block diagram of a server voltage parameter testing device according to an embodiment of this application. Detailed Implementation
[0030] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0032] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a server voltage parameter testing method according to an embodiment of this application. (See diagram below.) Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0033] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the server voltage parameter testing method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0034] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0035] This embodiment provides a method for testing the voltage parameters of a server running on the aforementioned mobile terminal. Figure 2 This is a flowchart of the test of server voltage parameters according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps:
[0036] Step S202: Detect the second output voltage after the first output voltage actually output by the voltage regulator passes through the detection circuit. The voltage regulator is used to convert the power supply voltage into a target voltage that is compatible with the target server and output it to the target server. The detection circuit is used to convert the voltage actually output by the voltage regulator into a target electrical signal that can be detected.
[0037] Step S204: Obtain the first detection voltage corresponding to the second output voltage from the target relationship set, wherein the target relationship set is used to record the relationship between the third output voltage obtained after the input voltage of the detection circuit passes through the voltage divider resistor deployed in the detection circuit and the second output voltage output by the detection circuit, and the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit;
[0038] Step S206: Predict the first output voltage of the voltage regulator based on the first detected voltage, wherein the first output voltage is used to determine the operating state of the voltage regulator.
[0039] Through the above steps, the first output voltage of the voltage regulator is obtained by passing it through the detection circuit to obtain the measurable second output voltage. Then, based on the second output voltage, the first detection voltage after the first output voltage passes through the voltage divider resistor is found from the target relationship set. The first output voltage of the voltage regulator can be calculated by using the first detection voltage and the voltage divider resistor, thereby determining the working state of the voltage regulator. Therefore, the problem of low testing efficiency of server voltage parameters can be solved, and the effect of improving the testing efficiency of server voltage parameters can be achieved.
[0040] Optionally, in this embodiment, the above-mentioned server voltage parameter testing method has a wide range of applications, including but not limited to: cold plate liquid-cooled servers, fully immersed liquid-cooled servers, and air-cooled servers, etc. In the following embodiments, the above-mentioned server voltage parameter testing method can be described using the scenario of testing the voltage parameters of a liquid-cooled server as an example, but the application scenario is not limited. The server voltage parameter testing method proposed in this application can be used in any scenario that requires input voltage testing.
[0041] In the technical solution provided in step S202 above, the voltage regulator (VR) can be connected between one or more target servers and one or more power supplies, for receiving the power supply voltage output by the power supply and performing corresponding operations (which can include, but are not limited to, bucking, boosting, etc.) to obtain a target voltage that is compatible with the target server, and outputting the target voltage to the corresponding target server, so that the target server can receive and use its corresponding initial voltage value.
[0042] Optionally, in this embodiment, the first output voltage is the voltage actually output by the voltage regulator. The first output voltage may be, but is not limited to, the voltage output by the voltage regulator that is compatible with the target server, i.e., the target voltage, or the voltage regulator may output a first output voltage that is not compatible with the target server.
[0043] Optionally, in this embodiment, in the liquid-cooled server scenario, in order to avoid detecting the first output voltage output by the welding detection voltage regulator, the first output voltage can be converted into a target electrical signal that can be detected by a detection circuit, and the voltage value of the first output voltage output by the voltage regulator can be determined by detecting the target electrical signal.
[0044] Optionally, in this embodiment, the detection circuit may be, but is not limited to, a device that can convert voltage into other measurable signals, such as: the detection circuit converts the first output voltage actually output by the voltage regulator into an electrical signal that can be detected, or the detection circuit converts the first output voltage actually output by the voltage regulator into an optical signal that can be detected, etc.
[0045] Optionally, in this embodiment, the second output voltage is the target electrical signal that can be detected after the first output voltage is converted by the detection circuit. The first output voltage actually output by the voltage regulator can be determined by detecting the second output voltage, thereby determining whether the first output voltage is a target voltage that is compatible with the target server.
[0046] In the technical solution provided in step S204 above, the detection circuit may include, but is not limited to, one or more voltage divider resistors. The voltage divider resistors may include, but are not limited to, the resistance values of the devices deployed in the detection circuit or the sum of the resistance values of the resistors deployed in the detection circuit. For example, taking the detection circuit as an example that includes a point-type detection probe, the voltage divider resistors of the detection circuit may include, but are not limited to, the contact resistance, probe resistance, welding resistance, and spring pin interconnection resistance in the point-type detection probe.
[0047] Optionally, in this embodiment, the first output voltage of the voltage regulator is input to the detection circuit and passes through the voltage divider resistor deployed in the detection circuit to obtain the third output voltage. The relationship between the third output voltage after passing through the voltage divider resistor and the voltage finally output by the detection circuit can be tested multiple times in advance to obtain the target relationship set.
[0048] Optionally, in this embodiment, the aforementioned target relationship set may be, but is not limited to, the relationship set between the voltage output by the actual voltage regulator after passing through the voltage divider resistor deployed in the detection circuit and the voltage output by the actual voltage regulator after passing through the detection circuit, wherein the two are in a one-to-one correspondence.
[0049] Alternatively, the target relation set may include multiple relation sets, and relation derivation may be performed between multiple relation sets, for example: based on the voltage output of the actual voltage of the voltage regulator after passing through the detection circuit, the voltage output of the actual voltage of the voltage regulator after passing through the voltage divider resistor deployed in the detection circuit may be derived.
[0050] Optionally, in this embodiment, the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit, and the second output voltage is the voltage output after the first output voltage passes through the detection circuit. The first detection voltage can be directly read from the target relationship set based on the second output voltage, but is not limited to this. Alternatively, the first detection voltage can be indirectly calculated based on the second output voltage.
[0051] In an exemplary embodiment, before obtaining the first detection voltage corresponding to the second output voltage from the target relationship set, the target relationship set may be obtained in the following manner, but is not limited to: inputting an initial voltage to the detection circuit; detecting the voltage divider obtained after the initial voltage passes through the voltage divider resistor; detecting a first relationship between a first signal parameter of the target optical signal obtained after the voltage divider passes through the target solution deployed in the detection circuit and a second signal parameter of the target electrical signal output by the detection circuit; determining a second relationship between a third signal parameter of the initial optical signal and the voltage divider based on the first relationship, thereby obtaining the target relationship set, wherein the initial optical signal is an optical signal obtained by converting the voltage divider, and the target relationship set includes the first relationship and the second relationship.
[0052] Optionally, in this embodiment, during the process of constructing the target relationship set, multiple initial voltage values can be input to the detection circuit, such that different initial voltage values can produce multiple detection results.
[0053] Optionally, in this embodiment, the voltage divider is the voltage value output after the initial voltage passes through the voltage divider resistor deployed in the detection circuit. In the process of constructing the target relationship set, the initial voltage can be detected by various devices, including but not limited to: voltmeter, multi-purpose digital multimeter, oscilloscope, voltage sensor, etc.
[0054] Optionally, in this embodiment, the target solution is deployed in the detection circuit and may be connected to, but is not limited to, a voltage divider resistor to receive the voltage divided by the voltage divider resistor. The target solution is a chromophore solution with color and may include, but is not limited to, phenolphthalein solution, methyl orange solution, methyl red solution, potassium permanganate solution, etc.
[0055] Optionally, in this embodiment, the first signal parameter of the target optical signal may include, but is not limited to, the emission angle of the target optical signal output to the target solution, the signal strength of the target optical signal, etc.
[0056] Optionally, in this embodiment, the second signal parameter of the target electrical signal may include, but is not limited to, the signal strength, amplitude, frequency, phase, period, etc. of the target electrical signal.
[0057] Optionally, in this embodiment, the first relationship can be recorded in various ways, including but not limited to: two-dimensional planar diagrams, tables, mapping relationships, logical expressions, etc.
[0058] Optionally, in this embodiment, the aforementioned voltage divider is used to obtain a target optical signal after passing through the target solution deployed in the detection circuit. The target optical signal has a first signal parameter. The detection circuit is used to output a target electrical signal, which has a second signal parameter. The relationship between the first signal parameter and the second signal parameter is recorded through a first relationship, thereby determining the relationship between the target optical signal and the target electrical signal. For example, the first relationship indicates that the first signal parameter increases as the second signal parameter increases, thereby determining that the target optical signal increases as the target electrical signal increases.
[0059] In one exemplary embodiment, the first relationship between a first signal parameter of a target optical signal obtained after the voltage divider passes through a target solution and a second signal parameter of a target electrical signal output by the detection circuit can be detected, but is not limited to, in the following manner: converting the voltage divider into an initial electrical signal using a first converter deployed in the detection circuit; emitting an initial optical signal of corresponding intensity to the target solution at a target incident angle using a transmitter based on the initial electrical signal; detecting the first signal parameter of the target optical signal output at a target exit angle after the initial optical signal passes through the target solution, wherein the first signal parameter includes the emitted light intensity of the target optical signal; converting the target optical signal into the target electrical signal using a second converter deployed in the detection circuit; and constructing the first relationship based on the first signal parameter of the target optical signal and the second signal parameter of the target electrical signal, wherein the second signal parameter includes the signal strength of the target electrical signal.
[0060] Optionally, in this embodiment, the color of the transmitter used to emit the initial light signal can be determined according to the color of the target solution, but is not limited to: when the target solution is a red phenolphthalein solution, a transmitter used to emit red light is used to emit the initial light signal.
[0061] Optionally, in this embodiment, to avoid interference from natural light, the target solution is wrapped with a fabric (which may be, but is not limited to, black) that can absorb natural light. At the same time, the incident light entering the target solution should be parallel monochromatic light that enters the target solution perpendicularly. The light-absorbing substance in the target solution is a uniform non-scattering system and there is no interaction between the light-absorbing particles.
[0062] Optionally, in this embodiment, the first converter deployed in the detection circuit is a device that has the function of converting voltage into electrical signals, such as a sensor, amplifier, digital-to-analog converter, etc.
[0063] Optionally, in this embodiment, the transmitter deployed in the detection circuit is a device that can receive the electrical signal emitted by the first converter and send an initial light signal with a corresponding signal strength according to the electrical signal. For example, a light source transmitter connected to a microcontroller, wherein the microcontroller receives the electrical signal emitted by the first converter and controls the light source transmitter to emit initial light signals with the same wavelength but different light intensities according to the signal strength of the electrical signal.
[0064] Optionally, in this embodiment, during the process of establishing the first relationship, the initial optical signal emitted by the transmitter is light with the same wavelength but different light intensities, and the light intensity of the initial optical signal is determined according to the signal intensity of the electrical signal obtained by the first converter.
[0065] Optionally, in this embodiment, the second converter deployed in the detection circuit is a device that has the function of converting optical signals into electrical signals, such as: photoelectric conversion circuit, photodiode, photoresistor, photoelectric converter, etc.
[0066] Optionally, in this embodiment, during the process of constructing the first relationship, the first relationship between the signal strength of the target optical signal and the signal strength of the target electrical signal is obtained by measuring the signal strength in the first signal parameter of the target optical signal and the signal strength in the second signal parameter of the target electrical signal.
[0067] In one exemplary embodiment, the first relationship can be constructed, but is not limited to, based on the first signal parameters of the target optical signal and the second signal parameters of the target electrical signal in the following manner: obtaining solution parameters of the target solution, wherein the solution parameters are used to indicate the solution concentration, optical path length, and absorption coefficient of the target solution; according to the formula Calculate the third signal parameter of the initial optical signal, wherein the solution concentration is c, the optical path length is l, and the first signal parameter is I. t The absorption coefficient is k, and the third signal parameter is I0. The third signal parameter is used to indicate the incident light intensity of the initial optical signal. The second relationship is constructed based on the third signal parameter of the initial optical signal and the voltage divider voltage.
[0068] Optionally, in this embodiment, according to the Beer-Lambert law... Given the target solution concentration c, optical path length l, and emitted light intensity I... t Given the absorption coefficient or molar absorption coefficient k of the light-absorbing material, the incident light intensity I0 can be calculated.
[0069] Optionally, in this embodiment, during the process of constructing the second relationship, the second relationship is used to indicate the incident light intensity of the initial optical signal, and the voltage divider is used to indicate the voltage obtained after the initial voltage passes through the voltage divider resistor. The second relationship is constructed based on the incident light intensity of the initial optical signal and the voltage divider.
[0070] Optionally, in this embodiment, the second relationship can be recorded in various ways, including but not limited to: two-dimensional planar diagrams, tables, mapping relationships, logical expressions, etc.
[0071] In one exemplary embodiment, an example of constructing a target set of relationships is provided. Figure 3 This is a schematic diagram illustrating the construction of a target relation set according to an embodiment, such as... Figure 3 As shown, when an initial voltage is input to the detection circuit, the voltage detection circuit detects the voltage divided by the voltage divider resistor. The voltage divided is converted into an initial light signal by the near-infrared light source driving circuit. The initial light signal is injected into the chromophore solution and output to the near-infrared light receiving circuit. The intensity of the output target light signal and the signal intensity of the target light signal converted into a target electrical signal are detected and reported to the host computer. The host computer records the data and controls the detection point to start the next test process until the target relationship set is obtained.
[0072] In one exemplary embodiment, the first detection voltage corresponding to the second output voltage may be obtained from the target relation set in the following manner, but is not limited to: obtaining a first optical parameter corresponding to the second output voltage from the target relation set, wherein the first optical parameter is used to indicate the signal strength of the optical signal output by the converter deployed in the detection circuit after the third output voltage passes through the converter; calculating a second optical parameter before the first optical parameter is input to the converter, wherein the second optical parameter is used to indicate the signal strength of the optical signal that the third output voltage is allowed to convert; and obtaining the third output voltage corresponding to the second optical parameter from the target relation set as the first detection voltage.
[0073] Optionally, in this embodiment, the first optical parameter corresponding to the second output voltage can be obtained in the following manner, but not limited to: the first output voltage is output as a first detection voltage after passing through the voltage divider resistor in the detection circuit; the first detection voltage is then output to the line after the detection circuit after passing through the voltage divider resistor in the detection circuit; the first detection voltage is converted into an optical signal after passing through the converter; the optical signal has the first optical parameter; the optical signal is then converted into an electrical signal; the signal strength of the final electrical signal output by the detection circuit is obtained; since the target relationship set records the relationship between the signal strength of the final electrical signal output by the detection circuit and the signal strength of the first detection voltage after being converted into an optical signal output by the converter, the relationship between the signal strength of the first detection voltage after being converted into an optical signal output by the converter and the first optical parameter can be obtained from the target relationship set based on the signal strength of the final electrical signal output by the detection circuit.
[0074] Optionally, in this embodiment, the Beer-Lambert law may be used, but is not limited to. Given the target solution concentration c, optical path length l, and emitted light intensity I... t Given the absorption coefficient or molar absorption coefficient k of the light-absorbing substance, the incident light intensity, i.e., the second optical parameter, can be calculated as I0.
[0075] Optionally, in this embodiment, the third output voltage corresponding to the second optical parameter can be obtained by, but is not limited to, the following method: by calculating the second optical parameter, the signal strength between the second optical parameter input to the converter, i.e., the relationship between the second optical parameter and the first detection voltage, is found from the target relationship set.
[0076] In one exemplary embodiment, the second optical parameter may be calculated, but is not limited to, in the following manner before the first optical parameter is input to the converter: obtaining the solution parameters of the target solution deployed in the converter, wherein, in the converter, an optical signal having the first optical parameter enters the target solution through a target incident angle, and the target solution outputs an optical signal having the second optical parameter at a target exit angle, the solution parameters being used to indicate the solution concentration, optical path length, and absorption coefficient of the target solution; according to the formula Calculate the second optical parameter, where the solution concentration is c, the optical path length is l, and the first optical parameter is I. t The absorption coefficient is k, and the calculated second optical parameter is I0.
[0077] Optionally, in this embodiment, according to the Beer-Lambert law... Given the target solution's concentration c, optical path length l, and first optical parameter I... t Given the absorption coefficient or molar absorption coefficient k of the light-absorbing substance, the second optical parameter I0 can be calculated.
[0078] In one exemplary embodiment, an example is provided for obtaining a first detection voltage corresponding to a second output voltage. Figure 4 This is a schematic diagram of a process for obtaining a first detection voltage corresponding to a second output voltage according to an embodiment, as shown below. Figure 4 As shown, firstly, the first optical parameter corresponding to the second output voltage is obtained from the target relation set. Then, the second optical parameter before the first optical parameter is input to the converter is calculated. Finally, the third output voltage corresponding to the second optical parameter is obtained from the target relation set as the first detection voltage.
[0079] In the technical solution provided in step S206 above, the first detection voltage is the output voltage obtained after the first output voltage passes through the voltage divider resistor deployed in the detection circuit, and the first output voltage is determined based on the first detection voltage and the resistance value of the voltage divider resistor.
[0080] In one exemplary embodiment, the first output voltage of the voltage regulator can be predicted based on the first detected voltage in the following manner: obtaining the resistance value of a detection resistor deployed in the detection circuit and the resistance value of an internal resistor, wherein the detection resistor is used to connect the first output voltage, the internal resistor is used to connect the detection resistor and the detection circuit, and the voltage divider resistor includes the detection resistor and the internal resistor; calculating the ratio of the resistance value of the detection resistor to the resistance value of the internal resistor; and determining the first output voltage by multiplying the ratio by the first detected voltage.
[0081] In one exemplary embodiment, an example is provided for obtaining a first optical parameter corresponding to a first output voltage. Figure 5 This is a schematic diagram illustrating one method of obtaining the first optical parameter corresponding to the first output voltage according to an embodiment, such as... Figure 5 As shown, the detection circuit includes a detection resistor R1 and an internal resistor R2. When the detection resistor is connected to the voltage to be measured (the first output voltage actually output by the voltage regulator), it is connected to the converter included in the detection circuit through the resistor.
[0082] The converter includes: a data acquisition circuit, an A / D (voltage / electrical signal) converter, a microcontroller, and a near-infrared light driving circuit. The first output voltage is divided by a voltage divider resistor (detection resistor R1 and internal resistor R2) to obtain a third output voltage. The third output voltage is converted into an electrical signal with a corresponding signal strength by the A / D converter. The microcontroller controls the near-infrared light driving circuit to emit a light signal with a corresponding intensity based on the signal strength of the electrical signal. The first optical parameter is the signal strength of the emitted light signal that is incident on the target solution deployed in the detection circuit by the near-infrared light driving circuit and then emitted from the target solution.
[0083] In one exemplary embodiment, an example of a process for testing a first output voltage is provided. Figure 6 This is a schematic diagram of a process for testing a first output voltage according to an embodiment, such as... Figure 6 As shown, in the process of predicting the first output voltage of the voltage regulator, the host computer system includes a PC (Personal Computer System). The system uses a PC (personal computer) and serial communication to detect the second output voltage after the actual first output voltage of the voltage regulator is detected by the detection circuit. The PC also retrieves the first detected voltage corresponding to the second output voltage from a target relationship set and predicts the first output voltage of the voltage regulator based on the first detected voltage. The photoelectric conversion circuit includes a microcontroller, a feedback circuit, and an AD acquisition unit. The microcontroller sends the acquired electrical signal (second output voltage) to the host computer system for processing via serial communication. The near-infrared light working system includes a point-contact detection probe, a near-infrared light source driving circuit, a chromophore solution (target solution), and a near-infrared light junction circuit. The point-contact detection probe connects to the detection point in the circuit under test and receives the actual first output voltage of the voltage regulator. The circuit under test is an immersion liquid-cooled server. The first output voltage is transmitted to the near-infrared light source driving circuit through the resistor in the point-contact detection probe. The near-infrared light source driving circuit converts electrical energy into light energy, inputs the chromophore solution, and outputs the light from the chromophore solution. This light is then incident on the near-infrared light junction circuit and converted into an electrical signal, i.e., the second output voltage, by the AD acquisition and feedback circuit in the photoelectric conversion circuit.
[0084] The photoelectric conversion circuit converts the optical signal into an electrical signal and reports the signal strength of the electrical signal to the host computer system. The host computer system predicts the first output voltage of the voltage regulator through the target relationship set.
[0085] In one exemplary embodiment, an example of a process for testing a first output voltage is provided. Figure 7 This is a flowchart of a process for testing a first output voltage according to an embodiment, such as... Figure 7 As shown, first locate the test point in the immersion liquid-cooled server, and connect the point-type detection probes to the copper foil of the test point and the ground wire respectively. The near-infrared light source driving circuit outputs near-infrared light of different intensities based on the voltage value detected by the probes. The chromophore solution absorbs some of the near-infrared light with wavelengths of 760nm to 850nm. The near-infrared light receiving circuit converts the received near-infrared light intensity into an electrical signal and transmits it to the acquisition circuit. The acquisition chip transmits the electrical signal to the feedback circuit, which then enters the microcontroller. The microcontroller then communicates with the host computer via a serial port. According to Beer-Lambert's law, the incident light intensity can be calculated from the received light intensity, and the voltage value of the test point can then be directly calculated in the host computer.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0087] This embodiment also provides a server voltage parameter testing device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0088] Figure 8 This is a structural block diagram of a server voltage parameter testing device according to an embodiment of this application, such as... Figure 8 As shown, the device includes:
[0089] The first detection module 82 is used to detect the second output voltage output after the first output voltage actually output by the voltage regulator passes through the detection circuit. The voltage regulator is used to convert the power supply voltage into a target voltage that is compatible with the target server and output it to the target server. The detection circuit is used to convert the voltage actually output by the voltage regulator into a target electrical signal that can be detected.
[0090] The acquisition module 84 is used to acquire the first detection voltage corresponding to the second output voltage from the target relationship set, wherein the target relationship set is used to record the relationship between the third output voltage obtained after the input voltage of the detection circuit passes through the voltage divider resistor deployed in the detection circuit and the second output voltage output by the detection circuit, and the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit;
[0091] The prediction module 86 is used to predict the first output voltage of the voltage regulator based on the first detected voltage, wherein the first output voltage is used to determine the operating state of the voltage regulator.
[0092] The above-described device obtains a measurable second output voltage by acquiring the first output voltage of the voltage regulator after passing through a detection circuit. Then, based on the second output voltage, it searches for the first detection voltage of the first output voltage after passing through a voltage divider resistor from a target relationship set. The first output voltage of the voltage regulator can be calculated using the first detection voltage and the voltage divider resistor, thereby determining the working state of the voltage regulator. Therefore, it can solve the problem of low testing efficiency of server voltage parameters and achieve the effect of improving the testing efficiency of server voltage parameters.
[0093] In one exemplary embodiment, the acquisition module includes:
[0094] The first acquisition unit is used to acquire a first optical parameter corresponding to the second output voltage from the target relationship set, wherein the first optical parameter is used to indicate the signal strength of the optical signal output by the third output voltage through the converter deployed in the detection circuit;
[0095] A first calculation unit is used to calculate a second optical parameter before the first optical parameter is input to the converter, wherein the second optical parameter is used to indicate the signal strength of the optical signal that the third output voltage allows to be converted;
[0096] The second acquisition unit is used to acquire the third output voltage corresponding to the second optical parameter from the target relationship set as the first detection voltage.
[0097] In an exemplary embodiment, the first computing unit is further configured to: acquire solution parameters of a target solution deployed in the converter, wherein a light signal having the first optical parameter enters the target solution through a target incident angle in the converter, and the target solution outputs a light signal having the second optical parameter at a target exit angle, the solution parameters being used to indicate the solution concentration, optical path length, and absorption coefficient of the target solution; according to the formula Calculate the second optical parameter, where the solution concentration is c, the optical path length is l, and the first optical parameter is I. t The absorption coefficient is k, and the calculated second optical parameter is I0.
[0098] In one exemplary embodiment, the apparatus further includes:
[0099] A voltage input module is used to input an initial voltage to the detection circuit;
[0100] The second detection module is used to detect the voltage divider obtained after the initial voltage passes through the voltage divider resistor;
[0101] The third detection module is used to detect the first relationship between the first signal parameter of the target optical signal obtained after the voltage divider passes through the target solution deployed in the detection circuit and the second signal parameter of the target electrical signal output by the detection circuit.
[0102] The processing module is configured to determine a second relationship between the third signal parameter of the initial optical signal and the voltage divider based on the first relationship, thereby obtaining the target relationship set, wherein the initial optical signal is an optical signal obtained by converting the voltage divider, and the target relationship set includes the first relationship and the second relationship.
[0103] In one exemplary embodiment, the third detection module includes:
[0104] The first conversion unit is used to convert the voltage divider into an initial electrical signal through a first converter deployed in the detection circuit;
[0105] The transmitting unit is used to emit an initial light signal of corresponding intensity to the target solution at a target incident angle according to the initial electrical signal using a transmitter;
[0106] The detection unit is used to detect the first signal parameter of the target light signal output at the target emission angle after the initial light signal passes through the target solution, wherein the first signal parameter includes the emitted light intensity of the target light signal;
[0107] The second conversion unit is used to convert the target optical signal into the target electrical signal through a second converter deployed in the detection circuit;
[0108] The first construction unit is configured to construct the first relationship based on the first signal parameters of the target optical signal and the second signal parameters of the target electrical signal, wherein the second signal parameters include the signal strength of the target electrical signal.
[0109] In one exemplary embodiment, the processing module includes:
[0110] The third acquisition unit is used to acquire the solution parameters of the target solution, wherein the solution parameters are used to indicate the solution concentration, optical path length and absorption coefficient of the target solution;
[0111] The second calculation unit is used to calculate according to the formula. Calculate the third signal parameter of the initial optical signal, wherein the solution concentration is c, the optical path length is l, and the first signal parameter is I. t The absorption coefficient is k, and the third signal parameter is I0. The third signal parameter is used to indicate the incident light intensity of the initial optical signal.
[0112] The second construction unit is used to construct the second relationship based on the third signal parameter of the initial optical signal and the voltage divider voltage.
[0113] In one exemplary embodiment, the prediction module includes:
[0114] The fourth acquisition unit is used to acquire the resistance value of the detection resistor and the resistance value of the internal resistor deployed in the detection circuit, wherein the detection resistor is used to connect the first output voltage, the internal resistor is used to connect the detection resistor and the detection circuit, and the voltage divider resistor includes the detection resistor and the internal resistor.
[0115] The third calculation unit is used to calculate the ratio of the resistance value of the detection resistor to the resistance value of the internal resistor;
[0116] The fourth calculation unit is used to determine the first output voltage by multiplying the ratio by the first detection voltage.
[0117] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0118] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.
[0119] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0120] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0121] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0122] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0123] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0124] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for testing server voltage parameters, characterized in that, include: The detection circuit outputs a second output voltage after the first output voltage actually output by the voltage regulator passes through the detection circuit. The voltage regulator is used to convert the power supply voltage into a target voltage that is compatible with the target server and output it to the target server. The detection circuit is used to convert the voltage actually output by the voltage regulator into a target electrical signal that can be detected. Obtain the first detection voltage corresponding to the second output voltage from the target relationship set, wherein the target relationship set is used to record the relationship between the third output voltage obtained after the input voltage of the detection circuit passes through the voltage divider resistor deployed in the detection circuit and the second output voltage output by the detection circuit, and the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit; The first output voltage of the voltage regulator is predicted based on the first detected voltage, wherein the first output voltage is used to determine the operating state of the voltage regulator; The step of obtaining the first detection voltage corresponding to the second output voltage from the target relation set includes: Obtain the first optical parameter corresponding to the second output voltage from the target relationship set, wherein the first optical parameter is used to indicate the signal strength of the optical signal output by the third output voltage through the converter deployed in the detection circuit; Calculate the second optical parameter before the first optical parameter is input to the converter, wherein the second optical parameter is used to indicate the signal strength of the optical signal that the third output voltage allows to be converted; The third output voltage corresponding to the second optical parameter is obtained from the target relationship set and used as the first detection voltage.
2. The method according to claim 1, characterized in that, The calculation of the second optical parameter before the first optical parameter is input into the converter includes: The solution parameters of the target solution deployed in the converter are obtained, wherein an optical signal with the first optical parameter enters the target solution through the target incident angle in the converter, and the target solution outputs an optical signal with the second optical parameter at the target exit angle, and the solution parameters are used to indicate the solution concentration, optical path length and absorption coefficient of the target solution; According to the formula Calculate the second optical parameter, where the solution concentration is... The optical path length is l, and the first optical parameter is... The absorption coefficient is The calculated second optical parameter is .
3. The method according to claim 1, characterized in that, Before obtaining the first detection voltage corresponding to the second output voltage from the target relation set, the method further includes: An initial voltage is input to the detection circuit; The voltage divided by the initial voltage after passing through the voltage divider resistor is detected; A first relationship is established between a first signal parameter of the target optical signal obtained after the voltage divider passes through the target solution deployed in the detection circuit and a second signal parameter of the target electrical signal output by the detection circuit. Based on the first relationship, a second relationship is determined between the third signal parameter of the initial optical signal and the voltage divider, thereby obtaining the target relationship set. The initial optical signal is the optical signal obtained by converting the voltage divider, and the target relationship set includes the first relationship and the second relationship.
4. The method according to claim 3, characterized in that, The first relationship between the first signal parameter of the target optical signal obtained after detecting the voltage divider voltage through the target solution and the second signal parameter of the target electrical signal output by the detection circuit includes: The voltage divider is converted into an initial electrical signal by a first converter deployed in the detection circuit. The transmitter emits an initial light signal of corresponding intensity into the target solution at the target incident angle based on the initial electrical signal; The first signal parameter of the target light signal output at the target emission angle after the initial light signal passes through the target solution is detected, wherein the first signal parameter includes the emitted light intensity of the target light signal; The target optical signal is converted into the target electrical signal by a second converter deployed in the detection circuit; The first relationship is constructed based on the first signal parameter of the target optical signal and the second signal parameter of the target electrical signal, wherein the second signal parameter includes the signal strength of the target electrical signal.
5. The method according to claim 3, characterized in that, The step of constructing the first relationship based on the first signal parameters of the target optical signal and the second signal parameters of the target electrical signal includes: Obtain the solution parameters of the target solution, wherein the solution parameters are used to indicate the solution concentration, optical path length, and absorption coefficient of the target solution; According to the formula Calculate the third signal parameter of the initial optical signal, wherein the solution concentration is c, the optical path length is l, and the first signal parameter is... The absorption coefficient is k, and the third signal parameter is... The third signal parameter is used to indicate the incident light intensity of the initial optical signal; The second relationship is constructed based on the third signal parameter of the initial optical signal and the voltage divider voltage.
6. The method according to claim 1, characterized in that, The step of predicting the first output voltage of the voltage regulator based on the first detected voltage includes: The resistance values of the detection resistor and the internal resistor deployed in the detection circuit are obtained respectively. The detection resistor is used to connect to the first output voltage, and the internal resistor is used to connect the detection resistor and the detection circuit. The voltage divider resistor includes the detection resistor and the internal resistor. Calculate the ratio of the resistance of the detection resistor to the resistance of the internal resistor; The product of the ratio and the first detection voltage is determined as the first output voltage.
7. A device for testing server voltage parameters, characterized in that, include: The first detection module is used to detect the second output voltage after the first output voltage actually output by the voltage regulator passes through the detection circuit. The voltage regulator is used to convert the power supply voltage into a target voltage that is compatible with the target server and output it to the target server. The detection circuit is used to convert the voltage actually output by the voltage regulator into a target electrical signal that can be detected. The acquisition module is used to acquire the first detection voltage corresponding to the second output voltage from the target relationship set, wherein the target relationship set is used to record the relationship between the third output voltage obtained after the input voltage of the detection circuit passes through the voltage divider resistor deployed in the detection circuit and the second output voltage output by the detection circuit, and the first detection voltage is the voltage output after the first output voltage passes through the voltage divider resistor deployed in the detection circuit; A prediction module is configured to predict the first output voltage of the voltage regulator based on the first detected voltage, wherein the first output voltage is used to determine the operating state of the voltage regulator; The acquisition module includes: The first acquisition unit is used to acquire a first optical parameter corresponding to the second output voltage from the target relationship set, wherein the first optical parameter is used to indicate the signal strength of the optical signal output by the third output voltage through the converter deployed in the detection circuit; A first calculation unit is used to calculate a second optical parameter before the first optical parameter is input to the converter, wherein the second optical parameter is used to indicate the signal strength of the optical signal that the third output voltage allows to be converted; The second acquisition unit is used to acquire the third output voltage corresponding to the second optical parameter from the target relationship set as the first detection voltage.
8. 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 method described in any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Simplified four-quadrant change test method and circuit
CN112147533A
Power supply test system
CN213275905U