Method for generating test data for a simulation of an assistance system of a motor vehicle that is at least partially assisted, using an electronic computing device
The method uses Hermite spline regression and Monte Carlo simulation with outlier filtering to generate realistic test data for driver assistance systems, addressing inefficiencies in conventional validation methods and enhancing simulation accuracy.
Patent Information
- Application Number
- DE102025148366
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-11-26
- Estimated Expiration
- 2045-11-21
AI Technical Summary
Conventional methods for validating advanced driver assistance systems in motor vehicles require extensive real-world testing, which is time-consuming and inefficient, and struggle to accurately simulate complex driving scenarios like handover situations between automated and human control.
A method using Hermite spline regression and Monte Carlo simulation to generate test data, incorporating a Silverman reflection method to filter out unphysical outliers, allowing for realistic simulation of driving scenarios with reduced complexity and increased accuracy.
This approach simplifies the modeling of driving behaviors and reduces the need for complex mathematical models, resulting in more reliable and efficient simulation of test trajectories for driver assistance systems.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
The invention relates to a method for generating test data for a simulation of an assistance system of a motor vehicle that is at least partially assisted, using an electronic computing device according to claim 1. The invention further relates to a corresponding computer program product and an electronic computing device. Automated or assisted driving of motor vehicles is already a known technology. The motivations include improved safety, more efficient resource utilization, and increased comfort. However, demonstrating the safety of advanced driver assistance systems, which enable highly automated driving, presents new challenges for validation and testing. The conventional approach, which relies primarily on real-world test drive data, would require driving unacceptably long distances. For example, if one wants to test an emergency braking system that activates when another vehicle unexpectedly changes lanes on a highway, developers would have to invest considerable time in recording enough such situations on the road. These recorded situations are then used to test the driver assistance system.Furthermore, new challenges arise, such as the handover situation between the system and the human driver. In light of these considerations, simulation has proven to be a promising tool for validating driver assistance systems. In other words, simulation makes it possible to generate a series of trajectories of surrounding vehicles based on a limited number of real-world trajectories recorded during test drives. This involves selecting real-world, safety-relevant driving situations, particularly from the totality of recorded test drive data, and assessing their criticality. These situations are then simulated. Here, simulation refers to the generation of a set of trajectories of one or more neighboring vehicles that closely approximate the real-world trajectories recorded during test drives, but represent a larger set of possible trajectories.The validity of the results depends heavily on how realistically the simulated test cases can reflect real traffic situations. DE 10 2023 000 357 B3 relates to a method for generating test data for a simulation of an assistance system of a motor vehicle with at least partial assistance, using an electronic computing device, comprising the following steps: inputting real-world trajectory data from at least one driving situation for the at least partially assisted operation of the motor vehicle; extracting training trajectories from the trajectory data using the electronic computing device; training a variable autoencoder of the electronic computing device with the extracted training trajectories; generating potential test data for the simulation using the trained variable autoencoder; comparing the real-world trajectory data with the potential test data using the electronic computing device; and identifying test data for the simulation based on the comparison.DE 10 2022 119 179 A1 describes a method for testing and training an ADAS / ADS system and / or a driving function for at least one defined driving task in at least one scenario. EP 4 150 465 B1 discloses a computer system for testing an autonomous vehicle stack (AV) through a simulation including a test oracle. DE 10 2023 202 132 A1 relates to a composite metric in hybrid traffic simulations with real trajectories. The object of the present invention is to provide a method, a computer program product and an electronic computing device by means of which test data for an assistance system can be generated in a simple manner. This problem is solved by a method, a computer program product, and an electronic computing device according to the independent claims. Advantageous embodiments are specified in the dependent claims. One aspect of the invention relates to a method for generating test data for a simulation of an assistance system of a partially assisted motor vehicle using an electronic computing device. Real-world trajectory data from at least one driving situation for the partially assisted operation of the motor vehicle are provided. Training trajectories are extracted from this trajectory data. A driving situation is modeled using a Hermite spline algorithm. Parameter values within the modeled driving situation are then identified using a regression algorithm. A simulated driving situation is then generated based on a Monte Carlo simulation, depending on the identified parameter values. Outliers within the simulated driving situations are identified, and the test data is generated taking these identified outliers into account. In particular, the use of Hermite spline regression eliminates the need for complex mathematical models to model the driving behavior of other road users. Variations within the logical scenario class, such as drivers merging into traffic, are achieved using only a few parameters. The actual driving behavior of road users, captured by recorded measurement signals, is thus approximated by the method using only a few parameters. The error chain of the previous overall process, based on the state of the art, can therefore be reduced by simplifying the modeling of logical driving scenarios. The number of mathematical scenario models to be defined decreases through the application of this method. Furthermore, the number of parameters to be defined for the mathematical scenario model decreases through the application of this method. In particular, it can be implemented that analytical interpolation functions, especially splines, are used instead of an autoencoder, allowing outliers within the simulation to be suppressed using a reflection method. This results in significantly more reliable simulation results for the test trajectories. According to an advantageous implementation, outliers are filtered out using a reflection method. In particular, this allows for the consideration of value limits. Specifically, this enables the generation of realistic trajectories. Furthermore, it has proven advantageous to use a Silverman reflection method. The Silverman reflection method is a limit correction for a kernel density estimate, used in situations where the data lie only within certain intervals, for example, between 0 and 1. The underlying idea is that the observation at the limit, or at both limits, is reflected back into the observation space, so that the estimate at the limit does not simply tip downwards. It is also advantageous to generate simulated trajectories of road users based on the test data. These road users can include other vehicles, such as passenger cars, within the vicinity of the vehicle. In particular, merging scenarios, for example, can be simulated accordingly. Thus, the method can be used especially for driver assistance systems, particularly for at least partially automated operation of the vehicle. It has also proven advantageous to generate the test data in such a way that it enables the control of a functional component of the assistance system. For example, a functional component could be an acceleration device, a braking device, a lateral acceleration device, or a steering device. Furthermore, it can be specifically provided that the generated test data is used to control a functional component of the assistance system. In particular, the generated data (test data) can thus be considered functional data for controlling a technical device, especially an assistance system, if it is specifically adapted for the purposes of its intended technical use.In particular, the assistance system can be controlled based on the actual test data generated, especially according to the parameters of the generated trajectory, in order to have a corresponding effect on the assistance system, particularly on the driving of the vehicle. For example, the driver assistance system can be designed to control speed, acceleration, a braking system, or even the steering wheel. Furthermore, it has proven advantageous to identify outliers exhibiting unphysical behavior within the test data. For example, unphysical behavior could include negative speeds, negative time units, floating objects, ghost objects, or similar phenomena. Similarly, excessively high speeds can also be considered unphysical. In particular, this allows for the specification of unphysical properties that are deemed unsuitable for a given driving situation. It has proven advantageous to predefine the parameters for the non-physical behavior. For example, this can be done via the electronic computing device. Appropriate limit values can be defined so that, as soon as the simulated data exceeds such a limit, it is automatically rejected. This allows for the generation of essentially meaningful test data. The presented method is, in particular, a computer-implemented method. Therefore, a further aspect of the invention relates to a computer program product with program code means which, when the program code means are executed by the electronic computing device, cause a method according to the preceding aspect to be carried out. Furthermore, the invention therefore also relates to a computer-readable storage medium with at least the computer program product according to the preceding aspect. A further aspect of the invention relates to an electronic computing device for generating test data for a simulation of an assistance system of a motor vehicle that is at least partially assisted, wherein the electronic computing device is configured to carry out a method according to the preceding aspect. In particular, the method is carried out using the electronic computing device. Advantageous embodiments of the process are considered advantageous embodiments of the computer program product, the computer-readable storage medium, and the electronic computing device. The electronic computing device, in particular, possesses tangible features to enable the execution of the corresponding process steps. A computing unit / electronic computing device can be understood, in particular, as a data processing device containing a processing circuit. The computing unit can therefore process data to perform arithmetic operations. This may also include operations to perform indexed access to a data structure, such as a lookup table (LUT). The computing unit may, in particular, contain one or more computers, one or more microcontrollers, and / or one or more integrated circuits, for example, one or more application-specific integrated circuits (ASICs), one or more field-programmable gate arrays (FPGAs), and / or one or more systems on a chip (SoCs). The computing unit may also contain one or more processors, for example, one or more microprocessors, one or more central processing units (CPUs), one or more graphics processing units (GPUs), and / or one or more signal processors, in particular one or more digital signal processors (DSPs). The computing unit may also include a physical or virtual array of computers or other units of the aforementioned type. In various embodiments, the computing unit includes one or more hardware and / or software interfaces and / or one or more storage units. A storage unit can be volatile data storage, for example as dynamic random access memory (DRAM) or static random access memory (SRAM), or as non-volatile data storage, for example as read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or flash EEPROM, ferroelectric random access memory (FRAM), or magnetoresistive random access memory.It can be designed as MRAM (magnetoresistive random access memory) or as phase-change random access memory, PCRAM (phase-change random access memory). Further advantages, features, and details of the invention will become apparent from the following description of a preferred embodiment and from the drawings. The features and combinations of features mentioned above in the description, as well as those mentioned below in the figure description and / or shown in the figures alone, can be used not only in the combinations specified, but also in other combinations or individually, without departing from the scope of the invention. Figure 1 shows a schematic top view of a motor vehicle in a traffic situation, the traffic situation being considered in particular as a driving situation which is simulated by a method according to the invention; and Figure 2 shows a schematic flowchart according to an embodiment of the method. In the figures, identical or functionally equivalent elements are provided with the same reference symbols. Fig. 1 shows a schematic top view of an embodiment of a motor vehicle 10. The motor vehicle 10 is at least partially assisted. The motor vehicle 10 can also be fully assisted. For this purpose, the motor vehicle 10 has, in particular, an assistance system 12. The assistance system 12 has, in particular, an electronic computing device 14. In particular, an object is formed in the environment 16 of the motor vehicle 10, which is subsequently represented in particular as another motor vehicle 18. The other motor vehicle 18 has a trajectory 20, which, for example, runs onto the lane of the motor vehicle 10. This could be a safety-critical situation, for example, an emergency braking situation, in which the assistance system 12 must react accordingly if the motor vehicle 10 is in at least partially assisted driving mode. Fig. 2 shows a schematic flowchart according to one embodiment of the method. In particular, the method shown is carried out with an electronic computing device 22. In the first step, S1, modeling is performed using a Hermite spline algorithm. In the second step, S2, a regression and distribution fit are carried out, with the regression being performed on real data and the distributions being fitted. In the third step, S3, parameter values are generated, specifically new parameter values using a Monte Carlo simulation. In the fourth step, S4, a Silverman reflection method is applied, taking parameter limits into account. In the fifth step, S5, novel, realistic trajectories are generated. In other words, Fig. 2 shows, in particular, a method for generating test data for a simulation of the assistance system 12 of the at least partially assisted motor vehicle 10 using the electronic computing device 22. Real-world trajectory data from at least one driving situation for the at least partially assisted operation of the motor vehicle 10 are provided. Training trajectories are extracted from the trajectory data. The driving situation is then modeled using a Hermite spline algorithm. Parameter values within the modeled driving situation are identified using a regression algorithm. A simulated driving situation is generated based on a Monte Carlo simulation as a function of the identified parameter values, and outliers within the simulated driving situation are identified.The test data is then generated taking into account the identified outliers. As already mentioned, it can be provided that outliers are filtered out using a reflection method. In particular, a Silverman reflection method can be used as the reflection method. Furthermore, it can be provided that simulated trajectories of road users, such as those merging into traffic, are generated based on the test data. The test data can also be generated in such a way that it enables the control of a functional unit of the assistance system 12. Finally, the control of a functional unit of the assistance system can also be carried out based on the generated test data. Furthermore, it may be provided that outliers are identified by unphysical behavior within the test data, whereby parameter values for the unphysical behavior are specified in particular. In particular, Figure 2 shows that the goal of valid scenario modeling is to realistically generate new maneuvers from corresponding real-world data. Sampling new parameter values according to the procedure reveals, in particular, agreement within the scatter plots, although there may also be outliers that are not present in the real-world data. For example, if a time point is sampled negatively, this corresponds to unphysical behavior. Therefore, parameter limits are taken into account using the reflection method. Here, parameter limits, such as t0>0, are defined and reflected accordingly after sampling; for example, the sampled value of -2 sec is reflected to the value 2 sec, since negative values are not permissible.Sampling new parameter values using the reflection method shows that there are no more outliers in the impermissible range and therefore valid / physical trajectories can be generated.
Claims
Method for generating test data for a simulation of an assistance system (12) of a motor vehicle (10) that is at least partially assisted by means of an electronic computing device (22), comprising the steps of: - specifying real trajectory data from at least one driving situation for the at least partially assisted driving operation of the motor vehicle (10); - extracting training trajectories from the trajectory data; - modeling the driving situation using a Hermite spline algorithm; - identifying parameter values within the modeled driving situation using a regression algorithm; - generating a simulated driving situation based on a Monte Carlo simulation depending on the identified parameter values; - identifying outliers within the simulated driving situation; and - generating the test data taking into account the identified outliers. Method according to claim 1, characterized in that outliers are filtered out using a reflection method. Method according to claim 2, characterized in that a Silverman reflection method is used as the reflection method. Method according to one of the preceding claims, characterized in that simulated trajectories of road users are generated depending on the test data. Method according to one of the preceding claims, characterized in that the test data are generated in such a way that they enable the control of a functional device of the assistance system (12). Method according to one of the preceding claims, characterized in that, based on the generated test data, a control of a functional device of the assistance system (12) is carried out. Method according to one of the preceding claims, characterized in that outliers are identified by an unphysical behavior within the test data. Method according to claim 7, characterized in that parameter values for the non-physical behavior are specified. Computer program product with program code means which cause an electronic computing device (22) to perform a method according to one of claims 1 to 8 when the program code means are processed by the electronic computing device (22). Electronic computing device (22) for generating test data for a simulation of an assistance system (12) of a motor vehicle (10) that is at least partially assisted, wherein the electronic computing device (22) is configured to carry out a method according to one of claims 1 to 8.
Citation Information
Patent Citations
Method, system and computer program product for testing and training a driver assistance system (ADAS) and / or an automated driving system (ADS) and / or a driving function
DE102022119179A1
Method for generating test data for a simulation of an assistance system of a motor vehicle that is at least partially assisted, computer program product, computer-readable storage medium and electronic computing device
DE102023000357B3
Composite metrics in hybrid traffic simulation with real trajectories
DE102023202132A1
Simulation in autonomous driving
EP4150465B1
