Virtual T-BOX simulation test system and method
Through the virtual T-BOX simulation test system, the vehicle communication is simulated in the simulation environment, and the problem of high cost and long time of real hardware T-BOX verification is solved, efficient and safe vehicle communication function verification is achieved, and dynamic vehicle conditions and remote control is supported. test.
Patent Information
- Application Number
- CN202411385888.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, using real hardware T-BOX to verify vehicle communication and data processing is costly and time-consuming, and it is impossible to quickly verify the various functional requirements of the TSP platform.
A virtual T-BOX simulation test system was designed to create a driving simulation environment and virtual vehicles using autonomous driving simulator. Virtual sensors and virtual T-BOX equipment simulate the autonomous driving process, collect and package simulation test data, and send it through network transmission protocols. Give the vehicle network cloud platform and receive remote control information to control the virtual vehicle.
Implement the interaction between vehicle communication functions and the cloud platform of the Internet of Vehicles in the simulation environment, provide efficient, safe and economical development and testing solutions, avoid the risks and costs of actual road tests, and support the verification of dynamic vehicle conditions, fault diagnosis and remote control .
Smart Images

Figure CN119094321A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle detection and simulation, and in particular to a virtual T-BOX simulation test system and method. Background Art
[0002] The development of Internet of Vehicles technology requires a lot of testing and verification work to ensure the accuracy and reliability of vehicle communication and data processing. Traditional testing methods usually rely on real vehicles and hardware T-Boxes, and are limited by actual road conditions and safety factors. The development cycle of some functional T-BOXs is long and it is impossible to quickly verify the various functional requirements of the TSP platform. The verification cost is high and the time is long. Summary of the invention
[0003] Based on the above content, the present invention provides a virtual T-BOX simulation test system and method, aiming to solve the technical problems in the prior art such as high cost and long time of using real hardware T-BOX verification.
[0004] A virtual T-BOX simulation test includes a client for simulation, wherein the client uses an autonomous driving simulator to create a driving simulation environment and a plurality of virtual vehicles, creates virtual sensors and virtual T-BOX devices for the virtual vehicles, and enables the virtual vehicles to simulate an autonomous driving process in the driving simulation environment;
[0005] The created virtual T-BOX devices include:
[0006] A data collection module collects sensor data monitored by each virtual sensor on the virtual vehicle to form simulation test data;
[0007] A data encapsulation module encapsulates the simulation test data according to the data message format;
[0008] The communication connection module configures the network transmission protocol and sends the packaged simulation test data to the vehicle network cloud platform through the network transmission protocol.
[0009] Furthermore, the virtual sensor includes a virtual basic sensor, and the virtual basic sensor simulates at least one of the following sensor functions:
[0010] Environmental sensors, used to detect the surrounding environment data of the virtual vehicle;
[0011] A motion sensor, used to detect motion data of a virtual vehicle;
[0012] The positioning sensor is used to detect the geographic location data of the virtual vehicle.
[0013] Furthermore, the virtual sensor includes a virtual ECU sensor, the virtual ECU sensor includes a virtual vehicle component ECU unit, and the virtual vehicle component ECU unit is used to detect status data of each component of the virtual vehicle.
[0014] Furthermore, the virtual ECU sensor also includes a virtual diagnostic ECU unit; the virtual diagnostic ECU unit simulates monitoring of component status data collected by the vehicle component ECU unit, and simulates generating abnormal alarm data when the component status data is abnormal;
[0015] The data collection module of the virtual T-BOX device simulates the collection of abnormal alarm data, the data encapsulation module encapsulates the abnormal alarm data according to the data message format, and the communication connection module sends the encapsulated abnormal alarm data to the vehicle network cloud platform through the network transmission protocol.
[0016] Furthermore,
[0017] The virtual T-BOX device also includes:
[0018] The communication connection module is also used to receive remote control information sent by the vehicle network cloud platform;
[0019] A data analysis module, used to analyze the remote control information and send it to the corresponding virtual vehicle control ECU unit;
[0020] The virtual vehicle control ECU unit receives the remote control information and generates a control instruction, and controls the virtual vehicle to execute the control instruction.
[0021] Furthermore, the client also uses the autonomous driving simulator to create a virtual HUD display module for the virtual vehicle, and the virtual HUD display module is used to display the execution results of the control instructions.
[0022] Furthermore, the system also includes network communication middleware and a vehicle network cloud platform;
[0023] The communication connection module of the virtual T-BOX device in the client is used to send the packaged simulation test data to the network communication middleware;
[0024] The network communication middleware uses the network transmission protocol to send the packaged simulation test data to the vehicle network cloud platform;
[0025] The vehicle network cloud platform stores and analyzes simulation test data.
[0026] Furthermore, the client uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle;
[0027] The vehicle network cloud platform is also used to receive remote control information input by the user and send it to the virtual T-BOX device of the virtual vehicle in the client through the network communication middleware.
[0028] A virtual T-BOX simulation test method, using the aforementioned virtual T-BOX simulation test system, comprises:
[0029] Step A1, the client uses an autonomous driving simulator to create a driving simulation environment and several virtual vehicles, creates virtual sensors and virtual T-BOX devices for the virtual vehicles, and enables the virtual vehicles to simulate the autonomous driving process in the driving simulation environment;
[0030] Step A2, the virtual T-BOX device simulates and collects sensor data monitored by each virtual sensor on the virtual vehicle to form simulation test data;
[0031] Step A3, the virtual T-BOX device simulates encapsulating the simulation test data according to the data message format;
[0032] Step A4, the virtual T-BOX device simulates and sends the packaged simulation test data to the vehicle network cloud platform through the configured network transmission protocol.
[0033] Furthermore, in step A1, the client uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle, and the method further includes:
[0034] Step A5, the virtual T-BOX device receives the remote control information sent by the vehicle network cloud platform;
[0035] Step A6, the virtual T-BOX device parses the remote control information and sends it to the corresponding virtual vehicle control ECU unit;
[0036] Step A7: The virtual vehicle control ECU unit receives the remote control information and generates a control instruction, and controls the virtual vehicle to execute the control instruction.
[0037] The beneficial technical effect of the present invention is that by constructing a virtual T-BOX simulation module, the vehicle communication function can be realized in a simulation environment and interact with the Internet of Vehicles cloud platform, thereby providing an efficient, safe and economical solution for development and testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A functional schematic diagram of a virtual T-BOX simulation test system of the present invention;
[0039] Figure 2-3 A flow chart of the steps of a virtual T-BOX simulation test method of the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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.
[0041] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0042] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.
[0043] See also Figure 1 , the present invention provides a virtual T-BOX simulation test system, including a client for simulation, the client uses an autonomous driving simulator to create a driving simulation environment and a number of virtual vehicles, creates virtual sensors and virtual T-BOX devices for the virtual vehicles, and enables the virtual vehicles to simulate the autonomous driving process in the driving simulation environment;
[0044] The created virtual T-BOX devices include:
[0045] A data collection module is used to collect sensor data monitored by each virtual sensor on the virtual vehicle to form simulation test data;
[0046] A data encapsulation module is used to encapsulate the simulation test data according to the data message format;
[0047] The communication connection module is configured with a network transmission protocol and is used to send the packaged simulation test data to the vehicle network cloud platform through the network transmission protocol.
[0048] By constructing a virtual T-BOX simulation test system, the present invention can realize vehicle communication functions in a simulation environment and interact with the Internet of Vehicles cloud platform, thereby providing an efficient, safe and economical solution for development and testing.
[0049] Specifically, the autonomous driving simulator is a CARLA simulator, which is a vehicle autonomous driving simulation platform.
[0050] Specifically, the created driving simulation environment is like a simulated urban environment, including basic transportation facilities such as roads, traffic signals, and pedestrians.
[0051] Specifically, several virtual vehicles may be created, an appropriate vehicle model may be selected, and the initial position and attributes of the vehicle may be set, so as to generate multiple vehicle instances at different positions.
[0052] Specifically, the vehicle network cloud platform is the TSP platform.
[0053] Specifically, the network transmission protocol is MQTT or TCP protocol.
[0054] T-BOX is the vehicle-mounted network terminal device.
[0055] The data collection module executes the T-Box hardware function to receive and process the basic data generated by each sensor. The data encapsulation module simulates the encapsulation of sensor data in data message format according to the vehicle-cloud protocol, such as vehicle status data, battery data, drive motor data, vehicle warning data, etc.
[0056] The communication connection module is used to execute the configuration encapsulation connection communication protocol such as MQTT or TCP for vehicle-cloud interaction to send and receive messages.
[0057] Furthermore, the virtual sensor includes a virtual basic sensor, and the virtual basic sensor simulates at least one of the following sensor functions:
[0058] Environmental sensors, used to detect the surrounding environment data of the virtual vehicle;
[0059] A motion sensor, used to detect motion data of a virtual vehicle;
[0060] The positioning sensor is used to detect the geographic location data of the virtual vehicle.
[0061] Environmental sensors include cameras that collect image data and lidars that collect point cloud data.
[0062] Motion sensors such as inertial navigation sensors (IMU sensors) and the like.
[0063] Positioning sensors such as GPS sensors, etc. Different types of sensors can be attached to the virtual vehicle to collect more vehicle data.
[0064] Furthermore, the virtual sensor also includes a virtual ECU sensor, which includes a virtual vehicle component ECU unit, and the virtual vehicle component ECU unit simulates and detects status data of each vehicle component of the virtual vehicle.
[0065] The virtual sensors also include virtual basic sensors and virtual ECU sensors. The virtual ECU sensors include, for example, virtual vehicle component ECU units, virtual diagnostic ECU units, and the like.
[0066] Based on the dynamic vehicle condition data testing business requirements of the vehicle TSP platform, some virtual ECU sensors can be created in the CARLA simulator, such as some virtual vehicle component ECUs, such as engines, batteries, motors, air conditioners, etc. These virtual ECU sensors can simulate and generate dynamic test data based on the vehicle physical model parameters of the virtual vehicle driving process, and are used to collect the corresponding dynamic vehicle status data reported by the vehicle, such as battery power, motor speed, vehicle speed, vehicle position, etc.
[0067] ECU stands for vehicle electronic control unit.
[0068] Specifically, one of the virtual vehicle component ECU units is an ECU unit of a virtual fuel cell component, which collects fuel cell voltage, fuel cell current, fuel consumption rate, and the like.
[0069] Specifically, one of the virtual vehicle component ECU units is an ECU unit of a virtual drive motor component, which collects data such as the drive motor state, the drive motor speed, and the drive motor temperature.
[0070] Specifically, one of the virtual vehicle component ECU units is a virtual vehicle data ECU unit that collects data such as vehicle status, SOC, and location.
[0071] Furthermore, the client also uses the autonomous driving simulator to create a virtual diagnostic ECU unit for the virtual vehicle. The virtual diagnostic ECU unit simulates and monitors the status data of the vehicle components collected by the virtual vehicle component ECU unit, and is used to generate abnormal alarm data when the status data of the vehicle components is abnormal.
[0072] The data collection module of the virtual T-BOX device is also used to collect abnormal alarm data. The data encapsulation module encapsulates the abnormal alarm data according to the data message format. The communication connection module sends the encapsulated abnormal alarm data to the vehicle network cloud platform through the network transmission protocol.
[0073] A virtual diagnostic ECU unit is created in the autonomous driving simulator to monitor the real-time status data based on the virtual vehicle driving or simulate the fault conditions to generate alarm fault codes. The virtual diagnostic ECU unit monitors the abnormal data generated during the vehicle's autonomous driving process in real time, and combines the corresponding alarm algorithm to simulate and generate custom fault codes, which are reported to the vehicle service platform (TSP) for abnormal data collection and analysis, and can be used for test alarms and remote diagnostic function verification. For example, when the battery virtual diagnostic ECU unit detects that the battery SOC is lower than the threshold of 10%, a low battery alarm is issued. When the engine virtual diagnostic ECU unit detects that the engine temperature exceeds the set value, an overheating alarm is generated. When the speed virtual diagnostic ECU unit detects that the vehicle speed is greater than the specified threshold, a high speed alarm is generated.
[0074] Furthermore, the client also uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle;
[0075] The communication connection module of the virtual T-BOX device is also used to receive remote control information sent by the vehicle network cloud platform;
[0076] The virtual T-BOX device also includes a data parsing module for parsing the remote control information and sending it to the corresponding virtual vehicle control ECU unit;
[0077] The virtual vehicle control ECU unit receives the remote control information and generates a control instruction, and controls the virtual vehicle to execute the control instruction.
[0078] Based on the vehicle remote control test requirements, a corresponding virtual vehicle control ECU unit is created in the CALRA simulator to control some vehicle functions. For example, the virtual door ECU unit responds to the door opening request when receiving the remote door opening request from the TSP platform.
[0079] The remote control information can be door remote control, air conditioning remote control, light remote control, or lock remote control. Virtual vehicle control ECU units include door virtual vehicle control ECU units, air conditioning virtual vehicle control ECU units, light virtual vehicle control ECU units, lock virtual vehicle control ECU units, etc.
[0080] Furthermore, the client also uses the autonomous driving simulator to create a virtual HUD display module for the virtual vehicle, and the virtual HUD display module is used to display the execution results of the control instructions.
[0081] For example, when receiving a remote door opening request from the TSP platform, the virtual door ECU unit responds to the door opening request and displays the door opening result status through a virtual HUD built based on CARLA.
[0082] HUD is the abbreviation of "Head-Up Display", which is usually called head-up display in Chinese. In a car, HUD can project speed, navigation instructions, warning information, etc. onto the windshield in front of the driver or a transparent screen, so that the driver can read this information while observing the road conditions, improving the safety and convenience of driving. The automatic driving simulator of the present invention also creates a virtual HUD to display the corresponding remote control execution results.
[0083] Furthermore, the virtual T-BOX simulation test system of the present invention also includes network communication middleware and a vehicle network cloud platform;
[0084] The communication connection module of the virtual T-BOX device in the client simulates sending the encapsulated simulation test data to the network communication middleware;
[0085] The network communication middleware uses the network transmission protocol to send the packaged simulation test data to the vehicle network cloud platform;
[0086] The vehicle network cloud platform stores and analyzes simulation test data.
[0087] The network communication middleware uses MQTT or TCP communication protocol to realize data transmission and control between the Carla simulator and TSP, which can effectively realize the two-way transmission of vehicle data.
[0088] The vehicle network cloud platform includes a vehicle-cloud communication gateway, which is used to unify the data protocol interaction with the virtual vehicle end.
[0089] The vehicle network cloud platform is used to test alarms, remote diagnosis, dynamic vehicle condition and other functional verifications. The TSP platform receives vehicle data generated by the virtual T-BOX device in real time for data storage analysis and functional verification.
[0090] Furthermore, the client uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle;
[0091] The vehicle network cloud platform is also used to receive remote control information input by the user and send it to the virtual T-BOX device of the virtual vehicle in the client through the network communication middleware;
[0092] The virtual T-BOX device simulates receiving the remote control information sent by the vehicle network cloud platform, analyzes the remote control information and sends it to the corresponding virtual vehicle control ECU unit;
[0093] The virtual vehicle control ECU unit simulates receiving remote control information to generate control instructions and controls the virtual vehicle to execute the control instructions.
[0094] The user sends remote control information through the WEB platform or APP. First, the remote control information is transmitted to the virtual T-BOX device in the CARLA simulator through the MQTT or TCP protocol. The virtual T-BOX device parses the remote control information message and transmits it to the corresponding virtual vehicle control ECU unit. The virtual vehicle control ECU unit executes the control instruction and finally displays the execution result of the virtual vehicle control ECU unit through the virtual HUD. The virtual debugging of the entire vehicle control function is simulated.
[0095] Specifically, the tester writes a python script to set up a specific vehicle-surrounding driving simulation environment and selects to import and generate a virtual vehicle script to simulate multi-vehicle autonomous driving tasks. When the vehicle simulates the autonomous driving process in a given road environment, the virtual sensor can generate simulation test data and report it to the TSP platform through the virtual T-BOX.
[0096] See also Figure 2The present invention also provides a virtual T-BOX simulation test method, using the aforementioned virtual T-BOX simulation test system, comprising:
[0097] Step A1, the client uses an autonomous driving simulator to create a driving simulation environment and several virtual vehicles, creates virtual sensors and virtual T-BOX devices for the virtual vehicles, and enables the virtual vehicles to simulate the autonomous driving process in the driving simulation environment;
[0098] Step A2, the virtual T-BOX device collects sensor data monitored by each virtual sensor on the virtual vehicle to form simulation test data;
[0099] Step A3, the virtual T-BOX device encapsulates the simulation test data according to the data message format;
[0100] Step A4: The virtual T-BOX device sends the packaged simulation test data to the vehicle network cloud platform through the configured network transmission protocol.
[0101] See also Figure 3 Furthermore, in step A1, the client uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle, and the method further includes:
[0102] Step A5, the virtual T-BOX device receives the remote control information sent by the vehicle network cloud platform;
[0103] Step A6, the virtual T-BOX device parses the remote control information and sends it to the corresponding virtual vehicle control ECU unit;
[0104] Step A7: The virtual vehicle control ECU unit receives the remote control information and generates a control instruction, and controls the virtual vehicle to execute the control instruction.
[0105] Through the technical solution of the present invention, the simulation of T-BOX functions can be realized in the CARLA virtual autonomous driving platform environment, supporting vehicle dynamic data, abnormal alarms, remote control and communication with the cloud TSP platform.
[0106] Testing in a virtual environment avoids the risks and costs of actual road testing and creates an efficient and safe testing environment. It supports the verification of real-time dynamic vehicle conditions, fault diagnosis, remote control and other functions to achieve comprehensive functional verification. It can simulate complex and extreme conditions, greatly improving the verifiability of the system.
[0107] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.
Claims
1. A virtual T-BOX simulation test system, characterized in that: The method comprises a client for simulation, wherein the client uses an autonomous driving simulator to create a driving simulation environment and a plurality of virtual vehicles, creates virtual sensors and a virtual T-BOX device for the virtual vehicles, and enables the virtual vehicles to simulate an autonomous driving process in the driving simulation environment; The created virtual T-BOX device includes: A data collection module collects sensor data monitored by each virtual sensor on the virtual vehicle to form simulation test data; A data encapsulation module encapsulates the simulation test data according to a data message format; The communication connection module configures the network transmission protocol and sends the packaged simulation test data to the vehicle network cloud platform through the network transmission protocol.
2. A virtual T-BOX simulation test system as claimed in claim 1, characterized in that: The virtual sensor includes a virtual basic sensor, and the virtual basic sensor simulates at least one of the following sensor functions: An environmental sensor, used to detect surrounding environment data of the virtual vehicle; A motion sensor, used to detect motion data of the virtual vehicle; A positioning sensor is used to detect the geographic location data of the virtual vehicle.
3. A virtual T-BOX simulation test system as claimed in claim 1, characterized in that: The virtual sensor further includes a virtual ECU sensor, which includes a virtual vehicle component ECU unit, and the virtual vehicle component ECU unit is used to detect status data of each component of the virtual vehicle.
4. A virtual T-BOX simulation test system as claimed in claim 3, characterized in that: The virtual ECU sensor further includes a virtual diagnostic ECU unit; the virtual diagnostic ECU unit monitors the status data of the vehicle component collected by the virtual vehicle component ECU unit, and generates abnormal alarm data when the status data of the vehicle component is abnormal; The data collection module of the virtual T-BOX device is also used to collect the abnormal alarm data, the data encapsulation module encapsulates the abnormal alarm data according to the data message format, and the communication connection module sends the encapsulated abnormal alarm data to the vehicle network cloud platform through the network transmission protocol.
5. A virtual T-BOX simulation test system as claimed in claim 3, characterized in that: The client also uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle; the communication connection module in the virtual T-BOX device is also used to receive remote control information issued by the vehicle network cloud platform; The virtual T-BOX device also includes a data parsing module for parsing the remote control information and sending it to the corresponding virtual vehicle control ECU unit; The virtual vehicle control ECU unit receives the remote control information to generate a control instruction, and controls the virtual vehicle to execute the control instruction.
6. A virtual T-BOX simulation test system as claimed in claim 5, characterized in that: The client also uses an autonomous driving simulator to create a virtual HUD display module for the virtual vehicle, and the virtual HUD display module is used to display the execution result of the control instruction.
7. A virtual T-BOX simulation test system as claimed in claim 5, characterized in that: It also includes network communication middleware and vehicle network cloud platform; The communication connection module of the virtual T-BOX device in the client sends the packaged simulation test data to the network communication middleware; The network communication middleware uses the network transmission protocol to send the packaged simulation test data to the vehicle network cloud platform; The vehicle network cloud platform stores and analyzes the simulation test data.
8. A virtual T-BOX simulation test system as claimed in claim 7, characterized in that: The vehicle network cloud platform is also used to receive remote control information input by the user, and send it to the virtual T-BOX device of the virtual vehicle in the client through the network communication middleware.
9. A virtual T-BOX simulation test method, characterized in that: A virtual T-BOX simulation test system according to any one of claims 1 to 8 is used, comprising: Step A1, the client uses an autonomous driving simulator to create a driving simulation environment and several virtual vehicles, creates virtual sensors and virtual T-BOX devices for the virtual vehicles, and enables the virtual vehicles to simulate the autonomous driving process in the driving simulation environment; Step A2, the virtual T-BOX device collects sensor data monitored by each virtual sensor on the virtual vehicle to form simulation test data; Step A3, the virtual T-BOX device encapsulates the simulation test data according to a data message format; Step A4: the virtual T-BOX device sends the packaged simulation test data to the vehicle network cloud platform through the configured network transmission protocol.
10. A virtual T-BOX simulation test method as claimed in claim 9, characterized in that: In the step A1, the client uses the autonomous driving simulator to create a virtual vehicle control ECU unit for the virtual vehicle, and the method further includes: Step A5, the virtual T-BOX device receives remote control information sent by the vehicle network cloud platform; Step A6, the virtual T-BOX device parses the remote control information and sends it to the corresponding virtual vehicle control ECU unit; Step A7: the virtual vehicle control ECU unit receives the remote control information, generates a control instruction, and controls the virtual vehicle to execute the control instruction.
Citation Information
Cited By
Virtual vehicle test system, method and equipment
CN119882681A
