HIL-level simulation test method for V2X application scene

By building a HIL-level simulation test system, building a V2X communication model and early warning information return model, the problem that the existing technology cannot fully meet the V2X application test of OBU equipment is solved, and comprehensive testing based on the OBU angle is realized to ensure the stability of V2X application functions. and reliability.

CN119066825APending Publication Date: 2024-12-03联友智连科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310631619.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing HIL-level simulation test system cannot fully meet the testing needs of OBU devices in V2X application scenarios, especially the test cannot be carried out based on the OBU angle, and can only receive BSM messages from the remote vehicle, which cannot meet the complete application scenarios of V2X technology. Require.

Method used

Build a HIL-level simulation test system, including upper computers, GNSS simulators, PCAN, OBUs and auxiliary testing machines, build V2X communication model and early warning information return model, transmit data through CAN signals, realize HV and RV communication, and through TCP The protocol sends roadside data, packages it into BSM, MAP, SPAT, and RSI message sets, and broadcasts to the OBU to ensure that the OBU receives the complete message set for V2X algorithm calculation.

Benefits of technology

A comprehensive V2X application simulation test based on OBU angle is realized to ensure the stability and reliability of V2X application functions, and to receive a complete set of messages from the real roadside environment of the OBU being tested, to determine whether the warning output is correct, and to meet the V2X application scenario Test requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066825A_ABST
    Figure CN119066825A_ABST
Patent Text Reader

Abstract

The invention discloses an HIL-level simulation test method for a V2X application scene, and relates to the technical field of V2X equipment simulation test. According to the invention, for a V2X application simulation test scene, a basic simulation test scene can be established for the V2X application scene based on a line standard "Intelligent Networked Vehicle V2X System Early-warning Application Function Test and Evaluation Method", and early warning is displayed according to a CAN signal output by the tested OBU, so that whether early warning output of the tested OBU is correct or meets an early-warning requirement is judged, and furthermore, the early-warning output of the tested OBU is accurate or meets the early-warning requirement. Based on the HIL-level simulation test system described in the invention, the test can be carried out from the perspective of receiving other message sets such as BSM, MAP and the like in the real roadside environment of the tested OBU, thereby ensuring that the V2X application function is more stable and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of V2X device simulation testing, and in particular relates to a HIL level simulation testing method for a V2X application scenario. Background Art

[0002] Driven by innovation and digital technology, the automotive industry continues to evolve at an unprecedented speed. V2X technology is a vehicle-to-vehicle communication technology that enables the vehicle to communicate with other remote vehicles or the surrounding environment. It is a key technical means to achieve the integration of in-vehicle network, inter-vehicle network and in-vehicle mobile Internet, intelligent management, intelligent control and the construction of an effective intelligent transportation system.

[0003] With the introduction and implementation of V2X international and domestic standards, major OEMs and parts suppliers have joined the V2X application scenario function development array, and the demand for related V2X testing has increased. HIL-level simulation testing plays a very important role in V-Shape function development. Compared with SIL, it can verify the reliability of function development in real time based on hardware. Compared with real vehicle testing, it can simulate real road conditions and test function development with automated reusability, which can save unnecessary manpower costs. Therefore, the importance of HIL-level simulation test systems in V2X application scenario development is also increasing day by day.

[0004] For example, Chinese patent CN108769949A provides a road test method for a V2X device, the method comprising: setting test conditions, a test system and test rules; the test system comprising: a main vehicle, a remote vehicle, a first V2X device and a second V2X device, the first V2X device being installed on the main vehicle and the second V2X device being installed on the remote vehicle; detecting whether the test conditions are met; if so, starting the test system so that the first V2X device, the second V2X device, the main vehicle and the remote vehicle operate according to the test rules and record first test data; detecting whether the communication between the first V2X device and the second V2X device is reliable according to the first test data. Through the present invention, a reliable evaluation of the V2X device is achieved. For example, Chinese patent CN114397874A discloses a HIL-level simulation test system for the application function and communication performance of a V2X device, which includes a HIL cabinet, a GNSS simulator, a wireless communication integrated tester, a channel simulator, a high-performance workstation, and a device under test. The system provides a reliable simulation test environment for the device under test, has rich and repeatable simulation test scenarios, meets application function testing and communication performance testing, and performs multi-angle automated test analysis, which allows for more comprehensive testing of the system under test and helps promote mass production of V2X products.

[0005] As mentioned above, most of the existing HIL-level simulation test systems directly transmit the latitude, longitude, heading angle and other data output by the simulation software to HV or RV through Ethernet or WiFi. Although this can normally test the V2X application of OBU, this is not a test based on the perspective of OBU. The data source received by the OBU of this vehicle mainly comes from the body data received from the CAN signal of this vehicle, the GNSS data of this vehicle received through the GPS device, and the remote vehicle data or the data of the road test unit RSU received through the V2X antenna communication protocol. This HIL-level simulation test system cannot fully meet the V2X application test of OBU equipment. Furthermore, some existing HIL-level simulation test systems can send body data to the vehicle through CANOE, and at the same time, the OBU of this vehicle can also receive the simulated GNSS simulator through the GPS device and receive the remote vehicle data through the air interface, but for V2X technology, just receiving the remote vehicle BSM cannot fully meet the requirements of V2X application scenarios.

[0006] In view of the defects of the prior art, the present invention proposes a research method for HIL-level simulation test system in V2X application, which can more comprehensively meet the simulation test requirements of V2X application scenarios, thereby ensuring that the V2X application functions are more stable and reliable. Summary of the invention

[0007] The purpose of the present invention is to provide a HIL-level simulation test method for a V2X application scenario, which solves the existing problems by building a basic link of a HIL-level simulation test system and a V2X communication model, a warning information feedback model and its GUI display.

[0008] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0009] The present invention provides a HIL level simulation test method for a V2X application scenario, comprising the following steps:

[0010] Step 1: Build a HIL-level simulation test system: The simulation test system includes a host computer, a GNSS simulator, a PCAN, an OBU and an auxiliary test machine;

[0011] Step 2: Build a V2X application simulation test scenario;

[0012] Step 3: Building a V2X communication model: The V2X communication model includes a communication model of the HV and a communication model of the auxiliary test machine integrating the RV and RSU functions;

[0013] Step 4: Construct a warning information feedback model: Through the warning information feedback model, it is possible to timely check whether the OBU warning information has been sent out and displayed in the simulation software. The warning information feedback model uses CAN signals to transmit data.

[0014] Furthermore, in the simulation test system, the communication link composed of the host computer, GNSS simulator, PCAN, OBU and auxiliary tester is:

[0015] The host computer is used to build and run a V2X application simulation test scenario model in the simulation software, and the host computer sends the GNSS data of the HV in the V2X application simulation test scenario model to the GNSS simulator in real time;

[0016] The GNSS simulator converts the received data transmitted by the host computer into RF radio frequency signals and sends them to the OBU, and the body data of the HV is sent to the OBU via the PCAN;

[0017] The host computer is also used to send the RV vehicle data and roadside data in the V2X application simulation test scenario model to the auxiliary test machine via TCP;

[0018] The auxiliary measuring machine packages the received RV vehicle data and roadside data respectively based on the V2X communication protocol and broadcasts them in real time; the roadside data includes map data, traffic light data, vulnerable participant data, and roadside messages, among which the RV vehicle data, map data, traffic light data, vulnerable participant data, and roadside messages are packaged into BSM, MAP, SPAT, RSM, and RSI respectively.

[0019] Furthermore, the method for constructing the V2X application simulation test scenario is as follows:

[0020] Step 1: Open the simulation software;

[0021] Step 2: Build a map scene according to the ICW part of the "Test and Evaluation Method for Warning Application Function of Intelligent Connected Vehicle V2X System". The map scene construction includes: establishing intersections, such as crossroads, T-junctions, etc.;

[0022] Step 3: Set the motion trajectories of HV and RV respectively, and set the operating parameters (speed, acceleration, etc.) respectively to meet the conditions of cross collision.

[0023] Furthermore, the communication model of HV is:

[0024] The simulation software is connected to the GNSS simulator via WIFI or Ethernet. The HV vehicle status data output by the simulation software is sent to the GNSS simulator in TCP communication mode (longitude and latitude, altitude, heading angle and other data). The GNSS simulator converts the received HV vehicle status data (longitude and latitude, altitude, heading angle and other data) into RF radio frequency signals and sends them to the OBU. The OBU parses the data received from the GNSS simulator to obtain the HV vehicle status data (longitude and latitude, altitude, heading angle and other data).

[0025] Furthermore, in the V2X application scenario, the simulation software sends the vehicle speed required by the HV to the HV via the CAN signal: configure the dbc file in the simulation software, convert the vehicle speed into a CAN signal, and the CAN signal is sent to the HV via the PCAN connection. The vehicle speed is converted into a CAN signal here mainly through the CAN PACK module in the simulation software, which can be obtained by importing the official dbc file.

[0026] Furthermore, the communication model of the auxiliary test machine is:

[0027] The auxiliary test machine mainly plays the role of combining RV and RSU in the V2X application scenario. The auxiliary test machine sends a V2X message set to the outside, and the OBU receives the V2X message set sent by the auxiliary test machine, and performs V2X algorithm calculation according to the V2X message set to determine whether the V2X application scenario meets the warning conditions. The auxiliary test machine can send BSM, MAP, SPAT, RSM, RSI and other message sets to the outside, and the OBU receives the V2X message set sent by the auxiliary test machine, thereby performing V2X algorithm calculation to determine whether the V2X application scenario meets the warning conditions;

[0028] In the communication model of the auxiliary test machine, the simulation software needs to be connected to the auxiliary test machine through WiFi / Ethernet;

[0029] During the simulation test, the simulation software outputs the RV vehicle data and roadside data information in the simulation test scenario, and sends the RV vehicle data and roadside data information to the auxiliary test machine through the TCP communication protocol. After receiving the data sent by the simulation software, the auxiliary test machine organizes the data into BSM, MAP, SPAT, RSM, and RSI message sets according to the V2X communication protocol standard and broadcasts them externally. After receiving the BSM, MAP, SPAT, RSM, and RSI message sets broadcast by the auxiliary test machine, the HV performs V2X algorithm calculations and V2X scenario application judgments.

[0030] Furthermore, in the early warning information feedback model: the CAN signal of the V2X application scenario triggered by the OBU is sent to the simulation software through the PCAN and USB cable. After importing the DBC file, the simulation software filters the CAN ID to be processed and obtains the CAN signal output value corresponding to the CANID.

[0031] Furthermore, after receiving the CAN message, the simulation software end imports the dbc file through the CAN UPACK module in the simulation software to parse the CAN message, and writes a GUI based on the simulation software to display the content to be displayed.

[0032] The present invention has the following beneficial effects:

[0033] The present invention makes up for the deficiencies in the existing V2X application simulation test by building the basic link of the HIL-level simulation test system and the V2X communication model, the warning information feedback model and its GUI display. For the V2X application simulation test scenario, the basic simulation test scenario of the V2X application scenario can be built based on the industry standard "Test and Evaluation Method for Warning Application Function of V2X System of Intelligent Connected Vehicle", and the warning is displayed according to the CAN signal output by the OBU under test, so as to judge whether the warning output of the OBU under test is correct or meets the warning requirements. Furthermore, based on the HIL-level simulation test system described in this article, it can be tested from the perspective of receiving other message sets such as BSM and MAP in the real roadside environment of the OBU under test, so as to ensure that the V2X application function is more stable and reliable.

[0034] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0036] Figure 1 It is a link diagram of the HIL level simulation test system of the present invention;

[0037] Figure 2 It is the ICW scene model diagram of the present invention;

[0038] Figure 3 It is a diagram of the simulation software and GNSS communication module of the present invention;

[0039] Figure 4 CAN communication model diagram of HV of the present invention

[0040] Figure 5 This is a communication model diagram of the auxiliary test machine of the present invention;

[0041] Figure 6 This is a CAN data model diagram for receiving early warning feedback from the simulation software of the present invention;

[0042] Figure 7 This is the intersection collision warning map of the present invention. DETAILED DESCRIPTION

[0043] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0044] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0045] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0046] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0047] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0048] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0049] In the prior art:

[0050] The HIL-level simulation test system is as follows: the test system consists of a host computer, the vehicle OBU, and the remote vehicle OBU. The host computer is connected to the WiFi of the vehicle OBU and is connected to the Ethernet of the remote vehicle OBU with a network cable. Among them, the host computer uses simulation software to build a V2X application test scenario, simulating the real-time transmission of vehicle data to the vehicle OBU and the remote vehicle OBU via WiFi or Ethernet. The vehicle OBU and the remote vehicle OBU perform scenario algorithms through V2X communication to realize V2X application scenario testing.

[0051] This HIL-level simulation test system is not based on the OBU's test perspective. For the OBU of this vehicle, in the actual mass production project, the vehicle's own data source is divided into two parts. One part is to obtain the body data through the vehicle CAN signal, and the other part is the GNSS data received by the GPS chip at the bottom of the OBU. However, this solution does not meet such test requirements very well. In addition, from the perspective of the received message set, this technical solution can only receive the BSM message set sent by the remote vehicle RV, but in the entire V2X, the message set required is not limited to this. In summary, this HIL-level simulation test system cannot fully meet the V2X application test of OBU equipment.

[0052] The present invention is a HIL level simulation test method for a V2X application scenario, which solves the problem that the existing V2X simulation test cannot fully meet the V2X application test of the OBU device, thereby ensuring that the V2X application function is more stable and reliable. A HIL level simulation test method for a V2X application scenario includes the following steps:

[0053] Step 1: Build a HIL-level simulation test system: The simulation test system includes a host computer, a GNSS simulator, a PCAN, an OBU, and an auxiliary test machine. For the basic links of the HIL-level simulation test system, please refer to Figure 1 As shown;

[0054] Step 2: Construct a V2X application simulation test scenario. For the V2X application simulation test scenario, build a simulation test scenario for the V2X application scenario based on the industry standard "Test and Evaluation Method for Warning Application Function of V2X System of Intelligent Connected Vehicles";

[0055] Step 3: Constructing a V2X communication model: The V2X communication model is mainly divided into two parts based on the object, the first part is the HV, and the second part is the auxiliary test machine integrating the RV and RSU functions; as an embodiment provided by the present invention, preferably, the V2X communication model includes a communication model of the HV and a communication model of the auxiliary test machine integrating the RV and RSU functions;

[0056] Step 4: Construct a warning information feedback model: Through the warning information feedback model, it is possible to timely check whether the OBU warning information has been sent out and displayed in the simulation software. The warning information feedback model uses CAN signals to transmit data.

[0057] As an embodiment provided by the present invention, preferably, Figure 1 As shown, in the simulation test system, the communication link composed of the host computer, GNSS simulator, PCAN, OBU and auxiliary test machine is as follows: the main function of the host computer is to build and run the test scenario model of the V2X application scenario in the simulation software, and send the GNSS data of the HV in the V2X test scenario model to the GNSS simulator in real time. After receiving the data, the GNSS simulator converts it into RF radio frequency signal and sends it to OBU. The body data of the HV is sent to OBU through PCAN. At the same time, the host computer will also send the RV vehicle data and map data, traffic light data, vulnerable participant data, roadside messages, etc. in the V2X test scenario model to the auxiliary test machine through TCP. The auxiliary test machine will package the received RV vehicle data and map data, traffic light data, vulnerable participant data, and roadside messages into BSM, MAP, SPAT, RSM, and RSI based on the V2X communication protocol and broadcast them in real time.

[0058] As an embodiment provided by the present invention, preferably, the roadside data includes map data, traffic light data, vulnerable participant data, and roadside messages, wherein RV vehicle data, map data, traffic light data, vulnerable participant data, and roadside messages are respectively packaged into BSM, MAP, SPAT, RSM, and RSI.

[0059] As an embodiment provided by the present invention, preferably, the host computer refers to a desktop computer. The desktop computer and the GNSS simulator need to be purchased and then developed. In this way, the simulation software is installed on the desktop computer, and the data in the simulation software can be sent to the GNSS simulator. This part is transmitted via TCP for data transmission, which will not be elaborated.

[0060] As an embodiment provided by the present invention, preferably, the auxiliary test machine packages the received RV vehicle data and map data, traffic light data, vulnerable participant data, and roadside messages into BSM, MAP, SPAT, RSM, and RSI based on the V2X communication protocol and broadcasts them in real time. The data packaging of this piece is mainly that the simulation software sends the RV vehicle data and part of the map data, traffic light data, vulnerable participant data, and roadside message data, and then packages them into BSM, MAP, SPAT, RSM, and RSI on the auxiliary test machine. Specifically: Taking the BSM message as an example, the simulation software sends the RV's latitude and longitude, altitude, heading angle, speed, and yaw angular velocity to the auxiliary test machine. After receiving this data, the auxiliary test machine will package it into BSM data for broadcasting.

[0061] As an embodiment provided by the present invention, preferably, an example of building an ICW scene model is given below, such as Figure 2 As shown, the method for constructing the V2X application simulation test scenario is:

[0062] Step 1: Open the simulation software;

[0063] Step 2: Build a map scene according to the ICW part of the "Test and Evaluation Method for Warning Application Function of Intelligent Connected Vehicle V2X System". The map scene construction includes: establishing intersections, such as crossroads, T-junctions, etc.;

[0064] Step 3: Set the motion trajectories of HV and RV respectively, and set the operating parameters (speed, acceleration, etc.) respectively to meet the conditions of cross collision.

[0065] As an embodiment provided by the present invention, preferably, the communication model of HV is:

[0066] The simulation software is connected to the GNSS simulator via WIFI or Ethernet. The HV vehicle status data output by the simulation software is sent to the GNSS simulator in the form of longitude, latitude, altitude, heading angle and other data in TCP communication mode. The GNSS simulator converts the received HV vehicle status data (longitude, latitude, altitude, heading angle and other data) into RF radio frequency signals and sends them to the OBU. The OBU parses the data received from the GNSS simulator to obtain the HV vehicle status data (longitude, latitude, altitude, heading angle and other data of the HV). The simulation software and the GNSS communication module are as follows: Figure 3 shown.

[0067] As another embodiment provided by the present invention, preferably, the process of converting into RF radio frequency signal mainly involves the host computer and the GNSS simulator establishing a network connection, the host computer installing simulation software, and the latitude and longitude, altitude, heading angle, speed and yaw angular velocity of the HV on the simulation software being sent to the GNSS simulator via TCP. After the GNSS simulator receives the status data information of the HV, it will send the status data of the HV in the form of a radio frequency signal. As for analysis, this is performed by the GPS chip after receiving the GNSS data.

[0068] As an embodiment provided by the present invention, preferably, in the field of automotive electronics, the CAN bus is extremely important. In this regard, in the V2X application scenario, the simulation software sends the vehicle speed required by the HV to the HV through the CAN signal: configure the relevant dbc file in the simulation software, convert the vehicle speed into the relevant CAN signal, and the CAN signal is sent to the HV through the PCAN connection (the vehicle speed is converted into the CAN signal here, mainly through the CAN PACK module in the simulation software, and the official dbc file is imported to obtain it). The CAN communication model of the HV is as follows Figure 4 shown.

[0069] As another embodiment provided by the present invention, preferably, the communication model of the auxiliary test machine is:

[0070] The auxiliary test machine mainly plays the role of combining RV and RSU in the V2X application scenario. The auxiliary test machine sends a V2X message set to the outside, and the OBU receives the V2X message set sent by the auxiliary test machine, and performs V2X algorithm calculation according to the V2X message set (V2X algorithm calculation is a logical algorithm calculation for each scenario, and the technology used is the algorithm integrated in the OBU of the present invention) to determine whether the V2X application scenario meets the early warning conditions. The auxiliary test machine can send BSM, MAP, SPAT, RSM, RSI and other message sets to the outside, and the OBU receives the V2X message set sent by the auxiliary test machine, thereby performing V2X algorithm calculation to determine whether the V2X application scenario meets the early warning conditions;

[0071] In the communication model of the auxiliary test machine, the simulation software needs to be connected to the auxiliary test machine through WiFi / Ethernet;

[0072] During the simulation test, the simulation software outputs the RV vehicle data and roadside data information in the simulation test scenario, and sends the RV vehicle data and roadside data information to the auxiliary test machine through the TCP communication protocol. After receiving the data sent by the simulation software, the auxiliary test machine composes the data into BSM, MAP, SPAT, RSM, RSI and other message sets according to the V2X communication protocol standard and broadcasts them to the outside. After receiving the BSM, MAP, SPAT, RSM, RSI and other message sets broadcasted by the auxiliary test machine, the HV performs V2X algorithm calculation and V2X scenario application judgment. The auxiliary test machine communication model is as follows: Figure 5 shown.

[0073] As an embodiment provided by the present invention, preferably, in a HIL-level simulation test system, it is a very important part to be able to see in real time whether the OBU under test triggers the warning in time, and to judge from the side whether the warning timing or warning effect triggered by the OBU is correct. In a HIL-level simulation test system provided in the embodiment, it is possible to see in time whether the OBU warning information has been sent out and displayed in the simulation software, and in the warning information feedback model: the CAN signal of the V2X application scenario triggered by the OBU is sent to the simulation software through the PCAN and USB cable, and the simulation software imports the DBC file, screens the CAN ID that needs to be processed, and obtains the CAN signal output value corresponding to the CAN ID.

[0074] As another embodiment provided by the present invention, preferably, after importing the DBC file, you can search for the CAN ID you want to parse in the drop-down menu. After filtering out the CAN ID, the value output by the CAN signal will be output, and the value output by the CAN ID can be processed. Figure 6 After filtering CAN ID as 1, there will be AVW, RLVW, etc. You can directly process the values ​​output by AVW, etc.

[0075] As an embodiment provided by the present invention, preferably, Figure 7 As shown, after receiving the CAN message, the simulation software imports the dbc file through the CAN UPACK module in the simulation software to parse the CAN message, and writes a GUI based on the simulation software to display the content to be displayed:

[0076] As an embodiment provided by the present invention, preferably, CAN signal analysis is mainly carried out through the CAN UPACK module in the simulation software. By importing the official dbc file, the content and value of the CAN message can be obtained, and based on this, a gui can be written to display the content to be displayed.

[0077] A HIL-level simulation test method for a V2X application scenario makes up for the shortcomings of existing V2X application simulation tests. For the V2X application simulation test scenario, a basic simulation test scenario can be built for the V2X application scenario based on the industry standard "Test and Evaluation Method for Warning Application Function of V2X System of Intelligent Connected Vehicle", and the warning is displayed according to the CAN signal output by the tested OBU, so as to judge whether the warning output of the tested OBU is correct or meets the warning requirements. Furthermore, the HIL-level simulation test system described in the present invention can perform testing from the perspective of receiving other message sets such as BSM and MAP in the real roadside environment of the tested OBU, so as to ensure that the V2X application function is more stable and reliable.

[0078] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0079] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A HIL-level simulation test method for V2X application scenarios, It is characterized in that The following steps are involved: Build a HIL-level simulation test system: the simulation test system includes a host computer, a GNSS simulator, a PCAN, an OBU and an auxiliary test machine; Build V2X application simulation test scenarios; Constructing a V2X communication model: the V2X communication model includes an HV communication model and an auxiliary test machine communication model integrating RV and RSU functions; Construct an early warning information feedback model: Through the early warning information feedback model, it is possible to timely see whether the OBU early warning information has been sent out and displayed in the simulation software. The early warning information feedback model uses CAN signals to transmit data.

2. According to claim 1, a HIL level simulation test method for a V2X application scenario, It is characterized in that In the simulation test system, the communication link composed of the host computer, GNSS simulator, PCAN, OBU and auxiliary tester is: The host computer is used to build and run a V2X application simulation test scenario model in the simulation software, and the host computer sends the GNSS data of the HV in the V2X application simulation test scenario model to the GNSS simulator in real time; The GNSS simulator converts the received data transmitted by the host computer into RF radio frequency signals and sends them to the OBU, and the vehicle status data of the HV is sent to the OBU via the PCAN; The host computer is also used to send the RV vehicle data and roadside data in the V2X application simulation test scenario model to the auxiliary test machine via TCP; The auxiliary measuring machine packages the received RV vehicle data and roadside data based on the V2X communication protocol and broadcasts them in real time.

3. According to claim 2, a HIL level simulation test method for a V2X application scenario, It is characterized in that The roadside data includes map data, traffic light data, vulnerable participant data, and roadside messages, wherein the auxiliary measurement machine packages the RV vehicle data, map data, traffic light data, vulnerable participant data, and roadside messages into BSM, MAP, SPAT, RSM, and RSI, respectively.

4. According to claim 1, a HIL level simulation test method for a V2X application scenario, It is characterized in that The method for constructing the V2X application simulation test scenario includes: Step 1: Open the simulation software; Step 2: Build a map scene based on the ICW part of the "Test and Evaluation Method for Warning Application Function of Intelligent Connected Vehicle V2X System" and establish an intersection; Step 3: Set the motion trajectories of HV and RV respectively, and set the operating parameters respectively to meet the conditions of cross collision.

5. According to claim 1, a HIL level simulation test method for a V2X application scenario, It is characterized in that The HV communication model is: The simulation software is connected to the GNSS simulator via WIFI or Ethernet. The HV vehicle status data output by the simulation software is sent to the GNSS simulator in a TCP communication mode. The GNSS simulator converts the received HV vehicle status data into an RF radio frequency signal and sends it to the OBU. The OBU parses the data received from the GNSS simulator to obtain the HV vehicle status data.

6. A HIL level simulation test method for a V2X application scenario according to claim 5, It is characterized in that In the V2X application scenario, the simulation software sends the required vehicle speed of the HV to the HV via the CAN signal: Configure the dbc file in the simulation software, convert the vehicle speed into a CAN signal, and send the CAN signal to the HV through the PCAN connection.

7. The HIL level simulation test method for a V2X application scenario according to claim 1, It is characterized in that The auxiliary test machine communication model is: The auxiliary test machine sends a V2X message set to the outside, the OBU receives the V2X message set sent by the auxiliary test machine, and performs V2X algorithm calculation according to the V2X message set to determine whether the V2X application scenario meets the warning condition; In the communication model of the auxiliary test machine, the simulation software is connected to the auxiliary test machine through WiFi / Ethernet; During the simulation test, the simulation software outputs the RV vehicle data and roadside data information in the simulation test scenario, and sends the RV vehicle data and roadside data information to the auxiliary test machine through the TCP communication protocol. After receiving the data sent by the simulation software, the auxiliary test machine organizes the data into BSM, MAP, SPAT, RSM, and RSI message sets according to the V2X communication protocol standard and broadcasts them externally. After receiving the BSM, MAP, SPAT, RSM, and RSI message sets broadcast by the auxiliary test machine, the HV performs V2X algorithm calculations and V2X scenario application judgments.

8. The HIL level simulation test method for a V2X application scenario according to claim 1, It is characterized in that In the warning information feedback model: the CAN signal of the V2X application scenario triggered by the OBU is sent to the simulation software through the PCAN and USB cable. After importing the DBC file, the simulation software screens the CAN ID to be processed and obtains the CAN signal output value corresponding to the CAN ID.

9. A HIL level simulation test method for a V2X application scenario according to claim 8, It is characterized in that After receiving the CAN message, the simulation software end imports the dbc file through the CAN UPACK module in the simulation software to parse the CAN message, and writes a GUI based on the simulation software to display the content to be displayed.