Method and system for testing driver assistance systems for vehicles
Patent Information
- Application Number
- JP2023521381
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-10-12
- Filing Date
- 2021-10-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for testing advanced driver assistance systems (ADAS) struggle to adequately simulate critical driving scenarios, which are rare in real-world conditions, making it difficult to ensure the safety and reliability of these systems.
A computer-implemented method and system that uses reinforcement learning to iteratively simulate and modify driving scenarios to identify critical conditions for ADAS, optimizing the test environment to reveal potential errors and ensure system safety.
This approach significantly reduces the number of physical test kilometers required while effectively identifying critical scenarios, enhancing the reliability and safety of ADAS by exposing potential weaknesses through simulated scenarios.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and a system implemented on a computer for testing a driver assistance system for a vehicle, wherein the scenario in which the vehicle is placed is simulated, and the driver assistance system is operated in the environment of the vehicle based on the simulated scenario, and the driving behavior of the driver assistance system is observed in the environment of the vehicle.
Background Art
[0002] In further developments, the spread of driver assistance systems (ADAS: Advanced Driver Assistance Systems) enabling autonomous driving (AD: Autonomous Driving) has been continuously increasing in both the fields of passenger cars and commercial vehicles. Driver assistance systems have made an important contribution to enhancing active traffic safety and also work to improve driving comfort.
[0003] In addition to systems that particularly provide driving safety, such as ABS (Anti-lock Braking System) and ESP (Electronic Stability Program), a plurality of driver assistance systems are being marketed in the fields of passenger cars and commercial vehicles.
[0004] Driver assistance systems already in use to enhance actual road safety include parking assist and adaptive automatic vehicle spacing control, also known as adaptive cruise control (ACC), which adaptively adjusts the desired speed selected by the driver based on the distance from the vehicle driving ahead. Further examples of such driver assistance systems include ACC stop and go systems, which automatically move the vehicle further in traffic congestion or stationary traffic in addition to ACC; lane departure warning or lane assist systems, which automatically keep the vehicle in its lane; and pre-crash systems, which, for example, prepare or initiate braking in the event of a potential collision to dissipate the vehicle's kinetic energy, and, if necessary, initiate further action if a collision is inevitable.
[0005] These driver assistance systems enhance traffic safety by warning drivers of critical situations, for example, by initiating automatic interventions to prevent accidents or mitigate their consequences, such as activating emergency braking. In addition, features such as automatic parking, automatic lane keeping, and automatic proximity control enhance driving comfort.
[0006] The improvements in safety and comfort of driver assistance systems are only clearly perceived by the occupants of a vehicle if the assistance provided by the driver assistance system is safe, reliable, and as convenient as possible.
[0007] Furthermore, all driver assistance systems must, in accordance with their function, provide the greatest possible safety for the vehicle itself and handle a given traffic scenario without endangering other vehicles or road users.
[0008] The degree of vehicle automation is divided into so-called automation levels 1 through 5 (see, for example, the SAE J3016 standard). The present invention relates in particular to vehicles having driver assistance systems at automation levels 3 through 5, which are generally considered to be autonomous driving.
[0009] Testing such systems presents many diverse challenges. In particular, it is necessary to find a balance between the cost of conducting the tests and the scope of the tests. The main task when testing ADAS / AD functions is to demonstrate the guaranteed functioning of the driver assistance system in all conceivable situations, especially critical driving situations. Such critical driving situations involve a certain degree of risk, as a failure or malfunction of any driver assistance system could lead to an accident.
[0010] Therefore, testing driver assistance systems requires enabling a large number of driving situations that could occur in various scenarios. This generally results in a range of possible scenarios that encompass many characteristics (e.g., various road characteristics, the behavior of other road users, weather conditions, etc.). To test driver assistance systems, it is particularly important to extract these parameter sets from this virtually infinite and multidimensional range for critical scenarios that could result in abnormal or dangerous driving situations.
[0011] As shown in Figure 1, such critical scenarios are far less likely to occur than typical scenarios.
[0012] To validate corresponding driver assistance systems, scientific publications suggest that operating vehicles in autonomous driving mode will only be statistically safer than human-controlled vehicles once each driver assistance system has completed 275 million miles of accident-free driving. Actual test drives cannot achieve this, especially considering the already extremely tight timeframes imposed by the development cycles and quality standards required in the automotive industry. For the reasons mentioned above, it is unlikely that a sufficient number of critical scenarios, or the driving conditions resulting from each of these scenarios, would be included.
[0013] It is known from prior art that actual test drive data from a real group of test vehicles is used to confirm and validate the validity of driver assistance systems and to extract scenarios from recorded data. Furthermore, it is also known to use a complete factorial design for validation and verification. [Overview of the Initiative] [Problems that the invention aims to solve]
[0014] One object of the present invention is to enable testing of driver assistance systems, particularly driver assistance systems for autonomous driving in critical scenarios. In particular, an object of the present invention is to identify critical scenarios for driver assistance systems. This object is solved by teaching in the independent claims. Advantageous embodiments are found in the dependent claims. [Means for solving the problem]
[0015] A first aspect of the present invention relates to a computer-based method for testing a driver assistance system for a vehicle, and includes the following work steps: Steps to simulate a scenario in which the vehicle is placed, Steps to operate a driver assistance system in a vehicle environment based on a simulated scenario, In the vehicle environment, the steps include observing the driving behavior of the driver assistance system, A step of determining the driving conditions obtained from the driving behavior of the driver assistance system in the vehicle environment, Depending on the critical conditions of the driving situation obtained, the steps include establishing the quality of the simulated scenario, A step to check for at least one termination condition, The steps include modifying the simulated scenario based on the established quality until at least one termination condition for quality is met, and Includes.
[0016] A second aspect of the present invention relates to a system for testing a driver assistance system for a vehicle, wherein the system is: A means of simulating a scenario in which a vehicle is placed, Means for operating a driver assistance system in a vehicle environment based on a simulated scenario, A means for observing the driving behavior of a driver assistance system in a vehicle environment, A means for determining driving conditions obtained from the driving behavior of a driver assistance system in a vehicle environment, Depending on the critical conditions of the driving situation obtained, means for establishing the quality of the simulated scenario, A means to check for at least one termination condition, Until the termination conditions for quality are met, means to modify the simulated scenario based on the established quality and It is equipped with.
[0017] A third aspect of the present invention relates to a system for testing a driver assistance system for a vehicle equipped with an agent, wherein the agent is configured to cause errors in the driver assistance system by generating and modifying scenarios, wherein the strategies for modifying scenarios are continuously improved by a reinforcement learning methodology through interaction between the agent and the driver assistance system during operation until a termination condition is met.
[0018] The vehicle environment included in the meaning of the present invention is preferably at least formed by objects related to vehicle guidance provided by a driver assistance system. In particular, the vehicle environment includes set and dynamic elements. The setting preferably includes all static elements.
[0019] A scenario included in the meaning of the present invention is preferably formed from a time-series sequence of static scenes in particular. Thereby, the scene shows the spatial arrangement of at least one other object relative to its own object, such as a group of road users, for example. The scenario can in particular incorporate a driving situation in which the driver assistance system at least partially controls the vehicle, which is called an ego vehicle and equipped with a driver assistance system, and for example autonomously executes at least one vehicle function of the ego vehicle.
[0020] The driving situation included in the meaning of the present invention preferably specifies the surrounding circumstances in which the selection of the behavior pattern of a suitable driver assistance system is considered at a specific point in time. The driving situation is therefore preferably subjective in representing the perspective of the ego vehicle. It preferably further includes factors that affect the relevant state, contingency, and action. The driving situation is more preferably derived from the scene via an information selection process, for example, based on mission-specific and transient events such as permanent goals and values.
[0021] The driving behavior included in the meaning of the present invention is preferably the behavior of the driver assistance system by actions and reactions in the vehicle environment. [[ID=I6]]
[0022] The quality included in the meaning of the present invention preferably characterizes the simulated scenario. The quality is preferably understood as the quality or state of the simulated scenario for its suitability for testing a driver assistance system. In this context, more critical scenarios preferably have a higher quality. Preferably, the critical state of the driving situation obtained from each scenario for the driver assistance system to be tested is a measure of the quality of the scenario.
[0023] Reinforcement learning is a machine learning method in which an agent independently learns actions within an environment. Thereby, this is done by the agent attempting various actions within the environment and receiving rewards or penalties via feedback from the environment. After the learning phase, the agent can execute actions within the environment in order to receive the maximum possible reward by doing so.
[0024] The agent included in the meaning of the present invention preferably refers to a computer program or a module of a data processing system that enables a certain independent, and in particular autonomous, dynamic behavior. It means proceeding with a predetermined processing operation without using any further start signal given by external means or by any subsequent external control intervention during the process, especially in response to various states such as different situations.
[0025] The present invention is based on the idea of repeatedly improving the simulated scenario to be as appropriate as possible for testing a driver assistance system. In other words, the simulated scenario is improved in such a way as to be as appropriate as possible in revealing or eliciting errors that may occur in a driver assistance system. The simulated scenario is thereby particularly optimized for a specific driver assistance system or a function of a driver assistance system.
[0026] Preferably, preparations can be made for the presentation of termination conditions, when which the iterative process terminates. If such termination conditions are not met, further termination conditions may be provided, such as the maximum test period or even the maximum number of test kilometers completed by the vehicle in the simulated scenario. The quality of the simulated scenario, i.e., the variables used to evaluate the simulated scenario, preferably depend on defined criteria for each driving condition occurring in each iterative step.
[0027] In particular, critical driving conditions can thus be used as a criterion for a measure of quality. More preferably, this measure of quality is the length of the calculated time to the point of impact, the probability of an accident, and / or inappropriate driving behavior of the driver assistance system. Such inappropriate driving behavior may be, for example, a violation of traffic rules and / or an operation that poses an excessive risk of injury, particularly bodily injury.
[0028] The present invention therefore employs a game-like approach using two "players," and attempts to iteratively generate scenarios of increasing complexity until a predetermined standard, which is a critical metric (of safety) relating to the functionality of the driver assistance system, is violated. In this case, the method or system for testing "wins." In contrast, the driver assistance system being tested "wins" if no such violation, i.e., fulfilling the termination condition, is elicited.
[0029] This invention intuitively identifies scenarios that are particularly critical for each driver assistance system, thereby significantly reducing the number of road kilometers required to test the driver assistance systems. Most scenarios can typically be handled more easily by each driver assistance system. Furthermore, in such cases, any weaknesses in the driver assistance system will not be revealed.
[0030] During the testing process, a so-called agent, which may preferably be designed as a software module or as a sub-algorithm in the test method, learns from the behavior of the driver assistance system under test and continuously improves the quality of the simulated scenario in order to induce a malfunction of the driver assistance system under test.
[0031] The test method is repeated until a change in the simulated scenario leads to the driver assistance system behaving in violation of a predetermined target value that acts as an termination condition. Such termination conditions can be, for example, a length of time less than 0.25 seconds to the collision time point, or further, a specific time budget, such as a maximum simulation time of 600 hours.
[0032] Given a sufficiently long time budget, the present invention can achieve a high probability that a proper ADAS or AD system will function correctly. The useful value of tests conducted using the teachings of the present invention depends thereby on the algorithm used to modify the simulated scenario. Ideally, such an algorithm should have human-like intuition that can push each driver assistance system to its limits.
[0033] In one advantageous embodiment of a method for testing a driver assistance system, the vehicle's speed, particularly its initial velocity, and / or trajectory are specified when simulating a scenario. Doing so allows empirical values to be factored into the test. The agent can therefore already incorporate the correct path in the development of critical scenarios.
[0034] In a further advantageous embodiment of the method for testing driver assistance systems, the values of the scenario parameters are changed when the simulated scenario is modified. In this case, each given scenario is iteratively adapted and thereby improved for each test of the driver assistance system. This procedure is particularly advantageous when a specific scenario for testing a particular driver assistance system is "optimized".
[0035] In a more advantageous embodiment of the method for testing a driver assistance system, the scenario parameters are selected from the following groups, depending on the type of driver assistance system being tested.
[0036] In particular, the initial speed of the vehicle, the vehicle's trajectory, lighting conditions, weather, road surface, the number and location of static and / or dynamic objects, the speed and direction of movement of dynamic objects, in particular the state of the signal transmission system, which is a traffic signal system, traffic signs, elevation, lane width and / or maneuverability, lane course, and number of lanes.
[0037] In a more advantageous embodiment of the method for testing a driver assistance system, when a simulated scenario is changed, a preferred new scenario is created consisting of the same combined scenarios. The new scenario is preferably characterized by the need to overcome a new driving task. For example, a scenario of approaching an intersection is fundamentally different from a scenario of driving on a highway.
[0038] Replacing simulated scenarios with new ones offers the advantage of covering many different driving conditions during test runs, and the advantage of being able to test many functions of the driver assistance system in completely different environments. Doing so significantly increases the informational value of the test method. When creating new scenarios, entirely new parameters, in particular, may also be provided for changes in parameter values.
[0039] In a more advantageous embodiment of the method for testing the driver assistance system, when quality is established, an abstract reward is given, and modifications are subsequently made based on features designed to maximize that reward. Preferably, each algorithm used in the present invention, and in particular the agent applying the algorithm, learns which modifications to existing simulated scenarios or to new scenarios are appropriate to achieve the desired effect, i.e., which modifications lead to critical scenarios and potentially cause a malfunction or accident of the driver assistance system.
[0040] In a more advantageous embodiment of the method for testing driver assistance systems, each driving situation becomes more dangerous as quality improves, particularly as the length of the calculated time to the collision point decreases.
[0041] In a more advantageous embodiment, the simulated scenario is modified using an evolutionary algorithm, also known as a genetic algorithm. When such an algorithm is modified, various algorithms are combined and mutated. The resulting algorithm is used to establish candidates for the next iterative step.
[0042] This selection can be made to choose these candidates that have the highest probability of eliciting a critical scenario. Genetic evolutionary algorithms thereby offer a high degree of flexibility in optimizing existing scenarios against predefined criteria.
[0043] In a more advantageous embodiment of the method for testing a driver assistance system, a utility function specifying what value a particular scenario has is approximated based on established quality. The algorithm or agent preferably understands this value of the simulated scenario as a type of reward and is configured to maximize that value and reward.
[0044] In a more advantageous embodiment of the method for testing a driver assistance system, the driver assistance system is simulated. Simulating the driver assistance system is particularly advantageous in this case because it does not require a testbed for testing the actual components of the actual driver assistance system. In particular, the method of the present invention can be performed faster than real time in this case. The speed of the simulation is thus limited only by the computing power allocated.
[0045] In a more advantageous embodiment of the method for testing driver assistance systems, based on established quality, the policy for modifying the scenario using a reinforcement learning methodology is continuously improved during the test run until the termination condition is met. When using reinforcement learning, the algorithm or agent, each individually, learns a policy to maximize the rewards it receives. Thus, both positive and negative rewards may be given for the actions performed. By using reinforcement learning, particularly effective optimization of the simulated scenario becomes possible.
[0046] In a more advantageous embodiment of the method for testing driver assistance systems, when a scenario is first simulated, historical data from previous test operations of the driver assistance system being tested is taken into consideration. Historical data can be used to pre-train algorithms or agents. Doing so can thereby reduce the length of time required to identify critical scenarios. Furthermore, algorithms or agents trained on other, particularly similar, ADAS or AD systems can also be used. Thus, so-called regression testing may be performed, particularly to ensure that changes to previously tested parts of the driver assistance system's software do not induce any new errors.
[0047] In a more advantageous embodiment of the method for testing a driver assistance system, data about the vehicle environment is supplied to the driver assistance system, and / or in particular, sensors are used to simulate the driver assistance system based on the vehicle environment during its operation. In this case, the method of the present invention can be used to test a physically existing driver assistance system. Preferably, the vehicle is simulated in the process. However, in principle, it is also conceivable that the entire vehicle, including the driver assistance system, could be tested in this manner on a testbed. This embodiment offers the advantage that the driver assistance system can be tested using all of its components under the most realistic conditions possible.
[0048] In one advantageous embodiment of the system for testing a driver assistance system, the agent is configured to observe driving conditions derived from the driving behavior of the driver assistance system in a vehicle environment based on a simulated scenario, and to establish the quality of the scenario according to the critical state of the obtained driving conditions.
[0049] In a more advantageous embodiment of the system for testing driver assistance systems, the agent is pre-trained based on historical data. This data is taken into consideration by the agent when the scenario is first simulated.
[0050] The features and advantages previously described in relation to the first aspect of the present invention also apply to the second and third aspects of the present invention, inversely.
[0051] Further features and advantages are derived from the following description, which refers at least partially to the diagrams provided. [Brief explanation of the drawing]
[0052] [Figure 1] The figure shows the probability of a scenario occurring as a function of its complexity. [Figure 2a] This is a diagram showing an example scenario. [Figure 2b] This figure shows an example of a scenario with higher complexity than that shown in Figure 2a. [Figure 3] This figure shows an exemplary embodiment of a method for testing a driver assistance system. [Figure 4] This figure shows an exemplary embodiment of a system for testing a driver assistance system. [Modes for carrying out the invention]
[0053] Figure 1 shows the probability of a scenario occurring as a function of its complexity. The probability of occurrence is the probability that the scenario will occur in actual road traffic.
[0054] As can be seen from Figure 1, most scenarios are of relatively low complexity and correspond to the general life experiences of car drivers. These scenarios are labeled "A" in Figure 1. In contrast, high-complexity scenarios occur relatively rarely, and these are labeled "B" in Figure 1. However, it is precisely these high-complexity "B" scenarios that are highly relevant to testing the functionality of driver assistance systems.
[0055] Therefore, when testing driver assistance systems, in order to obtain a sufficient number and variety of various scenarios with high "B" complexity, it is necessary to run a very large number of scenarios based on the shown distribution curve.
[0056] Figure 2a shows the first scenario 3, in which a pedestrian 6 is crossing a crosswalk, and a vehicle 1 controlled by the driver assistance system 2, as well as another vehicle 5a in the opposite lane, are approaching the crosswalk. The driver assistance system 2 thereby controls both the longitudinal and lateral movements of vehicle 1.
[0057] In the first scenario 3 shown in Figure 2, the pedestrian 6, as well as the road course, the crosswalk, and other approaching vehicles 5a, are clearly visible to the driver assistance system 2 via sensors. In the example shown, the driver assistance system 2 recognizes that the vehicle needs to slow down so that the pedestrian 6 can pass the crosswalk. The movement of the other vehicles 5a is unlikely to play any role as a result. Figure 2a therefore relates to a relatively less complex scenario 3.
[0058] In the second scenario 3 shown in Figure 2b, there is no pedestrian crossing. Furthermore, other vehicles 5b, 5c, and 5d are parked next to the lane of vehicle 1, which is controlled by the driver assistance system 2, so that the sensors of the driver assistance system 2 are unable to detect pedestrian 6, or can only detect it with difficulty.
[0059] In addition to pedestrian 6 and parked vehicles 5b, 5c, and 5d, there is another vehicle 5a within the environment of vehicle 1 controlled by driver assistance system 2, which is approaching vehicle 1 controlled by driver assistance system 2, as shown in Figure 2a.
[0060] There is a motorcyclist 4 riding behind the aforementioned vehicle 5a. Figure 2b does not show whether the motorcyclist can be detected in the environment of vehicle 1 controlled by the driver assistance system 2. In scenario 3 as shown, motorcyclist 4 will attempt to pass the other vehicle 5a and enter another lane. Pedestrian 6 will simultaneously attempt to cross the street in the shown scenario. When crossing, the pedestrian will not notice vehicle 1 controlled by the driver assistance system 2.
[0061] Depending on how the driver assistance system 2 reacts or operates in scenario 3, that is, depending on the driving behavior that the driver assistance system 2 exhibits in the environment of vehicle 1, a dangerous or less dangerous driving situation can be obtained. For example, as indicated by the arrow in Figure 2b, if vehicle 1 continues to drive at an unreduced speed in the shown scenario 3, there is a high probability of a collision between vehicle 1, which is controlled by the driver assistance system 2, and motorcycle 4. Such a driving situation corresponds to a very critical situation.
[0062] Due to the large amount of information that the driver assistance system 2 of vehicle 1 needs to process in scenario 3 shown in Figure 2b, and the potential problems that may arise from a group of road users 5a, 5b, 5c, and 5d visible to the driver assistance system 2 in the environment, the second scenario 3 shown in Figure 2b is relatively more complex than the first scenario shown in Figure 2a.
[0063] Figure 3 shows an exemplary embodiment of method 100 for testing a driver assistance system for vehicle 1.
[0064] In the first work step 101, scenario 3 in which vehicle 1 is located is simulated. Preferably, the environment of vehicle 1 is simulated using, on the one hand, all the dynamic elements in Figure 2b such as pedestrians 6, other vehicles 5a, and motorcycles 4, as well as the static elements in Figure 2b such as other vehicles 5b, 5c, 5d and the street.
[0065] The driver assistance system 2 may, in some cases, be simulated together with the vehicle 1 it controls, preferably on a testbed 12, based on the simulation. In this case, the sensors of the driver assistance system 2 are preferably simulated to replicate the simulated scenario 3, or the environment of the vehicle 1 derived from the simulated scenario 3, respectively. A suitable stimulator known from the prior art is used in particular for this purpose.
[0066] More preferably, the driver assistance system 2, or only the software of the driver assistance system 2, may be integrated into the simulation of scenario 3 in the form of a hardware-in-the-loop test.
[0067] Finally, it is also possible to simulate only the driver assistance system 2, or only the software of the driver assistance system 2.
[0068] More preferably, the initial velocity of vehicle 1 and / or the trajectory of vehicle 1 are specified when simulating the scenario. Furthermore, it is preferable that historical data from previous test operations of the driver assistance system 2 being tested, or other driver assistance systems, be considered when simulating the scenario. This historical data is particularly useful when determining the test scenario to be simulated first. Furthermore, it is preferable that such historical data can be used to train so-called agents who test the driver assistance systems, or in particular agents who have already been used to test driver assistance systems, which are other driver assistance systems.
[0069] In the second work step 102, the driver assistance system 2 operates in a vehicle environment based on the simulated scenario 3. If the driver assistance system 2 is also merely simulated, then the operation of the driver assistance system 2 in the environment of the vehicle 1 controlled by the driver assistance system 2 is also merely simulated.
[0070] In the third work step 103, the driving behavior of the driver assistance system 2 is observed in the environment of the vehicle 1 controlled by the driver assistance system 2.
[0071] Based on the data established through observation, the driving conditions that occurred at any given time point can be determined as a result of the driving behavior of the driver assistance system 2 in the environment of vehicle 1. This is preferably achieved in the fourth work step 104.
[0072] Based on the resulting driving conditions, the driver assistance system 2 needs to make new decisions regarding how it should behave and how it should control the vehicle 1 it controls.
[0073] The driving conditions obtained in each of the simulated Scenario 3 can be objectively examined in relation to critical situations. In particular, the probability of an accident and the length of time until the collision point can be calculated for each time stage of the simulation based on the information available from Scenario 3.
[0074] For example, in Scenario 3 of Figure 2b, if vehicle 1, controlled by the driver assistance system 2, continues to drive straight ahead at a non-decelerating speed, the length of time until the collision point can also be calculated.
[0075] The probability of an accident can be influenced, for example, by evaluating the appropriateness of the driving behavior of the driver assistance system 2. The probability of an accident in scenario 3 of Figure 2a or Figure 2b should increase, for example, when the vehicle 1 controlled by the driver assistance system 2 is driven at an excessively high speed.
[0076] In the fifth work step 105, the quality of the simulated scenario 3 is established according to predefined criteria for the obtained driving conditions. Thereafter, the quality is derived in particular from the complexity of the simulated scenario, where the higher the complexity of the simulated scenario 3, the higher the quality. Preferably, the quality indicates how the driving conditions obtained from the driving behavior of the driver assistance system 2 are evaluated against predefined criteria. Such criteria may be, for example, a critical condition of the obtained driving conditions, which is characterized by the probability of an accident and / or the length of time until a collision is likely to occur. Furthermore, a critical condition may also be characterized by the possibility of inappropriate driving behavior of the driver assistance system 2.
[0077] In the sixth work step 106, an inspection is then performed to determine whether the termination conditions have been met. Such termination conditions can be defined, on the one hand, by predefined criteria for the obtained driving conditions, such as the maximum time length to the collision time point, or further, a limit value for the maximum accident probability. A further termination condition may also be specified, which is the maximum test period.
[0078] If the termination conditions are met, the simulated scenario, or the parameter values of the simulated scenario, and / or the quality of the simulated scenario are exported, respectively, in the form of a test report in the eighth work step 108.
[0079] If the termination conditions are not met, the simulated scenario 3 is modified in the seventh work step 107 based on the established quality. At this point, the test method is restarted from the beginning using the first work step 101. The work steps are preferably repeated until at least one of the termination conditions is met.
[0080] In the seventh work step 107, there are essentially two different methods for modifying the simulated scenario. First, only the parameter values of the simulated scenario can be changed. In this case, the modified simulated scenario is always based on the simulated scenario used in the previous iteration step. This method is particularly used when simulated scenario 3 has been modified by a so-called evolutionary algorithm.
[0081] Alternatively, when a simulated scenario is modified, a new scenario is created. In particular, in such a new scenario, parameters can be replaced, parameters can be deleted, and / or new parameters can be added.
[0082] This approach is particularly useful when a reinforcement learning methodology based on established quality is used in a policy that modifies a scenario. With reinforcement learning, the policy is continuously improved throughout the test run until the termination condition is met. Preferably, a utility function specifying the quality values of a particular simulated scenario is approximated in this case based on the established quality.
[0083] As already mentioned, the algorithm for changing the scenario can preferably be designed as a so-called agent. In this case, the testing method is similar to a two-player game, where the agent plays against the driver assistance system 2 in order to cause an error in the driver assistance system 2.
[0084] Preferably, quality is characterized by a conceptual reward, which is then modified in a cost function, or based on the optimization of the cost function. Preferably, the cost function is designed to maximize the conceptual reward. Preferably, as quality increases, the driving conditions obtained for each become more dangerous, and in particular, the length of the calculated time to the collision time point decreases.
[0085] The workflow for testing a driver assistance system further includes the following steps: In the first further step, the driver assistance system to be tested is integrated into a suitable modeling and integration platform, such as MobiConnect®, along with an applicable vehicle dynamics model, such as VSM®. Preferably, a 3D simulation environment is also provided on this integration platform.
[0086] In the second and subsequent work step, scenario templates are created that generally specify road characteristics, road users, and vehicle operation, for example, using OpenDRIVE®. Optionally, actual scenarios based on data from actual driving operations can be used in their creation. For example, GPS data, sensor data, and object lists are suitable for this purpose.
[0087] In a third and further work step, these parameters are identified and selected, which the scenario modification algorithm can thereby modify. The range of values within which these parameters can exist is then defined for the parameters. For example, the algorithm may specify that the scenario parameter "vehicle speed ahead" can always be assigned a value between 5 and 35 m / s. Preferably, not only parameters relating to the environment of vehicle 1 controlled by driver assistance system 2 can be selected here, but the trajectory of vehicle 1 can also be selected to be modified by the algorithm. The trajectory can also be modified as a parameter for other road users. Thus, individual trajectories are defined for each road user using waypoints and time steps. The trajectory can then be modified by changing the location of the waypoints and the distance between waypoints.
[0088] In a fourth further work step, specific criteria are predefined to control the iterative generation of scenarios. If the predefined criterion is the length of time to the collision point, the algorithm attempts to find scenarios for parameter values that minimize the length of time and result in an accident.
[0089] Appropriate termination conditions are defined in a fifth further work step. Possible termination conditions include, for example, that the time length to the collision time point is 0.25 seconds, or that the maximum number of iterations has been reached.
[0090] In a further sixth work step, the first set of parameter values is generated. These are generated randomly, manually selected, or chosen based on actual test runs. Together with the already generated scenario templates, specific scenarios that can be executed in the 3D simulation can thus be generated.
[0091] The method for testing the driver assistance system described above can then be carried out.
[0092] Figure 4 shows an exemplary embodiment of a system for testing a driver assistance system.
[0093] Preferably, the system 10 includes means 11 for simulating a scenario in which the vehicle 1 is placed, means 12 for operating the driver assistance system 2 in the environment of the vehicle 1 based on the simulated scenario, means 13 for observing the driving behavior of the driver assistance system 2 in the environment of the vehicle 1, means 14 for determining a driving situation obtained from the driving behavior of the driver assistance system 2 in the environment of the vehicle, means 15 for establishing the quality of the simulated scenario 3 according to a predefined criterion for a driving situation that is a critical state in the obtained driving situation, means 16 for checking termination conditions, and means 17 for modifying the simulated scenario 3 based on the established quality until the termination conditions are met.
[0094] The aforementioned means are preferably formed by a data processing system. However, in the environment of vehicle 1, the means 12 for operating the driver assistance system can also be formed by a testbed, in particular by a testbed for the driver assistance system or the vehicle. In any case, the means 13 for observing the driving behavior of the driver assistance system 2 can be formed in part by sensors.
[0095] The means 17 for modifying the simulated scenario may preferably be in the form of an agent.
[0096] The system preferably includes an interface 18 which can be designed as a user interface or a data interface.
[0097] It should be noted that the exemplary embodiments are merely examples and are not intended in any way to limit the scope of protection, application, and configuration. Rather, the foregoing description is intended to provide guidelines for carrying out at least one exemplary embodiment, thereby allowing various modifications with respect to the function and configuration of the components described in particular, without departing from the scope of protection obtained from the claims and equivalent combinations of features.
[0098] List of reference numbers Scope of scenarios A and B 1. Vehicle 2. Driver assistance systems 3 Scenarios 4 Motorcycles 5a, 5b, 5c, 5d Further rides 6 Pedestrians 11. Simulation methods 12 Means for operating the driver assistance system 13 Means for observing driving behavior 14 Means for determining the operating conditions 15. Means for establishing quality 16. Means for changing the scenario 17. Means for determining termination conditions 18 Interfaces [Explanation of symbols]
[0099] 1. Vehicle 2. Driver assistance systems 3 Scenarios 4. Motorcycle driver, motorcycle 5a, 5b, 5c, 5d Further rides 6 Pedestrians 10 Systems 11. Means for simulating scenarios 12 Means for operating the driver assistance system 13 Means for observing driving behavior 14 Means for determining the operating conditions 15. Means for establishing quality 16. Means for determining termination conditions 17. Means to change the scenario 18 Interfaces 100 Methods for testing driver assistance systems A range of low-complexity scenarios B. Scope of highly complex scenarios
Claims
1. A computer-implemented method (100) for testing a driver assistance system (2) for a vehicle (1), comprising: a step (101) of simulating a scenario (3) in which the vehicle (1) is placed; operating (102) the driver assistance system (2) in an environment of the vehicle (1) based on the simulated scenario (3); a step (103) of observing the driving behavior of the driver assistance system (2) in the environment of the vehicle (1); determining (104) a driving situation resulting from the driving behavior of the driver assistance system (2) in the environment of the vehicle (1); - establishing (105) the quality of the simulated scenario (3) according to predefined criteria for the obtained driving situation, in particular according to critical conditions of the obtained driving situation; checking (106) for at least one termination condition of the method (100); modifying (107) the simulated scenario (3) based on the established quality until the at least one termination condition is met; The work steps include: A computer-implemented method (100) in which the simulated scenario (3) is modified to generate a new scenario in which parameters are replaced and / or parameters are omitted and / or new parameters are added.
2. 2. The method (100) of claim 1, wherein the speed, in particular the initial speed, of the vehicle (1) and / or the trajectory of the vehicle (1) are specified when simulating the scenario.
3. 3. The method (100) of claim 1 or 2, wherein when modifying the simulated scenario, only the values of the parameters of the simulated scenario are changed.
4. 4. The method (100) according to any one of claims 1 to 3, wherein when modifying the simulated scenario (3), a new scenario is created consisting of successively combined scenarios.
5. 5. The method (100) of any one of claims 1 to 4, wherein the quality is characterized by a notional reward when establishing the quality, and the modification subsequently occurs based on a cost function designed to maximize the notional reward.
6. 6. The method (100) according to any one of claims 1 to 5, wherein the simulated scenario (3) is modified using an evolutionary algorithm.
7. 7. The method (100) according to any one of claims 1 to 6, wherein a utility function specifying what quality value a particular simulated scenario (3) has is approximated based on the established qualities.
8. The method (100) according to any one of claims 1 to 7, wherein the driver assistance system (2) is simulated.
9. 9. The method (100) of claim 1, wherein the strategy for modifying the scenario (3) is continuously improved during the test run using a reinforcement learning methodology based on the established quality until the termination condition is met.
10. 10. The method (100) according to any one of claims 1 to 9, wherein when the scenario is first simulated, historical data from previous test operations of the driver assistance system, in particular the driver assistance system (2) to be tested, is taken into account.
11. 11. The method (100) according to any one of claims 1 to 10, wherein data relating to the environment (4) of the vehicle (1) is supplied to the driver assistance system (2) and / or the driver assistance system (2), in particular its sensors, are stimulated based on the environment (4) of the vehicle (1) during operation of the driver assistance system (2).
12. A system (10) for testing a driver assistance system (2) for a vehicle (1), comprising: means (11) for simulating a scenario (3) in which said vehicle (1) is placed; means (12) for operating the driver assistance system (2) in an environment of the vehicle (1) based on the simulated scenario (3); means (13) for observing the driving behavior of the driver assistance system (2) in the environment of the vehicle (1); means (14) for determining a driving situation resulting from the driving behavior of the driver assistance system (2) in the environment of the vehicle (1); means (15) for establishing the quality of the simulated scenario (3) according to predefined criteria for the driving situation, in particular according to critical states of the obtained driving situation; means (16) for checking at least one termination condition of the method (100); means (17) for modifying the simulated scenario (3) based on the established quality until at least one termination condition is met; Equipped with When the simulated scenario (3) is modified, a new scenario is generated in which parameters are replaced and / or parameters are omitted and / or new parameters are added, the system (10).
13. 1. A system (10) for testing a driver assistance system (2) for a vehicle (1), particularly as claimed in claim 14, comprising an agent (16), wherein the agent (16) is configured to generate a scenario (3) and to induce errors in the driver assistance system by modifying the scenario (3), and wherein strategies for modifying the scenario (3) are continuously improved during operation by the agent (16) interacting with the driver assistance system (2), particularly by a reinforcement learning methodology, until a termination condition is met.
14. 14. The system (10) according to claim 13, wherein the agent (16) is configured to observe driving situations resulting from the driving behavior of the driver assistance system (2) in the environment (4) of the vehicle (1) based on the simulated scenario (3) and to establish the quality of the scenario (3) depending on critical states of the resulting driving situations.
15. 15. The system (10) of claim 13 or 14, wherein the agent (16) is pre-trained based on historical data, and this data is taken into account by the agent (16) when first simulating the scenario (3).
