Circuit board for automatically testing power interface and testing method thereof

By designing a circuit board for automatic testing power interface, using a high-speed microcontroller and ADC acquisition module to realize automatic acquisition and processing of voltage signals, the problems of high cost, slow speed, large size and poor dullness testing in the prior art are solved, and efficient, stable and accurate testing results are achieved.

CN120195585APending Publication Date: 2025-06-24SUMA-USI ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411349537.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The method of testing power supply interface in the prior art is costly, slow, large in size and poor inactivity, making it difficult to meet the needs of reducing costs, improving testing speed, saving space and anti-dust design.

Method used

A circuit board for automatic testing power interface is designed, using a 32-bit high-speed microcontroller, a switch matrix module, a signal polling switching module and a data transmission module. The analog voltage signal is converted into a digital signal through the ADC acquisition module, and uploaded to the upper computer through the USB interface for data analysis and testing and judgment.

Benefits of technology

It realizes one-click rapid testing of all voltage signals, significantly improving testing efficiency and stability, reducing hardware investment and maintenance costs, and enhancing dullness and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120195585A_ABST
    Figure CN120195585A_ABST
Patent Text Reader

Abstract

The invention provides a circuit board for automatically testing a power interface and a testing method thereof, and relates to the technical field of circuit testing, and the circuit board comprises a processor module which is used for converting an acquired analog voltage signal into a digital signal through an ADC acquisition module; the switch matrix module is used for switching the input signals to the ADC acquisition module of the high-speed microcontroller in sequence through a peripheral expansion I < O > matrix; the signal polling switching module is used for enabling the MCU to poll and switch each voltage signal through an IO matrix, and enabling each voltage signal to sequentially enter the ADC acquisition module for digital processing; and the data transmission module is used for uploading the digital signal to an upper computer through a USB interface for data analysis and test judgment. According to the invention, the voltage acquisition card circuit board is introduced through self research and the test script is developed, so that all voltages can be rapidly tested through one key, and the test efficiency and stability are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit testing, and particularly relates to a circuit board for automatically testing a power supply interface and a testing method thereof. Background Art

[0002] With the development of information technology, the designs of server computer motherboards and graphics cards have become increasingly complex. These complex hardware platforms usually reserve many redundant special power supply interfaces on the circuit board for expansion or use when needed. However, traditional testing methods, such as manually measuring voltages one by one using an ordinary multimeter, are time-consuming and not foolproof; the method of using a digital multimeter plus relay switching requires additional fixture hardware to be made, resulting in a relatively high cost.

[0003] Therefore, there is an urgent need in the market for a new testing method that can effectively solve the defects and deficiencies in the prior art. However, most of the existing voltage acquisition and testing devices on the market currently cannot fully meet the requirements of cost reduction, testing speed improvement, space saving, and foolproof design. For example, if a high-precision digital multimeter and an oscilloscope are used, although they have high precision and high reliability, they are costly, expensive in price, and large in size, and are not suitable for large-scale testing and on-site applications. Some dedicated test fixtures developed by companies can achieve automated testing, but they are slow in speed. The multimeter is in a single-channel mode, and only one channel is collected each time, working serially. Moreover, these fixtures are large in size and require additional fixtures to be made, otherwise they are not foolproof; usually they are also expensive and need to be customized and developed, making it difficult to be flexibly applied to different testing requirements.

[0004] In summary, there is an urgent need to develop a circuit board for automatically testing a power supply interface and a testing method thereof that can effectively solve the problems of high cost, slow speed, large size, and poor foolproofness in the prior art to meet different testing requirements. Summary of the Invention

[0005] In view of this, the present invention proposes a circuit board for automatically testing a power supply interface and a testing method thereof, aiming to solve the problems of high cost, slow speed, large size, and poor foolproofness in the prior art. By self-developing and importing a voltage acquisition card circuit board and developing a test script, it is possible to achieve one-key rapid testing of all voltages, significantly improving the testing efficiency and stability.

[0006] The present invention is implemented by adopting the following technical solutions:

[0007] In a first aspect, the present invention provides a circuit board for automatically testing a power supply interface, and the circuit board includes:

[0008] A processor module, configured to convert the collected analog voltage signal into a digital signal through an ADC acquisition module;

[0009] A switch matrix module for sequentially switching input signals to the ADC acquisition module of a high-speed microcontroller through a peripheral extended IO matrix;

[0010] A signal polling and switching module for enabling the MCU to poll and switch each voltage signal through the IO matrix, so that each voltage signal enters the ADC acquisition module in sequence for digital processing;

[0011] A data transmission module for uploading digital signals to a host computer through a USB interface for data analysis and test judgment.

[0012] As a further aspect of the present invention, the processor module uses a 32-bit high-speed microcontroller (MCU) as the core processing unit, responsible for the control and data processing of the entire automatic test power interface circuit board.

[0013] As a further aspect of the present invention, the switch matrix module is used to process sixty-four voltage signals through a peripheral extended IO matrix.

[0014] As a further aspect of the present invention, the ADC acquisition module used by the high-speed microcontroller has a 12-bit resolution, a voltage accuracy of plus or minus 10 mV, a sampling rate of 1M, and multi-channel parallel acquisition of voltage signals.

[0015] As a further aspect of the present invention, the circuit board of the automatic test power interface further includes using an analog matrix chip to replace a traditional relay.

[0016] As a further aspect of the present invention, the processor module performs analog voltage signal acquisition according to an instruction to start testing sent through a USB serial port during the testing process.

[0017] As a further aspect of the present invention, the circuit board of the automatic test power interface further includes a UUT main board connector and a test connector. The test connector, the switch matrix module, and the ADC acquisition module form a multi-channel acquisition card; the UUT main board connector is connected to the test connector, the test connector is connected to the switch matrix module, the switch matrix module is connected to the ADC acquisition module, and the host computer is connected to the ADC acquisition module of the multi-channel acquisition card through a USB interface.

[0018] As a further aspect of the present invention, both the UUT main board connector and the test connector are provided with connectors that are connected by cables and correspond one-to-one. Each connector corresponds to a voltage signal channel. The UUT main board connector leads out the voltage signal from the main board through the connector. The test connector corresponds one-to-one with the UUT main board connector, and leads out the signal on the UUT main board through the cable and transmits it to the input end of the test device.

[0019] Second aspect, the present invention also provides a test method for a circuit board automatically testing a power interface, including the following steps:

[0020] Use a test program to send specific instructions through a USB serial port to control the hardware;

[0021] Automatically read all voltage values and make a judgment;

[0022] If all voltage values are within the qualified range, the test is successful; if any voltage value is not within the qualified range, the test fails.

[0023] As a further solution of the present invention, the test method further includes:

[0024] Read all voltage values through a Python3 test program;

[0025] Compare the read voltage values with the preset qualified range to judge the test result.

[0026] As a further solution of the present invention, when testing through a Python3 test program, communicate with a multi-channel acquisition card through a serial port, send specific instructions and receive return data, parse and compare the actual value and the expected value, and judge the test result. When using the serial module of Python3 for serial communication, the test includes the following steps:

[0027] Step 1. Initialize the test system, class constructor __init__:

[0028] Receive a string parameter delxx for configuring the serial port and test parameters;

[0029] If the string does not contain an underscore _, the program exits;

[0030] Split the string to obtain the serial port address com, the expected value configvalue, the offset operation action, and the measurement range range;

[0031] Set the default serial port address, offset operation, and measurement range;

[0032] Initialize the Modbus command cmd and convert cmd to byte format cmd2;

[0033] Step 2. Connect and read data, execute the link_vol method:

[0034] Open the serial port, send the Modbus command and wait for the data to return;

[0035] If data is returned, convert the returned data to a hexadecimal string xx;

[0036] If the data length meets the expectation, save the data to self.valuexx and return 0; otherwise, prompt to check the power supply and return 1;

[0037] Step 3: Execute the main test:

[0038] Call the link_vol method to obtain data. If the data acquisition fails, return 1;

[0039] Parse the data, calculate and print the actual values before and after adjustment;

[0040] Compare the actual values and expected values of each channel to determine whether they are within the allowable range, output the test results and record success or failure;

[0041] If all channels pass the test, return 0; otherwise, return 1.

[0042] Compared with the prior art, a circuit board for automatically testing a power interface and a testing method thereof provided by the present invention have the following beneficial effects:

[0043] 1. Improve the testing efficiency: By adopting an automated testing circuit board, it is possible to achieve one-key rapid testing of all voltage signals, avoiding the cumbersome operation steps in the traditional manual testing process, greatly shortening the testing time, and thus improving the overall testing efficiency.

[0044] 2. Reduce the cost: The present invention reduces the dependence on expensive testing equipment and lowers the hardware investment and maintenance costs through the self-developed voltage acquisition card circuit board and the testing program based on Python3. At the same time, the automated testing process reduces the manual participation, thereby reducing the labor cost.

[0045] 3. High testing accuracy: The circuit board adopts an ADC acquisition module with 12-bit resolution, the voltage accuracy reaches plus or minus 10 mV, and the sampling rate reaches 1 M. This high-precision design can ensure the reliability and accuracy of the test results, and is especially suitable for power interface testing occasions with strict requirements.

[0046] 4. Small size, easy to integrate, and strong anti-fooling ability: Compared with traditional testing equipment, the circuit board of the present invention has a compact design, small size, is easy to integrate into the existing testing system or production line, and is suitable for a variety of working environments and application scenarios. By combining the use of the switch matrix module and the signal polling and switching module, the present invention can effectively prevent operation errors during the testing process, ensure the automated acquisition and switching of each voltage signal, and thus improve the anti-fooling ability of the system.

[0047] 5. Strong scalability, high stability and reliability: The circuit board adopts a modular design and can be extended to process up to 64 voltage signals through the switch matrix module, with strong expansion ability and can adapt to different scales of test requirements. By using an analog matrix chip to replace traditional relays, the speed and reliability of signal switching are improved, wear and faults caused by mechanical switching are reduced, and long-term stable operation of the system is ensured.

[0048] 6. Intelligent data analysis is achieved: The test results are automatically transmitted to the host computer through the USB interface for data analysis and judgment. Combining the automatic data parsing and comparison functions of the Python3 test program, the test results can be accurately judged, reducing human judgment errors.

[0049] In summary, the circuit board of the automatic test power supply interface and its test method provided by the present invention solve the problems of high cost, slow speed, large volume and poor anti-fooling performance in the prior art through efficient, stable and precise design, and have significant practical value and market prospects. The present invention is not only applicable to the test of power supply interfaces, but also can be extended to other automated test fields that require multi-channel signal acquisition and analysis, such as signal measurement, sensor detection, etc.

[0050] These aspects or other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the following will briefly introduce the drawings required for the description of the exemplary embodiments or related technologies. The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings:

[0052] Figure 1 is the structural block diagram of the circuit board of the automatic test power supply interface in the embodiment of the present invention;

[0053] Figure 2 is the flowchart of the test method of the circuit board of the automatic test power supply interface in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0054] In order to make the purpose, technical solutions and advantages of the present invention clearer, the following will further describe the present invention in detail with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0055] In some of the processes described in the specification, claims, and above-mentioned drawings of the present invention, a plurality of operations appear in a specific order. However, it should be clearly understood that these operations may not be executed in the order in which they appear herein or may be executed in parallel. The operation numbers such as 101, 102, etc. are only used to distinguish different operations, and the numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions such as "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit that "first" and "second" are different types.

[0056] Next, the technical solutions in the exemplary embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the exemplary embodiments of the present invention. Obviously, the described exemplary embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

[0057] Due to the increasing complexity of server computer motherboards and small cards, many redundant special power interfaces are reserved on the board. For simple testing, a common multimeter is used to manually measure the voltage one by one, which takes a long time, and the key problem is that there is no anti-fooling function; while using a digital multimeter and adding a relay for switching, additional fixture hardware needs to be made, resulting in a high cost. Aiming at the problems in existing conventional tests, such as high cost when using a digital multimeter + relay switching; the multimeter is in a single-channel mode, only one channel is collected each time, and it works serially with a slow speed; and the existing test equipment is large in size and additional fixtures need to be made, otherwise there is no anti-fooling function. The present invention proposes a circuit board for automatically testing power interfaces and its testing method. By self-developing and importing a voltage acquisition card circuit board and developing test scripts, it is possible to quickly test all voltages with one key, significantly improving the test efficiency and stability.

[0058] The present invention realizes automatic testing, quick testing with one key, and importing the circuit board. It changes from the previous one-by-one point-finding test to the subsequent automatic batch test, improving stability and reliability; changes from the serial test method to the parallel method, sharply increasing the test speed, eliminating the need to make complex fixtures, and reducing costs; the combination of the designed circuit board hardware and anti-fooling program expands the test coverage, has better quality, and improves customer satisfaction.

[0059] The following further illustrates the technical solutions of the present invention in conjunction with specific embodiments:

[0060] Refer to Figure 1As shown, a circuit board for automatically testing a power interface according to an embodiment of the present invention includes a processor module, a switch matrix module, a signal polling and switching module, and a data transmission module. The processor module is used to convert the collected analog voltage signal into a digital signal through an ADC acquisition module; the switch matrix module is used to sequentially switch the input signal to the ADC acquisition module of the high-speed microcontroller through the peripheral extended IO matrix; the signal polling and switching module is used to enable the MCU to poll and switch each voltage signal through the IO matrix, so that each voltage signal enters the ADC acquisition module in sequence for digital processing; the data transmission module is used to upload the digital signal to the host computer through the USB interface for data analysis and test judgment.

[0061] In this embodiment, the processor module uses a 32-bit high-speed microcontroller (MCU) as the core processing unit, which is responsible for the control and data processing of the entire circuit board for automatically testing the power interface. The switch matrix module is used to process sixty-four voltage signals through the peripheral extended IO matrix. The ADC acquisition module used by the high-speed microcontroller has a 12-bit resolution, a voltage accuracy of plus or minus 10 mV, a sampling rate of 1 M, and can collect voltage signals in multi-channel parallel. The processor module collects analog voltage signals according to the start test instruction sent by the USB serial port during the test.

[0062] In this embodiment, the circuit board for automatically testing the power interface further includes using an analog matrix chip to replace the traditional relay.

[0063] In this embodiment, the hardware part of the circuit board for automatically testing the power interface further includes a UUT main board connector and a test connector. The test connector, the switch matrix module, and the ADC acquisition module form a multi-channel acquisition card; the UUT main board connector is connected to the test connector, the test connector is connected to the switch matrix module, the switch matrix module is connected to the ADC acquisition module, and the host computer is connected to the ADC acquisition module of the multi-channel acquisition card through the USB interface.

[0064] Among them, both the UUT main board connector and the test connector are provided with connectors that are connected by cables and correspond one by one. Each connector corresponds to a voltage signal channel. The UUT main board connector leads out the voltage signal from the main board through the connector. The test connector corresponds to the UUT main board connector one by one, and leads out the signal on the UUT main board through the cable and transmits it to the input end of the test device.

[0065] See Figure 1As shown, the UUT main board connector includes connector interfaces J1, J2, ..., J8; the test connector also includes connector interfaces J1, J2, ..., J8. When connecting, J1 of the UUT main board connector is connected to J1 of the test connector through a cable. Similarly, J2 of the UUT main board connector is connected to J2 of the test connector, ..., and J8 of the UUT main board connector is connected to J8 of the test connector. During testing, it includes:

[0066] Start, deploy the voltage acquisition card circuit board, connect the 8 14-pin power interfaces on the board, read all voltages, and judge each voltage; if passed, remove the Hongtai voltage acquisition card circuit board, and the test is successful; if reading all voltages or judging each voltage fails, then remove the Hongtai voltage acquisition card circuit board, and the test fails.

[0067] In the embodiment of the present invention, a Python3 test program is also developed in the circuit board for automatically testing the power interface, which is suitable for running under Linux environment testing. Specific instructions are sent through the USB serial port, and at the same time, a return value is obtained, and then the data is parsed to finally judge the result.

[0068] The circuit board for automatically testing the power interface in the embodiment of the present invention has low cost, small volume, convenient installation, and can be integrated in a relatively small space; high precision, with 12-bit resolution. The conversion voltage accuracy can be ±10 mV; fast speed, with a sampling rate of 1 M, multi-channel parallel acquisition, and fast capture of voltage waveforms; a large number of channels, with a total of 64 channels, and multiple voltage signals can be synchronously sampled; long service life, using an analog matrix chip to replace the traditional relay, reducing power consumption and coil electromagnetic signal interference, and at the same time reducing power consumption; the test method is simple and reliable. Among them, a 32-bit high-speed MCU is used as the core to process and manage the functions of the entire system; in order to process 64 voltage signals, an external extended IO matrix is used to expand the input / output capabilities of the microcontroller, enabling it to process more external signals; the MCU polls and switches 64 voltage signals through the peripheral IO matrix, and the MCU can detect each signal in turn and import them into the ADC (analog-to-digital converter) module for digital processing; digital signal processing is completed by the ADC acquisition module, and the ADC acquisition module converts the analog input signal into a digital form so that the MCU can further process and analyze this data. After completing the acquisition and processing of the digital signal, the MCU uploads the data to the host computer through the USB interface, and the data transmission module is suitable for quickly transmitting a large amount of data to an external computer or device.

[0069] Therefore, the circuit board of the automatic test power interface of the present invention is applicable to the field of data acquisition and control. It uses a 32-bit high-speed MCU and a peripheral IO matrix to process a large number of voltage signals, performs digital processing of analog signals through an ADC acquisition module, and transmits data to the host computer through a USB interface, finally realizing further analysis and test judgment of the data.

[0070] See Figure 2 As shown, in another embodiment of the present invention, a test method for a circuit board of an automatic test power interface is further provided, including the following steps:

[0071] Use a test program to send specific instructions through the USB serial port to control the hardware;

[0072] Automatically read all voltage values and make a judgment;

[0073] If all voltage values are within the qualified range, the test is successful; if any voltage value is not within the qualified range, the test fails.

[0074] In this embodiment, the test method further includes:

[0075] Read all voltage values through a Python3 test program;

[0076] Compare the read voltage values with the preset qualified range to judge the test result.

[0077] When testing through a Python3 test program, communicate with a multi-channel acquisition card through the serial port, send specific instructions and receive return data, parse and compare the actual value and the expected value, and judge the test result. When using the serial module of Python3 for serial communication, the test includes the following steps:

[0078] Step 1: Initialize the test system, the class constructor __init__:

[0079] Receive a string parameter delxx for configuring the serial port and test parameters;

[0080] If the string does not contain an underscore _, the program exits;

[0081] Split the string to obtain the serial port address com, the expected value configvalue, the offset operation action, and the measurement range range;

[0082] Set the default serial port address, offset operation, and measurement range;

[0083] Initialize the Modbus command cmd and convert cmd to byte format cmd2;

[0084] Step 2: Connect and read data, and execute the link_vol method:

[0085] Open the serial port, send Modbus commands, and wait for data to return;

[0086] If data is returned, convert the returned data to a hexadecimal string xx;

[0087] If the data length meets the expectation, save the data to self.valuexx and return 0; otherwise, prompt to check the power supply and return 1;

[0088] Step 3: Execute the main test:

[0089] Call the link_vol method to obtain data. If the data acquisition fails, return 1;

[0090] Parse the data, calculate and print the actual values before and after adjustment;

[0091] Compare the actual values and expected values of each channel, determine whether they are within the allowable range, output the test results, and record success or failure;

[0092] If all channels pass the test, return 0; otherwise, return 1.

[0093] Based on the above test method, the test method of the circuit board for automatically testing the power interface of the present invention can achieve one-key rapid testing of all voltage signals by adopting an automated test circuit board, avoiding the cumbersome operation steps in the traditional manual testing process, greatly shortening the test time, and thus improving the overall test efficiency; through the self-developed voltage acquisition card circuit board and the test program based on Python3, the dependence on expensive test equipment is reduced, and the hardware investment and maintenance costs are lowered. At the same time, the automated test process reduces human participation, thereby reducing the labor cost. The test results are automatically transmitted to the host computer through the USB interface for data analysis and judgment. Combining with the automated data parsing and comparison functions of the Python3 test program, the test results can be accurately judged, reducing the human judgment error.

[0094] It should be noted that: With the help of the Python3 serial module, the main code for developing the serial communication test program is:

[0095]

[0096]

[0097]

[0098]

[0099]

[0100]

[0101] In summary, the circuit board and its test method for the automatic test power interface provided by the present invention solve the problems of high cost, slow speed, large volume, and poor anti-fooling performance in the prior art through efficient, stable, and precise designs, and have significant practical value and market prospects. The present invention is not only applicable to the test of power interfaces, but can also be extended to other automated test fields that require multi-channel signal acquisition and analysis, such as signal measurement, sensor detection, etc.

[0102] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A circuit board for automatically testing a power interface, characterized in that: The board includes: The processor module is used to convert the collected analog voltage signal into a digital signal through the ADC acquisition module; The switch matrix module is used to sequentially switch the input signals to the ADC acquisition module of the high-speed microcontroller through the peripheral expansion IO matrix; The signal polling and switching module is used to enable the MCU to poll and switch each voltage signal through the IO matrix, so that each voltage signal enters the ADC acquisition module in turn for digital processing; The data transmission module is used to upload the digital signal to the host computer through the USB interface for data analysis and test judgment.

2. The circuit board for automatically testing a power interface as claimed in claim 1, characterized in that: The processor module uses a 32-bit high-speed microcontroller as a core processing unit, which is responsible for the control and data processing of the entire automatic test power interface circuit board.

3. The circuit board for automatically testing the power interface as claimed in claim 2, characterized in that: The switch matrix module is used to process sixty-four voltage signals through a peripheral expansion IO matrix.

4. The circuit board for automatically testing a power supply interface as claimed in claim 3, characterized in that: The high-speed microcontroller uses an ADC acquisition module with a 12-bit resolution, a voltage accuracy of plus or minus 10mV, a sampling rate of 1M, and multi-channel parallel acquisition of voltage signals.

5. The circuit board for automatically testing a power interface as claimed in claim 4, characterized in that: The circuit board for automatically testing the power supply interface also includes using an analog matrix chip to replace the traditional relay.

6. The circuit board for automatically testing a power interface as claimed in claim 5, characterized in that: The circuit board of the automatic test power supply interface also includes a UUT mainboard connector and a test connector. The test connector, the switch matrix module and the ADC acquisition module form a multi-channel acquisition card; the UUT mainboard connector is connected to the test connector, the test connector is connected to the switch matrix module, the switch matrix module is connected to the ADC acquisition module, and the host computer is connected to the ADC acquisition module of the multi-channel acquisition card through a USB interface.

7. The circuit board for automatically testing a power interface as claimed in claim 6, characterized in that: The UUT mainboard connector and the test connector are both provided with connectors connected by cables and corresponding one to one. Each connector corresponds to a voltage signal channel. The UUT mainboard connector leads the voltage signal out of the mainboard through the connector. The test connector corresponds one to one with the UUT mainboard connector, and leads the signal on the UUT mainboard through the cable and transmits it to the input end of the test equipment.

8. A method for testing a circuit board for automatically testing a power interface according to any one of claims 1 to 7, characterized in that: The test method includes the following steps: Use the test program to send specific commands through the USB serial port to control the hardware; Automatically read all voltage values ​​and make judgments; If all voltage values ​​are within the qualified range, the test is successful; if any voltage value is not within the qualified range, the test fails.

9. The method for testing a circuit board for automatically testing a power interface according to claim 8, characterized in that: The test method also includes: Read all voltage values ​​through Python3 test program; Compare the read voltage value with the preset qualified range to determine the test result.

10. The method for testing a circuit board for automatically testing a power interface according to claim 9, wherein: When testing with the Python3 test program, communicate with the multi-channel acquisition card through the serial port, send specific instructions and receive return data, parse and compare the actual value and expected value, and judge the test results. By using the Python3 serial module for serial communication, the test includes the following steps: Step 1: Initialize the test system, class constructor __init__: Receive a string parameter delxx, which is used to configure the serial port and test parameters; If the string does not contain an underscore, the program exits. Split the string to obtain the serial port address com, expected value configvalue, offset operation action, and measurement range range; Set the default serial port address, offset operation and measurement range; Initialize Modbus command cmd and convert cmd into byte format cmd2; Step 2: Connect and read data, execute the link_vol method: Open the serial port, send the Modbus command and wait for the data to be returned; If there is data returned, convert the returned data into a hexadecimal string xx; If the data length meets the expectation, save the data to self.valuexx and return 0; otherwise, prompt to check the power supply and return 1; Step 3: Execute the main test: Call the link_vol method to obtain data. If the data acquisition fails, it returns 1. Parse the data, calculate and print the actual values ​​before and after adjustment; Compare the actual value of each channel with the expected value to determine whether it is within the allowable range, output the test results and record success or failure; Returns 0 if all channels pass the test; otherwise returns 1.