Full-automatic test method for rail transit vehicle-mounted controller and vehicle interface

Through the fully automatic testing method, automated testing of the rail transit vehicle-mounted controller and vehicle interface is realized, solving the problem of low testing efficiency and human judgment in the existing technology, improving testing efficiency and accuracy, and reducing testing costs.

CN119575936APending Publication Date: 2025-03-07SHANGHAI ELECTRIC THALES TRANSPORTATION AUTOMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411704279.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, the test of the interface between the rail transit vehicle controller (VOBC) and the vehicle mainly relies on manual operation, resulting in low testing efficiency and human judgment, with errors and high costs.

Method used

The fully automatic testing method is adopted to establish communication between VOBC and the test engineering machine, write automated test scripts, fully automatic testing of the VOBC interface, and automatically generate test reports.

Benefits of technology

It greatly improves testing efficiency and accuracy, reduces manual operation links and errors, reduces testing costs, and reduces dependence on testers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119575936A_ABST
    Figure CN119575936A_ABST
Patent Text Reader

Abstract

The invention discloses a full-automatic test method for a rail transit vehicle-mounted controller and a vehicle interface. The method comprises the following steps: S1, establishing communication between a home terminal VOBC and a test engineering machine; s2, establishing communication between the remote VOBC and the test engineering machine; s3, compiling an automatic test script according to the test process; s4, running an automatic test script on the test engineering machine, and starting to carry out full-automatic test on the VOBC interface; and S5, after the test is finished, clicking report generation to automatically generate a report and export the report. According to the invention, the test efficiency and accuracy of the rail transit vehicle-mounted controller and the vehicle interface are improved, and manpower, material resources and time cost are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a fully automatic testing method for a rail transit vehicle-mounted controller and a vehicle interface. Background Art

[0002] At present, the test of the rail transit vehicle-mounted controller (VOBC) and the vehicle interface mainly adopts manual writing and reading of data to the vehicle interface module through the serial port, and manually comparing and confirming the actual test results with the expected results. This method consumes a lot of manpower, material resources and time, and the test results need to be confirmed manually, which has the risk of human misjudgment.

[0003] Therefore, a fully automatic testing method for a rail transit onboard controller and a vehicle interface is provided. Summary of the invention

[0004] The purpose of the present invention is to overcome the existing defects and provide a fully automatic testing method for the rail transit on-board controller and the vehicle interface, thereby improving the testing efficiency and accuracy of the rail transit on-board controller and the vehicle interface, and saving manpower, material resources and time costs.

[0005] The technical solution to achieve the above purpose is:

[0006] A fully automatic testing method for a rail transit onboard controller and a vehicle interface, comprising:

[0007] Step S1, establishing communication between the local VOBC and the test engineering machine;

[0008] Step S2, establishing communication between the remote VOBC and the test engineering machine;

[0009] Step S3, writing an automated test script according to the test process;

[0010] Step S4, running the automated test script on the test engineering machine to start fully automated testing of the VOBC interface;

[0011] Step S5: After the test is completed, click Generate Report to automatically generate and export the report.

[0012] Preferably, in step S1, a U-Port (an autonomous identity platform on Ethernet) device is used to connect multiple vehicle control interfaces of the local VOBC with the test engineering machine to achieve communication between the local VOBC and the test engineering machine.

[0013] Preferably, step S2 comprises:

[0014] Step S21, using N-Port (node ​​communication port) equipment to transfer multiple vehicle control interfaces of the remote VOBC to the vehicle switch;

[0015] Step S22, connecting the vehicle-mounted switch to the test engineering machine via an RJ45 (network connection cable) network cable;

[0016] Step S23, setting the IP (Internet Protocol) of the test engineering machine and the IP of the N-Port device in the same network segment to achieve communication between the remote VOBC and the test engineering machine;

[0017] Step S24, supplying power to the N-Port device via a UPS (uninterruptible power supply).

[0018] Preferably, in step S3, the written automated test script has the function of communicating with VOBC, including serial port data reading and writing and command sending, and the expected result of testing the VOBC interface is set in the script.

[0019] Preferably, step S4 comprises:

[0020] Step S41, during the test process, the script will automatically record the actual test results to generate a test log;

[0021] Step S42, comparing the actual test result with the expected result;

[0022] Step S43, based on the comparison result, determine whether the VOBC interface is normal. If the actual test result is inconsistent with the expected result, the test will be stopped and an error will be reported. The test will continue after manual confirmation.

[0023] The beneficial effects of the present invention are as follows: the present invention can greatly reduce manual operations in the testing process through a fully automatic testing method, thereby improving testing efficiency; automated testing reduces manual operation links, reduces testing errors caused by operational or misjudgment errors, reduces dependence on testers, and reduces testing costs; the present invention is not only suitable for VOBC testing of a 2x2x2 system, but can also be applied to interface testing of other rail transit on-board equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of a fully automatic testing method of a rail transit vehicle-mounted controller and a vehicle interface of the present invention;

[0025] Figure 2 It is a specific flow chart of establishing communication between the remote VOBC and the test engineering machine in the present invention;

[0026] Figure 3It is a specific flow chart of running the automated test script on the test engineering machine in the present invention to start fully automatic testing of the VOBC interface;

[0027] Figure 4 It is a schematic diagram of equipment connection for fully automatic testing of rail transit vehicle-mounted controller and vehicle interface in the present invention.

[0028] In the figure: 1. Local VOBC; 2. Test engineering machine; 3. Remote VOBC; 4. U-Port device; 5. N-Port device; 6. Vehicle-mounted switch; 7. UPS. DETAILED DESCRIPTION

[0029] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0030] The present invention will be further described below in conjunction with the accompanying drawings.

[0031] like Figure 1 , 4 As shown, a fully automatic testing method for a rail transit vehicle controller and a vehicle interface comprises:

[0032] Step S1, establishing communication between the local VOBC 1 and the test engineering machine 2.

[0033] In the embodiment, the U-Port device 4 is used to connect multiple vehicle control interfaces of the local VOBC 1 with the test engineering machine 2 to achieve communication between the local VOBC 1 and the test engineering machine 2 .

[0034] Step S2, establishing communication between the remote VOBC 3 and the test engineering machine 2.

[0035] like Figure 2 As shown, step S2 includes:

[0036] Step S21 , using the N-Port device 5 to transfer multiple vehicle control interfaces of the remote VOBC 3 to the vehicle switch 6 .

[0037] Step S22, connecting the vehicle-mounted switch 6 to the test engineering machine 2 via an RJ45 network cable.

[0038] Step S23, setting the IP of the test engineering machine 2 and the IP of the N-Port device 5 in the same network segment to achieve communication between the remote VOBC3 and the test engineering machine 2.

[0039] Step S24, power the N-Port device 5 through UPS 7; in the actual test process, it is often encountered that the train has no 220V AC power supply or the 220V AC power needs to be disconnected, resulting in the N-Port device 5 having no power supply. Therefore, an additional portable UPS 7 is added to power the N-Port device 5, so that normal testing can still be carried out when the train has no 220V AC power.

[0040] Step S3, write an automated test script according to the test process.

[0041] In the embodiment, the written automated test script has the function of communicating with VOBC, including serial port data reading and writing and command sending, and the expected result of testing the VOBC interface is set in the script.

[0042] Step S4, running the automated test script on the test engineering machine 2 to start fully automated testing of the VOBC interface.

[0043] like Figure 3 As shown, step S4 includes:

[0044] Step S41: During the test, the script will automatically record the actual test results to generate a test log.

[0045] Step S42, comparing the actual test results with the expected results, to ensure the accuracy and reliability of the test.

[0046] Step S43, based on the comparison result, determine whether the VOBC interface is normal. If the actual test result is inconsistent with the expected result, the test will be stopped and an error will be reported. The test will continue after manual confirmation.

[0047] Step S5: After the test is completed, click Generate Report to automatically generate and export the report.

[0048] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A fully automatic testing method for a rail transit vehicle controller and a vehicle interface, characterized in that: include: Step S1, establishing communication between the local VOBC (1) and the test engineering machine (2); Step S2, establishing communication between the remote VOBC (3) and the test engineering machine (2); Step S3, writing an automated test script according to the test process; Step S4, running the automated test script on the test engineering machine (2) to start fully automated testing of the VOBC interface; Step S5: After the test is completed, click Generate Report to automatically generate and export the report.

2. A fully automatic testing method for a rail transit vehicle controller and a vehicle interface according to claim 1, characterized in that: In the step S1, a U-Port device (4) is used to connect the multiple vehicle control interfaces of the local VOBC (1) to the test engineering machine (2), thereby realizing communication between the local VOBC (1) and the test engineering machine (2).

3. A fully automatic testing method for a rail transit vehicle controller and a vehicle interface according to claim 1, characterized in that: The step S2 comprises: Step S21, using an N-Port device (5) to transfer multiple vehicle control interfaces of the remote VOBC (3) to the vehicle switch (6); Step S22, connecting the vehicle-mounted switch (6) to the test engineering machine (2) via an RJ45 network cable; Step S23, setting the IP of the test engineering machine (2) and the IP of the N-Port device (5) in the same network segment to achieve communication between the remote VOBC (3) and the test engineering machine (2); Step S24, supplying power to the N-Port device (5) via the UPS (7).

4. A fully automatic testing method for a rail transit vehicle controller and a vehicle interface according to claim 1, characterized in that: In step S3, the written automated test script has the function of communicating with VOBC, including serial port data reading and writing and command sending, and the expected results of testing the VOBC interface are set in the script.

5. A fully automatic testing method for a rail transit vehicle controller and a vehicle interface according to claim 1, characterized in that: The step S4 comprises: Step S41, during the test process, the script will automatically record the actual test results to generate a test log; Step S42, comparing the actual test result with the expected result; Step S43, based on the comparison result, determine whether the VOBC interface is normal. If the actual test result is inconsistent with the expected result, the test will be stopped and an error will be reported. The test will continue after manual confirmation.