Automobile OTA automatic upgrade test system and method

By designing the automotive OTA automation upgrade test system, using multi-channel controllers and switches to achieve rapid switching of multi-model topology, the problems of low utilization rate of test equipment and difficulty in switching models in the existing technology are solved, and the testing efficiency and equipment utilization rate are improved.

CN119937514APending Publication Date: 2025-05-06华克超
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510076169.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing OTA automation testing solution can only be tested on one vehicle model at the same time, which makes it impossible to test the old vehicle model. The restructuring of the wiring harness between different models takes time and effort, poses a risk of errors, which increases equipment investment and financial pressure.

Method used

An automotive OTA automation upgrade test system has been designed, including PC tester, OTA upgrade host, cloud server, Ethernet tester, CAN tester, etc. Through the cooperation of multi-channel controller and switch, rapid switching of multiple models topology and compatibility of multiple OTA platforms are achieved.

Benefits of technology

It realizes rapid switching of multi-mode topology, unifies the OTA automated test platform, improves the utilization rate and testing efficiency of test equipment, and solves the problems of node waste and insufficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937514A_ABST
    Figure CN119937514A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of automobile testing, and particularly relates to an automobile OTA automatic upgrading testing system and method. The PC testing machine is electrically connected with the OTA upgrading host, the Ethernet tester, the CAN tester, the microprocessor module of the multi-channel controller and the switch, the OTA upgrading host is electrically connected with the cloud server, the Ethernet tester and the CAN tester, the Ethernet tester is electrically connected with the Ethernet routing controller, the Ethernet routing controller is electrically connected with the switch through the T1-TX communication controller, and the switch is electrically connected with the CAN tester through the T1-TX communication controller. The switch is electrically connected with the Ethernet electronic control unit through the TX-to-T1 communication controller, the CAN tester is electrically connected with the CAN network routing controller, the CAN network routing controller is connected with the relay matrix module of the multi-channel controller through a CAN network, and the relay matrix module is electrically connected with the CAN network electronic control unit. According to the test system and method, multi-vehicle-type topology rapid switching can be realized, and compatibility of multiple OTA platforms can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automobile testing, and in particular relates to an automobile OTA automatic upgrade testing system and method. Background Art

[0002] At present, the OTA automated testing solution can only carry out automated testing for one vehicle model at a time. When carrying out new research and development projects, rewiring is required, which makes it impossible to test old models. In addition, modifying the wiring harness between different models on the same platform is time-consuming and labor-intensive, and there is also the risk of errors in the wiring harness modification. Increasing equipment investment has brought huge financial pressure to the project. Summary of the invention

[0003] The main purpose of the present invention is to solve the problems existing in the prior art and to provide an automobile OTA automatic upgrade test system and method, which can realize rapid switching of multi-model topologies and compatibility with multiple OTA platforms.

[0004] The technical problem solved by the present invention is achieved by adopting the following technical scheme: an automobile OTA automatic upgrade test system, comprising a PC tester, an OTA upgrade host, a cloud server, an Ethernet tester, a CAN tester, a CAN network routing controller, an Ethernet routing controller, a multi-channel controller, a switch, a T1 to TX communication controller, a TX to T1 communication controller, a CAN network electronic control unit, and an Ethernet electronic control unit. The PC tester is electrically connected to the OTA upgrade host, the Ethernet tester, the CAN tester, a microprocessor module of the multi-channel controller, and the switch respectively. The OTA upgrade host is electrically connected to the cloud server, the Ethernet tester, and the CAN tester respectively. The Ethernet tester is electrically connected to the Ethernet routing controller. The Ethernet routing controller is electrically connected to the switch through the T1 to TX communication controller. The switch is electrically connected to the Ethernet electronic control unit through the TX to T1 communication controller. The CAN tester is electrically connected to the CAN network routing controller. The CAN network routing controller is connected to the relay matrix module of the multi-channel controller through the CAN network. At least one multi-channel controller can be cascaded at the CAN network connection node between the CAN network routing controller and the relay matrix module. The relay matrix module is electrically connected to the CAN network electronic control unit.

[0005] Furthermore, the Ethernet tester adopts a VN5650 model test instrument, and the CAN tester adopts a VN1670 model test instrument.

[0006] Furthermore, the PC tester is electrically connected to the Ethernet tester and the CAN tester via USB respectively.

[0007] Furthermore, the microprocessor module adopts the MC9S12DG256MFUE model chip, the relay matrix module adopts the G3MB-202P12V model relay, and the OTA upgrade host adopts the vehicle TBOX type host.

[0008] The method of the automotive OTA automatic upgrade test system as described above includes the following steps:

[0009] Step 1: The PC test machine loads the corresponding electronic control unit list information according to the selected vehicle model, sets the switch VLAN parameters according to the electronic control unit list information, and connects the Ethernet electronic control unit to the corresponding Ethernet network;

[0010] Step 2, the PC test machine sends a control relay closure instruction to the microprocessor module of the multi-channel controller according to the electronic control unit list information, and the microprocessor module controls the corresponding node relay in the relay matrix module to closure, and connects the CAN network electronic control unit to the corresponding CAN network;

[0011] Step 3: The PC tester sends CAN messages through the CAN tester to simulate vehicle condition information, stimulating the OTA upgrade host to detect the vehicle version and download the upgrade package; when the OTA upgrade host detects the vehicle version, the PC tester feeds back abnormal vehicle version information through the CAN tester to implement vehicle version detection fault simulation test;

[0012] Step 4. The PC tester performs OTA upgrade through ADB simulation UI interface operation. The OTA upgrade host transmits the CAN data in the upgrade package to the corresponding CAN network electronic control unit through the CAN tester, CAN network routing controller, and multi-channel controller for upgrade. The OTA upgrade host transmits the Ethernet data in the upgrade package to the corresponding Ethernet electronic control unit through the Ethernet tester, Ethernet routing controller, T1 to TX communication controller, switch, and TX to T1 communication controller for upgrade. During OTA upgrade, the PC tester sends simulated UDS faults through the CAN tester and Ethernet tester to implement fault simulation test of OTA upgrade process.

[0013] Step 5: After the OTA upgrade is successful, a test report is generated on the PC test machine, a test log is recorded, and data is archived.

[0014] The beneficial effects of the present invention are:

[0015] The present invention connects all CAN network electronic control units on the vehicle to a multi-channel controller to ensure that the switching of all CAN network electronic control units is controlled by the multi-channel controller. When switching channels, the microprocessor module receives the control instruction issued by the PC test machine, controls the node relay switch in the relay matrix module to be closed or disconnected, and realizes the access and cut-out of CAN communication on the vehicle-mounted electronic control unit; the PC test machine of the present invention sets the switch VLAN parameters according to the electronic control unit list information, connects the Ethernet electronic control unit on the vehicle to the corresponding Ethernet network, and realizes the access and cut-out of Ethernet communication on the vehicle-mounted electronic control unit; through the cooperation of the multi-channel controller and the switch, the multi-vehicle model topology is realized to switch quickly, thereby unifying the OTA automated test platform, realizing the compatibility of multiple OTA platforms, and greatly improving the utilization rate and test efficiency of OTA test equipment. Moreover, the design of the cascaded multi-channel controller can solve the problems of node waste and node shortage by increasing or reducing the number of multi-channel controllers. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 The present invention is a schematic diagram of the principle of an automobile OTA automatic upgrade test system.

[0017] Figure 2 It is a schematic diagram of the principle of the relay matrix module of the present invention.

[0018] Figure 3 The present invention is a method flow chart of an automobile OTA automatic upgrade test system. DETAILED DESCRIPTION

[0019] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting 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.

[0021] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0022] like Figure 1 As shown, the automobile OTA automatic upgrade test system provided by the present invention includes a PC tester, an OTA upgrade host, a cloud server, an Ethernet tester, a CAN tester, a CAN network routing controller, an Ethernet routing controller, a multi-channel controller, a switch, a T1 to TX communication controller, a TX to T1 communication controller, a CAN network electronic control unit, and an Ethernet electronic control unit. The PC tester is electrically connected to the OTA upgrade host, the Ethernet tester, the CAN tester, and the microprocessor module and switch of the multi-channel controller respectively. The OTA upgrade host is electrically connected to the cloud server, the Ethernet tester, and the CAN tester respectively. The Ethernet tester is electrically connected to the Ethernet routing controller. The Ethernet routing controller is electrically connected to the switch through the T1 to TX communication controller. The switch is electrically connected to the Ethernet electronic control unit through the TX to T1 communication controller. The CAN tester is electrically connected to the CAN network routing controller. The CAN network routing controller is connected to the relay matrix module of the multi-channel controller through the CAN network. At least one multi-channel controller can be cascaded at the CAN network connection node between the CAN network routing controller and the relay matrix module. The relay matrix module is electrically connected to the CAN network electronic control unit.

[0023] The Ethernet tester uses the VN5650 model test instrument, and the CAN tester uses the VN1670 model test instrument.

[0024] The PC tester is electrically connected to the Ethernet tester and the CAN tester via USB respectively.

[0025] The microprocessor module uses the MC9S12DG256MFUE model chip, the relay matrix module uses the G3MB-202P12V model relay, and the OTA upgrade host uses the car TBOX type host.

[0026] The CANoe software on the PC test machine is used to execute automated test scripts, generate test reports, and store test data. The automated test software vTESTstudio is an automated test script editing tool used to write test logic, simulate vehicle conditions, etc. The Python script is mainly used to control the host UI interface and simulate interface operations.

[0027] VN1670 is connected in series between the OTA upgrade host and the vehicle topology, and can realize two functions: CAN signal routing and simulation. The simulation mainly simulates various vehicle conditions such as vehicle speed, door status, gear position, battery power, etc. In addition, VN1670 is also used to simulate abnormal feedback from the electronic control unit (ECU) during the OTA process; the routing function of the device is to forward and save the interactive signals between the vehicle and the OTA upgrade host in real time.

[0028] VN5650 is connected in series between the OTA upgrade host and the vehicle topology, and can realize two functions: Ethernet signal routing and simulation. The simulation mainly simulates various vehicle conditions and abnormal feedback from the electronic control unit (ECU), while the routing forwards and stores the interaction information between the vehicle and the OTA upgrade host.

[0029] All CAN network electronic control units on the vehicle are connected to the multi-channel controller to ensure that the switching of all CAN network electronic control units is controlled by the multi-channel controller. When switching channels, the microprocessor module receives the control instructions from the PC test machine, controls the node relay switches in the relay matrix module to close or disconnect, and realizes the access and disconnection of CAN communication on the vehicle electronic control unit, and the switching function between network segments;

[0030] The PC test machine automatically configures the VLAN function of the switch to realize automatic forwarding of Ethernet data; the OTA upgrade host is used for upgrade package download, detection and upgrade file flashing.

[0031] CAN network refers to the public network of the entire vehicle (including two wires, CANH and CANL). Different network channels are connected to different types of electronic control units (ECUs). For example, the chassis network is connected to a common controller on the vehicle chassis.

[0032] like Figure 2 As shown, each row of node relays of the relay matrix module is connected to the corresponding CAN network, and each column of node relays of the relay matrix module is connected to the corresponding CAN network electronic control unit (ECU). The CAN network includes CAN network 1, CAN network 2, CAN network 3, CAN network 4, and CAN network 5. K11, K12...K5n are all node relays, and ECU1, ECU2...ECUn are all CAN network electronic control units. When ECU2 needs to be connected to CAN network 3, the node relay K32 needs to be controlled to be attracted, and each column of node relays can only close one channel at the same time.

[0033] like Figure 3 As shown, the control method of the above automobile OTA automatic upgrade test system includes the following steps:

[0034] Step 1: The PC test machine loads the corresponding electronic control unit list information according to the selected vehicle model, sets the switch VLAN parameters according to the electronic control unit list information, and connects the Ethernet electronic control unit to the corresponding Ethernet network;

[0035] Select the vehicle model in the automated test program. The test program will load the corresponding ECU list based on the selected vehicle model. The list contains the network channel information (corresponding relay node information) that the ECU needs to access. The PC sets the switch VLAN parameters based on the vehicle model information and completes the forwarding configuration of different ports of the switch.

[0036] Step 2, the PC test machine sends a control relay closure instruction to the microprocessor module of the multi-channel controller according to the electronic control unit list information, and the microprocessor module controls the corresponding node relay in the relay matrix module to closure, and connects the CAN network electronic control unit to the corresponding CAN network;

[0037] According to the relay node information, the test program on the PC test machine sends relay closure instructions in sequence. After the multi-channel controller receives the instructions, it controls the corresponding node relay to closure, thereby completing the ECU mounting on the corresponding CAN channel and realizing vehicle model switching.

[0038] Step 3: The PC tester sends CAN messages through the CAN tester to simulate vehicle condition information, stimulating the OTA upgrade host to detect the vehicle version and download the upgrade package; when the OTA upgrade host detects the vehicle version, the PC tester feeds back abnormal vehicle version information through the CAN tester to implement vehicle version detection fault simulation test;

[0039] PC sends CAN messages through VN1640 to simulate vehicle conditions, such as the vehicle is switched from OFF gear to ON gear, simulating the owner starting the vehicle, thereby stimulating the OTA upgrade host to start detecting the vehicle version; when the test program detects that the OTA upgrade host has issued a command to read the vehicle controller version information, the test program drives VN1640 to feedback abnormal controller version information, such as the feedback version information is 0.0.0. After downloading the upgrade package, the interface pops up a prompt "Do you want to upgrade?". If you select "Yes", a prompt box will pop up "The vehicle will not be available during the upgrade." If you select "No", you will exit the upgrade prompt page, and the upgrade prompt box will pop up again when the owner uses the car next time.

[0040] Step 4. The PC tester performs OTA upgrade through ADB simulation UI interface operation. The OTA upgrade host transmits the CAN data in the upgrade package to the corresponding CAN network electronic control unit through the CAN tester, CAN network routing controller, and multi-channel controller for upgrade. The OTA upgrade host transmits the Ethernet data in the upgrade package to the corresponding Ethernet electronic control unit through the Ethernet tester, Ethernet routing controller, T1 to TX communication controller, switch, and TX to T1 communication controller for upgrade. During OTA upgrade, the PC tester sends simulated UDS faults through the CAN tester and Ethernet tester to implement fault simulation test of OTA upgrade process.

[0041] Through ADB commands, the car owner's operation UI interface is simulated to perform OTA upgrade. The UI operation types include: clicking the upgrade button, clicking the cancel upgrade button, clicking the scheduled upgrade button and setting the scheduled upgrade time, etc.; UDS fault types include UDS negative response and UDS timeout response. The upgrade steps are to securely access the ECU, control the ECU to enter the programming session, apply to start data transmission, and exit data transmission, etc.

[0042] Step 5: After the OTA upgrade is successful, a test report is generated on the PC test machine, a test log is recorded, and data is archived.

[0043] The OTA upgrade host will start to upgrade the ECU. The upgrade result will pop up in a prompt box after the OTA is completed. If successful, it will only display that the upgrade is successful. If it fails, the owner will be prompted to go to the 4S store or call 400 to seek technical support.

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

Claims

1. An automotive OTA automated upgrade test system, characterized by: It includes a PC tester, an OTA upgrade host, a cloud server, an Ethernet tester, a CAN tester, a CAN network routing controller, an Ethernet routing controller, a multi-channel controller, a switch, a T1 to TX communication controller, a TX to T1 communication controller, a CAN network electronic control unit, and an Ethernet electronic control unit. The PC tester is electrically connected to the OTA upgrade host, the Ethernet tester, the CAN tester, and a microprocessor module and a switch of the multi-channel controller respectively. The OTA upgrade host is electrically connected to the cloud server, the Ethernet tester, and the CAN tester respectively. The Ethernet tester is electrically connected to the Ethernet routing controller. The Ethernet routing controller is electrically connected to the switch via the T1 to TX communication controller. The switch is electrically connected to the Ethernet electronic control unit via the TX to T1 communication controller. The CAN tester is electrically connected to the CAN network routing controller. The CAN network routing controller is connected to the relay matrix module of the multi-channel controller via the CAN network. At least one multi-channel controller can be cascaded at the CAN network connection node between the CAN network routing controller and the relay matrix module. The relay matrix module is electrically connected to the CAN network electronic control unit.

2. The automotive OTA automatic upgrade test system according to claim 1, characterized in that: The Ethernet tester adopts the VN5650 model test instrument, and the CAN tester adopts the VN1670 model test instrument.

3. The automotive OTA automatic upgrade test system according to claim 1, characterized in that: The PC tester is electrically connected to the Ethernet tester and the CAN tester via USB respectively.

4. The automotive OTA automatic upgrade test system according to claim 1, characterized in that: The microprocessor module adopts the MC9S12DG256MFUE model chip, the relay matrix module adopts the G3MB-202P12V model relay, and the OTA upgrade host adopts the vehicle TBOX type host.

5. The method of the automobile OTA automatic upgrade test system as claimed in claim 1, characterized in that: The following steps are involved: Step 1: The PC test machine loads the corresponding electronic control unit list information according to the selected vehicle model, sets the switch VLAN parameters according to the electronic control unit list information, and connects the Ethernet electronic control unit to the corresponding Ethernet network; Step 2, the PC test machine sends a control relay closure instruction to the microprocessor module of the multi-channel controller according to the electronic control unit list information, and the microprocessor module controls the corresponding node relay in the relay matrix module to closure, and connects the CAN network electronic control unit to the corresponding CAN network; Step 3: The PC tester sends CAN messages through the CAN tester to simulate vehicle condition information, stimulating the OTA upgrade host to detect the vehicle version and download the upgrade package; when the OTA upgrade host detects the vehicle version, the PC tester feeds back abnormal vehicle version information through the CAN tester to implement vehicle version detection fault simulation test; Step 4. The PC tester performs OTA upgrade through ADB simulation UI interface operation. The OTA upgrade host transmits the CAN data in the upgrade package to the corresponding CAN network electronic control unit through the CAN tester, CAN network routing controller, and multi-channel controller for upgrade. The OTA upgrade host transmits the Ethernet data in the upgrade package to the corresponding Ethernet electronic control unit through the Ethernet tester, Ethernet routing controller, T1 to TX communication controller, switch, and TX to T1 communication controller for upgrade. During OTA upgrade, the PC tester sends simulated UDS faults through the CAN tester and Ethernet tester to implement fault simulation test of OTA upgrade process. Step 5: After the OTA upgrade is successful, a test report is generated on the PC test machine, a test log is recorded, and data is archived.