An automated testing system and method for heterogeneous processor boards in rail transit
Through the automated testing system, identifying the serial number of heterogeneous processor single boards and performing functions and stress tests, the problems of manual dependence and stress testing in the existing technology are solved, and the accuracy of heterogeneous processor single boards in rail transit are improved. and efficiency.
Patent Information
- Application Number
- CN202210818608.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-12
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-07-12
AI Technical Summary
The existing single board testing methods rely too much on manual energy supply judgment for single board testing of heterogeneous processors in rail transit, cannot perform functional testing, and ignore stress condition testing, resulting in low testing efficiency and accuracy.
Design an automated test system, including a computer, an automated test bench, a first test auxiliary board, a second test auxiliary board, a third test auxiliary board and a test slot, connect it through a serial port and a network port, and use a camera to identify the serial number of the single board , perform functional tests, hardware tests and stress tests, and simulate rail transit operation scenarios for testing.
It realizes automatic identification of the single board serial number, improves the test accuracy, can perform functional tests on heterogeneous processors, and conducts stress tests in the simulation site to determine whether the single board is suitable for the rail transit environment, and improves testing efficiency and accuracy. .
Smart Images

Figure CN115389904B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of single board testing, and in particular to an automated testing system and method for a heterogeneous processor single board in rail transit. Background Art
[0002] The rail transit signal system mainly includes on-board, interlocking and other signal control systems. In order to meet the safety of the rail transit signal system, heterogeneous hardware design methods are often used to obtain the processor board in the rail transit signal system. In order to ensure that the hardware functions of the designed heterogeneous processor can meet the needs of the signal control system in rail transit, it is necessary to test the heterogeneous processor board. However, most of the current hardware board testing methods have the problem of over-reliance on manual power supply judgment and inability to perform functional testing on heterogeneous boards. In addition, due to the special environment of the rail transit signal system, in order to ensure the safety of the processor board during long-term operation, it is necessary to test the stress conditions of the external interface on the processor board, but the existing board testing methods often ignore the test of stress conditions. Therefore, if the existing board testing method is used to test the heterogeneous processor board in rail transit, its test efficiency and test accuracy cannot be guaranteed. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an automated testing system and method for heterogeneous processor boards in rail transit, which solves the problems that the existing single-board testing methods rely too much on manual power supply judgment when testing heterogeneous processor boards in rail transit, cannot perform functional tests on heterogeneous boards, and ignore stress condition tests, resulting in low testing efficiency and low testing accuracy.
[0004] The purpose of the present invention is achieved through the following technical solutions:
[0005] An automated testing system for heterogeneous processor boards in rail transit comprises a host computer and an automated testing bench, wherein a first test auxiliary board, a second test auxiliary board, a third test auxiliary board and a test slot for placing the heterogeneous processor board to be tested are arranged on the automated testing bench, wherein the third test auxiliary board is connected to the first test auxiliary board and the second test auxiliary board via a serial port, wherein the first test auxiliary board and the second test auxiliary board are both connected to the host computer via a network port, wherein the test slot and the third test auxiliary board are connected via an IO serial port, wherein a plurality of test programs are stored in the host computer, wherein a test sequence of the test programs is determined for the host computer, and the corresponding test programs are sequentially sent to the automated testing bench, wherein the first test auxiliary board, the second test auxiliary board and the third test auxiliary board on the automated testing bench execute the test programs to test the heterogeneous processor board to be tested.
[0006] Furthermore, after the heterogeneous processor to be tested is inserted into the test slot, the heterogeneous processor board to be tested establishes connections with the first test auxiliary board and the second test auxiliary board through the network, and the heterogeneous processor board to be tested is connected with the third test auxiliary board through the serial port.
[0007] Furthermore, the automated test bench also includes a camera, which is communicatively connected to a host computer, and is used to capture an image of a heterogeneous processor board to be tested inserted into a test slot, and to send the captured image of the heterogeneous processor board to be tested to the host computer, and the host computer identifies the board serial number of the heterogeneous processor board to be tested based on the image of the heterogeneous processor board to be tested.
[0008] An automated testing method for a heterogeneous processor board in rail transit, comprising:
[0009] The tester inserts the heterogeneous processor board to be tested into the test slot, and the heterogeneous processor board to be tested sequentially establishes connections with the first test auxiliary board, the second test auxiliary board, and the third test auxiliary board;
[0010] The host computer determines the test sequence of the test program, and sends the corresponding test program to the automated test bench in sequence according to the test sequence. The first test auxiliary board, the second test auxiliary board and the third test auxiliary board execute the test program to test the heterogeneous processor board to be tested.
[0011] Furthermore, before the host computer determines the test sequence of the test program, the automated test bench also captures an image of the heterogeneous processor board to be tested through a camera, and sends the image of the heterogeneous processor board to be tested to the host computer. The host computer identifies the image of the heterogeneous processor board to be tested, obtains the board serial number of the heterogeneous processor board to be tested, and determines the type of the heterogeneous processor board according to the identification result. The host computer retrieves test items according to the type of the heterogeneous processor board, sorts the test sequence of the test items, retrieves the test program corresponding to the test item, and determines the test sequence of the test program according to the test sequence of the test items.
[0012] Furthermore, the test items include functional testing, hardware testing and stress testing.
[0013] Furthermore, when performing functional testing on the heterogeneous processor board to be tested, each time a functional test item is completed, the automated test bench outputs the test result of the corresponding functional test item to the host computer, and the host computer determines the faulty circuit area and the normal circuit area in the heterogeneous processor board to be tested based on the test result of the functional test item.
[0014] Furthermore, when performing hardware testing on the heterogeneous processor board to be tested, the automated test bench feeds back the test voltage at each test point in the heterogeneous processor board to be tested to the host computer in real time. The host computer compares the obtained test voltage at each test point with the preset standard voltage. The host computer determines the faulty test points and normal test points in the heterogeneous processor board to be tested based on the comparison results.
[0015] Furthermore, when stress testing the heterogeneous processor board to be tested, the automated test bench obtains the operating scenario parameters of the heterogeneous processor to be tested in rail transit, and simulates the on-site usage scenario of the heterogeneous processor to be tested in rail transit according to the operating scenario parameters. The automated test bench stress tests the heterogeneous processor board to be tested in the simulated on-site usage scenario.
[0016] The beneficial effects of the present invention are:
[0017] It can automatically identify the board serial number of the heterogeneous processor board to be tested, and determine the subsequent test order based on the identification results. At the same time, the host computer automatically identifies the test results, and there is no need for manual test result judgment, which improves the test accuracy. And using boards with different architectures as auxiliary test boards to perform functional tests on heterogeneous processor boards can meet the testing requirements for heterogeneous boards. At the same time, the automated test bench is used to simulate the on-site use scenarios of the heterogeneous processors to be tested in rail transit, and stress tests are performed in the simulated on-site use scenarios to determine whether the heterogeneous processors to be tested can adapt to the on-site operating environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural schematic diagram of the present invention;
[0019] Figure 2 It is a schematic diagram of a process of the present invention.
[0020] Among them: 1. host computer, 2. automated test bench, 21. first test auxiliary board, 22. second test auxiliary board, 23. third test auxiliary board, 24. test slot, 25. camera. DETAILED DESCRIPTION
[0021] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0022] Example:
[0023] An automated testing system for heterogeneous processor boards in rail transit, such as Figure 1As shown, it includes a host computer 1 and an automated test bench 2, the automated test bench is provided with a first test auxiliary board 21, a second test auxiliary board 22, a third test auxiliary board 23 and a test slot 24 for placing a heterogeneous processor board to be tested, the third test auxiliary board is connected to the first test auxiliary board and the second test auxiliary board through a serial port, the first test auxiliary board and the second test auxiliary board are both connected to the host computer through a network port, the test slot and the third test auxiliary board are connected through an IO serial port, a number of test programs are stored in the host computer, the test sequence of the test programs is determined for the host computer, and the corresponding test programs are sent to the automated test bench in sequence, the first test auxiliary board, the second test auxiliary board and the third test auxiliary board on the automated test bench execute the test programs to test the heterogeneous processor board to be tested.
[0024] The first test auxiliary board, the second test auxiliary board and the third test auxiliary board are single boards with different architectures, and can test different functions of heterogeneous processor single boards.
[0025] Specifically, the first test auxiliary board and the second test auxiliary board are both CPU boards, and the third test auxiliary board is a TDB board.
[0026] A switch is also provided between the first test auxiliary board, the second test auxiliary board and the host computer, and data communication between the host computer and the first test auxiliary board and the second test auxiliary board is realized through the switch. The host computer transmits the test program to the first test auxiliary board and the second test auxiliary board through the switch, and the first test auxiliary board and the second test auxiliary board then transmit the test program to the third test auxiliary board through the serial port.
[0027] After the heterogeneous processor to be tested is inserted into the test slot, the heterogeneous processor board to be tested establishes connections with the first test auxiliary board and the second test auxiliary board through the network, and at the same time, the heterogeneous processor board to be tested is connected with the third test auxiliary board through the serial port.
[0028] The connection between the first test auxiliary board and the second test auxiliary board and the heterogeneous processor board to be tested is specifically implemented through Ethernet.
[0029] After the heterogeneous processor to be tested is inserted into the test slot, it is also connected to a load for supporting the test through a serial port.
[0030] The heterogeneous processor to be tested includes at least two CPU chips. When testing, the CPU chips are connected to the first test auxiliary board and the second test auxiliary board respectively via Ethernet. The third test auxiliary board is provided with at least two FPGA chips. The CPU chips in the heterogeneous processor to be tested are connected to the FPGA chips in the third test auxiliary board respectively via the serial port, thereby realizing the testing requirements for the heterogeneous processor single board.
[0031] The automated test bench also includes a camera 25, which is communicatively connected to a host computer and is used to capture an image of a heterogeneous processor board to be tested inserted into a test slot, and to send the captured image of the heterogeneous processor board to be tested to the host computer. The host computer identifies the board serial number of the heterogeneous processor board to be tested based on the image of the heterogeneous processor board to be tested.
[0032] The board serial number of the heterogeneous processor board to be tested is a unique identifier. By identifying the image of the heterogeneous processor board to be tested and obtaining the corresponding board serial number, the host computer can automatically select test items and the test order of the test items according to the board type. Similarly, the tester can also select the corresponding test items and test order through the host computer.
[0033] An automated testing method for heterogeneous processor boards in rail transit, such as Figure 2 As shown, including:
[0034] The tester inserts the heterogeneous processor board to be tested into the test slot, and the heterogeneous processor board to be tested sequentially establishes connections with the first test auxiliary board, the second test auxiliary board, and the third test auxiliary board;
[0035] The host computer determines the test sequence of the test program, and sends the corresponding test program to the automated test bench in sequence according to the test sequence. The first test auxiliary board, the second test auxiliary board and the third test auxiliary board execute the test program to test the heterogeneous processor board to be tested.
[0036] Before the host computer determines the test sequence of the test program, the automated test bench also captures an image of the heterogeneous processor board to be tested through a camera, and sends the image of the heterogeneous processor board to be tested to the host computer. The host computer identifies the image of the heterogeneous processor board to be tested, obtains the board serial number of the heterogeneous processor board to be tested, and determines the type of the heterogeneous processor board according to the identification result. The host computer retrieves test items according to the type of the heterogeneous processor board, sorts the test sequence of the test items, retrieves the test program corresponding to the test item, and determines the test sequence of the test program according to the test sequence of the test items.
[0037] When the host computer identifies the image of the heterogeneous processor board to be tested, it first performs grayscale processing on the image of the heterogeneous processor board to be tested, and then performs image recognition on the grayscale processed image of the heterogeneous processor board to be tested according to the OCR image recognition algorithm to obtain the board serial number.
[0038] After the tester inserts the heterogeneous processor board to be tested into the test slot, the tester needs to continue to open the test software on the host computer so that the host computer can perform subsequent image recognition and determine the test program. After the tester opens the test software, he needs to enter the corresponding user name and password to prevent misoperation by irrelevant personnel. After completing the login to the test software, the tester needs to enter the single board serial number of the heterogeneous processor board to be tested this time. After the host computer obtains the single board serial number of the inserted heterogeneous processor board to be tested through image recognition, it compares it with the single board serial number entered by the tester. If the single board serial numbers are consistent, the host computer will then determine the subsequent test items through the test software. If they are inconsistent, the error information of the heterogeneous processor to be tested will be fed back to the tester through the test software.
[0039] The test items include functional testing, hardware testing and stress testing.
[0040] The functional test of the heterogeneous processor to be tested mainly includes testing the functions of each circuit in the heterogeneous processor to be tested. The test results include functional test failure and functional test pass. When the functional test fails, the circuit corresponding to the corresponding functional test item has a problem, and the corresponding circuit area is the faulty circuit area.
[0041] When performing functional testing on the heterogeneous processor board to be tested, each time a functional test item is completed, the automated test bench outputs the test result of the corresponding functional test item to the host computer, and the host computer determines the faulty circuit area and the normal circuit area in the heterogeneous processor board to be tested based on the test result of the functional test item.
[0042] When performing hardware testing on the heterogeneous processor board to be tested, the automated test bench feeds back the test voltage at each test point in the heterogeneous processor board to be tested to the host computer in real time. The host computer compares the test voltage at each test point obtained with the preset standard voltage. The host computer determines the faulty test points and normal test points in the heterogeneous processor board to be tested based on the comparison results.
[0043] Hardware testing can test the working status of each component on the heterogeneous processor board to be tested. When the test voltage is inconsistent with the preset standard voltage, problems such as component short circuit and component failure may occur. Therefore, the test point where the test voltage inconsistency is detected will be used as the fault test point.
[0044] When stress testing the heterogeneous processor board to be tested, the automated test bench obtains the operating scenario parameters of the heterogeneous processor to be tested in rail transit, and simulates the on-site usage scenario of the heterogeneous processor to be tested in rail transit according to the operating scenario parameters. The automated test bench stress tests the heterogeneous processor board to be tested in the simulated on-site usage scenario.
[0045] Stress testing can determine the impact of stress on heterogeneous processor boards that heterogeneous processors are exposed to in specific usage environments.
[0046] The automated test bench is equipped with strain gauges. When performing stress testing, the strain gauges are attached to the heterogeneous processor board to be tested. After the automated test bench simulates the on-site usage scenario, the strain gauges are used to collect the stress values received on the heterogeneous processor board to be tested in real time. The stress test results are obtained based on the collected stress values and the complete situation of the heterogeneous processor to be tested to determine whether the heterogeneous processor to be tested can adapt to the use in the rail transit environment.
[0047] After completing all test items, the host computer outputs a test report based on the test results of each test item.
[0048] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.
Claims
1. An automated testing system for heterogeneous processor boards in rail transit, characterized in that: It includes a host computer and an automated test bench, wherein the automated test bench is provided with a first test auxiliary board, a second test auxiliary board, a third test auxiliary board and a test slot for placing a heterogeneous processor board to be tested, wherein the third test auxiliary board is connected to the first test auxiliary board and the second test auxiliary board via a serial port, wherein the first test auxiliary board and the second test auxiliary board are both connected to the host computer via a network port, wherein the test slot and the third test auxiliary board are connected via an IO serial port, wherein a plurality of test programs are stored in the host computer, wherein a test sequence of the test programs is determined for the host computer, and the corresponding test programs are sequentially sent to the automated test bench, wherein the first test auxiliary board, the second test auxiliary board and the third test auxiliary board on the automated test bench execute the test programs to test the heterogeneous processor board to be tested; After the heterogeneous processor to be tested is inserted into the test slot, the heterogeneous processor board to be tested establishes a connection with the first test auxiliary board and the second test auxiliary board through the network, and at the same time, the heterogeneous processor board to be tested is connected with the third test auxiliary board through the serial port; After the heterogeneous processor to be tested is inserted into the test slot, it is also connected to the load used to support the test through the serial port; The heterogeneous processor to be tested includes at least two CPU chips. When testing, the CPU chips are connected to the first test auxiliary board and the second test auxiliary board respectively via Ethernet. The third test auxiliary board is provided with at least two FPGA chips. The CPU chips in the heterogeneous processor to be tested are connected to the FPGA chips in the third test auxiliary board respectively via the serial port.
2. The automated testing system for heterogeneous processor boards in rail transit according to claim 1, characterized in that: The automated test bench also includes a camera, which is communicatively connected to a host computer, and is used to capture an image of a heterogeneous processor board to be tested inserted into a test slot, and send the captured image of the heterogeneous processor board to be tested to the host computer, and the host computer identifies the board serial number of the heterogeneous processor board to be tested based on the image of the heterogeneous processor board to be tested.
3. An automated testing method for heterogeneous processor boards in rail transit, applied to an automated testing system for heterogeneous processor boards in rail transit as claimed in any one of claims 1 to 2, characterized in that: include: The tester inserts the heterogeneous processor board to be tested into the test slot, and the heterogeneous processor board to be tested sequentially establishes connections with the first test auxiliary board, the second test auxiliary board, and the third test auxiliary board; The host computer determines the test sequence of the test program, and sends the corresponding test program to the automated test bench in sequence according to the test sequence. The first test auxiliary board, the second test auxiliary board and the third test auxiliary board execute the test program to test the heterogeneous processor board to be tested.
4. The automated testing method for heterogeneous processor boards in rail transit according to claim 3, characterized in that: Before the host computer determines the test sequence of the test program, the automated test bench also captures an image of the heterogeneous processor board to be tested through a camera, and sends the image of the heterogeneous processor board to be tested to the host computer. The host computer identifies the image of the heterogeneous processor board to be tested, obtains the board serial number of the heterogeneous processor board to be tested, and determines the type of the heterogeneous processor board according to the identification result. The host computer retrieves test items according to the type of the heterogeneous processor board, sorts the test sequence of the test items, retrieves the test program corresponding to the test item, and determines the test sequence of the test program according to the test sequence of the test items.
5. The automated testing method for heterogeneous processor boards in rail transit according to claim 4, characterized in that: The test items include functional testing, hardware testing and stress testing.
6. The automated testing method for heterogeneous processor boards in rail transit according to claim 5, characterized in that: When performing functional testing on the heterogeneous processor board to be tested, each time a functional test item is completed, the automated test bench outputs the test result of the corresponding functional test item to the host computer, and the host computer determines the faulty circuit area and the normal circuit area in the heterogeneous processor board to be tested based on the test result of the functional test item.
7. The automated testing method for heterogeneous processor boards in rail transit according to claim 5, characterized in that: When performing hardware testing on the heterogeneous processor board to be tested, the automated test bench feeds back the test voltage at each test point in the heterogeneous processor board to be tested to the host computer in real time. The host computer compares the test voltage at each test point obtained with the preset standard voltage. The host computer determines the faulty test points and normal test points in the heterogeneous processor board to be tested based on the comparison results.
8. The automated testing method for heterogeneous processor boards in rail transit according to claim 5, characterized in that: When stress testing the heterogeneous processor board to be tested, the automated test bench obtains the operating scenario parameters of the heterogeneous processor to be tested in rail transit, and simulates the on-site usage scenario of the heterogeneous processor to be tested in rail transit according to the operating scenario parameters. The automated test bench stress tests the heterogeneous processor board to be tested in the simulated on-site usage scenario.
