CN111239514A - Method and device for testing overvoltage protection function of server power supply - Google Patents
Method and device for testing overvoltage protection function of server power supply Download PDFInfo
- Publication number
- CN111239514A CN111239514A CN202010054244.3A CN202010054244A CN111239514A CN 111239514 A CN111239514 A CN 111239514A CN 202010054244 A CN202010054244 A CN 202010054244A CN 111239514 A CN111239514 A CN 111239514A
- Authority
- CN
- China
- Prior art keywords
- threshold
- protection
- overvoltage protection
- value
- power supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000012360 testing method Methods 0.000 title claims abstract description 31
- 238000012544 monitoring process Methods 0.000 claims abstract description 5
- 238000012986 modification Methods 0.000 claims description 11
- 230000004048 modification Effects 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 2
- 238000001514 detection method Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Protection Of Static Devices (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
The invention provides a method and a device for testing the overvoltage protection function of a server power supply, wherein the method comprises the following steps: s1: sending an instruction to lower the protection threshold of the OVP part; s2: and detecting whether overvoltage protection occurs. The device comprises: the adjusting module is used for issuing an instruction to reduce the protection threshold of the OVP part; and the monitoring module is used for detecting and feeding back whether overvoltage protection occurs or not. According to the scheme, the overvoltage protection function of the power module is detected, the test flow is simplified to the greatest extent, and the test efficiency is improved.
Description
Technical Field
The invention relates to the field of testing, in particular to a method and a device for testing the overvoltage protection function of a server power supply.
Background
Most of current server power supply schemes adopt a mode of introducing feedback and adaptively adjusting a control loop to realize a constant voltage output form of a power supply. When the overvoltage protection test of the output voltage is performed, a relatively high voltage is mainly applied to simulate the overvoltage condition of the output voltage at present, so as to test whether the OVP (overvoltage protection) function of the power module is normal or open a power supply shell, and a part of a circuit (a voltage feedback part) is temporarily changed to perform the test. These operating methods require, on the one hand, the preparation of professional equipment and, on the other hand, professional modifications, which result in relatively complex and difficult operations.
Disclosure of Invention
The embodiment of the invention provides a method and a device for testing the overvoltage protection function of a server power supply, which are used for solving the problem of complex overvoltage protection test operation in the prior art and improving the test efficiency.
In order to solve the technical problem, the embodiment of the invention discloses the following technical scheme:
the invention provides a method for testing the overvoltage protection function of a server power supply, which comprises the following steps:
s1: multiplying the preset threshold value by an adjusting coefficient X smaller than 1 to calculate a modification threshold value;
s2: sending an instruction to adjust the protection threshold value of the OVP part to a modification threshold value;
s3: starting a server power supply, loading voltage, detecting whether overvoltage protection occurs, if so, outputting that the overvoltage protection is normal, and turning to the step S4; if not, outputting an overvoltage protection abnormity;
s4: an instruction is sent to restore the protection threshold of the OVP portion to a predetermined threshold.
Further, the method further comprises the following steps:
s5: powering on a server power supply, restarting, detecting whether overvoltage protection occurs again, and outputting abnormal overvoltage protection if the overvoltage protection occurs; if not, the output overvoltage protection is normal.
Further, before step S1, the connection state of the power supply module needs to be confirmed.
Preferably, in step S1, the issued command needs to be compatible with the pmbusv1.2 specification.
Preferably, in step S1, the value of the adjustment coefficient X is: 0.9 ≦ X < 1.
Furthermore, after the protection threshold is modified, the maximum value of the voltage threshold in other modules is inquired, the protection threshold is compared with the searched voltage threshold, and when the modified protection threshold is smaller than the searched voltage threshold, the modified protection threshold is adjusted to be larger than the searched voltage threshold.
The embodiment of the invention also provides a device for testing the overvoltage protection function of the server power supply, which comprises:
the adjusting module is used for issuing an instruction to adjust the protection threshold value into a modification threshold value;
and the monitoring module is used for detecting and feeding back whether overvoltage protection occurs or not.
Further, the device further comprises:
and the restoring module is used for restoring the threshold value modified by the adjusting module to the original value.
Further, the adjusting module comprises:
an acquisition unit configured to acquire a preset threshold;
a calculating unit, configured to multiply a predetermined threshold by an adjustment coefficient X to calculate a modification threshold, where a value of the adjustment coefficient X is: 0.9 ≦ X < 1;
and the first adjusting unit is used for modifying the protection threshold value into a calculated value.
Further, the adjusting module further includes:
the searching unit is used for searching the numerical value with the maximum voltage threshold in other modules;
the comparison unit is used for comparing the numerical values output by the search unit and the calculation unit;
and the second adjusting unit is used for adjusting the protection threshold value to be larger than the searched voltage threshold value when the output value of the calculating unit is smaller than the output value of the searching unit.
The beneficial effects of the above technical scheme are that:
compared with the complex operation in the prior art, the protection threshold value is modified through the instruction, particularly, the protection threshold value is adjusted downwards through the adjustment coefficient of an interval between 0.9 and 1, so that the server power supply can perform overvoltage protection on the modified protection threshold value under normal working voltage, OVP protection is confirmed to occur through the output of the power supply module, the indication condition of the indicator lamp, the alert signal condition and the condition of reading the power supply module by the upper computer, the whole implementation process is completely realized through software control, the test flow is simplified to the greatest extent while the overvoltage protection function of the power supply module is detected, and the test efficiency is improved.
In addition, when the protection threshold is adjusted, the influence of the adjusted protection threshold on other modules can be considered, and the modified protection threshold can be prevented from triggering the overvoltage protection function of other modules by searching and comparing the maximum voltage threshold of other modules, so that the accurate implementation of the voltage protection test is ensured, and the test error is reduced.
In addition to the test process, the test result can be rechecked in the normal overvoltage protection test, generally, the power supply which returns the protection threshold value is electrified and started again, the power supply module is ensured to be in a normal state after the protection threshold value is restored, the problem of randomness of the measurement result under the condition of single measurement is avoided, and the test accuracy and stability are further improved.
Drawings
In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for a person skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a method provided by one embodiment of the present invention;
fig. 2 is a schematic diagram of device functional logic according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, as an embodiment that can be realized by the present invention, there is provided a method for testing a server power supply overvoltage protection function, the method including the following implementation procedures:
1) confirming a connection state of the power module, the process comprising: the power supply module is electrified to ensure that the physical communication link between the upper computer and the module is well connected and the module outputs normally; the data is read by the upper computer, so that the power module is ensured to be in a normal state.
The definition of the normal state mainly refers to whether overvoltage protection occurs, and the state without overvoltage protection is the normal state.
2) Sending an instruction to reduce the protection threshold of the OVP part, wherein the issued command can be properly adjusted according to different items in the process, and the principle is to be compatible with the PMBusV1.2 standard, namely, the command defined by the PMBus standard is not occupied, and the command conforms to the read-write operation standard and meets the transmission operation of data reading and writing.
The requirements for reduction in this process are: firstly, acquiring a preset threshold value; then, multiplying a predetermined threshold by an adjustment coefficient X, wherein the value of the adjustment coefficient X is as follows: 0.9 ≦ X < 1; and finally, modifying the protection threshold value into a calculated value.
It should be noted that although the range of the adjustment coefficient is set to 0.9 ≦ X <1, in practical operation, a fixed coefficient value may be preset, and generally, the value is greater than 0.95, and preferably, three values, i.e., 0.97, 0.98, and 0.99, are selected.
In order to ensure that the OVP logic of the power supply can be triggered without causing false triggering of other protection logics, the adjusted protection threshold needs to be checked, and the main principle is as follows: and after the protection threshold is modified, inquiring the maximum value of the voltage threshold in other modules, comparing the protection threshold with the searched voltage threshold, and when the modified protection threshold is smaller than the searched voltage threshold, adjusting the modified protection threshold to be larger than the searched voltage threshold.
In the above checking process, for the protection threshold that needs to be readjusted, a general adjustment manner is to multiply a coefficient, such as 1.1 or 1.2, by the searched voltage threshold, and then determine whether the value is smaller than the preset protection threshold, and when the recalculated protection threshold is still larger than the preset protection threshold, the multiplied coefficient may be reduced to a value such as 1.05.
4) Whether overvoltage protection occurs or not is detected, a server power supply needs to be started in the process, voltage is loaded, and then OVP protection is confirmed to occur through the output of a power supply module, the indication condition of an indicator lamp, the alert signal condition and the condition that an upper computer reads the state of the power supply module. If no overvoltage protection occurs, the power supply circuit has problems, and detailed maintenance operation needs to be carried out on the power supply module.
5) And sending an instruction to recover the protection threshold value of the OVP part, wherein the process recovers the OVP protection threshold value to an initial value through a command.
The above process has substantially completed the detection of the overvoltage protection, but in order to further confirm the condition of the power module, the detection result of the above process needs to be reviewed, and the review process is implemented by the following subsequent steps:
6) and detecting whether overvoltage protection occurs again, wherein power failure and power re-up are needed in the process, then detecting whether the power module is in a normal state, if the power module is in the normal state, the power module has no problem, the overvoltage protection function is normal, and if overvoltage protection still occurs, the circuit of the power module is in a fault, and further maintenance is needed.
Corresponding to the method, an embodiment of the present invention further provides a device for testing an overvoltage protection function of a server power supply, and referring to fig. 2, the device includes an adjustment module, a monitoring module, and a recovery module.
The adjusting module is used for issuing an instruction to reduce the protection threshold of the OVP part, and in order to realize the function, the adjusting module adopts a plurality of units to realize specific operation, and the included units and the functions thereof are specifically as follows:
first, an obtaining unit is used to obtain a preset threshold.
After the preset threshold value is obtained, the calculation unit multiplies the preset threshold value by the adjustment coefficient X to obtain an adjusted threshold value. Wherein, the value of the adjusting coefficient X is as follows: 0.9 ≦ X <1, preferably 0.97, 0.98 and 0.99.
And for the calculated value, the first adjusting unit is responsible for modifying the protection threshold value into the calculated value.
In order to prevent other modules from triggering overvoltage protection, the modified value needs to be checked, and the following units are adopted to realize the following steps:
and inquiring the value with the maximum voltage threshold value in other modules by using a searching unit, then comparing the values output by the searching unit and the calculating unit by using a comparing unit based on the obtained value, and adjusting the protection threshold value to be larger than the searched voltage threshold value when the value output by the calculating unit is smaller than the value output by the searching unit.
For the protection threshold that needs to be readjusted, the general adjustment method is to multiply a coefficient, such as 1.1 or 1.2, by the searched voltage threshold, and then determine whether the value is smaller than the preset protection threshold, and when the recalculated protection threshold is still larger than the preset protection threshold, the multiplied coefficient may be reduced to a value such as 1.05.
After the adjustment is completed, whether overvoltage protection occurs or not can be detected and fed back by using the monitoring module, and in the detection process, OVP protection is confirmed to occur through the output of the power supply module, the indicating condition of the indicating lamp, the alert signal condition and the condition that the upper computer reads the state of the power supply module.
Although the detection of the overvoltage protection is substantially completed after the detection is completed, in order to further confirm the condition of the power module, the detection result needs to be reviewed, so that the threshold modified by the adjusting module is restored to the original value by using the restoring module, and then the detection of the overvoltage protection is performed by using the detecting module again.
It should be noted that the power module needs to be powered up again before the detection module is used again to detect.
The process of testing the PEF750-12-054NA power module by combining the above principle is as follows:
aiming at a PEF750-12-054NA power module, the normal output voltage is 12V, the corresponding protection threshold value is modified to 11.76V by issuing a command (CMD is 0x4D), the voltage threshold value of other modules is not found to check the value, the test finds that the OVP function of the power module can be started as expected (the power output Latch, SMB _ Alert signal is pulled low, the communication state word shows that the power supply outputs an overvoltage state), and after the test is finished, the command is issued to recover the corresponding protection threshold value.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for testing server power supply overvoltage protection functionality, said method comprising:
s1: multiplying the preset threshold value by an adjusting coefficient X smaller than 1 to calculate a modification threshold value;
s2: sending an instruction to adjust the protection threshold value of the OVP part to a modification threshold value;
s3: starting a server power supply, loading voltage, detecting whether overvoltage protection occurs, if so, outputting that the overvoltage protection is normal, and turning to the step S4; if not, outputting an overvoltage protection abnormity;
s4: an instruction is sent to restore the protection threshold of the OVP portion to a predetermined threshold.
2. The method of claim 1, further comprising:
s5: powering on a server power supply, restarting, detecting whether overvoltage protection occurs again, and outputting abnormal overvoltage protection if the overvoltage protection occurs; if not, the output overvoltage protection is normal.
3. The method for testing the overvoltage protection function of the power supply of the server according to the claim 1 or the claim 2, wherein the connection state of the power supply module is confirmed before the step S1.
4. The method of claim 1, wherein in step S1, the issued command is compatible with the pmbus v1.2 specification.
5. The method according to claim 1, wherein in step S1, the value of the adjustment coefficient X is: 0.9 ≦ X < 1.
6. The method of claim 5, wherein after the modification of the protection threshold is completed, the maximum voltage threshold of the other modules is queried, the protection threshold is compared with the searched voltage threshold, and when the modified protection threshold is smaller than the searched voltage threshold, the modified protection threshold is adjusted to be larger than the searched voltage threshold.
7. An apparatus for testing server power supply overvoltage protection, said apparatus comprising:
the adjusting module is used for issuing an instruction to adjust the protection threshold value into a modification threshold value;
and the monitoring module is used for detecting and feeding back whether overvoltage protection occurs or not.
8. The apparatus as claimed in claim 7, further comprising:
and the restoring module is used for restoring the threshold value modified by the adjusting module to the original value.
9. The apparatus as claimed in claim 7 or 8, wherein the adjusting module comprises:
an acquisition unit configured to acquire a preset threshold;
a calculating unit, configured to multiply a predetermined threshold by an adjustment coefficient X to calculate a modification threshold, where a value of the adjustment coefficient X is: 0.9 ≦ X < 1;
and the first adjusting unit is used for modifying the protection threshold value into a calculated value.
10. The apparatus as claimed in claim 9, wherein the adjusting module further comprises:
the searching unit is used for searching the numerical value with the maximum voltage threshold in other modules;
the comparison unit is used for comparing the numerical values output by the search unit and the calculation unit;
and the second adjusting unit is used for adjusting the protection threshold value to be larger than the searched voltage threshold value when the output value of the calculating unit is smaller than the output value of the searching unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010054244.3A CN111239514B (en) | 2020-01-17 | 2020-01-17 | Method and device for testing overvoltage protection function of server power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010054244.3A CN111239514B (en) | 2020-01-17 | 2020-01-17 | Method and device for testing overvoltage protection function of server power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111239514A true CN111239514A (en) | 2020-06-05 |
CN111239514B CN111239514B (en) | 2022-12-27 |
Family
ID=70879532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010054244.3A Active CN111239514B (en) | 2020-01-17 | 2020-01-17 | Method and device for testing overvoltage protection function of server power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111239514B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089156A (en) * | 2021-10-29 | 2022-02-25 | 广东电网有限责任公司广州供电局 | Method and device for testing effectiveness of power module hardware overvoltage protection function |
CN114636852A (en) * | 2022-03-17 | 2022-06-17 | 苏州浪潮智能科技有限公司 | Over-current testing method and device for server, server and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964512A (en) * | 2010-11-05 | 2011-02-02 | 江苏省电力公司东台市供电公司 | Electric leakage protector with overvoltage protective device |
CN103823460A (en) * | 2014-02-17 | 2014-05-28 | 株洲南车时代电气股份有限公司 | Test apparatus and test method of auxiliary converter control cabinet |
US20140218201A1 (en) * | 2011-08-12 | 2014-08-07 | Phoenix Contact Gmbh & Co. Kg | Overvoltage protection device with a measuring device for monitoring overvoltage protection elements |
US20140327466A1 (en) * | 2013-05-02 | 2014-11-06 | Chicony Power Technology Co., Ltd | Over voltage protection testing apparatus |
-
2020
- 2020-01-17 CN CN202010054244.3A patent/CN111239514B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964512A (en) * | 2010-11-05 | 2011-02-02 | 江苏省电力公司东台市供电公司 | Electric leakage protector with overvoltage protective device |
US20140218201A1 (en) * | 2011-08-12 | 2014-08-07 | Phoenix Contact Gmbh & Co. Kg | Overvoltage protection device with a measuring device for monitoring overvoltage protection elements |
US20140327466A1 (en) * | 2013-05-02 | 2014-11-06 | Chicony Power Technology Co., Ltd | Over voltage protection testing apparatus |
CN103823460A (en) * | 2014-02-17 | 2014-05-28 | 株洲南车时代电气股份有限公司 | Test apparatus and test method of auxiliary converter control cabinet |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089156A (en) * | 2021-10-29 | 2022-02-25 | 广东电网有限责任公司广州供电局 | Method and device for testing effectiveness of power module hardware overvoltage protection function |
CN114089156B (en) * | 2021-10-29 | 2023-11-03 | 广东电网有限责任公司广州供电局 | Method and device for testing effectiveness of overvoltage protection function of power module hardware |
CN114636852A (en) * | 2022-03-17 | 2022-06-17 | 苏州浪潮智能科技有限公司 | Over-current testing method and device for server, server and readable storage medium |
CN114636852B (en) * | 2022-03-17 | 2024-01-09 | 苏州浪潮智能科技有限公司 | Overcurrent test method and device for server, server and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111239514B (en) | 2022-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111324192A (en) | System board power supply detection method, device, equipment and storage medium | |
CN111239514B (en) | Method and device for testing overvoltage protection function of server power supply | |
CN110930538A (en) | Method and system for visualizing fault information of vehicle | |
CN109918221B (en) | Hard disk error reporting analysis method, system, terminal and storage medium | |
CN1180346C (en) | Autoamtic safe reset method of BIOS storage in computer system | |
CN112463479B (en) | Automatic testing method and system for VR abnormal power failure detection positioning function | |
CN112670948B (en) | Board card protection method, system and device | |
CN111381660B (en) | Power supply control system and method of multi-node server based on CPLD (complex programmable logic device) | |
CN211148838U (en) | Air conditioner internal unit testing device | |
CN111398675A (en) | Electric energy meter reading method, device and system | |
CN115728665A (en) | Power failure detection circuit, method and system | |
CN115729756A (en) | Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk | |
CN110825547A (en) | SMBUS-based PCIE card exception recovery device and method | |
CN102541705A (en) | Testing method for computer and tooling plate | |
CN108829417B (en) | Upgrading device, method, equipment and storage medium of CPLD | |
CN113448786A (en) | PCIe equipment testing method, device, equipment and readable storage medium | |
CN109581174B (en) | Nuclear power station dynamic simulation test system and test method | |
CN106776169A (en) | A kind of method and device of the PSU of testing service device | |
CN112486717A (en) | Method, system, terminal and storage medium for verifying consistency of disk data | |
CN111865719A (en) | Automatic testing method and device for fault injection of switch | |
CN114884021B (en) | Power supply control method of power supply circuit and related components | |
CN116679991B (en) | Method, system, equipment and storage medium for managing starting of memory | |
CN114356617B (en) | Error injection testing method, device, system and computing equipment | |
CN116841374A (en) | Power supply in-place state correction method, device, equipment and readable storage medium | |
CN117435019A (en) | Server power supply control method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |