Power management chip test method and device, test equipment and storage medium

By increasing the memory load after the server motherboard is powered on, monitoring and adjusting the load status, and cyclically detecting the health status of the power management chip, the problem of long test time and inability to test the load status in the existing technology is solved, and a DDR5 memory power management chip is realized Stability and reliability testing, suitable for automated production and cost saving.

CN118550787APending Publication Date: 2024-08-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410543657.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The power management chip testing method in the existing technology has a low probability of failure, takes a long time to test, and cannot effectively test the reliability and stability of the chip under different load operating conditions.

Method used

By increasing the memory load after the server motherboard is powered on, monitoring temperature and power consumption, checking the health status under high load and low load conditions, cyclically switching detection actions to obtain the test results of the power management chip, and using memory stress testing tools to lock idle times For memory, turn off the memory swap-in and swap-out actions, divide the logic cores for pressure testing, monitor temperature and power consumption, adjust the load to meet the memory demand, and then power on again to test the voltage changes of the internal components of the power management chip.

Benefits of technology

It realizes the reliability and stability test of the power management chip under different load conditions to ensure the stability and reliability of the DDR5 memory power management chip. It is suitable for automated testing in the complete machine factory without manual operation, saving manpower and time costs. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550787A
    Figure CN118550787A
Patent Text Reader

Abstract

The invention provides a power management chip test method and device, test equipment and a storage medium, and relates to the technical field of computers, after a server mainboard using a power management chip is powered on, a memory load is increased; memory temperature and power consumption are monitored, and when the memory temperature reaches a preset temperature threshold value and the power consumption reaches a high-load standard, a high-load memory health state is checked; if the high-load memory health state detection is passed, reducing the memory load, after standing for a first preset duration, capturing memory temperature and power consumption information, and checking a low-load memory health state; if the low-load memory health state detection is passed, circularly switching the high-load memory health state detection action and the low-load memory health state detection action to obtain a power management chip test result, so that the reliability and stability test of the power management chip in different load operation states is realized; the method is suitable for automatic testing of the memory power management chip of a complete machine factory, manual operation is not needed, and manpower and time cost are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a power management chip testing method, device, testing equipment and storage medium. Background Art

[0002] Power management IC (PMIC) is an integrated circuit used for voltage conversion, voltage regulation, and battery management. They can handle the timing of the power system and provide the required power for different components in the double data rate synchronous dynamic random access memory (DDR) DDR5 memory module. DDR5 is a memory chip. Compared with DDR4 memory, the DDR5 standard has stronger performance and lower power consumption. It integrates the power management chip from the motherboard to the memory board, making the motherboard design simpler, but the stability and reliability requirements of the power management chip are very high. The instability of the power management chip can easily cause problems such as under-detection of memory and cracking of capacitors after running for a period of time, affecting the operation of the whole machine. Therefore, it is very important to test the power management chip. In the current whole machine testing process, the stability of the power management chip is tested by checking the number of recognizable memories after restarting the machine. This method has a low probability of detecting failures, prolongs the whole machine testing time, and is not cost-effective. In addition, when the memory load changes, the power management chip needs to adjust its output power in real time to meet the needs of the memory module. When the load increases, the power management chip needs to provide more current to ensure the stable operation of the memory module. Conversely, if the load decreases, the power management chip needs to reduce the current output to save energy. When the memory load changes, the power management chip needs to maintain the stability of the output voltage and prevent abnormal conditions such as overcurrent and overtemperature. The power management chip uses a built-in protection mechanism to monitor the power status to protect the system from damage. The change in memory load is also a test of the power management chip protection mechanism. The test method of restarting the machine cannot test the reliability and stability of the power management chip under different memory load conditions. Summary of the invention

[0003] The present invention provides a power management chip testing method, device, testing equipment and storage medium, which are used to solve the defects of the traditional power management chip testing method, such as low failure probability, long whole machine testing time, and neglect of the reliability and stability of the power management chip under different load operating conditions.

[0004] The present invention provides a power management chip testing method, comprising:

[0005] After the server motherboard using the power management chip is powered on, the memory load is increased;

[0006] Monitor memory temperature and power consumption, and check high-load memory health status when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard;

[0007] If the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0008] If the low-load memory health status detection passes, the high-load memory health status and low-load memory health status detection actions are cyclically switched to obtain the power management chip test result.

[0009] According to a power management chip testing method provided by the present invention, the high load standard is determined according to the amount of device memory, the maximum memory power consumption and the stress testing tool coefficient.

[0010] According to a power management chip testing method provided by the present invention, the high load standard W=memory quantity*maximum memory power consumption*C, the maximum memory power consumption of each memory is different, and C is the stress testing tool coefficient.

[0011] According to a power management chip testing method provided by the present invention, the step of increasing the memory load comprises:

[0012] Use the memory stress testing tool to lock all idle memory in the operating system and disable memory swapping.

[0013] After disabling memory swapping, the memory is evenly divided according to the number of CPU logical cores. Each logical core is responsible for stress testing a piece of memory. All logical cores stress test the memory at the same time to keep the memory in a high-load state.

[0014] According to a power management chip testing method provided by the present invention, after executing the switching high-load memory health state and low-load memory health state detection action for a preset number of times, the method further includes:

[0015] If both the high-load memory health status and the low-load memory health status are detected and passed, the DC power supply of the mainboard is disconnected through the baseboard management controller, and the management system input power is kept to supply power to the mainboard. After the DC power supply of the mainboard is disconnected for a second preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the output special power supply environment test fails;

[0016] If the voltage of the components inside the power management chip does not change, monitor the memory temperature and power consumption, and when the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0017] If both the high-load memory health status and the low-load memory health status are detected and passed, the power distribution unit is used to disconnect the DC power supply of the whole machine and the input power supply of the management system. After the power is cut off for a third preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the special power supply environment test is output to fail, wherein the third preset time is less than the second preset time;

[0018] If the voltage of the internal components of the power management chip has not changed, monitor the memory temperature and power consumption. When the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset period of time, and check the low-load memory health status; output the power management chip test results.

[0019] According to a power management chip testing method provided by the present invention, the third preset time length is 1 minute, the second preset time length is 2 minutes, and the first preset time length is 5 minutes.

[0020] According to a power management chip testing method provided by the present invention, the second preset time length and the third preset time length are switched by modifying a serial communication protocol link register of a power supply by a baseboard management controller.

[0021] According to a power management chip testing method provided by the present invention, after the power is cut off for a third preset time, the server mainboard is powered on again, comprising:

[0022] The state of the battery inside the power management chip is obtained, and the test result of the battery inside the power management chip is output according to the state of the battery inside the power management chip.

[0023] A power management chip testing method provided by the present invention also includes:

[0024] Repeat the special power supply environment test process and output the power management chip fatigue test result according to the special power supply environment test result.

[0025] According to a power management chip testing method provided by the present invention, before the server mainboard is powered on, the method further includes:

[0026] Set the IP address of the power distribution unit, configure the correspondence between the IP address and the power supply port information and the test rack, and store them in a database so that the power distribution unit can read the database and perform power on and off actions on the designated device according to the correspondence between the read IP address and the power supply port information and the test rack.

[0027] According to a power management chip testing method provided by the present invention, after the server mainboard is powered on, the method further comprises:

[0028] Obtaining memory health status flag information, wherein the memory health status flag information includes at least one of memory size, speed, model, total bandwidth, data bandwidth, location, configured memory speed, minimum voltage, maximum voltage, configured voltage, and variable size;

[0029] If it is detected that all the flag information of the memory health status is in a healthy state, the memory load increase operation is performed.

[0030] According to a power management chip testing method provided by the present invention, obtaining the power management chip test result includes:

[0031] If any of the high-load memory health state and the low-load memory health state fails to be detected, the power management chip test fails in the output high-load and low-load states.

[0032] The present invention also provides a power management chip testing device, comprising:

[0033] Add a module to increase the memory load after the server motherboard using the power management chip is powered on;

[0034] A first checking module is used to monitor the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, check the high-load memory health state;

[0035] A second inspection module is used to reduce the memory load after the high-load memory health status detection passes, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0036] The switching module is used to cyclically switch between high-load memory health status and low-load memory health status detection actions if the low-load memory health status detection passes, so as to obtain the power management chip test result.

[0037] The present invention also provides a testing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the power management chip testing method as described in any one of the above items when executing the program.

[0038] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the above-mentioned power management chip testing methods.

[0039] The power management chip testing method, device, testing equipment and storage medium provided by the present invention increase the memory load after the server motherboard using the power management chip is powered on; monitor the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status; if the low-load memory health status detection passes, cyclically switch the high-load memory health status and low-load memory health status detection actions to obtain the power management chip test results, which can realize the reliability and stability test of the power management chip under different load operating conditions, ensure the stability and reliability of the DDR5 memory power management chip, and is suitable for the automated testing of the DDR5 memory power management chip in the whole machine factory, without the need for manual operation, saving manpower and time costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 This is one of the flow charts of the power management chip testing method provided by the embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of a power management chip framework provided by an embodiment of the present invention;

[0043] Figure 3 This is a second flow chart of a power management chip testing method provided by an embodiment of the present invention;

[0044] Figures 4 to 10 This is a diagram of a power management chip test example provided by an embodiment of the present invention;

[0045] Fig.11 It is a schematic diagram of the interaction between modules in the power management chip testing device provided by an embodiment of the present invention;

[0046] Fig.12 It is a functional structure diagram of the testing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Figure 1 A flow chart of a power management chip testing method provided by an embodiment of the present invention, such as Figure 1 As shown, the power management chip testing method provided by the embodiment of the present invention includes:

[0049] Step 101: After the server motherboard using the power management chip is powered on, increase the memory load;

[0050] Step 102, monitoring the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, checking the high-load memory health status;

[0051] Step 103: If the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0052] Step 104: If the low-load memory health status detection passes, cyclically switch between high-load memory health status and low-load memory health status detection actions to obtain a power management chip test result.

[0053] In the traditional power management chip testing method, during the whole machine test, the stability of the power management chip is tested by checking the number of identifiable memories after restarting the machine. This method has a low probability of detecting failures, prolongs the whole machine test time, and is not cost-effective. In addition, when the memory load changes, the power management chip needs to adjust its output power in real time to meet the needs of the memory module. When the load increases, the power management chip needs to provide more current to ensure the stable operation of the memory module. Conversely, if the load decreases, the power management chip needs to reduce the current output to save energy. When the memory load changes, the power management chip needs to maintain the stability of the output voltage and prevent abnormal conditions such as overcurrent and overtemperature. The power management chip uses a built-in protection mechanism to monitor the power status to protect the system from damage. The change in memory load is also a test of the power management chip protection mechanism. The test method of restarting the machine cannot test the reliability and stability of the power management chip under different memory load operating conditions.

[0054] The power management chip testing method provided by the embodiment of the present invention increases the memory load after the server motherboard using the power management chip is powered on; monitors the memory temperature and power consumption, and checks the high-load memory health status when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard; if the high-load memory health status detection passes, reduces the memory load, captures the memory temperature and power consumption information after standing for a first preset time, and checks the low-load memory health status; if the low-load memory health status detection passes, cyclically switches the high-load memory health status and low-load memory health status detection actions to obtain the power management chip test result, which can realize the reliability and stability test of the power management chip under different load operating conditions, ensure the stability and reliability of the DDR5 memory power management chip, and is suitable for the automated testing of the DDR5 memory power management chip in the whole machine factory, without the need for manual operation, saving manpower and time costs.

[0055] Based on any of the above embodiments, the power management chip testing method provided in the embodiment of the present invention uses a power distribution unit (PDU) and a test rack, specifically including:

[0056] Step 201. Before the server mainboard is powered on, the IP address of the power distribution unit is set, and the correspondence between the IP address and the power supply port information and the test rack is configured and stored in a database, so that the power distribution unit reads the database and performs power on and off actions on the designated device according to the correspondence between the read IP address and the power supply port information and the test rack.

[0057] Step 202: After the server mainboard is powered on, obtain the flag information of the memory health status, wherein the flag information of the memory health status includes at least one of memory size, speed, model, total bandwidth, data bandwidth, location, configured memory speed, minimum voltage, maximum voltage, configured voltage and variable size;

[0058] Step 203: If it is detected that all the flag information of the memory health status is in a healthy state, an operation of increasing the memory load is performed.

[0059] In an embodiment of the present invention, increasing the memory load includes:

[0060] Step 2031: Lock all idle memory in the operating system through a memory stress testing tool, and disable memory swapping;

[0061] Step 2032: After the memory swapping action is disabled, the memory is evenly divided according to the number of CPU logical cores. Each logical core is responsible for stress testing a piece of memory. All logical cores stress test the memory at the same time to put the memory in a high-load state.

[0062] An example of a memory stress testing tool is the imt stress testing tool, which is a self-developed memory stress testing tool. The imt stress testing tool will lock all idle memory under the operating system and turn off memory swapping to ensure that the memory under stress testing is physical memory. The memory is then evenly divided according to the number of CPU logical cores. Each logical core is responsible for stress testing a piece of memory. All logical cores stress test the memory at the same time, ensuring that the memory is in a high-load state. The stress test uses four modes, namely read and write test, address test, match test, and Butterfly test. These four memory tests can cover single-bit faults, adjacent bit faults, and multi-bit faults of the memory. Therefore, it is helpful to detect memory faults in a timely manner.

[0063] Step 204, monitoring the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, checking the high-load memory health status;

[0064] In an embodiment of the present invention, the preset temperature is, for example, 54 degrees Celsius, and the high load standard is determined according to the amount of device memory, the maximum memory power consumption, and the stress testing tool coefficient. For example, the high load standard W = the amount of memory * the maximum memory power consumption * C, the maximum memory power consumption of each memory is different, and C is the stress testing tool coefficient. It should be noted that when using the imt stress testing tool, the stress testing tool coefficient C is a constant of 0.75. For the memtester stress testing tool (the memtester stress testing tool is mainly used to capture memory errors, and its main test items include random values, XOR comparisons, subtractions, multiplications, divisions, and / or operations, etc. By giving the size and number of test memory, the existing memory of the system can be tested), the stress testing tool coefficient C is a constant of 0.7. The stress testing tool coefficient characterizes the degree to which the stress testing tool can make the memory reach a high load state, and the specific value is obtained after multiple experiments.

[0065] Step 205: If the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0066] Step 206: If the low-load memory health status detection passes, the high-load memory health status and low-load memory health status detection actions are switched cyclically. If any of the high-load memory health status and the low-load memory health status detection fails, the power management chip test fails in the high-load and low-load states.

[0067] In the embodiment of the present invention, the stability and reliability of the power management chip under high load and low load states of the DDR5 memory, as well as the stability of the power management chip when switching between high and low loads are tested respectively. The standard for judging whether the memory reaches a high load, the method for making the memory reach high load and low load, and the method for switching between high and low loads are problems that need to be solved.

[0068] Based on any of the above embodiments, the DDR5 power management chip has two power supplies, such as Figure 2 As shown, one is the system bulk input DC power supply voltage (VIN_BULK), which is 12V, and the other is the management system input power supply voltage (VIN_MGMT), which is 3.3V. The operation status of the power management chip is tested by simulating different power supply environments. The first power supply environment is to re-power on when the VIN_BULK and VIN_MGMT power supply voltages are 0, so that the power management chip can reach a normal working state; the second power supply environment is to re-power on when the VIN_BULK voltage is 0V and the VIN_MGMT voltage is 3.3V, so that the power management chip can reach a normal working state.

[0069] In an embodiment of the present invention, after executing the switching high-load memory health state and low-load memory health state detection action for a preset number of times (for example, 3 times), the power management chip testing method further includes:

[0070] Step 301: If both the high-load memory health status and the low-load memory health status are detected and passed, disconnect the DC power supply of the mainboard through the baseboard management controller, keep the management system input power supply to power the mainboard, disconnect the DC power supply of the mainboard for a second preset time, and then power on the server mainboard again to test whether the voltage of the internal components of the power management chip changes. If so, output that the special power supply environment test fails;

[0071] Step 302: If the voltage of the internal components of the power management chip does not change, monitor the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, check the high-load memory health state; if the high-load memory health state detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health state;

[0072] Step 303: If both the high-load memory health status and the low-load memory health status are detected to be passed, the power distribution unit is used to disconnect the DC power supply of the whole machine and the input power supply of the management system. After the power is cut off for a third preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the special power supply environment test is output to fail, wherein the third preset time is less than the second preset time;

[0073] Step 304: If the voltage of the internal components of the power management chip has not changed, monitor the memory temperature and power consumption. When the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset period of time, and check the low-load memory health status; output the power management chip test results.

[0074] In the embodiment of the present invention, the third preset time length is 1 minute, the second preset time length is 2 minutes, and the first preset time length is 5 minutes.

[0075] The present invention adopts automated control to the maximum extent, adding a low-load standstill time of 5 minutes, a mainboard power-off waiting time of 2 minutes, and a power distribution unit whole machine power-off time of 1 minute. These time lengths are the minimum time verified by experiments that does not affect the normal operation of the operating system. The maximum benefit is obtained with the shortest test time, and no manual operation is required, which can save manpower and time costs. All shipped machines are tested according to the same test process to ensure the uniform quality of server products.

[0076] In an embodiment of the present invention, the second preset duration and the third preset duration are switched by modifying the serial communication protocol link register of the power supply by the baseboard management controller. After the power is cut off for the third preset duration, after the server mainboard is powered on again, it includes: obtaining the state of the battery inside the power management chip, and outputting the test result of the battery inside the power management chip according to the state of the battery inside the power management chip. The power management chip test method also includes: repeatedly executing the special power supply environment test process, and outputting the power management chip fatigue test result according to the special power supply environment test result.

[0077] like Figure 3 As shown, the power management chip testing method specifically includes:

[0078] (1) Set the IP address of the power distribution unit in advance, configure the correspondence between the IP address and the power supply port information and the test rack, and store them in the database for easy reading after the test machine is put on the rack.

[0079] (2) After the test machine is assembled, it is moved to the test rack for placement. This action mainly records the correspondence between the test machine SN and the rack number, which facilitates the subsequent power-on and power-off of the machine through the power distribution unit.

[0080] (3) Turn on the power and check the memory health status. The memory health status indicator information includes memory size, speed, model, total bandwidth, data bandwidth, location, configured memory speed, minimum voltage, maximum voltage, configured voltage, and variable size. The above information must be detected to indicate that the memory status is healthy. Check by executing the imt stress test program. This stress test will increase the memory load.

[0081] (4) Capture memory temperature and power consumption. When the memory temperature reaches 54 degrees and the power consumption reaches the high load standard (for example, 75% of the maximum power consumption), check the memory health status. If the health status test fails, exit with an error directly. After the test passes, end the memory stress test, wait for 5 minutes, and check the memory health status again. If the test fails, exit with an error directly. If the test passes, execute imt again to perform memory stress test. This action is repeated 3 times.

[0082] (5) Loop through step (4) 3 times. If the health status check passes, the mainboard is powered off through the BMC for 2 minutes and then powered on again. The PMIC will completely enter a dormant state. This action is to create a special power supply environment for the PMIC to test changes in components such as the PMIC regulator and converter, so that the PMIC can expose problems more quickly.

[0083] (6) Execute steps (3) and (4) again.

[0084] (7) Control the power distribution unit to cut off the power to the entire machine for 1 minute. After 1 minute, the power management chip will enter a completely closed state. This action will clear the two power supplies of the power management chip and then supply power, which will cause certain fatigue to the internal circuits or components of the power management chip. The power management chip converts the input voltage into a stable output voltage to power the memory through its internal voltage regulator and other components. At this time, the power management chip will also restart its battery charging function and perform operations such as battery status detection and charging control.

[0085] (8) Perform steps 3 and 4 again to check the stability and reliability of the power management chip under special power supply conditions.

[0086] Take the test machine SN: 21C417004, PDU ip: 10.0.3.71, and Samsung 64G_DDR5-4800ER memory, for example:

[0087] (1) Configure the corresponding relationship between the IP address and power supply port information of the power distribution unit and the test rack and save it in the database, such as Figure 4 As shown, location represents the test rack location, switchip represents the power distribution unit IP, and port1, port2, port3, and port4 represent four power supply ports.

[0088] (2) Bind the SN and the rack number through the racking action, such as Figure 5 shown.

[0089] (3) Turn on the computer and check the memory health status. Execute dmidecode –t 17. You can see the memory information as follows: Size, Speed, Part Number, Total Width, Data Width, Locator, Configured MemorySpeed, Minimum Voltage, Maximum Voltage, Configured Voltage, and Volatile Size can all be detected, indicating that the memory status is healthy. According to the configuration of the entire machine, check the status of all memories, such as Figure 6 As shown;

[0090] (4) Execute the imt memory stress test program, and the program prints the log as follows Figure 7 As shown in Figure 8, the running status of the imt program shows that the memory usage rate reaches 98.9%, and the remaining memory is required for the normal operation of the OS. Almost all the memory has reached a high pressure state. Figure 8 The power consumption data in represents the increased memory load;

[0091] (5) Execute the ipmitool sdr list command to obtain memory temperature and power consumption information. The information is as follows: Fig. 9 As shown; according to the high load judgment formula 32*10.1*0.75=242.4W, and the memory temperature reaches 54 degrees, it can be seen that the memory is in a high load state at this time.

[0092] (6) After the high load is finished and the system is idle for 5 minutes, it enters the low load state and captures the memory temperature and power consumption information. Fig.10 As shown in the figure, execute the "ipmitool raw 0x3c 0x28 0xff 0xFC" command to notify the BMC that the motherboard will be powered off. Make preparations in advance, wait for 10 seconds, and then execute the "ipmitool raw 0x3c 0x28 0xff 0xFD" command. This command is the command to actually power off the motherboard. The motherboard is powered off for 2 minutes. The power-off duration of the motherboard is achieved by modifying the I2C link register of the PSU. After the PMIC completely enters the sleep state, it is powered on again. The memory stress test switches between high and low loads three times, and the memory health status is checked each time the switch is made.

[0093] (6) Execute the SNMP protocol command to power off the four power supply ports 17, 18, 21, and 22. One minute later, the four ports are powered on again through the SNMP protocol command. After powering on, the memory stress test is switched between high and low loads three times, and the memory health status is checked each time the switch is made.

[0094] The power management chip testing method provided in the embodiment of the present invention effectively tests the stability and reliability of DDR5 memory PMIC in a manner without manual intervention and with reasonable time arrangements, thereby ensuring the reliability of the entire server, while saving production manpower and time costs, improving production efficiency and shipment quality, and reducing customer complaints.

[0095] The power management chip testing device provided by the present invention is described below. The power management chip testing device described below and the power management chip testing method described above can be referenced to each other.

[0096] The power management chip testing device provided by the embodiment of the present invention comprises:

[0097] Add a module to increase the memory load after the server motherboard using the power management chip is powered on;

[0098] A first checking module is used to monitor the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, check the high-load memory health state;

[0099] A second inspection module is used to reduce the memory load after the high-load memory health status detection passes, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0100] The switching module is used to cyclically switch between high-load memory health status and low-load memory health status detection actions if the low-load memory health status detection passes, so as to obtain the power management chip test result.

[0101] The above modules can form a memory stress test high and low load switching module.

[0102] In an embodiment of the present invention, the high load standard is determined according to the amount of device memory, the maximum memory power consumption and the stress testing tool coefficient.

[0103] According to a power management chip testing method provided by the present invention, the high load standard W=memory quantity*maximum memory power consumption*C, the maximum memory power consumption of each memory is different, and C is the stress testing tool coefficient.

[0104] In the embodiment of the present invention, the increasing the memory load includes:

[0105] Use the memory stress testing tool to lock all idle memory in the operating system and disable memory swapping.

[0106] After disabling memory swapping, the memory is evenly divided according to the number of CPU logical cores. Each logical core is responsible for stress testing a piece of memory. All logical cores stress test the memory at the same time to keep the memory in a high-load state.

[0107] In an embodiment of the present invention, a power supply environment test module is further included, which is used to execute, after executing the switching high-load memory health state and low-load memory health state detection action for a preset number of times:

[0108] If both the high-load memory health status and the low-load memory health status are detected and passed, the DC power supply of the mainboard is disconnected through the baseboard management controller, and the management system input power is kept to supply power to the mainboard. After the DC power supply of the mainboard is disconnected for a second preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the output special power supply environment test fails;

[0109] If the voltage of the components inside the power management chip does not change, monitor the memory temperature and power consumption, and when the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status;

[0110] If both the high-load memory health status and the low-load memory health status are detected and passed, the power distribution unit is used to disconnect the DC power supply of the whole machine and the input power supply of the management system. After the power is cut off for a third preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the special power supply environment test is output to fail, wherein the third preset time is less than the second preset time;

[0111] If the voltage of the internal components of the power management chip has not changed, monitor the memory temperature and power consumption. When the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset period of time, and check the low-load memory health status; output the power management chip test results.

[0112] In the embodiment of the present invention, the third preset time length is 1 minute, the second preset time length is 2 minutes, and the first preset time length is 5 minutes.

[0113] In an embodiment of the present invention, the second preset time length and the third preset time length are switched by the baseboard management controller modifying the serial communication protocol link register of the power supply.

[0114] In the embodiment of the present invention, after the power is cut off for the third preset time, the server mainboard is powered on again, including:

[0115] The state of the battery inside the power management chip is obtained, and the test result of the battery inside the power management chip is output according to the state of the battery inside the power management chip.

[0116] In the embodiment of the present invention, a fatigue test module is also included, which is used to repeatedly execute the special power supply environment test process and output the power management chip fatigue test result according to the special power supply environment test result.

[0117] In an embodiment of the present invention, a test environment building module is also included, which is used to set the IP address of the power distribution unit before the server mainboard is powered on, configure the correspondence between the IP address and the power supply port information and the test frame, and store them in a database, so that the power distribution unit can read the database and perform power on and off actions on the designated device according to the correspondence between the read IP address and the power supply port information and the test frame.

[0118] In an embodiment of the present invention, a health check module is further included, which is used to obtain the flag information of the memory health status after the server mainboard is powered on, and the flag information of the memory health status includes at least one of the memory size, speed, model, total bandwidth, data bandwidth, location, configured memory speed, minimum voltage, maximum voltage, configured voltage and variable size; if it is detected that all the flag information of the memory health status are in a healthy state, an operation of increasing the memory load is executed.

[0119] In the embodiment of the present invention, the interaction relationship between the modules in the test device is as follows: Fig.11 As shown, the test environment building module is connected to the memory stress test high and low load switching module, and the memory stress test high and low load switching module interacts with the power supply environment test module, that is, after the memory stress test high and low load switching module test is completed, the power supply environment test module is entered, and after the power supply environment test module test output, the memory stress test high and low load switching module continues to be executed, and after each memory stress test high and low load switching module test is completed, the relevant operations of the health check module will be executed again to fully verify the stability and reliability of the power management chip. The device is suitable for the mass production environment of the whole machine production line, without manual intervention, and all the tests on the power management chip are completed automatically.

[0120] In the prior art, simply increasing the number of restarts can improve the test efficiency of the stability and reliability of the power management chip, but the effect is minimal, and the whole machine test time is extended, and the cost-effectiveness is not high. Noise and electromagnetic interference in the power supply environment can cause the output voltage fluctuation, signal distortion or malfunction of the power management chip, thereby affecting the performance of the entire system. The current technology cannot test the reliability and stability of the power management chip under different power supply environments. When the memory load changes, the power management chip needs to adjust its output power in real time to meet the needs of the memory module. When the load increases, the power management chip needs to provide more current to ensure the stable operation of the memory module. Conversely, if the load decreases, the power management chip needs to reduce the current output to save energy. When the memory load changes, the power management chip needs to maintain the stability of the output voltage and prevent abnormal conditions such as overcurrent and overtemperature. The power management chip uses a built-in protection mechanism to monitor the power status to protect the system from damage. The change in memory load is also a test of the protection mechanism of the power management chip. The prior art cannot test the reliability and stability of the power management chip under different memory load operating conditions.

[0121] The power management chip testing device provided by the embodiment of the present invention increases the memory load after the server motherboard using the power management chip is powered on; monitors the memory temperature and power consumption, and checks the high-load memory health status when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard; if the high-load memory health status detection passes, reduces the memory load, captures the memory temperature and power consumption information after standing for a first preset time, and checks the low-load memory health status; if the low-load memory health status detection passes, cyclically switches the high-load memory health status and low-load memory health status detection actions to obtain the power management chip test result, which can realize the reliability and stability test of the power management chip under different load operating conditions, ensure the stability and reliability of the DDR5 memory power management chip, and is suitable for the automated testing of the DDR5 memory power management chip in the whole machine factory, without the need for manual operation, saving manpower and time costs.

[0122] Fig.12 The following is a schematic diagram of the physical structure of a test device, such as Fig.12As shown, the server may include: a processor 1210, a communication interface 1220, a memory 1230 and a communication bus 1240, wherein the processor 1210, the communication interface 1220 and the memory 1230 communicate with each other through the communication bus 1240. The memory 1230 includes a computer program, an operating system and the acquired graph structure data, and the processor 1210 may call the logic instructions in the memory 1230 to execute the power management chip test method, the method comprising: after the server motherboard using the power management chip is powered on, increasing the memory load; monitoring the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high load standard, checking the high load memory health state; if the high load memory health state detection passes, reducing the memory load, capturing the memory temperature and power consumption information after standing for a first preset time, and checking the low load memory health state; if the low load memory health state detection passes, cyclically switching the high load memory health state and low load memory health state detection actions to obtain the power management chip test result.

[0123] In addition, the logic instructions in the above-mentioned memory 1230 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0124] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the power management chip testing method provided by the above-mentioned methods. The method includes: after the server motherboard using the power management chip is powered on, increasing the memory load; monitoring the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, checking the high-load memory health status; if the high-load memory health status detection passes, reducing the memory load, capturing the memory temperature and power consumption information after standing for a first preset period of time, and checking the low-load memory health status; if the low-load memory health status detection passes, cyclically switching between the high-load memory health status and the low-load memory health status detection actions to obtain the power management chip test results.

[0125] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution can be essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A power management chip testing method, characterized in that: include: After the server motherboard using the power management chip is powered on, the memory load is increased; Monitor memory temperature and power consumption, and check high-load memory health status when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard; If the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status; If the low-load memory health status detection passes, the high-load memory health status and low-load memory health status detection actions are cyclically switched to obtain the power management chip test result.

2. The power management chip testing method according to claim 1, characterized in that: The high load standard is determined according to the amount of device memory, the maximum memory power consumption and the stress testing tool coefficient.

3. The power management chip testing method according to claim 2, characterized in that: The high load standard W = memory quantity * maximum memory power consumption * C. The maximum memory power consumption of each memory is different, and C is the coefficient of the stress testing tool.

4. The power management chip testing method according to claim 1, characterized in that: The increasing memory load includes: Use the memory stress testing tool to lock all idle memory in the operating system and disable memory swapping. After disabling memory swapping, the memory is evenly divided according to the number of CPU logical cores. Each logical core is responsible for stress testing a piece of memory. All logical cores stress test the memory at the same time to keep the memory in a high-load state.

5. The power management chip testing method according to claim 1, characterized in that: After executing the switching high-load memory health state and low-load memory health state detection action for a preset number of times, it also includes: If both the high-load memory health status and the low-load memory health status are detected and passed, the DC power supply of the mainboard is disconnected through the baseboard management controller, and the management system input power is kept to supply power to the mainboard. After the DC power supply of the mainboard is disconnected for a second preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the output special power supply environment test fails; If the voltage of the components inside the power management chip does not change, monitor the memory temperature and power consumption, and when the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status; If both the high-load memory health status and the low-load memory health status are detected and passed, the power distribution unit is used to disconnect the DC power supply of the whole machine and the input power supply of the management system. After the power is cut off for a third preset time, the server mainboard is powered on again to test whether the voltage of the internal components of the power management chip changes. If so, the special power supply environment test is output to fail, wherein the third preset time is less than the second preset time; If the voltage of the internal components of the power management chip has not changed, monitor the memory temperature and power consumption. When the memory temperature reaches the preset temperature threshold and the power consumption reaches the high-load standard, check the high-load memory health status; if the high-load memory health status detection passes, reduce the memory load, capture the memory temperature and power consumption information after standing for a first preset period of time, and check the low-load memory health status; output the power management chip test results.

6. The power management chip testing method according to claim 5, characterized in that: The third preset time length is 1 minute, the second preset time length is 2 minutes, and the first preset time length is 5 minutes.

7. The power management chip testing method according to claim 5 or 6, characterized in that: The second preset time length and the third preset time length are switched by the baseboard management controller modifying the serial communication protocol link register of the power supply.

8. The power management chip testing method according to claim 5, characterized in that: After the power is cut off for the third preset time, the server mainboard is powered on again, including: The state of the battery inside the power management chip is obtained, and the test result of the battery inside the power management chip is output according to the state of the battery inside the power management chip.

9. The power management chip testing method according to claim 5, characterized in that: Also includes: Repeat the special power supply environment test process and output the power management chip fatigue test result according to the special power supply environment test result.

10. The power management chip testing method according to claim 1, characterized in that: Before the server mainboard is powered on, the method further includes: Set the IP address of the power distribution unit, configure the correspondence between the IP address and the power supply port information and the test rack, and store them in a database so that the power distribution unit can read the database and perform power on and off actions on the designated device according to the correspondence between the read IP address and the power supply port information and the test rack.

11. The power management chip testing method according to claim 1, characterized in that: After the server mainboard is powered on, the method further includes: Obtaining memory health status flag information, wherein the memory health status flag information includes at least one of memory size, speed, model, total bandwidth, data bandwidth, location, configured memory speed, minimum voltage, maximum voltage, configured voltage, and variable size; If it is detected that all the flag information of the memory health status is in a healthy state, the memory load increase operation is performed.

12. The power management chip testing method according to claim 8, characterized in that: The obtaining of the power management chip test result includes: If any of the high-load memory health state and the low-load memory health state fails to be detected, the power management chip test fails in the output high-load and low-load states.

13. A power management chip testing device, characterized in that: include: Add a module to increase the memory load after the server motherboard using the power management chip is powered on; A first checking module is used to monitor the memory temperature and power consumption, and when the memory temperature reaches a preset temperature threshold and the power consumption reaches a high-load standard, check the high-load memory health state; A second inspection module is used to reduce the memory load after the high-load memory health status detection passes, capture the memory temperature and power consumption information after standing for a first preset time, and check the low-load memory health status; The switching module is used to cyclically switch between high-load memory health status and low-load memory health status detection actions if the low-load memory health status detection passes, so as to obtain the power management chip test result.

14. A test 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 program, the power management chip testing method according to any one of claims 1 to 12 is implemented.

15. A non-transitory readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the power management chip testing method according to any one of claims 1 to 12 is implemented.

Citation Information

Cited By

  • Central processing unit power supply efficiency test method and device, electronic equipment and medium

    CN120353655A

  • Power supply chip test method, system and device and storage medium

    CN121091036A

  • A power chip testing method, system, device, and storage medium

    CN121091036B