Automatic system and method for ADAS HIL test
By building an automated system for ADAS HIL testing, using bus testing tools and automated databases, the full process automation from version release to test report generation is achieved, solving the problem of low level of HIL testing automation, improving test efficiency and result accuracy, and enhancing system compatibility and interaction authenticity.
Patent Information
- Application Number
- CN202510913897.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-03
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-07-03
AI Technical Summary
The existing advanced driving assistance system, HIL test has low degree of automation and high manpower dependence. Traditional real-life vehicle tests are costly, long cycles and difficult to guarantee safety. HIL tests lack vehicle-machine interaction, are inefficient and prone to errors.
It provides an automated system and method for ADAS HIL testing. Through the combination of the host computer, real-time, first execution unit, second execution unit and switch, it realizes the full process automation from version release to test report generation. It uses bus testing tools and automated databases to simulate real vehicle operation scenarios, and supports multimodal data interaction and real-time signal processing.
The full process automation of ADAS HIL test is realized, which improves testing efficiency and reliability, shortens the test cycle by 70%, improves the accuracy and practicality of test results, reduces manual intervention and operation delays, and enhances system compatibility and interaction authenticity.
Smart Images

Figure CN120406408A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of automotive development testing, and particularly relates to an automated system and method for ADAS HIL testing. Background Art
[0002] With the continuous innovation of automotive electronics technology, the new generation of intelligent vehicles is leading the wave of changes in transportation. The product iteration speed is accelerating, and the requirements for intelligent vehicle testing are also increasing continuously. Traditional on-road vehicle testing has high costs, long cycles, and difficult-to-guarantee safety. HIL (Hardware in the Loop) testing lacks vehicle-machine interaction in the laboratory, has a large dependence on manpower, and has a lot of repetitive labor in version iteration, with low efficiency and easy errors.
[0003] Therefore, aiming at the problems of low automation level and large dependence on manpower in the current Advanced Driver Assistance System (ADAS) HIL testing, an automated system and method for ADAS HIL testing are needed. Summary of the Invention
[0004] The technical objective of this application is to provide an automated system and method for ADAS HIL testing aiming at the problems of low automation level and large dependence on manpower in the current Advanced Driver Assistance System (ADAS) HIL testing.
[0005] To achieve the above technical objective, the embodiments of this application adopt the following technical solutions.
[0006] In the first aspect, the embodiments of this application provide an automated system for ADAS HIL testing, including: A host computer, configured to provide a bus test tool and an interface, to start building a test case set by calling the interface to start the tool, and to trigger the automated execution of the test case set by calling the interface, and send bus signals and communication signals to a real-time machine; A real-time machine, configured to receive the bus signals and the communication signals, forward the bus signals to a first execution unit, and forward the communication signals to a second execution unit through a switch; A first execution unit, configured to receive the bus signals forwarded by the real-time machine, start a service forwarding service according to the bus signals and the local current service forwarding service version package, and forward service forwarding signals to the second execution unit through a switch; A second execution unit, configured to execute ADAS control logic based on the communication signal received by the switch and the service forwarding signal, and according to the local current ADAS version package, using a test scenario code compilation file, output an ADAS control command and send it to the real-time machine through the switch; A switch, configured to implement a 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 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 upper computer, so that the upper computer obtains a test result.
[0007] Further, the upper computer is further configured to receive a service forwarding service version package and an ADAS version package through the interface, and update the service 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.
[0008] Still further, the bus test tool is further configured to automatically update the automation database of the automation test case set if the versions of the source files related to the automation database in the service forwarding service version package and / or the ADAS version package change.
[0009] Further, the automation system further includes a server, which is configured to call the interface, generate a service forwarding service version package and an ADAS version package using a version release pipeline, and automatically trigger a version package update pipeline to upload the service forwarding service version package and the ADAS version package to the upper computer to be updated to the first execution unit and the second execution unit respectively; use an automatically triggered test code pipeline to implement the compilation of test scenario codes, and transmit the test scenario code compilation file to the second execution unit; use an automatically triggered test execution pipeline to implement the automation execution of the test case set.
[0010] Further, the system further includes a vehicle head unit hardware, which is configured to receive and parse the ADAS control command through the switch, and display the simulation test scenario on the center control display screen according to the parsing result.
[0011] Further, the system further includes a test platform, which is configured to deploy a test platform backend service, a test platform framework frontend service, a test result database, and a file access system; The upper computer is further configured to generate a test report according to the test result, 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 display relevant information of the test report by using the front-end service of the test platform framework.
[0012] Further, the bus test tool is configured to export the test report and upload it to the test platform.
[0013] Further, the bus test 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 an automated test case file for the new ADAS function to the automated test case set.
[0014] Further, the first execution unit is an MCU hardware, and the second execution unit is an MPU hardware.
[0015] In a second aspect, an embodiment of the present application provides an automated method for ADAS HIL testing, including: Invoking the interface of the bus test tool of the host computer to start the bus test tool to build a test case set; Invoking the interface to trigger the automated execution of the test case set, and sending a bus signal and a communication signal to the real-time machine; Using the real-time machine to receive the bus signal and the communication signal, forwarding the bus signal to the first execution unit, and forwarding the communication signal to the second execution unit through a switch; The first execution unit receives the bus signal forwarded by the real-time machine, starts a service forwarding service according to the bus signal and the local current service forwarding service version package, and forwards a service forwarding signal to the second execution unit through a switch; The second execution unit receives the communication signal and the service forwarding signal through the switch, executes the ADAS control logic according to the local current ADAS version package by using a test scenario code compilation file, outputs an ADAS control command, and sends it to the real-time machine through the switch; The switch implements a communication network among 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 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.
[0016] Compared with the prior art, the automated system and method for ADAS HIL testing provided by the embodiments of the present application achieve the following beneficial technical effects: The host computer can automatically start the execution of the test case set by calling the bus test tool interface, avoiding the delay and operation errors of manually triggering the cases by humans, and ensuring the continuity and efficiency of the test process. The real-time machine synchronously receives the bus signals (such as CAN signals) and communication signals sent by 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 performance and integrity of multi-modal data interaction, and simulating the signal transmission scenario in real vehicle operation.
[0017] Based on the bus signal and the local service version package, the first execution unit starts the service forwarding service, passes the signal to the second execution unit, and realizes the efficient processing of the underlying service logic.
[0018] Combined with the ADAS version package and the test scenario code compilation file, the second execution unit executes the ADAS control logic and outputs control commands, simulating the control process of the ADAS system on the vehicle in a real vehicle.
[0019] After receiving the ADAS control command sent by the MPU hardware, the real-time machine generates body state signals (such as vehicle speed, steering angle, etc.) through the vehicle dynamics model, and transmits them back to the host computer. This process constructs a closed-loop link of "signal input - control execution - state feedback", making the test results closer to the real vehicle operation effect, and solving the problem of lack of real interaction in traditional HIL testing.
[0020] The host computer obtains the body state signal as the test result through the real-time machine, forming a complete verification chain from "test case triggering - control logic execution - state feedback", avoiding the problems of reporting data errors or missing test cases in traditional manual testing, and improving the reliability of the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are for illustrative purposes only and are not intended to limit the scope of the disclosure of the present application in any way. Additionally, the shapes and proportional dimensions of the components in the drawings are only schematic and are used to assist in understanding the present application, rather than specifically limiting the shapes and proportional dimensions of the components of the present application. Those skilled in the art can, under the teaching of the present application, select various possible shapes and proportional dimensions according to specific circumstances to implement the present application. In the drawings: Figure 1 It is a schematic structural diagram of the automated system for ADAS HIL testing provided by the embodiment; Figure 2 It is a schematic flowchart of the automated method for ADAS HIL testing provided by the embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] In order to enable those skilled in the art to better understand the technical solutions in this application, the following will clearly and completely describe the technical solutions in the embodiments of this application in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0023] In the description of this application, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more features.
[0024] The automated system and method for ADAS HIL testing provided by the embodiments of this application can address the problems of low automation and high manpower dependence in the current HIL testing of Advanced Driver Assistance System (ADAS), and provide an automated system and method for ADAS HIL testing to achieve full-process automation from version release, hardware development board flashing, execution of automated test cases to generation of test reports.
[0025] Please refer to 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.
[0026] The host computer is configured to provide a bus test tool and an interface to start building a test case set by calling the interface and trigger the automated execution of the test case set by calling the interface, and send bus signals and communication signals to the real-time machine.
[0027] The real-time machine is configured to receive bus signals and communication signals, forward the bus signals to the first execution unit, and forward the communication signals to the second execution unit through the switch.
[0028] The first execution unit is configured to receive the bus signals forwarded by the real-time machine, start a service forwarding service according to the bus signals and the local current service forwarding service version package, and forward the service forwarding signals to the second execution unit through the switch.
[0029] The second execution unit is configured to receive a communication signal and a service forwarding signal through a switch, execute the ADAS control logic using a test scenario code compilation file according to the local current ADAS version package, output an ADAS control command, and send it to the real-time machine through the switch.
[0030] The switch is configured to implement a communication network among the real-time machine, the first execution unit (MCU hardware), and the second execution unit (MPU hardware). As a communication hub, the switch realizes network communication among the real-time machine, MCU hardware, and MPU hardware. Each module exchanges data through a standardized interface, reducing the coupling between modules. When the system is upgraded or new functions are added, a certain unit can be independently replaced or extended (such as updating the ADAS version package of the MPU hardware) without affecting the overall architecture, improving system compatibility.
[0031] The real-time machine is also 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 can obtain the test result.
[0032] By calling the interface of this tool through the host computer, a test case set including an automated database, a simulation scenario set, and an automated test case file can be built.
[0033] In the ADAS HIL test scenario, the bus test tool can be a professional test tool that supports in-vehicle bus (such as CAN, LIN, FlexRay, etc.) protocols, can simulate bus signals, monitor communication status, and execute an automated test process.
[0034] In the embodiment, the host computer can be used to install a simulation tool to build an ADAS simulation test scenario, compile, export, and generate a simulation scenario set in sequence; be used to install a bus test tool to build an automated database and an automated test case file, and implement automated triggering of the execution of an automated test, as well as generate a test report file.
[0035] In some embodiments, the script calls the bus test tool to build a simulation environment, simulate bus signals (such as CAN signals or LIN signals) or other communication signals of in-vehicle sensors (such as radars, cameras), and the host computer calls the bus test tool interface through the script to realize the automated update and management of the test case set, or trigger the execution of the automated test case set.
[0036] In the embodiment, the automated test case set can include an automated database, a simulation scenario set (simulation scenario file), and an automated test case file. The automated database can store test input data, expected result data, and configuration parameter information required for testing; for example, in automotive bus testing, the CAN signal parameters sent by a simulated sensor.
[0037] The configuration parameter information may include, for example, the communication protocol version, etc.
[0038] The simulation scenario set defines various scenarios that need to be simulated during testing. In ADAS testing, the simulation scenario set can simulate a variety of different scenarios, and the automated system can execute each scenario in sequence and verify. The automated test case file may include specific test steps, judgment conditions, and execution logic.
[0039] In an embodiment, the first execution unit may be an MCU (Microcontroller Unit) hardware, and the second execution unit may be an MPU (Microprocessor Unit) hardware. Communication between the host computer and the MCU hardware is through the CAN bus; communication between the host computer and the MPU hardware is through communication signal transmission, and the protocol selection is more flexible, such as USB, serial port, Ethernet, etc., which is suitable for scenarios with a large amount of data (such as code transmission, file interaction).
[0040] In some embodiments, the host computer is further configured to receive a service forwarding service version package (version package of the MCU hardware) and an ADAS version package (version package of the MPU hardware) through an interface, and update the service forwarding service version package and the ADAS version package to the first execution unit and the second execution unit respectively through a real-time machine.
[0041] In some embodiments, the bus test tool is further configured to automatically update the automated database of the automated test case set before the execution of the automated test case if the version of the automated database-related source file in the service forwarding service version package and / or the ADAS version package changes. The first execution unit and the second execution unit execute the logic based on the current local service forwarding service version package and ADAS version package respectively. If the version is updated, the system can automatically update the version package through the host computer and trigger the test to ensure that the test environment is synchronized with the actual development version and avoid test errors caused by version confusion.
[0042] In some embodiments, if a new ADAS function appears in the ADAS version package, the tester needs to manually write an automated test file, as well as a configuration file to generate the corresponding automated database, and add an automated test case file for the new ADAS function to the automated test case set. At the same time, create a simulation test scenario for the automated test case in the simulation software, and compile and export it as a simulation scenario file in sequence, and add it to the simulation scenario set.
[0043] In some embodiments, such as Figure 1As shown, the automated system further includes a server, which is configured to call an interface, generate a business forwarding service version package and an ADAS version package using a version release pipeline, and automatically trigger a 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; automatically trigger a test code pipeline to implement the compilation of test scenario code, and transfer the test scenario code compilation file to the second execution unit, obtain the version package from the upstream pipeline using the test code pipeline, remotely upload the ADAS version package to the MPU hardware side through a script and decompress it, and remotely upload the business forwarding service version package to the MCU hardware through a script and decompress it. Automatically trigger a test execution pipeline to implement the automated execution of the test case set.
[0044] In the embodiment, the server can be a gitlab server. The gitlab server generates a business forwarding service version package and an ADAS version package according to the continuous integration version release pipeline, and uses a script to automatically cross-compile the test scenario code in the test code repository in the gitlab server to obtain a test scenario code compilation file, transfer it to the MPU hardware, and update the version package in the MPU hardware. The test scenario code can be updated together with the business forwarding service version package and the ADAS version package.
[0045] In some embodiments, the automated system further includes a vehicle head unit central control hardware, which is configured to receive and parse the ADAS control command through a switch, and display the simulation test scenario on the central control display screen according to the parsing result.
[0046] Traditional HIL tests are carried out in a laboratory environment, often lacking real vehicle head unit interactions. However, the vehicle head unit central control hardware in the automated system provided by some embodiments can receive and process the ADAS control commands sent by the MPU hardware, and display the simulation test scenario on the central control display screen. This makes the test process no longer a simple background data processing, but can simulate an interaction effect close to that of a real vehicle, allowing testers to intuitively observe the performance of the ADAS function on the vehicle head unit interface. By dynamically displaying the simulation scenario and the behavior triggered by the ADAS control command, the vehicle head unit central control hardware creates an environment closer to the actual vehicle operation for the ADAS HIL test. This real 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.
[0047] In the embodiment, the switch can also be used to implement network communication between the MCU hardware, the MPU hardware, and the vehicle head unit central control hardware.
[0048] Such as Figure 1As shown in the figure, in some embodiments, the automation system further includes a test platform, which is configured to deploy a test platform backend service, a test platform framework front-end service, a test result database, and a file access system; the host computer is further configured to generate a test report based on 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 display relevant information of the test report by using the test platform framework front-end service.
[0049] The bus test tool can also be configured to export the test report and upload it to the test platform. The test data is persisted through the test platform, which supports comparison of historical results and tracing of problems, facilitating testers to locate potential problems with ADAS functions.
[0050] Based on the same inventive concept as the automation system for ADAS HIL testing provided in the above embodiments, the embodiments of the present application also provide an automation method for ADAS HIL testing, as Figure 2 shown, including: calling the interface of the bus test tool of the host computer to start the bus test tool to build a test case set; calling the interface to trigger the automated execution of the test case set, and sending bus signals and communication signals to the real-time machine; using the real-time machine to receive the bus signals and communication signals, forwarding the bus signals to the first execution unit, and forwarding the communication signals to the second execution unit through the switch; The first execution unit receives the bus signals forwarded by the real-time machine, starts the service forwarding service according to the bus signals and the local current service version package of the business, and forwards the service forwarding signals to the second execution unit through the switch; The second execution unit receives the communication signals and service forwarding signals through the switch, executes the ADAS control logic according to the local current ADAS version package by using the test scenario code compilation file, outputs the ADAS control commands and sends them to the real-time machine through the switch; The switch realizes the communication network among the real-time machine, the first execution unit, and the second execution unit; The real-time machine receives the ADAS control commands sent by the second execution unit, generates body state signals through the vehicle dynamics model, and uploads the body state signals to the host computer so that the host computer can obtain the test results.
[0051] In some embodiments, the host computer updates the version packages to the first execution unit (MCU hardware) and the second execution unit (MPU hardware) respectively by executing scripts.
[0052] Use a simulation tool to build an ADAS simulation test scenario, compile, export, and generate a simulation scenario set in sequence; use a bus test tool to build an automated database and automated test case files; trigger the execution of automated tests and generate test report files automatically through script calls to the bus test tool interface; upload the test report files to the test platform through script calls to the backend interface of the automated test platform.
[0053] In some embodiments, the real-time machine receives CAN signals sent in the automated test cases of the host computer through Ethernet and forwards the CAN signals to the MCU hardware; receives communication signals sent in the automated test cases of the host computer through Ethernet and forwards the communication signals to the MPU hardware. Receive the ADAS control command sent by the MPU hardware through the switch, and send the command to the vehicle dynamics model deployed by the real-time machine to generate a vehicle body state signal, and send the signal back to the automated test cases executed in the host computer.
[0054] In one embodiment, the switch is used to forward and receive communication signals sent by the real-time machine and service forwarding signals 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 service forwarding signals and communication signals, outputs the ADAS control command and sends it to the real-time machine through the switch.
[0055] In the embodiment, the switch transparently transmits the interaction data among the MPU hardware, the MCU hardware, and the in-vehicle central control hardware through network settings.
[0056] The automated system and method for ADAS HIL testing provided by the embodiments of the present application achieve the leap from "manual" to "fully automated" in ADAS HIL testing, and have made breakthrough progress in terms of efficiency, cost, interaction authenticity, and scalability, providing an efficient and reliable solution for the rapid verification of intelligent driving systems.
[0057] The embodiment reduces the manual intervention links in traditional HIL testing (such as manual burning, case triggering, report sorting, etc.) through the full-process automation of integrated version release, hardware version update, test execution, and report generation. The test cycle is shortened by more than 70%. Based on the automated trigger mechanism of the continuous integration pipeline, seamless connection between version update and test execution is achieved, avoiding artificial operation delays, especially suitable for the ADAS development scenario with high-frequency iteration. The automated execution and report export of test cases are realized through script calls to the bus test tool interface, avoiding version confusion, case omission, or report data errors caused by manual operations, and the reliability of test results is increased by 90%.
[0058] In the embodiment, the version change of the version package can be dynamically detected, and the test database is automatically updated through the bus test tool interface, with stronger compatibility.
[0059] In the embodiment, when adding the ADAS function, only the test case file and the simulation scenario library need to be expanded, without reconstructing the system architecture, and the expansion efficiency is increased by 60%.
[0060] In the embodiment, through the cooperation of the real-time machine module and the vehicle dynamics model, the ADAS control command is fed back to the in-vehicle central control hardware in real time, and the simulation scenario is dynamically displayed on the display screen, solving the problem of lack of real in-vehicle interaction in traditional HIL tests and being closer to the real vehicle environment.
[0061] This application supports the synchronous processing of communication signals and CAN signals to ensure the integrity and timeliness of multi-modal data interaction.
[0062] In the embodiment, the test report is automatically uploaded to the test platform through the backend. Combining the test result database and the file server (or file access system), long-term storage and multi-dimensional analysis of test data are realized, supporting comparison of historical results 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 the hardware dependence cost.
[0063] The above has introduced in detail an automated system and method for ADAS HIL testing provided by this application. Specific examples are used in this article to elaborate on the principle and implementation method of this application. The description of the above embodiments is only used to help understand the concept of this application and should not be construed as a limitation on the protection scope of this application.
Claims
1. An automated system for ADAS HIL testing, characterized in that, Including: A host computer, configured to provide a bus test tool and an interface, to start building a test case set by calling the interface, and trigger the automated execution of the test case set by calling the interface, and send bus signals and communication signals to a real-time machine; A real-time machine, configured to receive the bus signals and the communication signals, forward the bus signals to a first execution unit, and forward the communication signals to a second execution unit through a switch; A first execution unit, configured to receive the bus signals, start a service forwarding service according to the bus signals and the local current service forwarding service version package, and forward service forwarding signals to the second execution unit through a switch; A second execution unit, configured to, based on the communication signals and the service forwarding signals received through the switch, execute an ADAS control logic according to the local current ADAS version package by using a test scenario code compilation file, output an ADAS control command and send it to the real-time machine through the switch; A switch, configured to implement a communication network among 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 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.
2. The automated system for ADAS HIL testing according to claim 1, characterized in that The host computer is further configured to receive a service forwarding service version package and an ADAS version package through the interface, and update the service 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.
3. The automated system for ADAS HIL testing according to claim 2, wherein, The bus test tool is further configured to automatically update the automation database of the automation test case set if the versions of the source files related to the automation database in the service forwarding service version package and / or the ADAS version package change.
4. The automated system for ADAS HIL testing according to claim 1, wherein The automation system further includes a server, which is configured to call the interface, generate a service forwarding service version package and an ADAS version package by using a version release pipeline, and automatically trigger a version package update pipeline to upload the service forwarding service version package and the ADAS version package to the host computer to be updated to the first execution unit and the second execution unit respectively; implement the compilation of the test scenario code by automatically triggering a test code pipeline, and transmit the test scenario code compilation file to the second execution unit; implement the automated execution of the test case set by automatically triggering a test execution pipeline.
5. The automated system for ADAS HIL testing according to claim 1, characterized in that, The system further includes a vehicle head unit hardware, which is configured to receive and parse the ADAS control command through the switch, and display a simulation test scenario on a central control display screen according to the parsing result.
6. The automated system for ADAS HIL testing according to claim 1, characterized in that, The system further includes a test platform, which is 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 result, 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 display relevant information of the test report by using the front-end service of the test platform framework.
7. The automated system for ADAS HIL testing according to claim 6, characterized in that, The bus test tool is configured to export the test report and upload it to the test platform.
8. The automated system for ADAS HIL testing according to claim 1, characterized in that, The bus test tool is further configured to, when a new ADAS function appears in the ADAS version package, generate a corresponding automation database by writing an automation test file and a configuration file through the interface, and add an automation test case file for the new ADAS function to the automation test case set.
9. The automated system for ADAS HIL testing according to claim 1, wherein The first execution unit is an MCU hardware, and the second execution unit is an MPU hardware.
10. An automated method for ADAS HIL testing, characterized in that, It includes: Call the interface of the bus test tool of the host computer to start the bus test tool to build a test case set; Call the interface to trigger the automated execution of the test case set, and send a bus signal and a communication signal to the real-time machine; Use the real-time machine 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 through the switch; 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; Based on the communication signal and the service forwarding signal received through the switch, the second execution unit executes the ADAS control logic by using the test scenario code compilation file according to the local current ADAS version package, outputs an ADAS control command and sends it to the real-time machine through the switch; The switch realizes the communication network among 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 state signal through the vehicle dynamics model, and uploads the vehicle body state signal to the host computer so that the host computer can obtain the test result.
Citation Information
Patent Citations
Automatic test device and method for image ranging based on data playback
CN110795348A
ADAS controller hardware-in-loop simulation system
CN113009900A
Test platform, test method and electronic equipment
CN115374001A
Service-oriented automobile domain controller data forwarding system and method
CN115412478A
Testing method and device for off-line process of vehicle, storage medium and vehicle
CN118260192A