An automated test method for pulling current and related components
Through automated testing methods, the problem of inaccurate current pulling and loading after use of VRTT loading fixture is solved, automatic calibration is achieved, testing accuracy and consistency is improved, and time and cost are saved.
Patent Information
- Application Number
- CN202211449617.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-18
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-11-18
AI Technical Summary
In the prior art, the VRTT loading fixture will have inaccurate current loading problems after being used for a period of time, resulting in inaccurate test results and poor consistency, and it will cost expensive and time to replace or repair the equipment.
Provide a pull-load current automatic testing method. By retrieving the power consumption data of the simulated power rail, establishing a first ammeter and importing a programmable controller, using the controller to control the load meter to perform current pull-load test, output voltage value and generate a voltmeter, automatically adjusting the pull-load current of the power test pull-load fixture to make it equal to the initial voltage value, recording and deriveing the current value, generating a second ammeter, and automatically filling it into the test script for automated testing.
It realizes automated calibration, improves test accuracy, saves test time, improves test consistency, and reduces the cost and time of replacement, repair and calibration equipment.
Smart Images

Figure CN115728701B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of power supply testing, and particularly to a method for automatically testing the pull current and related components. Background Art
[0002] The power supply chip that powers the CPU (Central Processing Unit) in a server needs to respond quickly as the dynamic load of the CPU changes. To test the dynamic response of the power supply chip, that is, the current accuracy problem, a VRTT load pulling fixture Gen5 tool (a fixture that simulates CPU load pulling, named Gen5 tool, also known as VRTT load pulling fixture) is required. However, during the actual testing process, it is found that after about half a year of use of the Gen5 tool, the problem of inaccurate current load pulling will occur.
[0003] The VRTT load pulling fixture Gen5 tool needs to perform continuous high-current load pulling during actual use. The current can be as high as 550A, and it works continuously for 24 hours during the day and night. After using it for a period of time, it will cause changes in the accuracy of precision resistors and related operational amplifier components, resulting in inaccurate load pulling. For example, when actually 100A of load pulling is required, the Gen5 tool is set to 100A current, and the voltage drop of the output voltage is significantly inconsistent with the previous test results. Due to the strict spec of the M7 platform, if the current load pulling is inaccurate, it will lead to failed test results and incorrect VR FW being debugged.
[0004] When the VRTT load pulling fixture Gen5 tool has the problem of inaccurate current load pulling after being used for a period of time, generally, it is necessary to replace the Gen5 tool or repair and calibrate the tool to solve the problem. However, the existing technology has the following problems: there is no simple calibration method; the test results are inaccurate and the consistency is too poor; replacing a new Gen5 tool or repairing and calibrating the Gen5 tool both require expensive costs, and the replacement and repair cycles are long, delaying the test progress.
[0005] Therefore, it is urgent to propose a method for automatically testing the pull current and related components that can perform automatic calibration of the pull current. Summary of the Invention
[0006] Based on this, it is necessary to provide a method for automatically testing the pull current and related components that can improve the test accuracy rate and save test time for the above technical problems.
[0007] On the one hand, a method for automatically testing the pull current is provided, and the method includes:
[0008] Step A: Retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller;
[0009] Step B: Use the programmable controller to control the load meter to perform a current draw test based on the value of the first ammeter, output the first voltage value obtained during the current draw test, and generate a first voltmeter;
[0010] Step C: Use the programmable controller to automatically adjust the draw current of the power supply test draw fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0011] Step D: Record and export the current value of the power supply test draw fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0012] Step E: Extract the current value in the second ammeter and automatically fill it into the draw test script for automated testing.
[0013] In one embodiment, it further includes: the process of collecting the first voltage value includes: setting a first hold time and a first pause time for the draw current value during the current draw test; setting a first acquisition frequency for the first voltage value based on the first hold time and the first pause time; collecting the first voltage value according to the first acquisition frequency.
[0014] In one embodiment, it further includes: the process of collecting the second voltage value includes: setting a second hold time and a second pause time for the draw current value during the automatic adjustment; setting a second acquisition frequency for the second voltage value based on the second hold time and the second pause time; collecting the second voltage value according to the second acquisition frequency.
[0015] In one embodiment, it further includes: defining that the first hold time is greater than or equal to the second hold time, the first pause time is less than or equal to the second pause time, and the first acquisition frequency is greater than or equal to the second acquisition frequency.
[0016] In one embodiment, it further includes: before using the programmable controller to control the load meter to perform a current draw test based on the value of the first ammeter, the method further includes: determining whether the load meter has triggered an overcurrent protection; if the overcurrent protection has not been triggered, determining whether the current peak value of the load meter is within a preset range within a preset period; if it is within the preset range, performing the current draw test.
[0017] In one embodiment, it further includes: if the overcurrent protection is triggered, the current waveform diagram is transmitted to the data terminal for technicians to determine whether the current waveform diagram meets the preset standard; when it does not meet the preset standard, the process of the current pulling load test is stopped.
[0018] In one embodiment, it further includes: a pulling load current calibration system applied to the pulling load current automatic test method, the system includes a programmable controller, a load meter, a pulling load board, a head-to-head adapter, a multimeter, and a power supply test pulling load fixture;
[0019] The programmable controller is connected to the load meter and the multimeter through a general purpose interface bus, and is connected to the power supply test pulling load fixture through a universal serial bus;
[0020] The load meter is arranged on the pulling load board, one end of the pulling load board is connected to the power supply test pulling load fixture through the head-to-head adapter, and the other end is connected to the adapter board through the head-to-head adapter.
[0021] On the other hand, a pulling load current automatic test device is provided, the device includes:
[0022] A first ammeter construction module, configured to retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller;
[0023] A first voltmeter generation module, configured to use the programmable controller to control the load meter to perform a current pulling load test based on the value of the first ammeter, output the first voltage value obtained during the current pulling load test, and generate a first voltmeter;
[0024] An automatic adjustment module, configured to use the programmable controller to automatically adjust the pulling load current of the power supply test pulling load fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0025] A second ammeter generation module, configured to record and export the current value of the power supply test pulling load fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0026] An automatic test module, configured to extract the current value in the second ammeter and automatically fill it into the pulling load test script for automatic testing.
[0027] On yet another aspect, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0028] Step A: Retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable logic controller;
[0029] Step B: Use the programmable logic controller to control the load tester to perform a current draw test based on the value of the first ammeter, output the first voltage value obtained during the current draw test, and generate a first voltmeter;
[0030] Step C: Use the programmable logic controller to automatically adjust the draw current of the power supply test draw fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0031] Step D: Record and export the current value of the power supply test draw fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0032] Step E: Extract the current value from the second ammeter and automatically fill it into the draw test script for automated testing.
[0033] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0034] Step A: Retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable logic controller;
[0035] Step B: Use the programmable logic controller to control the load tester to perform a current draw test based on the value of the first ammeter, output the first voltage value obtained during the current draw test, and generate a first voltmeter;
[0036] Step C: Use the programmable logic controller to automatically adjust the draw current of the power supply test draw fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0037] Step D: Record and export the current value of the power supply test draw fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0038] Step E: Extract the current value from the second ammeter and automatically fill it into the draw test script for automated testing.
[0039] The above-mentioned automated test method for pulling current and related components, the method includes: retrieving the power consumption data of the analog power supply rail, establishing a first ammeter based on the power consumption data, and importing the first ammeter into the programmable controller; using the programmable controller to control the load instrument to perform a current pulling test based on the value of the first ammeter, outputting the first voltage value obtained during the current pulling test, and generating a first voltmeter; using the programmable controller to automatically adjust the pulling current of the power supply test pulling fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value; recording and exporting the current value of the power supply test pulling fixture when the second voltage value is equal to the first voltage value, generating a second ammeter; extracting the current value in the second ammeter and automatically filling it into the pulling test script for automated testing. This application can achieve automated calibration and can complete the calibration of the pulling current required by the power supply under test at one time, saving calibration time. After calibration of different power supply test pulling fixtures, the test consistency function is improved, which is convenient for comparative analysis between different projects. Further, after using this power supply test pulling fixture automated current calibration system, problems such as inaccurate testing, reducing calibration time, and saving the costs of replacing, repairing, and calibrating the power supply test pulling fixture can be solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 FIG. is an application environment diagram of the automated test method for pulling current in an embodiment;
[0041] Figure 2 FIG. is a schematic flowchart of the automated test method for pulling current in an embodiment;
[0042] Figure 3 FIG. is another schematic flowchart of the automated test method for pulling current in an embodiment;
[0043] Figure 4 FIG. is a structural block diagram of the pulling current calibration system in an embodiment;
[0044] Figure 5 FIG. is an equipment connection diagram of the pulling current calibration system in an embodiment;
[0045] Figure 6 FIG. is a structural block diagram of the automated test device for pulling current in an embodiment;
[0046] Figure 7 FIG. is an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] The automated pull current testing method provided by the present application can be applied to an application environment as shown in Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the data processing platform set on the server 104 through the network. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0049] Embodiment 1
[0050] In one embodiment, as shown in Figure 2 In the figure, an automated pull current testing method is provided. Taking the terminal in Figure 1 as an example, the method includes the following steps:
[0051] S1: Retrieve the power consumption data of the analog power rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller.
[0052] It should be noted that the above-mentioned analog power rail is five groups of power rails of CPUs with the same power consumption on a platform, and its power consumption data is the actual current value. A first ammeter is constructed through the actual current value, and the first ammeter is imported into the programmable controller.
[0053] S2: Use the programmable controller to control the load instrument to perform a current pull test based on the value of the first ammeter, output the first voltage value obtained during the current pull test, and generate a first voltmeter.
[0054] It should be noted that this step is specifically: extract the current values in the constructed first ammeter one by one and perform a current pull test in sequence based on the extracted current values, output the first voltage value obtained by performing the pull test for each current value, and compile them into a first voltmeter. The first voltage value obtained in this step is the standard voltage value and can be used as a reference comparison voltage during the current pull test of the subsequent power supply test pull fixture.
[0055] Among them, the acquisition process of the first voltage value includes:
[0056] Set the first holding time and the first pause time of the pull current value during the current pull test;
[0057] Set a first acquisition frequency for the first voltage value based on the first holding time and the first pause time;
[0058] Acquire the first voltage value according to the first acquisition frequency.
[0059] Further, before using the programmable controller to control the load meter to perform a current pulling test based on the value of the first ammeter, the method further includes:
[0060] Determine whether the load meter has triggered overcurrent protection;
[0061] If the overcurrent protection has not been triggered, determine whether the current peak value of the load meter is within a preset range within a preset period;
[0062] If it is within the preset range, perform the current pulling test;
[0063] If the overcurrent protection is triggered, transmit the current waveform diagram to the data terminal, and let the technical personnel determine whether the current waveform diagram meets the preset standard;
[0064] When it does not meet the preset standard, stop the process of the current pulling test.
[0065] This step is to detect the current stability before the test. When the current is relatively stable, the obtained automated test result of the pulling current can be more accurate, thereby improving the accuracy of the entire system test.
[0066] S3: Use the programmable controller to automatically adjust the pulling current of the power test pulling fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value.
[0067] It should be noted that the acquisition process of the second voltage value includes:
[0068] Set a second holding time and a second pause time for the pulling current value during the automatic adjustment;
[0069] Set a second acquisition frequency for the second voltage value based on the second holding time and the second pause time;
[0070] Acquire the second voltage value according to the second acquisition frequency.
[0071] Among them, it is defined that the first holding time is greater than or equal to the second holding time, the first pause time is less than or equal to the second pause time, and the first acquisition frequency is greater than or equal to the second acquisition frequency. To ensure that the number of two voltage values is the same, when the first acquisition frequency is greater than the second acquisition frequency, the first voltage values within the preset time range of the same point are averaged. The same method is adopted for other similar situations, such as when the first holding time is greater than the second holding time.
[0072] S4: Record and export the current value when the power supply test loading fixture has the second voltage value equal to the first voltage value, and generate a second ammeter.
[0073] S5: Extract the current value from the second ammeter and automatically fill it into the loading test script for automated testing.
[0074] It should be noted that the second ammeter is a calibration current value table of Gen5 tool (a fixture for simulating CPU loading, named Gen5 tool, also known as VRTT loading fixture, that is, the power supply test loading fixture). It is imported into the loading test script for subsequent automated testing of the power supply test loading fixture.
[0075] In the above automated loading current testing method, the method includes: retrieving the power consumption data of the analog power supply rail, establishing a first ammeter based on the power consumption data, and importing the first ammeter into the programmable controller; using the programmable controller to control the load instrument to perform a current loading test based on the value of the first ammeter, output the first voltage value obtained during the current loading test, and generate a first voltmeter; using the programmable controller to automatically adjust the loading current of the power supply test loading fixture to make the second voltage value obtained during the automatic adjustment equal to the first voltage value; recording and exporting the current value when the power supply test loading fixture has the second voltage value equal to the first voltage value, and generating a second ammeter; extracting the current value from the second ammeter and automatically filling it into the loading test script for automated testing. This application can achieve automated calibration, and can complete the calibration of the loading current required by the power supply under test at one time, saving calibration time. After calibration of different power supply test loading fixtures, the test consistency function is improved, which is convenient for comparative analysis between different projects. Further, after using this power supply test loading fixture automated current calibration system, problems such as inaccurate testing, significantly reducing calibration time, and saving the costs of replacing, repairing, and calibrating the power supply test loading fixture can be solved.
[0076] It should be understood that although Figure 2-3The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0077] Example 2
[0078] In one embodiment, Figure 4-5 As shown, a load current calibration system applied to a load current automation test method is provided, the system comprising: a programmable controller, a load meter, a load board, a head-to-head adapter, a multimeter and a power supply test load fixture, wherein:
[0079] The programmable controller is connected to the load meter and the multimeter via a universal interface bus, and is connected to the power supply test loading fixture via a universal serial bus;
[0080] The load meter is arranged on the loading board, one end of the loading board is connected to the power supply test loading fixture through the head-to-head adapter, and the other end is connected to the adapter board through the head-to-head adapter.
[0081] Specifically, Figure 4-5 As shown, the programmable controller (PC control) is connected to the load meter and the multimeter through the USB-GP IB line, and is connected to the Gen5 too l through the USB-USB line; the Interposer adapter board is installed in the CPU socket (CPU slot, in which the CPU or the Interposer can be installed) of the mainboard, and the Load board (a board that can pull loads, referred to as the load board) needs to be connected to the Interposer adapter board through a head-to-head (a head-to-head adapter, a kind of upper and lower sides have pins, which can connect the Interposer and the Load board and the Gen5 too l), and then the Gen5 too l (a fixture that simulates CPU pulling loads, the name is called Gen5 too l, also known as the VRTT pulling fixture) is installed on the Load board through a head-to-head; the load line connects the pulling point of the power to be measured on the Load board with the load meter.
[0082] Among them, there are load points for each voltage under test on the Load board, where load lines can be installed on the load instrument, and the actual current can be loaded through the load instrument. In addition, the multimeter is connected to the voltage measurement point under test on the Gen5tool. Among them, the PC controller can automatically control the load instrument to load according to the first ammeter, and at the same time can read the output voltage on the multimeter, can also automatically adjust the load current on the Gen5tool, and can export different current value tables and voltage value tables and store them.
[0083] Furthermore, the test process executed based on this system is as follows: At the beginning, it is necessary to make a load ammeter for five groups of power rails (power supply rails) of CPUs with the same power consumption on a platform, that is, the first ammeter. For example, the first ammeter for the 350W + HBM M7 platform; import it into the PC controller, and the load instrument will set and load the current value in the first ammeter under the control of the PC controller. At the same time, the PC controller will monitor the output voltage of the multimeter, and finally export the first voltmeter. The PC controller automatically adjusts the load current on the Gen5tool to make the output voltage (i.e., the second voltage value) equal to the value in the first voltmeter, records the current value on the Gen5tool at this time, and finally exports a Gen5tool calibration current value table, that is, the second ammeter.
[0084] Finally, the PC controller extracts each calibrated load current value and automatically fills it into the load test script for automated testing.
[0085] For the specific limitations of the load current calibration system, reference can be made to the limitations on the automated test method of the load current in the above text, which will not be elaborated here. Each module in the above load current calibration system can be implemented in whole or in part by software, hardware, and their combinations. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0086] Embodiment 3
[0087] In one embodiment, as Figure 6 shown, a load current automated test device is provided, including: a first ammeter construction module, a first voltmeter generation module, an automatic adjustment module, a second ammeter generation module, and an automatic test module, where:
[0088] The first ammeter construction module is used to retrieve the power consumption data of the simulated power rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller;
[0089] The first voltmeter generation module is used to control the load meter by using the programmable controller to perform a current pulling test based on the value of the first ammeter, output the first voltage value obtained during the current pulling test, and generate a first voltmeter;
[0090] The automatic adjustment module is used to automatically adjust the pulling current of the power supply test pulling fixture by using the programmable controller, so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0091] The second ammeter generation module is used to record and export the current value of the power supply test pulling fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0092] The automatic test module is used to extract the current value in the second ammeter and automatically fill it into the pulling test script for automated testing.
[0093] Furthermore, the device further includes a data acquisition module, and the data acquisition module is specifically used for:
[0094] Set the first holding time and the first pause time of the pulling current value during the current pulling test;
[0095] Set the first acquisition frequency of the first voltage value based on the first holding time and the first pause time;
[0096] Collect the first voltage value according to the first acquisition frequency;
[0097] Set the second holding time and the second pause time of the pulling current value during the automatic adjustment;
[0098] Set the second acquisition frequency of the second voltage value based on the second holding time and the second pause time;
[0099] Collect the second voltage value according to the second acquisition frequency;
[0100] Wherein, it is defined that the first holding time is greater than or equal to the second holding time, the first pause time is less than or equal to the second pause time, and the first acquisition frequency is greater than or equal to the second acquisition frequency.
[0101] Even further, the device further includes a current stability test module, and the current stability test module is specifically used for:
[0102] Judge whether the load meter has triggered overcurrent protection;
[0103] If the overcurrent protection is not triggered, judge whether the current peak value of the load meter is within a preset range within a preset period;
[0104] If it is within the preset range, the current pull load test is performed;
[0105] If the overcurrent protection is triggered, the current waveform diagram is transmitted to the data terminal, and the technical personnel determine whether the current waveform diagram meets the preset standard;
[0106] When it does not meet the preset standard, the process of the current pull load test is stopped.
[0107] For the specific limitations of the pull load current automation test device, reference can be made to the limitations of the pull load current automation test method in the above text, which will not be elaborated here. Each module in the above pull load current automation test device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0108] Embodiment 4
[0109] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 7 shown. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a pull load current automation test method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0110] Those skilled in the art can understand that Figure 7 the structure shown in
[0111] merely shows the block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements. In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0112] S1: Retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller;
[0113] S2: Use the programmable controller to control the load meter to perform a current pulling test based on the value of the first ammeter, output the first voltage value obtained during the current pulling test, and generate a first voltmeter;
[0114] S3: Use the programmable controller to automatically adjust the pulling current of the power supply test pulling fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0115] S4: Record and export the current value of the power supply test pulling fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0116] S5: Extract the current value in the second ammeter and automatically fill it into the pulling test script for automated testing.
[0117] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0118] Set a first holding time and a first pause time for the pulling current value during the current pulling test;
[0119] Set a first acquisition frequency for the first voltage value based on the first holding time and the first pause time;
[0120] Acquire the first voltage value according to the first acquisition frequency.
[0121] Set a second holding time and a second pause time for the pulling current value during the automatic adjustment;
[0122] Set a second acquisition frequency for the second voltage value based on the second holding time and the second pause time;
[0123] Acquire the second voltage value according to the second acquisition frequency.
[0124] Wherein, it is defined that the first holding time is greater than or equal to the second holding time, the first pause time is less than or equal to the second pause time, and the first acquisition frequency is greater than or equal to the second acquisition frequency.
[0125] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0126] Determine whether the load meter has triggered overcurrent protection;
[0127] If the overcurrent protection is not triggered, determine whether the peak current of the load meter is within a preset range within a preset period;
[0128] If it is within the preset range, perform the current loading test;
[0129] If the overcurrent protection is triggered, transmit the current waveform diagram to the data terminal, and let the technician determine whether the current waveform diagram meets the preset standard;
[0130] When it does not meet the preset standard, stop the process of the current loading test.
[0131] Embodiment 5
[0132] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0133] S1: Retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller;
[0134] S2: Use the programmable controller to control the load meter to perform a current loading test based on the value of the first ammeter, output the first voltage value obtained during the current loading test, and generate a first voltmeter;
[0135] S3: Use the programmable controller to automatically adjust the loading current of the power supply test loading fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value;
[0136] S4: Record and export the current value of the power supply test loading fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter;
[0137] S5: Extract the current value in the second ammeter and automatically fill it into the loading test script for automated testing.
[0138] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented:
[0139] Set the first holding time and the first pause time of the loading current value during the current loading test;
[0140] Based on the first holding time and the first pause time, set the first acquisition frequency of the first voltage value;
[0141] Acquire the first voltage value according to the first acquisition frequency.
[0142] Set the second holding time and the second pause time of the loading current value during the automatic adjustment;
[0143] Set a second acquisition frequency for the second voltage value based on the second holding time and the second pause time;
[0144] Acquire the second voltage value according to the second acquisition frequency.
[0145] Wherein, it is defined that the first holding time is greater than or equal to the second holding time, the first pause time is less than or equal to the second pause time, and the first acquisition frequency is greater than or equal to the second acquisition frequency.
[0146] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0147] Determine whether the load meter has triggered overcurrent protection;
[0148] If the overcurrent protection has not been triggered, determine whether the peak current of the load meter is within a preset range within a preset period;
[0149] If it is within the preset range, perform the current pulling load test;
[0150] If the overcurrent protection is triggered, transmit the current waveform diagram to a data terminal, and let a technician determine whether the current waveform diagram meets a preset standard;
[0151] When it does not meet the preset standard, stop the process of the current pulling load test.
[0152] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0153] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0154] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. An automated test method for pulling current, characterized in that, The method includes: Retrieving the power consumption data of the analog power supply rail, establishing a first ammeter based on the power consumption data, and importing the first ammeter into the programmable controller; Using the programmable controller to control the load meter to perform a current pulling test based on the value of the first ammeter, outputting the first voltage value obtained during the current pulling test, and generating a first voltmeter; Using the programmable controller to automatically adjust the pulling current of the power supply test pulling fixture so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value; Recording and exporting the current value of the power supply test pulling fixture when the second voltage value is equal to the first voltage value, and generating a second ammeter; Extracting the current value in the second ammeter and automatically filling it into the pulling test script for automated testing; The acquisition process of the first voltage value includes: Setting a first holding time and a first pause time for the pulling current value during the current pulling test; Setting a first acquisition frequency for the first voltage value based on the first holding time and the first pause time; Acquiring the first voltage value according to the first acquisition frequency; The acquisition process of the second voltage value includes: Setting a second holding time and a second pause time for the pulling current value during the automatic adjustment; Setting a second acquisition frequency for the second voltage value based on the second holding time and the second pause time; Acquiring the second voltage value according to the second acquisition frequency.
2. The automated test method for pulling current according to claim 1, wherein It is defined that the first holding time is greater than or equal to the second holding time, the first pause time is less than or equal to the second pause time, and the first acquisition frequency is greater than or equal to the second acquisition frequency.
3. The automated test method for pulling current according to claim 1, wherein Before using the programmable controller to control the load meter to perform a current pulling test based on the value of the first ammeter, the method further includes: Judging whether the load meter has triggered overcurrent protection; If the overcurrent protection has not been triggered, judging whether the current peak value of the load meter is within a preset range within a preset period; If it is within the preset range, perform the current pulling test.
4. The automated test method for the pull current according to claim 3, characterized in that, It further includes: If the overcurrent protection is triggered, transmitting the current waveform diagram to the data terminal, and having the technical personnel judge whether the current waveform diagram meets the preset standard; When it does not meet the preset standard, stop the process of the current pulling test.
5. A load current calibration system applied to the load current automatic test method as described in claim 1, characterized in that, The system includes a programmable controller, a load meter, a pulling board, a head-to-head adapter, a multimeter, and a power supply test pulling fixture; The programmable controller is connected to the load meter and the multimeter through a general purpose interface bus, and is connected to the power supply test pulling fixture through a universal serial bus; The load meter is arranged on the pulling board, one end of the pulling board is connected to the power supply test pulling fixture through the head-to-head adapter, and the other end is connected to a transfer board through the head-to-head adapter.
6. A load current automated test device for implementing the load current automated test method according to any one of claims 1-4, characterized in that, The device includes: A first ammeter construction module, configured to retrieve the power consumption data of the analog power supply rail, establish a first ammeter based on the power consumption data, and import the first ammeter into the programmable controller; The first voltage meter generation module is used to control a load meter by using the programmable controller to perform a current loading test based on the value of the first ammeter, output the first voltage value obtained during the current loading test, and generate a first voltage meter; The automatic adjustment module is used to automatically adjust the loading current of the power supply test loading fixture by using the programmable controller, so that the second voltage value obtained during the automatic adjustment is equal to the first voltage value; The second ammeter generation module is used to record and export the current value of the power supply test loading fixture when the second voltage value is equal to the first voltage value, and generate a second ammeter; The automatic test module is used to extract the current value in the second ammeter and automatically fill it into the loading test script for automated testing.
7. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Method and system for testing power efficiency of CPU, and related component
CN110609243A
Test correction method and device of test tool and electronic equipment
CN114442019A