An automated system and method for ADAS HIL testing
By building an automated system for ADAS HIL testing, we have achieved full process automation from version release to test report generation, solving the problems of low automation and high reliance on manpower in advanced driver assistance system testing, improving test efficiency and result reliability, and enhancing system compatibility and interactive authenticity.
Patent Information
- Application Number
- CN202510913897.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-03
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-07-03
AI Technical Summary
Existing HIL testing of advanced driver assistance systems has a low level of automation and is highly dependent on manpower. Traditional real-vehicle road testing is costly, time-consuming, and difficult to ensure safety. HIL testing in the laboratory lacks vehicle-computer interaction, is inefficient, and prone to errors.
Provided is an automated system and method for ADAS HIL testing. Through a combination of a host computer, a real-time machine, a first execution unit, a second execution unit, and a switch, the system achieves full automation of the entire process from version release to test report generation. Bus testing tools and an automated database are used to simulate signal transmission scenarios in real vehicle operation. Vehicle body status signals are generated in conjunction with a vehicle dynamics model, thereby achieving a closed-loop link of signal input, control execution, and status feedback.
It improves the degree of test automation, reduces manual intervention, shortens the test cycle, improves the reliability and practicality of test results, reduces costs, enhances the compatibility and scalability of the system, and solves the problems of human dependence and lack of interaction in traditional HIL testing.
Smart Images

Figure CN120406408B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automotive development and testing, and specifically to an automated system and method for ADAS HIL testing. Background Art
[0002] With the continuous innovation of automotive electronics technology, a new generation of intelligent vehicles is leading a wave of transformation in transportation. The pace of product iteration is accelerating, and the requirements for intelligent vehicle testing are also increasing. Traditional on-road testing is costly, time-consuming, and difficult to ensure safety. HIL (Hardware in the Loop) testing is conducted in the laboratory, lacks vehicle-computer interaction, is labor-intensive, and requires a lot of repetitive work during version iterations, resulting in low efficiency and prone to errors.
[0003] Therefore, to address the current problems of low automation and high reliance on manpower in Advanced Driver Assistance System (ADAS) HIL testing, it is necessary to provide an automated system and method for ADAS HIL testing. Summary of the Invention
[0004] The technical purpose of this application is to provide an automated system and method for ADAS HIL testing to address the problems of low automation and high reliance on manpower in current ADAS HIL testing.
[0005] To achieve the above technical objectives, the embodiments of the present application adopt the following technical solutions.
[0006] In a first aspect, an embodiment of the present application provides an automated system for ADAS HIL testing, comprising:
[0007] The host computer is configured to provide a bus test tool and an interface, so as to start the tool to build a test case set by calling the interface, and trigger the automatic execution of the test case set by calling the interface, and send bus signals and communication signals to the real-time machine;
[0008] a real-time machine configured to receive the bus signal and the communication signal, forward the bus signal to the first execution unit, and forward the communication signal to the second execution unit via a switch;
[0009] A first execution unit is configured to receive the bus signal forwarded by the real-time machine, start a service forwarding service according to the bus signal and a local current service forwarding service version package, and forward the service forwarding signal to a second execution unit through a switch;
[0010] A second execution unit is configured to execute ADAS control logic based on the communication signal and the service forwarding signal received through the switch, according to a local current ADAS version package, using a test scenario code compilation file, output ADAS control commands, and send them to a real-time machine through the switch;
[0011] a switch configured to implement a communication network between the real-time machine, the first execution unit, and the second execution unit;
[0012] The real-time machine is further configured to receive the ADAS control command sent by the second execution unit, generate a vehicle body state signal through a vehicle dynamics model, and upload the vehicle body state signal to the host computer so that the host computer obtains a test result.
[0013] Furthermore, the host computer is also configured to receive the business forwarding service version package and the ADAS version package through the interface, and update the business forwarding service version package and the ADAS version package to the first execution unit and the second execution unit respectively through the real-time machine.
[0014] Furthermore, the bus testing tool is further configured to automatically update the automation database of the automation test case set if the version of the automation database related source file in the business forwarding service version package and / or the ADAS version package is changed.
[0015] Furthermore, the automation system also includes a server, which is configured to call the interface, generate a business forwarding service version package and an ADAS version package using the version release pipeline, and automatically trigger the version package update pipeline to upload the business forwarding service version package and the ADAS version package to the host computer, so as to update them to the first execution unit and the second execution unit respectively; utilize the automatic triggering of the test code pipeline to realize the test scenario code compilation, and transfer the test scenario code compilation file to the second execution unit; utilize the automatic triggering of the test execution pipeline to realize the automated execution of the test case set.
[0016] Furthermore, the system also includes a vehicle central control hardware, which is configured to receive and parse the ADAS control command through the switch, and display the simulation test scene on the central control display screen according to the parsing result.
[0017] Furthermore, the system also includes a test platform configured to deploy a test platform backend service, a test platform framework frontend service, a test result database, and a file access system;
[0018] The host computer is further configured to generate a test report according to the test results, and transmit the test report to the test platform through the test platform backend service;
[0019] The test platform is configured to store the test report in the test result database and the file access system, and to display relevant information of the test report using the test platform framework front-end service.
[0020] Furthermore, the bus testing tool is configured to export the test report and upload it to the testing platform.
[0021] Furthermore, the bus testing tool is also configured to, when a new ADAS function appears in the ADAS version package, write an automated test file and a configuration file through the interface to generate a corresponding automated database, and add the automated test case file of the new ADAS function to the automated test case set.
[0022] Furthermore, the first execution unit is MCU hardware, and the second execution unit is MPU hardware.
[0023] In a second aspect, an embodiment of the present application provides an automated method for ADAS HIL testing, including:
[0024] Call the interface of the bus test tool of the host computer and start the bus test tool to build a test case set;
[0025] Calling the interface to trigger the automatic execution of the test case set, and sending bus signals and communication signals to the real-time machine;
[0026] Utilizing a real-time machine to receive the bus signal and the communication signal, forwarding the bus signal to a first execution unit, and forwarding the communication signal to a second execution unit via a switch;
[0027] The first execution unit receives the bus signal forwarded by the real-time machine, starts the service forwarding service according to the bus signal and the local current service forwarding service version package, and forwards the service forwarding signal to the second execution unit through the switch;
[0028] The second execution unit receives the communication signal and the service forwarding signal through the switch, executes the ADAS control logic using the test scenario code compilation file according to the local current ADAS version package, outputs the ADAS control command, and sends it to the real-time machine through the switch;
[0029] The switch implements a communication network between the real-time machine, the first execution unit and the second execution unit;
[0030] The real-time machine receives the ADAS control command sent by the second execution unit, generates a vehicle body state signal through a vehicle dynamics model, and uploads the vehicle body state signal to the host computer so that the host computer obtains a test result.
[0031] Compared to existing technologies, the automated ADAS HIL testing system and method provided in the embodiments of this application achieve the following beneficial technical effects: By invoking the bus test tool interface, the host computer can automatically initiate the execution of a set of test cases, avoiding the delays and operational errors associated with manually triggering the cases and ensuring the continuity and efficiency of the testing process. The real-time machine synchronously receives bus signals (such as CAN signals) and communication signals from the host computer and forwards them to the first execution unit (such as MCU hardware) and the second execution unit (such as MPU hardware), respectively, ensuring the real-time and integrity of multimodal data exchange and simulating the signal transmission scenarios of real vehicle operation.
[0032] The first execution unit starts the business forwarding service based on the bus signal and the local service version package, and passes the signal to the second execution unit to achieve efficient processing of the underlying business logic.
[0033] The second execution unit combines the ADAS version package and the test scenario code compilation file to execute the ADAS control logic and output control commands, simulating the vehicle control process of the ADAS system in a real car.
[0034] After receiving ADAS control commands from the MPU hardware, the real-time machine generates vehicle state signals (such as speed and steering angle) using the vehicle dynamics model and transmits them back to the host computer. This process establishes a closed-loop "signal input - control execution - state feedback" link, making test results more closely aligned with actual vehicle operation and addressing the lack of real-world interaction in traditional HIL testing.
[0035] The host computer obtains the vehicle body status signal as the test result through the real-time machine, forming a complete verification chain from "test case triggering - control logic execution - status feedback". This avoids the problems of reporting data errors or missing use cases in traditional manual testing, and improves the reliability of test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are for illustrative purposes only and are not intended to limit the scope of the present application in any way. In addition, the shapes and proportional dimensions of the components in the drawings are only schematic and are used to help understand the present application. They do not specifically limit the shapes and proportional dimensions of the components of the present application. Those skilled in the art can select various possible shapes and proportional dimensions to implement the present application according to the specific circumstances under the guidance of the present application. In the drawings:
[0037] Figure 1 A schematic diagram of the automated system structure for ADAS HIL testing provided in an embodiment;
[0038] Figure 2 A flowchart of an automated method for ADAS HIL testing is provided in an embodiment. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0040] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Therefore, features specified as "first" or "second" may explicitly or implicitly include one or more features.
[0041] The automated system and method for ADAS HIL testing provided in the embodiments of the present application can address the current problems of low automation and high reliance on manpower in Advanced Driver Assistance System (ADAS) HIL testing, and provide an automated system and method for ADAS HIL testing to automate the entire process from version release, hardware development board burning, automated test case execution to test report generation.
[0042] See Figure 1 As shown, the embodiment provides an automated system for ADAS HIL testing, including: a host computer, a real-time machine, a first execution unit, a second execution unit and a switch.
[0043] The host computer is configured to provide bus test tools and interfaces to start building a test case set by calling the interface startup tool, and to trigger the automatic execution of the test case set by calling the interface, and to send bus signals and communication signals to the real-time machine.
[0044] The real-time machine is configured to receive a bus signal and a communication signal, forward the bus signal to the first execution unit, and forward the communication signal to the second execution unit through the switch.
[0045] The first execution unit is configured to receive a bus signal forwarded by the real-time machine, start a service forwarding service according to the bus signal and a local current service forwarding service version package, and forward the service forwarding signal to the second execution unit through the switch.
[0046] The second execution unit is configured to receive communication signals and service forwarding signals through the switch, execute ADAS control logic using the test scenario code compilation file based on the local current ADAS version package, output ADAS control commands and send them to the real-time machine through the switch.
[0047] The switch is configured to implement a communication network between the real-time machine, the primary execution unit (MCU hardware), and the secondary execution unit (MPU hardware). Serving as a communication hub, the switch facilitates network communication between the real-time machine, MCU hardware, and MPU hardware. Each module exchanges data via standardized interfaces, reducing inter-module coupling. When upgrading the system or adding new features, individual units can be independently replaced or expanded (for example, updating the ADAS version package for the MPU hardware) without affecting the overall architecture, improving system compatibility.
[0048] The real-time machine is further configured to receive the ADAS control command sent by the second execution unit, generate a vehicle body state signal through a vehicle dynamics model, and upload the vehicle body state signal to the host computer so that the host computer obtains the test result.
[0049] By calling the tool's interface on the host computer, a test case set can be built that includes an automation database, a simulation scenario set, and automated test case files.
[0050] In ADAS HIL testing scenarios, bus test tools can be professional testing tools that support vehicle bus protocols (such as CAN, LIN, FlexRay, etc.), which can simulate bus signals, monitor communication status, and execute automated test processes.
[0051] In an embodiment, the host computer can be used to install simulation tools to build ADAS simulation test scenarios, and compile, export, and generate simulation scenario sets in sequence; it can be used to install bus test tools to build automation databases and automation test case files, and realize automatic triggering of automation test execution, as well as generate test report files.
[0052] In some embodiments, the script calls the bus test tool to build a simulation environment to simulate the bus signals (such as CAN signals or LIN signals) or other communication signals of vehicle-mounted sensors (such as radars and cameras). The host computer calls the bus test tool interface through the script to realize the automatic update and management of the test case set, or trigger the execution of the automated test case set.
[0053] In one embodiment, the automated test case set may include an automation database, a simulation scenario set (simulation scenario files), and automated test case files. The automation database may store test input data, expected result data, and configuration parameter information required for testing; for example, in automotive bus testing, it may simulate the CAN signal parameters sent by sensors.
[0054] Configuration parameter information may include, for example, the communication protocol version.
[0055] A simulation scenario set defines the various scenarios to be simulated during testing. In ADAS testing, a simulation scenario set can simulate a variety of different scenarios, allowing the automated system to execute and verify each scenario sequentially. Automated test case files can include specific test steps, judgment conditions, and execution logic.
[0056] In this embodiment, the first execution unit can be an MCU (microcontroller unit) hardware, and the second execution unit can be an MPU (microprocessor unit) hardware. The host computer and MCU hardware communicate via the CAN bus; the host computer and MPU hardware transmit communication signals, offering flexible protocol options such as USB, serial port, and Ethernet, making them suitable for scenarios with large data volumes (such as code transfer and file exchange).
[0057] In some embodiments, the host computer is also configured to receive the business forwarding service version package (MCU hardware version package) and the ADAS version package (MPU hardware version package) through an interface, and update the business forwarding service version package and the ADAS version package to the first execution unit and the second execution unit respectively through the real-time machine.
[0058] In some embodiments, the bus test tool is further configured to automatically update the automation database of the automated test case set before executing the automated test case if the version of the automation database-related source files in the business forwarding service version package and / or ADAS version package changes. The first execution unit and the second execution unit execute logic based on the current local business forwarding service version package and ADAS version package, respectively. If the version is updated, the system automatically updates the version package through the host computer and triggers the test, ensuring that the test environment is synchronized with the actual development version and avoiding testing errors caused by version confusion.
[0059] In some embodiments, if a new ADAS function appears in the ADAS version package, the tester will need to manually compile an automated test file, generate a corresponding automated database from the configuration file, and add the automated test case file for the newly added ADAS function to the automated test case set. Simultaneously, a simulation test scenario for the automated test case is created in the simulation software, compiled and exported as a simulation scenario file, and added to the simulation scenario set.
[0060] In some embodiments, such as Figure 1 As shown, the automation system also includes a server, which is configured to call an interface, use the version release pipeline to generate a business forwarding service version package and an ADAS version package, and automatically trigger the version package update pipeline to upload the business forwarding service version package and the ADAS version package to the host computer for updating to the first execution unit and the second execution unit respectively; automatically trigger the test code pipeline to compile the test scenario code and transfer the test scenario code compilation file to the second execution unit. The test code pipeline obtains the version package from the upstream pipeline, remotely uploads the ADAS version package to the MPU hardware end through a script and decompresses it, and remotely uploads the business forwarding service version package to the MCU hardware through a script and decompresses it. The test execution pipeline is automatically triggered to achieve automated execution of the test case set.
[0061] In one embodiment, the server may be a GitLab server. The GitLab server generates the service forwarding service and ADAS packages based on the continuous integration release pipeline. A script automatically cross-compiles the test scenario code in the GitLab server's test code repository, obtains the compiled test scenario code file, transfers it to the MPU hardware, and updates the package in the MPU hardware. The test scenario code can be updated simultaneously with the service forwarding service and ADAS packages.
[0062] In some embodiments, the automation system further includes vehicle-mounted central control hardware, which is configured to receive and parse ADAS control commands through a switch, and display the simulation test scenario on a central control display screen based on the parsing results.
[0063] Traditional HIL testing is conducted in a laboratory environment and often lacks real vehicle-machine interaction. However, the vehicle-machine central control hardware in the automated system provided by some embodiments can receive and process ADAS control commands sent by the MPU hardware, and display the simulated test scene on the central control display screen. This makes the testing process no longer a simple background data processing, but can simulate an interactive effect close to that of a real car, allowing testers to intuitively observe the performance of ADAS functions on the vehicle-machine interface. By dynamically displaying simulation scenes and behaviors triggered by ADAS control commands, the vehicle-machine central control hardware creates an environment for ADASHIL testing that is closer to actual vehicle operation. This realistic interaction and display effect helps testers more accurately evaluate the performance and reliability of the ADAS system in actual driving scenarios, thereby improving the effectiveness and practicality of the test results.
[0064] In an embodiment, the switch can also be used to implement network communication between MCU hardware, MPU hardware, and vehicle central control hardware.
[0065] like Figure 1 As shown, in some embodiments, the automation system also includes a test platform, which is configured to deploy a test platform back-end service, a test platform framework front-end service, a test result database, and a file access system; the host computer is also configured to generate a test report based on the test results, and transmit the test report to the test platform through the test platform back-end service; the test platform is configured to store the test report in the test result database and the file access system, and use the test platform framework front-end service to display relevant information of the test report.
[0066] The bus test tool can also be configured to export test reports and upload them to the test platform. This platform enables test data persistence, supports historical result comparisons, and problem tracing, making it easier for testers to identify potential issues with ADAS functions.
[0067] Based on the same inventive concept as the automated system for ADAS HIL testing provided in the above embodiment, the embodiment of the present application also provides an automated method for ADAS HIL testing, such as Figure 2 As shown, it includes: calling the interface of the bus test tool of the host computer, starting the bus test tool to build a test case set;
[0068] Calling the interface triggers the automated execution of the test case set, sending bus signals and communication signals to the real-time machine;
[0069] Using the real-time machine to receive the bus signal and the communication signal, and forwarding the bus signal to the first execution unit, and forwarding the communication signal to the second execution unit through the switch;
[0070] The first execution unit receives the bus signal forwarded by the real-time machine, starts the service forwarding service according to the bus signal and the local current service forwarding service version package, and forwards the service forwarding signal to the second execution unit through the switch;
[0071] The second execution unit receives communication signals and service forwarding signals through the switch, executes the ADAS control logic based on the local current ADAS version package using the test scenario code compilation file, outputs ADAS control commands, and sends them to the real-time machine through the switch;
[0072] The switch implements a communication network between the real-time machine, the first execution unit, and the second execution unit;
[0073] The real-time machine receives the ADAS control command sent by the second execution unit, generates a vehicle body status signal through the vehicle dynamics model, and uploads the vehicle body status signal to the host computer so that the host computer can obtain the test results.
[0074] In some embodiments, the host computer updates the version package to the first execution unit (MCU hardware) and the second execution unit (MPU hardware) respectively by executing the script.
[0075] Use simulation tools to build ADAS simulation test scenarios, compile, export, and generate simulation scenario sets in sequence; use bus test tools to build automation databases and automation test case files; call the bus test tool interface through scripts to automatically trigger automation test execution and generate test report files; call the automation test platform back-end interface through scripts to upload test report files to the test platform.
[0076] In some embodiments, the real-time machine receives CAN signals from the host computer's automated test cases via Ethernet and forwards the CAN signals to the MCU hardware. It also receives communication signals from the host computer's automated test cases via Ethernet and forwards the communication signals to the MPU hardware. ADAS control commands from the MPU hardware are received via a switch and sent to the vehicle dynamics model deployed in the real-time machine to generate vehicle body status signals, which are then transmitted back to the automated test cases executed in the host computer.
[0077] In one embodiment, a switch is used to forward the communication signal sent by the real-time machine and the business forwarding signal forwarded by the MCU hardware. The version package in the MPU hardware supports the ADAS function, executes the ADAS control logic according to the input business forwarding signal and the communication signal, outputs the ADAS control command and sends it to the real-time machine through the switch.
[0078] In the embodiment, the switch is set up through the network to transparently transmit the interactive data between the MPU hardware, the MCU hardware and the vehicle computer central control hardware.
[0079] The automated system and method for ADAS HIL testing provided in the embodiments of the present application have achieved a leap from "manual" to "fully automated" ADAS HIL testing, achieved breakthrough progress in efficiency, cost, interactive authenticity, and scalability, and provided an efficient and reliable solution for the rapid verification of intelligent driving systems.
[0080] The implementation example reduces manual intervention in traditional HIL testing (such as manual burning, use case triggering, and report compilation) by automating the entire process of integrated version release, hardware version update, test execution, and report generation, shortening the test cycle by over 70%. Based on the automated triggering mechanism of the continuous integration pipeline, a seamless connection between version updates and test execution is achieved, avoiding manual operation delays. This is particularly suitable for high-frequency ADAS development scenarios. By calling the bus test tool interface through a script, test cases are automatically executed and reported, avoiding version confusion, use case omissions, or report data errors caused by manual operation, and improving the reliability of test results by 90%.
[0081] In the embodiment, the version package changes can be dynamically detected, and the test database can be automatically updated through the bus test tool interface, which has stronger compatibility.
[0082] In the embodiment, when adding ADAS functions, it is only necessary to expand the test case files and simulation scenario library without reconstructing the system architecture, and the expansion efficiency is improved by 60%.
[0083] In the embodiment, through the collaboration of the real-time machine module and the vehicle dynamics model, the ADAS control commands are fed back to the vehicle central control hardware in real time, and the simulation scene is dynamically displayed on the display screen, which solves the problem of lack of real vehicle-computer interaction in traditional HIL testing and is closer to the actual vehicle environment.
[0084] This application supports the synchronous processing of communication signals and CAN signals to ensure the integrity and timeliness of multimodal data interaction.
[0085] In the embodiment, the test report is automatically uploaded to the test platform through the back-end, and the test result database and file server (or file access system) are combined to achieve long-term storage and multi-dimensional analysis of test data, supporting historical result comparison and problem tracing; through modular design (such as separating the host computer, real-time machine, MCU hardware, etc.), each component can be independently upgraded or reused, reducing hardware dependency costs.
[0086] The above is a detailed introduction to the automated system and method for ADAS HIL testing provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the concept of the present application and should not be construed as limiting the scope of protection of the present application.
Claims
1. An automated system for ADAS HIL testing, characterized in that: include: The host computer is configured to provide a bus test tool and interface, build a test case set by calling the interface, and dynamically associate the test case set with the business forwarding service version package and the ADAS version package; trigger the automatic execution of the test case set by calling the interface, and send bus signals and communication signals to the real-time machine; a real-time machine configured to receive the bus signal and the communication signal, forward the bus signal to the first execution unit, and forward the communication signal to the second execution unit via the switch; a first execution unit configured to receive the bus signal, start a service forwarding service according to the bus signal and a local current service forwarding service version package, and forward the service forwarding signal to the second execution unit through the switch, wherein the first execution unit is MCU hardware; A second execution unit is configured to execute ADAS control logic based on the communication signal and the service forwarding signal received through the switch, according to the local current ADAS version package, using the test scenario code compilation file, output ADAS control commands, and send them to the real-time machine through the switch. The second execution unit is MPU hardware; a switch configured to implement a heterogeneous communication network between the real-time machine, the first execution unit, and the second execution unit; The real-time machine is further configured to receive the ADAS control command, generate a vehicle body status signal using a vehicle dynamics model, and upload the vehicle body status signal to the host computer, so that the host computer automatically generates a test report based on the vehicle body status signal and the expected results of the test case set, forming a full closed-loop test of "signal input - control execution - result feedback"; The host computer is further configured to receive a business forwarding service version package and an ADAS version package through the interface, and update the business forwarding service version package and the ADAS version package to the first execution unit and the second execution unit respectively through the real-time machine.
2. The automated system for ADAS HIL testing according to claim 1, characterized in that: The bus testing tool is further configured to automatically update the automation database of the automation test case set if the version of the automation database-related source files in the business forwarding service version package and / or the ADAS version package is changed.
3. The automated system for ADAS HIL testing according to claim 1, characterized in that: The automation system also includes a server, which is configured to call the interface, generate a business forwarding service version package and an ADAS version package using a version release pipeline, and automatically trigger the version package update pipeline to upload the business forwarding service version package and the ADAS version package to the host computer, so as to update them to the first execution unit and the second execution unit respectively; utilize the automatically triggered test code pipeline to implement test scenario code compilation, and transfer the test scenario code compilation file to the second execution unit; utilize the automatically triggered test execution pipeline to implement the automated execution of the test case set.
4. The automated system for ADAS HIL testing according to claim 1, characterized in that: The system also includes a vehicle central control hardware, which is configured to receive and parse the ADAS control command through the switch, and display the simulation test scene on the central control display screen according to the parsing result.
5. The automated system for ADAS HIL testing according to claim 1, characterized in that: The system also includes a test platform configured to deploy a test platform backend service, a test platform framework frontend service, a test result database, and a file access system; The host computer is further configured to generate a test report according to the test results, and transmit the test report to the test platform through the test platform backend service; The test platform is configured to store the test report in the test result database and the file access system, and to display relevant information of the test report using the test platform framework front-end service.
6. The automated system for ADAS HIL testing according to claim 5, characterized in that: The bus testing tool is configured to export the test report and upload it to the testing platform.
7. The automated system for ADAS HIL testing according to claim 1, characterized in that: The bus testing tool is also configured to, when a new ADAS function appears in the ADAS version package, write an automated test file and a configuration file through the interface to generate a corresponding automated database, and add the automated test case file of the new ADAS function to the automated test case set.
8. An automated method for ADAS HIL testing, characterized in that: include: Call the interface of the bus test tool of the host computer, start the bus test tool to build a test case set, and dynamically associate the test case set with the business forwarding service version package and the ADAS version package; Calling the interface to trigger the automatic execution of the test case set, and sending bus signals and communication signals to the real-time machine; Utilize a real-time machine to receive the bus signal and the communication signal, forward the bus signal to a first execution unit, and forward the communication signal to a second execution unit through a switch, where the first execution unit is MCU hardware and the second execution unit is MPU hardware; The first execution unit receives the bus signal forwarded by the real-time machine, starts the service forwarding service according to the bus signal and the local current service forwarding service version package, and forwards the service forwarding signal to the second execution unit through the switch; The second execution unit executes the ADAS control logic based on the communication signal and the service forwarding signal received through the switch and the local current ADAS version package using the test scenario code compilation file, outputs the ADAS control command and sends it to the real-time machine through the switch; The switch implements a heterogeneous communication network between the real-time machine, the first execution unit and the second execution unit; The real-time machine receives the ADAS control command sent by the second execution unit, generates a vehicle body status signal through a vehicle dynamics model, and uploads the vehicle body status signal to the host computer, so that the host computer automatically generates a test report based on the vehicle body status signal and the expected results of the test case set, forming a full closed-loop test of "signal input - control execution - result feedback"; The host computer receives the business forwarding service version package and the ADAS version package through the interface, and updates the business forwarding service version package and the ADAS version package to the first execution unit and the second execution unit respectively through the real-time machine.
Citation Information
Patent Citations
ADAS controller hardware-in-loop simulation system
CN113009900A
Service-oriented automobile domain controller data forwarding system and method
CN115412478A
Automatic test system and method based on vehicle-mounted Ethernet, vehicle and storage medium
CN118869529A
Simulation test method and device, electronic equipment, storage medium and product
CN119536013A
Automation method and system for ADAS simulation test
CN119576798A