Simulation test method and device, electronic equipment, storage medium and product

By configuring the CAN port of the virtual gateway and building a virtual driving environment, closed-loop interactive testing between the ADAS system and the cockpit domain control is realized, solving the problems of low testing efficiency and high cost in real-time vehicle testing, reducing development costs and improving testing efficiency.

CN119536013APending Publication Date: 2025-02-28CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411684790.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The prior art has problems of low testing efficiency and high development cost in the actual vehicle testing of ADAS systems, making it difficult to conduct large-scale automated testing.

Method used

By obtaining the test requirements of assisted driving system and cockpit domain control, configuring the CAN port of the virtual gateway, building a virtual driving environment, and testing the signal response between the assisted driving system and cockpit domain control based on the configured CAN port, realizing closed-loop interactive testing.

Benefits of technology

Reliance on real cars is reduced, the cost and time of real cars calibration, functional testing and regulatory testing is reduced, the construction and maintenance costs of the test platform are reduced, and the testing efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536013A_ABST
    Figure CN119536013A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of testing, in particular to a simulation testing method and device, electronic equipment, a storage medium and a product, and the method comprises the steps: obtaining the testing requirements of an auxiliary driving system and cabin domain control; configuring a CAN port of the virtual gateway according to a test requirement; and building a virtual driving environment on the simulation platform, and testing a signal response between the auxiliary driving system and the cabin domain control based on the configured CAN port. Therefore, the problems of low testing efficiency and high development cost in real vehicle testing in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a simulation testing method, device, electronic equipment, storage medium and product. Background Art

[0002] With the rapid development of intelligent driving technology, ADAS (Advanced Driver Assistance Systems) has become an important part of modern automobiles. The ADAS system monitors the vehicle's surroundings in real time through a variety of sensors and provides a variety of auxiliary functions, such as adaptive cruise control, lane keeping assist, automatic emergency braking, etc. In order to ensure the reliability and safety of these functions, the development and testing of ADAS systems have become particularly important. In the development process of ADAS functions, HMI (human-computer interaction) testing is an indispensable part. The purpose of HMI testing is to verify whether the interaction between the ADAS system and the cockpit domain control display system is working properly, and to ensure that the driver can obtain accurate information and perform effective control through interfaces such as the instrument panel and the central control screen.

[0003] In related technologies, testing is usually carried out in the test drive integration stage. Smart cars need to undergo real vehicle calibration, real vehicle functional testing, and regulatory testing of functions such as AEB, LDW, and ELK. This not only wastes manpower and real vehicle resources and financial resources, but also makes it difficult to conduct large-scale automated testing, resulting in low testing efficiency. Summary of the invention

[0004] The present application provides a simulation test method, device, electronic device, storage medium and product to solve the problems of low test efficiency and high development cost in real vehicle testing of related technologies.

[0005] The first aspect of the present application provides a simulation test method, comprising the following steps: obtaining the test requirements of the assisted driving system and the cockpit domain controller; configuring the CAN port of the virtual gateway according to the test requirements; building a virtual driving environment on a simulation platform, and testing the signal response between the assisted driving system and the cockpit domain controller based on the configured CAN port.

[0006] Optionally, the test requirements include interaction requirements and signal simulation requirements. The CAN port of the virtual gateway is configured according to the test requirements, including: configuring CAN1 and CAN2 as CANFD network segments to meet the signal simulation requirements; configuring CAN3 and CAN4 as CAN network segments to meet the interaction requirements.

[0007] Optionally, the baud rates of the CAN FD segment and the CAN segment are different, and the baud rates of the same segment are the same.

[0008] Optionally, the signal response between the assisted driving system and the cockpit domain control is tested based on the configured CAN port, including: receiving instrument signals and central control signals based on CAN3 and CAN4, and receiving simulation platform CAN signals based on CAN1; parsing and processing the instrument signals, central control signals and CAN signals, and forwarding the processed signal data to the assisted driving system integrated machine, wherein the assisted driving system integrated machine generates control instructions according to the received signals, and sends them to CAN3 and CAN4 to update the display content of the simulated cockpit instruments and the simulated central control screen in the cockpit domain control, thereby realizing a closed-loop interactive test between the assisted driving system and the cockpit domain.

[0009] Optionally, after configuring the CAN port of the virtual gateway according to the test requirements, the method further includes: configuring a database for different CAN ports.

[0010] The second aspect of the present application provides a simulation test device, including: an acquisition module, used to obtain the test requirements of the assisted driving system and the cockpit domain control; a first configuration module, used to configure the CAN port of the virtual gateway according to the test requirements; a test module, used to build a virtual driving environment on a simulation platform, and test the signal response between the assisted driving system and the cockpit domain control based on the configured CAN port.

[0011] Optionally, the test requirements include: interaction requirements and signal simulation requirements, and the first configuration module is further used to: configure CAN1 and CAN2 as CANFD network segments to meet the signal simulation requirements; configure CAN3 and CAN4 as CAN network segments to meet the interaction requirements.

[0012] Optionally, the baud rates of the CAN FD segment and the CAN segment are different, and the baud rates of the same segment are the same.

[0013] Optionally, the test module is further used to: receive instrument signals and central control signals based on CAN3 and CAN4, and receive simulation platform CAN signals based on CAN1; parse and process instrument signals, central control signals and CAN signals, and forward the processed signal data to the assisted driving system integrated machine, wherein the assisted driving system integrated machine generates control instructions based on the received signals, and sends them to CAN3 and CAN4 to update the display content of the simulated cockpit instruments and the simulated central control screen in the cockpit domain control, thereby realizing closed-loop interaction testing between the assisted driving system and the cockpit domain.

[0014] Optionally, the simulation test device further includes: a second configuration module, configured to perform database configuration on different CAN ports after configuring the CAN port of the virtual gateway according to the test requirements.

[0015] The third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a simulation test method as described in the above embodiment.

[0016] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed, it is used to implement the simulation test method as described in the above embodiment.

[0017] The fifth aspect of the present application provides a computer program product, including: a computer program or instructions, which, when executed, implements the simulation test method as described in the above embodiment.

[0018] Therefore, this application has at least the following beneficial effects:

[0019] The embodiment of the present application can configure the CAN port of the virtual gateway based on the test requirements of the assisted driving system and the cockpit domain controller, realize the closed-loop interaction between the assisted driving system and the cockpit domain controller, and can accurately simulate the CAN signals of different network segments to ensure that the signal transmission between the assisted driving system and the cockpit domain controller is accurate, and test the signal response between the assisted driving system and the cockpit domain controller based on the configured CAN port, thereby reducing the dependence on the actual vehicle, avoiding the high cost and time required for actual vehicle calibration, functional testing and regulatory testing, and eliminating the need to purchase additional vehicle integrated gateways or dedicated controllers, thereby reducing the construction and maintenance costs of the test platform.

[0020] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0022] Figure 1 A diagram of an intelligent driving and cockpit domain control simulation test system provided according to an embodiment of the present application;

[0023] Figure 2 A flowchart of a simulation test method provided according to an embodiment of the present application;

[0024] Figure 3 This is an example diagram of a virtual gateway signal configuration provided according to an embodiment of the present application;

[0025] Figure 4 A specific implementation flow chart of a simulation test provided according to an embodiment of the present application;

[0026] Figure 5 A block diagram of a simulation test device provided according to an embodiment of the present application;

[0027] Figure 6 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0029] The simulation test method, device, electronic device and storage medium of the embodiment of the present application are described below with reference to the accompanying drawings. In response to the problems mentioned in the above background technology, the present application provides a simulation test method, in which the CAN port of the virtual gateway is configured based on the test requirements of the assisted driving system and the cockpit domain control, and the closed-loop interaction between the assisted driving system and the cockpit domain control is realized, and the CAN signals of different network segments can be accurately simulated to ensure that the signal transmission between the assisted driving system and the cockpit domain control is accurate, and the signal response between the assisted driving system and the cockpit domain control is tested based on the configured CAN port, which reduces the dependence on the actual vehicle, avoids the high cost and time required for actual vehicle calibration, functional testing and regulatory testing, and does not require the additional purchase of vehicle integrated gateways or dedicated controllers, reducing the construction and maintenance costs of the test platform.

[0030] Before introducing this application, the intelligent driving and cockpit domain control simulation test system involved in this application is described in detail. Figure 1As shown in the figure, it mainly includes RT real-time machine, host computer, optical dark box, virtual test platform, cockpit controller, etc. Among them, RT real-time machine: contains RT processor, various communication boards (CAN / CANFD, serial port, etc.), Ethernet. The lower computer hardware (such as NIPXI) is the hardware core of the test bench. Host computer: runs the scenario model and the veristand simulation test HMI interface. The host computer software (such as VeriStand or CarMaker, ECU-Test) is a software platform for controlling and monitoring the test process. Carmaker scenario model: vehicle dynamics model building software; simulates virtual driving environment, including environmental model, sensor model and actuator model, builds different road conditions, driving scenes, virtual sensor layout, and adds various environmental factors such as different climates, weather, and light; Veristand: configures IO ports and CAN communication data connection relationships; builds virtual instruments, uses the operation interface to monitor and interact with running tasks in real time online; imports vehicle dynamics and environmental variable data; monitors all input and output states of the upper and lower computers in real time and records and analyzes data. ECU-Test integrates test-related software and hardware, generalizes and manages test cases, builds automated test scenarios, and automatically generates test reports. Optical darkroom: plays simulation test scenarios and provides video signals to the ADAS controller for the camera built into the ADAS all-in-one. In the virtual test platform, the RT real-time machine is connected to the simulation test platform through the TCP / IP protocol to configure the parameters of the simulation model. The main function of the simulation test platform is to run the vehicle dynamics model and collect output parameters in the virtual environment. The simulation test results are transmitted to the host computer (Host PC) through CAN communication. The input parameters of the virtual reality simulation software running in the Host PC are converted into the vehicle operation scene environment and displayed on the high-precision display screen. The camera collects the virtual driving scene on the display screen, and sends the control instructions to the virtual test platform after visual processing and decision-making by the all-in-one machine. 5. The cockpit controller communicates with the virtual simulation platform through BD_CAN (equipped with instrument CAN communication segment) and IF_CAN (equipped with central control screen CAN communication segment), so as to achieve the purpose of closed-loop information interaction between the cockpit and the ADAS all-in-one machine. The ADAS all-in-one machine integrated bench is the core component of the entire test system. It is a device that integrates multiple sensors and control units to simulate various vehicle working conditions and environments and provide real-time feedback data. Through the connection with the cockpit instrument, central control screen and cockpit domain controller, it can realize the test of HMI (human-machine interaction) display and cockpit control functions.

[0031] Specifically, Figure 2 A flowchart of a simulation test method provided in an embodiment of the present application.

[0032] like Figure 2As shown, the simulation test method includes the following steps:

[0033] In step S101, the test requirements of the assisted driving system and the cockpit domain control are obtained.

[0034] Among them, the testing requirements include: interaction requirements and signal simulation requirements.

[0035] In step S102, the CAN port of the virtual gateway is configured according to the test requirements.

[0036] It is understandable that the embodiments of the present application can build a virtual gateway based on the simulation test platform software and hardware introduced in the above embodiments to achieve closed-loop interactive communication with the smart cockpit. In the actual implementation process, the embodiments of the present application need to configure the virtual gateway according to the test requirements to ensure that the virtual gateway can effectively support the HIL simulation test of intelligent driving and cockpit domain control, thereby improving the development quality and efficiency of the human-computer interaction function of the ADAS system.

[0037] In one embodiment of the present application, the CAN port of the virtual gateway is configured according to the test requirements, including: configuring CAN1 and CAN2 as CANFD network segments to meet the signal simulation requirements; configuring CAN3 and CAN4 as CAN network segments to meet the interaction requirements. Among them, the baud rates of the CANFD network segment and the CAN network segment are different, and the baud rates of the same network segment are the same.

[0038] Specifically, the embodiment of the present application can utilize the CAN hardware of the host computer Veristand and NIPXI to realize the function of the virtual gateway of the integrated domain control of the whole vehicle. The multi-CAN port function of the lower computer PXI is utilized to realize the CAN hardware configuration of different baud rate segments of the vehicle network.

[0039] 1) Allocate CAN 1 and CAN2 as CANFD segments to meet the signal simulation requirements of the simulation platform ADAS controller and power chassis;

[0040] 2) Allocate CAN3 and CAN4 as CAN segments to meet the signal interaction requirements of the vehicle body and infotainment segments. Different segments are used to achieve signal interaction and switching through the virtual gateway of the host computer software.

[0041] Specifically, in order for ADAS to communicate with the cockpit domain control DMC, it is necessary to simulate the entire vehicle environment (simulation test platform simulation) and transmit relevant signals to DMC through a virtual gateway to achieve information interaction between the intelligent driving ADAS and the DMC intelligent cockpit.

[0042] As shown in Table 1, different network segments on the CAN bus in the embodiment of the present application contain different controller nodes.

[0043] Table 1

[0044] Serial number Controller network segment Network segment description CAN port Baud rate 1 FCM DA_CAN Assisted driving CAN CAN1 CANFD_2M 2 ABS / ESP,EPS CH_CAN Chassis CAN CAN1 CANFD_2M 3 EMS TCU PT_CAN Power CAN CAN1 CANFD_2M 4 FCM DA_CAN ADAS Private CAN CAN2 CANFD_2M 5 IHU IF_CAN Infotainment CAN CAN3 CAN500K 6 ICM BD_CAN Body CAN CAN4 CAN500K

[0045] The baud rates and signals of different network segments are different, and CAN signal interaction can be performed through the CGW central integrated gateway. The DBCs of different network segments are different, and the same signal has large differences in different network segments, and there is signal forwarding across network segments. In the actual implementation process, the embodiment of the present application can use the existing Veristand software to configure the PXI hardware port of the simulation platform. The existing simulation platform has CAN1 and CAN2, both of which are CANFD and baud rate 2M. Therefore, it is necessary to add two CAN channels, namely the body CAN, BD_CAN, with a baud rate of 500k, and the infotainment CAN, IF_CAN, with a baud rate of 500k.

[0046] In the embodiment of the present application, the instrument panel in the cockpit domain controller DMC belongs to BD CAN, and the central control panel belongs to IF CAN. Both CAN 500kBPS, with the same baud rate, belong to different network segments and dbc. ADAS, chassis and power system all belong to the CANFD network segment, with the same baud rate and are allocated in the same network segment. Figure 3 As shown, the virtual gateway has 4 CAN ports for interaction, and signals from different network segments are exchanged with ADAS to achieve signal mapping of different network segments.

[0047] Furthermore, after configuring the CAN port of the virtual gateway according to the test requirements, it includes: configuring a database for different CAN ports.

[0048] It can be understood that the host computer of the embodiment of the present application configures different dbcs for the CAN port and configures the in and out settings of the signal in the dbc. For the ADAS integrated machine, the virtual gateway sets the ADAS signal as input and outputs PT_CAN, CH_CAN, BD_CAN, IF_CAN and other signals to the ADAS. For the cockpit system, the virtual gateway sets the ADAS signal, PT_CAN, CH_CAN, etc. as the cockpit input, and BD_CAN, IF_CAN need to be set according to the actual signal for input and output.

[0049] In addition, in the implementation example of the present application, the main purpose of the simulation is to test the human-computer interaction related functions in ADAS, so it is necessary to sort out the interactive signals of IF_CAN, BD_CAN and DA_CAN, PT_CAN, CH_CAN, and determine the sender and receiver. The simulation platform is an all-in-one machine, and the simulation platform simulates the vehicle environment (ABS / ESP / EPS, EMS, TCU and other vehicle signals) mainly based on CAN FD baud rate, and the human-computer interaction HMI mainly receives signals. The virtual gateway mainly forwards the CAN FD 2M signal from CAN1 to IF_CAN, BD_CAN; maps and interacts the signals between CANFD and CAN 500k, thereby realizing the signal display and interaction of the ADAS all-in-one machine on the instrument and central control screen.

[0050] Furthermore, the embodiment of the present application also needs to set up sending and receiving signals. The receiving signal and sending signal of the virtual gateway are relative. It is equivalent to the transfer controller between the cockpit and the intelligent driving to realize the signal transmission between different network segments.

[0051] 1) BD_CAN is the network segment where the instrument CAN is located

[0052] The virtual gateway receives signals from the instrument, such as ICM_1, ICM_VIN and other signals. The remaining signals are set to send signals, mainly signals from the simulation platform, such as the FCM series signals sent by ADAS (text, lane lines, front vehicles, alarms and other information), and the vehicle ABS, EMS, TCU and other signals simulated by the simulation platform.

[0053] 2)IF_CAN is the central control screen CAN

[0054] It mainly forwards simulation platform signals, such as FCM series signals from ADAS, vehicle ABS, EMS, TCU and other signals simulated by the simulation platform. The most important signals are ADAS soft switch and switch status signals. It receives feedback signals from the central control and does not need to be forwarded to other modules.

[0055] In step S103, a virtual driving environment is built on the simulation platform, and the signal response between the assisted driving system and the cockpit domain control is tested based on the configured CAN port.

[0056] It can be understood that the embodiments of the present application can use simulation software (such as CarMaker, VeriStand, etc.) to build a virtual driving environment. These software can simulate the vehicle's dynamic model, sensor model and actuator model, and provide a realistic virtual driving scene. According to the CAN port parameters configured in the above embodiments, the CAN communication between the simulation platform and the ADAS all-in-one machine and the cockpit controller is ensured to be smooth.

[0057] In one embodiment of the present application, the signal response between the assisted driving system and the cockpit domain control is tested based on the configured CAN port, including: receiving instrument signals and central control signals based on CAN3 and CAN4, and receiving simulation platform CAN signals based on CAN1; parsing and processing the instrument signals, central control signals and CAN signals, and forwarding the processed signal data to the assisted driving system integrated machine, wherein the assisted driving system integrated machine generates control instructions according to the received signals, and sends them to CAN3 and CAN4 to update the display content of the simulated cockpit instruments and the simulated central control screen in the cockpit domain control, thereby realizing a closed-loop interactive test between the assisted driving system and the cockpit domain.

[0058] Specifically, if Figure 4 The specific implementation process shown includes the following steps:

[0059] 1. The CAN ports related to the ADAS integrated machine and the cockpit controller are connected to the CAN ports of the RT lower computer. CAN1 is the simulation platform CANFD_2M, CAN3 is IF_CAN, the baud rate is 500kpbs, and CAN4 is BD_CAN, the baud rate is 500kpbs.

[0060] 2. The ADAS integrated device and cockpit controller are powered on and the power supply remains stable.

[0061] 3. Start the Veristand project, the simulation platform will start, and the scene software Carmaker will be opened. Set the Veristand project to run mode.

[0062] 4. The virtual gateway receives instrument and central control signals through CAN3 and CAN4, and receives simulation platform CAN signals through CAN1.

[0063] 5. The virtual gateway analyzes and processes the received signal, confirms the sending CANID, and sets the sending signal.

[0064] 6. The virtual gateway outputs signals to CAN3, CAN4 and human-computer interaction display platform.

[0065] 7. Load the scenario and test case and run it. At this time, the ADAS integrated machine and the cockpit realize closed-loop interaction.

[0066] 8. A closed-loop interactive environment is established, and the central control screen will display relevant soft switch information.

[0067] The instrument panel displays vehicle information (vehicle speed, gear position, etc.), lane lines, function signs (ACC / AEB / LDW / LDP / SLA, etc.), warnings, and other information based on the scene operation content. This makes the output of ADAS intelligent driving more intuitive. When ADAS runs existing HMI-related test cases, the cockpit instrument panel can display the vehicle, the front vehicle, lane lines, various warnings, and alarm information, and use automated testing to implement lane lines and pop-up windows of various signboards HMI human-computer interaction test functions.

[0068] In summary, it is easier to locate cockpit and intelligent driving problems in human-computer interaction testing, and locate and solve them during the development process, which can not only save a lot of time and human resources, but also minimize the problems and challenges that may be encountered in the actual vehicle verification stage. By implementing closed-loop interaction testing, HMI display problems can be discovered and solved at an early stage, thereby improving the development efficiency and quality of the entire ADAS system.

[0069] According to the simulation test method proposed in the embodiment of the present application, the CAN port of the virtual gateway is configured based on the test requirements of the assisted driving system and the cockpit domain controller, so that the closed-loop interaction between the assisted driving system and the cockpit domain controller is realized, and the CAN signals of different network segments can be accurately simulated to ensure that the signal transmission between the assisted driving system and the cockpit domain controller is accurate, and the signal response between the assisted driving system and the cockpit domain controller is tested based on the configured CAN port, which reduces the dependence on the actual vehicle, avoids the high cost and time required for actual vehicle calibration, functional testing and regulatory testing, and does not require the additional purchase of vehicle integrated gateways or dedicated controllers, thereby reducing the construction and maintenance costs of the test platform.

[0070] Next, the simulation test device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.

[0071] Figure 5 It is a block diagram of a simulation test device according to an embodiment of the present application.

[0072] like Figure 5 As shown, the simulation test device 10 includes: an acquisition module 100 , a first configuration module 200 and a test module 300 .

[0073] Among them, the acquisition module 100 is used to obtain the test requirements of the assisted driving system and the cockpit domain control; the first configuration module 200 is used to configure the CAN port of the virtual gateway according to the test requirements; the test module 300 is used to build a virtual driving environment on the simulation platform, and test the signal response between the assisted driving system and the cockpit domain control based on the configured CAN port.

[0074] In one embodiment of the present application, the test requirements include: interaction requirements and signal simulation requirements, and the first configuration module 200 is further used to: configure CAN1 and CAN2 as CANFD network segments to meet the signal simulation requirements; configure CAN3 and CAN4 as CAN network segments to meet the interaction requirements.

[0075] In one embodiment of the present application, the baud rates of the CAN FD network segment and the CAN network segment are different, and the baud rates of the same network segment are the same.

[0076] In one embodiment of the present application, the test module 300 is further used to: receive instrument signals and central control signals based on CAN3 and CAN4, and receive simulation platform CAN signals based on CAN1; parse and process the instrument signals, central control signals and CAN signals, and forward the processed signal data to the assisted driving system integrated machine, wherein the assisted driving system integrated machine generates control instructions based on the received signals, and sends them to CAN3 and CAN4 to update the display content of the simulated cockpit instruments and the simulated central control screen in the cockpit domain control, thereby realizing a closed-loop interactive test between the assisted driving system and the cockpit domain.

[0077] In one embodiment of the present application, the simulation test device 10 further includes: a second configuration module, which is used to perform database configuration on different CAN ports after configuring the CAN port of the virtual gateway according to the test requirements.

[0078] It should be noted that the above explanation of the embodiment of the simulation test method is also applicable to the simulation test device of this embodiment, and will not be repeated here.

[0079] According to the simulation test device proposed in the embodiment of the present application, the CAN port of the virtual gateway is configured based on the test requirements of the assisted driving system and the cockpit domain controller, so as to realize the closed-loop interaction between the assisted driving system and the cockpit domain controller, and can accurately simulate the CAN signals of different network segments to ensure that the signal transmission between the assisted driving system and the cockpit domain controller is accurate, and the signal response between the assisted driving system and the cockpit domain controller is tested based on the configured CAN port, which reduces the dependence on the actual vehicle, avoids the high cost and time required for the actual vehicle calibration, functional testing and regulatory testing, and does not require the additional purchase of vehicle integrated gateways or dedicated controllers, thereby reducing the construction and maintenance costs of the test platform.

[0080] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0081] A memory 601 , a processor 602 , and a computer program stored in the memory 601 and executable on the processor 602 .

[0082] When the processor 602 executes the program, the simulation test method provided in the above embodiment is implemented.

[0083] Furthermore, the electronic device further comprises:

[0084] The communication interface 603 is used for communication between the memory 601 and the processor 602 .

[0085] The memory 601 is used to store computer programs that can be executed on the processor 602 .

[0086] The memory 601 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0087] If the memory 601, the processor 602 and the communication interface 603 are implemented independently, the communication interface 603, the memory 601 and the processor 602 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0088] Optionally, in a specific implementation, if the memory 601, the processor 602 and the communication interface 603 are integrated on a chip, the memory 601, the processor 602 and the communication interface 603 can communicate with each other through an internal interface.

[0089] The processor 602 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0090] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned simulation test method is implemented.

[0091] An embodiment of the present application also provides a computer program product, including: a computer program or instructions, which, when executed, implements the above simulation test method.

[0092] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" 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 application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0093] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0094] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0095] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.

[0096] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0097] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A simulation test method, characterized in that: The following steps are involved: Obtain the testing requirements for the assisted driving system and cockpit domain control; Configure the CAN port of the virtual gateway according to the test requirements; A virtual driving environment is built on the simulation platform, and the signal response between the assisted driving system and the cockpit domain control is tested based on the configured CAN port.

2. The simulation test method according to claim 1, characterized in that: The test requirements include: interaction requirements and signal simulation requirements, and configuring the CAN port of the virtual gateway according to the test requirements includes: Configure CAN1 and CAN2 as CANFD network segments to meet the signal simulation requirements; Configure CAN3 and CAN4 as CAN segments to meet the interaction requirements.

3. The simulation test method according to claim 2, characterized in that: The baud rates of the CANFD network segment and the CAN network segment are different, and the baud rates of the same network segment are the same.

4. The simulation test method according to claim 3, characterized in that: The testing of the signal response between the auxiliary driving system and the cockpit domain control based on the configured CAN port includes: Receive instrument signals and central control signals based on CAN3 and CAN4, and receive simulation platform CAN signals based on CAN1; The instrument signal, the central control signal and the CAN signal are parsed and processed, and the processed signal data are forwarded to the assisted driving system integrated machine, wherein the assisted driving system integrated machine generates control instructions according to the received signals, and sends them to CAN3 and CAN4 to update the display content of the simulated cockpit instrument and the simulated central control screen in the cockpit domain control, thereby realizing a closed-loop interactive test between the assisted driving system and the cockpit domain.

5. The simulation test method according to claim 1, characterized in that: After configuring the CAN port of the virtual gateway according to the test requirements, including: Database configuration for different CAN ports.

6. A simulation test device, characterized in that: include: Acquisition module, used to obtain the test requirements of the assisted driving system and cockpit domain control; A first configuration module, used to configure the CAN port of the virtual gateway according to the test requirements; The test module is used to build a virtual driving environment on the simulation platform and test the signal response between the assisted driving system and the cockpit domain control based on the configured CAN port.

7. The simulation test device according to claim 6, characterized in that: The test requirements include: interaction requirements and signal simulation requirements, and the first configuration module is further used to: Configure CAN1 and CAN2 as CANFD network segments to meet the signal simulation requirements; Configure CAN3 and CAN4 as CAN segments to meet the interaction requirements.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the simulation test method according to any one of claims 1 to 5.

9. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed, the simulation test method according to any one of claims 1 to 5 is implemented.

10. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed, it implements the simulation test method described in any one of claims 1-5.

Citation Information

Cited By

  • Automatic system and method for ADAS HIL test

    CN120406408A

  • An automated system and method for ADAS HIL testing

    CN120406408B