1. Introduction
Because the technology applied to automated driving systems (ADSs) has continuously advanced, many studies have been actively performed to evaluate the safety and performance of ADS. To this end, an evaluation of the safety and performance of automated vehicles (AVs) using scenarios in proving grounds (PGs) or simulations was proposed [
1,
2]. The scenarios used for AV evaluation are designed to reproduce various situations in PGs or simulations that AVs may encounter during real-world driving. Recently, simulation-based AV safety evaluation is being conducted to reduce the time and cost of evaluation and increase complexity [
3,
4].
Using scenarios to evaluate AVs makes evaluation more systematic and enables evaluation in a variety of situations. Simulations can generate a wide range of situations that cannot be easily reproduced in PGs or the real world and thus can perform an effective evaluation. Additionally, simulations can repeat the same situation, enabling comparison and the analysis of the performance of multiple systems in the same scenario, and can perform thousands of tests in a short time, making them powerful tools for improving the safety of ADSs [
5]. Therefore, several studies mention the importance of developing scenarios for various road sections and situations [
6,
7,
8] and also emphasize how to evaluate driving safety by implementing the developed scenarios in simulations [
4].
However, most developed scenarios represent only a single event within a short road section. This implies that it is impossible to evaluate continuous events in long road sections with varying geometric structures. These single-scenario evaluations are useful for safety tests of AVs in specific road sections and various situations; however, resetting scenarios for each road section requires considerable time and effort. For instance, highways consist of main, ramp, and tollgate sections. The use of a single scenario has the limitation of evaluating each section separately. Therefore, to accelerate safety evaluations, it is necessary to transform single scenarios into multiple scenarios that enable continuous evaluation of the entire road section by connecting and combining single scenarios. Multiple scenarios can increase the number of safety evaluations in a short amount of time and intensify AV safety evaluations. It can also include tests with unexpected events due to scenario domain conversion.
In this study, we accelerated the evaluation of AV safety using simulations by transforming single scenarios on highways into multiple scenarios by connecting and combining them. Subsequently, we implemented the proposed multiple scenarios in the MORAI simulation, which is an automated driving (AD) simulation, to confirm whether they are useful for AV evaluations in practice. The remainder of this paper is organized as follows.
Section 2 discusses theories and related research on scenarios and simulation standards.
Section 3 presents the proposed key definition of multiple scenario generation and consideration for implementing scenarios in the simulation. In
Section 4, we generate multiple scenarios based on the proposed definition, implement the generated scenarios in a simulation, and analyze the results to verify the feasibility of using multiple scenarios.
It is expected that using the various scenarios proposed in this study to evaluate the driving safety of AVs will enable the rapid development of AVs in a more realistic evaluation environment.
2. Literature Review
2.1. Related Theory
2.1.1. PEGASUS Project
Scenario-based evaluation is commonly used to assess the safety of AVs by representing situations that AVs may encounter in the real world autonomously. Germany’s PEGASUS project proposed a scenario development process and methodology to systemically evaluate advanced AD functions. The project defines scenarios in three types: functional, logical, and concrete scenarios [
6]. Functional scenarios describe the situations to be evaluated in natural language. They include road networks, static and dynamic objects, and driving situations and have the highest level of abstraction. Logical scenarios specify the types and ranges of functional scenario parameters described in natural language. These scenarios encompass all types of elements that are considered during evaluations. Concrete scenarios are the most specific type of scenarios. They refer to actual experimental values taken from the parameter ranges that are set in the logical scenarios [
7].
2.1.2. AV Simulation Standard
The need for simulation-based AV safety evaluations to ensure safety in various environments has increased with advances in AD technology. The Association for the Standardization of Automation and Measuring Systems (ASAM) established a standard format, OpenX, for testing scenarios and simulation-based AV functions. OpenX includes OpenDrive, Open curved regular grid (CRG), OpenScenario (OSC), Open operational design domain (ODD), OpenLabel, and Open open simulation interface (OSI) [
9]. OpenDrive defines a static driving environment that supports intersections, road structures, traffic signs, and other information to describe road networks [
10]. OpenCRG supports road surface modeling, including potholes and manholes [
11]. OSC defines dynamic content related to weather, driving behavior, and objects for AD simulation testing and verification [
10]. OpenODD defines a format for representing the operation design domain (ODD) of an AD based on the International Organization for Standardization (ISO) 34503 and the British Standards Institution (BSI) standards. OpenLabel defines labeling methods, labeling structures, and storage file formats for objects and scenarios [
12]. Finally, OpenOSI proposes a standard for the interface between AD functions and simulators [
9]. Most simulation models for AV evaluation can simulate scenarios written in OpenX format.
2.2. Prior Research
In this study, various previous studies evaluating AD functions based on scenarios were scrutinized to extract the conditions to be considered when connecting single scenarios and integrating and adapting multiple scenario simulations.
First, studies that comprehensively evaluated AV functions based on single or multiple scenarios were investigated. Ref. [
13] developed a specific framework for developing road segment-based scenarios. The highway main section scenario was developed using the scenario generation procedure proposed in the Pegasus project. This study presented a method for writing functional, logical, and concrete scenarios using traffic accident data. Ref. [
14] proposed a scenario development methodology based on the text-mining technique known as term frequency–inverse document frequency. They used descriptive text data on traffic accidents that occurred near crosswalks and intersections on urban roads. They extracted keywords from the text and generated a functional scenario using the extracted word combinations. Ref. [
15] analyzed the risk level of surrounding traffic participants using multiple scenarios to evaluate the collision avoidance algorithm for ADS. Risk levels were evaluated under different condition settings. These settings included the driving paths of multiple vehicles, the ego, and targets in both straight roads and intersection scenarios, with varying weather and road surface conditions, such as wet and dry conditions. The indicators selected to evaluate the collision avoidance algorithm were the time to react (TTR), time to collision (TTC), and time to escape (TTE). Ref. [
16] implemented various simulation scenarios to accelerate the development of advanced driver assistance systems (ADAS) and ADS. They assessed the reliability of the technology by broadening its range of evaluation. This was achieved by varying the parameter values for single scenarios. The simulation used a virtual test drive (VTD) and evaluated the adaptive cruise control (ACC) or smart cruise control and lane-keeping assist (LKA) functions by constructing straight and curved road sections in the simulation and changing the speed and position of the ego and target vehicles. The study mentioned that it is possible to evaluate ADAS functions quickly and efficiently and that there is a significant effect in reducing evaluation costs. Ref. [
17] proposed a cooperative caching scheme in the VEC (vehicular edge computing) based on asynchronous federated and deep reinforcement learning (CAFR). The proposed scheme was evaluated and verified via an urban road simulation environment. Via the evaluation, it was determined that the CAFR scheme was superior to other baseline caching schemes.
Second, we conducted a comprehensive review of the existing literature, employed the data collected to generate AD evaluation scenarios, and subsequently classified and prioritized them based on their perceived level of difficulty. Many researchers are interested in extracting important scenarios. Ref. [
18] presented a testing scenario library generation (TSLG) framework, which is a comprehensive library of testing scenarios designed to address the limitations of PG testing. They computed the parameter values to be tested in these scenarios by assigning importance scores to all possible values within the ODD. The parameter values for the importance scores were the maneuver challenge and the exposure frequency of the scenario. Fifty-seven important scenarios, accounting for 1.67% of the total, were extracted. Similarly, [
5] proposed a test-scenario generation framework for evaluating the driving convenience of AVs. They generated a scenario library from naturalistic traffic data and used occurrence frequency and random forest models to derive the scenarios. Critical scenarios were extracted based on the comfort scores. Critical scenarios were found to be more challenging than existing scenarios. In addition, a clustering algorithm was used to prevent scenario overlap. Ref. [
19] measured the similarity between scenarios generated by vehicle data and those classified using a random forest. The scenario similarity was derived by comparing the number and positions of the target and ego vehicles in the scenario. Scenario classification was used to broaden the test scope and diversity and provide a method to avoid performing the same test. Various studies have also attempted to derive critical scenarios by combining scenarios based on ODD. Ref. [
20] emphasized the need for diverse and specific experimental value combinations via ODD when designing test scenarios. Scenarios were generated by combining ODD parameters with a complexity index. Subsequently, the authors created a simulation-based framework to examine the environmental conditions that can lead to AV errors and thoroughly evaluated the performance of AV functions.
The main objective of this study was to continuously evaluate AV functions by implementing multiple scenarios in a single simulation. Therefore, scenario-based evaluations of the AV functions using simulated environments were conducted. Ref. [
21] proposed a virtual-environment-based AV function evaluation framework that can objectively and quickly evaluate advanced AD functions. They formulated complicated scenarios and developed automated algorithms that generated evaluation metrics for testing the AV functions. There were four different scenarios, which included pedestrians in a straight section under rainy conditions, cyclists and target vehicles in an intersection, and target vehicles in a curved section. A total of 12 indices were used to evaluate the four aspects of the AV function. They included driving safety, ride comfort, intelligence, and efficiency. The study demonstrated a high consistency between the evaluation in a virtual environment and that in a real environment.
2.3. Lessons Learned
Numerous studies were conducted to systematically develop single scenarios that verify vehicle behavior on short road sections. However, only a few studies have focused on developing multiple scenarios that can systematically evaluate multiple events on long road sections with various geometries. Although some researchers attempted to integrate multiple scenarios for evaluation, they evaluated a single situation by merely changing the parameter values to test specific ADAS functionality. In addition, although some multiple scenarios were implemented to evaluate ADAS functions, a full-scale multiple-scenario development procedure and multiple-scenario verification were not performed.
The scenario integration methods used in these studies simply connected straight and curved sections or set different environmental conditions, such as rain and clear weather. It is believed that the importance of single scenarios and multiple scenarios was not perceived to be significantly different in the past, and no comparison of the differences between the two types of scenarios was made. Recent studies have focused on assessing safety based on scenarios similar to real road conditions to evaluate complex AV functions. Therefore, it is believed that research focusing on multiple scenarios will become increasingly important.
The aforementioned studies solely considered road types or weather conditions without proposing any systematic approach for combining single scenarios into multiple scenarios. Consequently, creating multiple scenarios that accurately reflect the actual world is inadequate. In this study, we proposed a specific framework for developing multiple scenarios capable of replicating real-world conditions, including roads, traffic, weather, and environmental factors. The scenarios were formulated using the functional, logical, and concrete scenario systems defined within the PEGASUS project. We ensured that each stage of the scenario was supported by a meticulous and comprehensive set of procedures to ensure the highest level of detail and accuracy. In addition, this study proposed a novel process for implementing and validating these multiple scenarios within simulations, which was not previously discussed in the literature. We present a systematic and specific procedure for the development of multiple scenarios and the verification of their accuracy via simulations. This study validated the reliability of these scenarios, thereby enabling an efficient safety evaluation of AD based on scenario-based testing.
3. Methodology
3.1. Overview
The main objective of this study was to produce a set of multiple scenarios by generating single scenarios and connecting them sequentially. This approach aims to address the inherent limitations of single scenarios when verifying vehicle behavior on specific road sections. Additionally, the generated multiple scenarios are implemented in ADS to demonstrate the effectiveness of multiple scenarios by comparing the performance of single and multiple scenarios.
To this end, a method of converting from a single scenario to multiple scenarios and a method of implementing and evaluating multiple scenarios within a simulation were presented according to the scenario development procedure (functional, logical, concrete) presented in the PEGASUS project. Details on this are as follows:
Selecting multiple functional scenarios: select single functional scenarios suitable for simulation and create a multiple functional scenario by connecting single functional scenarios.
Generating multiple logical scenarios: create a logical scenario by expanding elements and scope on the single functional scenarios selected in the previous step.
Generating multiple concrete scenarios: determine specific experimental values from the elements and scope of the logical scenario.
Validating the multiple concrete scenarios: input and evaluate multiple concrete scenarios in simulation.
In this section, specific methods and conditions for converting and creating multiple scenarios and implementing the scenarios in simulation according to the above procedure are presented. The simulation employed the Mobility Research AI(MORAI) simulation, which used the ASAM OSC 1.2 version. The overall procedure for generating and verifying multiple scenarios in this study is shown in
Figure 1.
3.2. Conversion of Single Scenarios into Multiple Scenarios
3.2.1. Multiple Functional Scenario
The conversion from a single scenario to multiple scenarios occurs at this stage. Prior to conversion to a multiple functional scenario, the difficulty of the scenario must first be estimated to extract a single functional scenario suitable for simulation. The reason for estimating the difficulty level of a single functional scenario is to expand the case diversity when creating multiple scenarios. In the new assessment/test methods (NATMs) from the validation method for automated driving (VMAD) of Working Party 29 (WP.29) [
22], AV evaluation methods are classified as simulation, PG, and real-world testing. Furthermore, scenario characteristics are classified as edge case, critical, and typical for each evaluation method. Edge cases are scenarios with high risks and low probabilities of occurrence and are suitable for simulation. Critical scenarios have lower risks and higher probabilities of occurrence than edge cases and are suitable for PG testing. Typical scenarios have the lowest risk and highest probability of occurrence, making them suitable for real-world testing [
22].
In this study, we estimated the difficulty level of the single functional scenarios required for simulation testing by using the frequency and severity of traffic accidents [
13]. The frequency of traffic accidents was determined by the number of accidents related to the scenario among the traffic accident information in the functional scenario data. The severity of traffic accidents was obtained by applying equivalent property damage only (EPDO) to the type of traffic accident in the reference scenario. The EPDO converts the damage resulting from an accident into a unit that represents its severity based on the weights assigned to different types of accidents (fatal, injury, and property damage) [
23]. In Korea, the weights by accident type are 12 for fatal accidents, 3 for injuries, and 1 for property damage [
24,
25]. Only accidents that resulted in personal damage such as fatalities and injuries were considered in this study. The EPDO representing accident severity was computed as follows in Equation (1). Where Fatal is the number of fatal crashes and Injury is the number of injury crashes. The difficulty level of a scenario was estimated using K-means clustering with accident frequency and severity as input parameters. K-means clustering is an unsupervised learning algorithm that assigns each data point to a group based on a given number of clusters, K, and initial values. This technique performs grouping by analyzing similarities by measuring the distances between given observations without relying on prior information regarding clear categories [
26,
27].
Next, connection conditions were defined to convert the extracted single functional scenario into a multiple functional scenario. The actual driving environment and situations were reflected in multiple scenarios. If scenarios are connected to a lack of realistic traffic flow and vehicle dynamics, it may be difficult to implement plausible scenarios in the simulation, and proper evaluation cannot be conducted owing to the accompanying errors. In this study, the prerequisite conditions for connecting single scenarios were defined to facilitate the immediate implementation of multiple scenarios. By connecting the single scenarios schematically depicted in
Figure 2, we listed the key prerequisites for considering the road environment and vehicle conditions.
The four main conditions that were considered in connecting the scenarios are as follows:
Reflecting the characteristics of the number of lanes—If the number of lanes, which is a road design condition, is not reflected (e.g., when connecting a 4-lane highway main section scenario with a 2-lane toll gate section scenario), congestion can occur even in free-flowing traffic because of the decrease in the number of lanes. This does not reflect the traffic flow between the main highway section and the toll gate section in free-flowing traffic. In addition, there is a risk of collision accidents owing to frequent lane changes caused by surrounding vehicles.
Matching the ego vehicle and scenario direction—If the type of ego vehicle is different or the direction of the scenario is not seamless, consecutive scenario experiments cannot be conducted, resulting in longer experimental times or failures in scenario connection.
Generating multiple events—When scenarios repeat the same events, safety verification can be less reliable because the ability to respond to multiple situations cannot be evaluated.
Traffic flow similarity—If the traffic flow deviations between scenarios are large, the interactions of the ego vehicles with the speed and behavior of the target or surrounding vehicles can change suddenly, leading to unnatural driving behavior.
Therefore, connecting scenarios without considering these conditions limited their implementation in the simulation. In this study, the aforementioned conditions were classified as static and dynamic elements for ease of presentation. Static elements refer to elements that do not change during the simulation runtime, such as hyperparameters or configuration files for the initial conditions, whereas dynamic elements refer to elements that can change during the simulation runtime. The considerations when connecting scenarios according to the environmental and vehicle conditions are presented in
Table 1.
3.2.2. Multiple Logical Scenario
The converted multiple functional scenarios should be specified in a form applicable to the simulation. To express the situation clearly, the selected functional scenario was transformed into a logical scenario based on these considerations. Logical scenarios were created by defining the scenario elements and scope. This study defined a scenario scope that was compatible with the simulation by utilizing the ODD classification and elements presented in the OpenODD of the ASAM. ODD comprises various parameters that can affect AD operations, such as road type, weather conditions, and traffic situations, as safe operating conditions for AVs [
28]. Recently, the ISO established ODD standards to unify the expression of ODD, and OpenODD defined ODD based on a standard, BSI, ISO, and automated vehicle safety consortium (AVSC) [
29]. OpenODD classified ODD details into three categories: scenery, environmental conditions, and dynamic elements. The scenery includes 2D and 3D road spaces where AVs drive, and the environmental conditions include factors unrelated to roads, such as weather, particles, luminance, and connectivity. Dynamic elements include objects, such as road users and ego vehicles, that directly affect road safety evaluations [
30]. The elements in OpenODD can be transformed into a simulation-compatible language that facilitates the implementation of scenarios.
In this study, the elements and scope to be included in the logical scenario were proposed based on the scenery, environmental conditions, and dynamic elements corresponding to OpenODD classification. The elements and scope were derived from the ODD of MORAI simulation, which is based on the ASAM OSC 1.2 version. The ASAM OSC 1.2 version includes dynamic objects, weather, and speed conditions, while MORAI simulation includes various elements and scopes such as road geometry, communication, time, and signage in addition to those in ASAM OSC.
Subsequently, the logical scenario should be able to generate numerous scenarios via the combination of elements and scope. Therefore, the elements and scope of the logical scenario were classified into variable elements that can be changed in the simulator and fixed elements. The combination of variable elements enables the generation of numerous scenarios. The procedure for generating logical scenarios is illustrated in
Figure 3, and the proposed scenario elements and scope are elaborated on in
Section 4.3.2.
3.2.3. Multiple Concrete Scenario
Concrete scenarios are generated by combining the variable values within logical scenario elements, resulting in hundreds of thousands to tens of millions of scenarios. These concrete scenarios can provide actual experimental values that can be converted into an applicable form for simulations. Various situations ranging from simple to complex can be implemented by combining numerous elements. At the moment, the actual experiment value can be exploited with random sampling.
3.3. Multiple Scenario Implementation
3.3.1. Establishment of Test Conditions
To implement the scenario in the simulation, the experimental values extracted from the concrete scenario must be converted into xosc format supported by OSC. However, it is important to follow certain considerations to avoid situations in which unnatural driving behavior or scenario implementation owing to collisions cannot be realized during the scenario setting.
We formulated several factors while applying the exploited concrete scenario experimental values to the MORAI simulation after the OSC format conversion. The variables defined in OSC correspond to the variable ODD of the logical scenario parameters. OSC consists of the ‘Init’ and ‘Story’ stages and these stages derive the experimental conditions and considerations. Init is the stage for setting the scenario environmental conditions, such as initiating the state of the objects, including the ego vehicle, and its interaction with other objects, weather, traffic, and signal information. The story is a stage that defines the events that occur during the simulation and the behaviors of the objects when each event is activated. This stage includes a start/stop trigger, maneuver group, actors, and maneuvers (event, action). Triggers establish the criteria for initiating certain scenario components and dictate when actions (which control the entity’s longitudinal and lateral movements) should start or stop.
At the Init stage, there are several factors to consider regarding the speed of dynamic objects. For instance, it is necessary to set the speed of a vehicle differently, depending on the trigger agent and maneuver of the vehicle. AVs reflect the driving behavior of the operators. Therefore, when evaluating lane changes or overtaking scenarios, the ego-AV speed should be higher than the target vehicle speed. Conversely, the ego vehicle speed should be the same as or slower than the target vehicle speed in the car-following scenario. Thus, the speed range should be considered depending on the trigger agent and maneuver of the vehicle.
We have derived key conditions in the story stage to simulate dynamic objects that behave similarly to a driver model. For example, it is necessary to define the acceleration/deceleration and arrival positions of the target and ego vehicles in advance to control their movement when an ego vehicle changes lanes or avoids obstacles. In addition, a sufficient driving distance and time interval should be allocated to cope with transitioning events for consecutive events. This allocation overcomes any discontinuities that may occur during scenario connections.
3.3.2. Selection of Evaluation Metrics
To compare and evaluate the performance of a single scenario and multiple scenarios, time to collision (TTC) was selected as an evaluation metric. Various metrics such as time to escape (TTE), time to react or time to region (TTR), and time to steer (TTS) can be used for performance verification in an AD assessment scenario [
15,
31]. However, TTC is the commonly used metric when evaluating scenarios and is mainly used to evaluate vehicles following scenarios [
13,
32]. TTC is easy to apply to complex scenario analysis [
33]. For lane changing, TTS is mainly used. In this study, TTC was used to evaluate the vehicle following the scenario in the tollgate section.
TTC refers to the time required for two vehicles to collide if they continue driving at their current velocity. A lower TTC value indicates a higher severity of the collision, and a zero TTC indicates that a collision has occurred. The TTC generally has a threshold value, where values above the threshold indicate lower severity of collision and vice versa. Therefore, a higher TTC value suggests that the ADS operates more stable [
34]. The TTC was computed using Equation (2) as follows:
where
and
represent the positions of the lead and following vehicles, respectively, and
and
represent the speeds of the lead and following vehicles, respectively [
34].
4. Generation and Validation of Multiple Scenarios
4.1. Overview
In this section, we describe the process of generating multiple scenarios and verifying them using the MORAI simulation based on the methodology proposed in
Section 3. Using the methodology proposed in the previous section for generating and implementing multiple scenarios, we performed the entire procedure, from converting single scenarios to multiple scenarios to simulation-based verification. As a simulation-based scenario verification method, we converted the concrete scenario created in the last stage of scenario generation into an OSC format and implemented it in the simulation. We then compared the results of the single scenario simulations with those of the multiple scenario simulations. Via this process, we demonstrated the performance of multiple scenarios.
4.2. Site Selection and Scenario Collection
The purpose of this study was to develop multiple scenarios for highways. Thus, we designated the spatial range of the K-City highway map, an AD testbed with a realistic evaluation environment. First, we collected single scenarios developed for each segment, such as the ramp, main, and toll gate sections. A pool of functional scenarios for highways was collected based on traffic accident data developed by [
13]. The collected scenarios were written in natural language and consisted of “scenario description” (position of vehicles, driving path of the ego, target, surrounding vehicles), “road geometry” (number of lanes, lane type), “movement objects” (ego vehicles, surrounding vehicles), and “accident information” (accident frequency and severity). The scenario pool contained 59 scenarios, comprising 22 ramp sections, 29 main sections, and eight toll gate sections. The scenarios were classified into nine categories: car-following, lane deviation, stopping, cut-in, cut-out, cut-through, wrong-way driving, driving, and lane changing.
4.3. Multiple Scenario Generation from Single Scenario
4.3.1. Functional Scenario Generation
In this section, we classified scenarios using K-means clustering to derive suitable single scenarios for testing in the simulation environments. Our K-means clustering model used data on the frequency and severity of traffic accidents. To calculate the severity of traffic accidents, we applied the EPDO formula to the fatalities and injuries data. The number of clusters (K) was set to three, considering the scenario types (edge case, critical, and typical) mentioned in
Section 3.2.1. Based on the results of the K-means clustering, the difficulty level of a single scenario can be categorized as follows:
an edge case scenario if traffic accidents are rare, but the severity is high;
a critical scenario if traffic accidents occur frequently, but the severity is not high;
a typical scenario if traffic accidents are rare and the severity is low.
Figure 4 shows the classification results for the three scenarios in a highway section, where the X-axis represents accident frequency, the Y-axis represents traffic accident EPDO, and the star notation represents the centroids for scenario classification.
The circle around the star represents a scenario, where the yellow circle represents an edge case, the purple circle represents a typical case, and the green circle represents a critical scenario.
The Silhouette index was used to evaluate the fitness of the K-means clustering model. Silhouette is a clustering validity index that measures the similarity of each data point in one cluster to other data points in the same cluster, compared to data points in other clusters [
35]. Generally, a Silhouette index greater than 0.5 is considered a well-clustered result [
36]. In the clustering results, the Silhouette indices of the ramp, main, and tollgate sections were 0.54, 0.60, and 0.51, respectively. Because all the indices were greater than 0.5, the model was validated.
Based on the estimated scenario difficulty level, ten edge-case scenarios were identified, including four scenarios in the ramp section, five scenarios in the main section, and one scenario in the toll gate section. All ten scenarios were deemed suitable for testing in the simulation. After extracting scenarios for each highway section corresponding to the edge cases, the connectivity was verified based on the connection conditions specified in
Table 1. The highway section scenarios that satisfied all the connection conditions are listed in
Table 2. The specific situations for the selected multiple functional scenarios are as follows: evaluation of perception and response to front-end congested vehicles in the ramp section, evaluation of driving safety for ego vehicle cut-in in the main section, and evaluation of car-following after target vehicle cut-in at the toll gate section.
4.3.2. Logical Scenario Generation
The logical scenario makes the functional scenario more detailed so that the experiments can be conducted in diverse ways. In this study, we presented detailed scenario elements based on the OpenODD classification and defined scenario elements that are feasible for the MORAI simulation. In addition, we divide the ODD into variable and fixed elements to increase the usability of the logical scenario. The selected functional scenarios were changed to logical scenarios based on the ODD classification and elements. As a result, thirty-eight elements were selected for the entire highway section scenario, and 13 variable elements were derived and utilized when generating concrete scenarios. Via this process, experimental values that could be implemented in the simulations were obtained.In this section, the logical scenario elements were set by the defined ranges in the MORAI simulation ODD and the OSC parameters. Different increasing ranges (i.e., ΔValue) were set for each element. The range for the ‘illumination’ factor was set to an increasing range of 2, which was set by the MORAI simulation. ‘Varied’ in variability refers to the changeable element in the MORAI simulation.
Table 3 lists the logical scenario elements and ranges defined for the highway ramp section.
4.3.3. Concrete Scenario Generation
We scrutinized 13 variable elements from logical scenarios that could be implemented on highway sections. Subsequently, we generated all possible combinations of scenario elements to create scenarios. However, traffic volume and speed varied according to the density; therefore, they were excluded from the variable combinations. Finally, we found variable elements 11 for the ramp section, 12 for the main section, and 13 for the toll gate section. For the ramp section, combining 68 variable values resulted in 2,509,056 scenarios. For the main and toll gate sections, combining 78 experimental values resulted in 12,773,376 concrete scenarios.
Concrete scenarios were extracted from the ramp, main, and toll-gate sections of the highway using random sampling techniques. The extracted scenarios were categorized into two types: free-flow and congested traffic conditions. These types were implemented and verified via simulations. However, the simulated weather, particles, and traffic flow were designed to closely match the actual conditions to reflect real-world scenarios. The extracted final concrete scenario for the logical scenario categorized as “varied” is shown in
Table 4.
4.4. Multiple Scenario Implementations and Validations
4.4.1. Scenario Implementations Based on Setting Test Conditions
To implement the concrete scenarios in the simulation, the experimental setup conditions discussed in
Section 3.3.1 should be satisfied. Therefore, it was necessary to adjust the speed of the dynamic objects, driving position, and delay time to provide a buffer for the next event of the scenario elements. The final setting parameters were converted into OSC format.
To reflect the characteristics of the short road section of the K-City highway, the traffic volume was designed to be 40% lower than the actual road design speed at 42, 72, and 72 km/h for free-flow situations, and the ego vehicle speed was set higher than the target vehicle speed when entering the main section from the ramp section or changing lanes on the main section. The driving paths of the ego and target vehicles were set in advance using an empirically located lane, assuming that the vehicles followed the lane properly. To ensure that the ego vehicle could respond continuously to the next event, a five-second buffer was placed between each event to secure the driving distance. In congested traffic conditions, the speed was set to 40% lower than the actual road design speed at 36 km/h, 57 km/h, and 57 km/h, whereas speed changes, driving paths, and transition time buffers were set to be the same as in free-flow situations. In addition, various other hyperparameters, such as the initial speed and acceleration/deceleration of the vehicle, distance, execution time, driving trajectory, and weather information, were set to implement the scenario.
The MORAI simulation is an AD simulation platform that provides a virtual driving test environment similar to the actual environment using x-in-the-loop (XIL). The simulation provides a digital twin similar to the driving environment based on the vehicle, weather, lighting, and obstacles. It also offers scenarios that are difficult to reproduce but are occasionally encountered on real roads. MGeo is MORAI’s proprietary format for precision mapping. The conversion of simulation scenarios into the OSC format was achieved using the MORAI scenario runner. The MORAI scenario runner loads the scenario data in the form of xosc files that are defined based on the OSC format and performs the concrete scenario by linking them to the MORAI simulation. The MORAI scenario runner can control vehicles and objects inside the MORAI simulation, and the scenario is defined based on a map in MGeo format.
The experimental values of concrete scenarios that satisfy the predefined test setting conditions, as shown in
Figure 5, were converted into xosc files. These files can be applied in the simulation to implement the scenarios using the MORAI scenario runner.
We finally implemented the scenarios presented in
Table 4 in the simulation by applying two different environmental conditions. Specifically, in the highway ramp section, the ego vehicle recognized and performed a lane change to the main section where the stopped target vehicle was located. Subsequently, the ego vehicle recognized the surrounding vehicles in the main section and performed another lane change to enter the toll gate. Finally, the ego vehicle recognized and controlled a sudden cut-in target vehicle at the toll gate entrance. Two scenarios were implemented: scenario 1 represented free-flow traffic conditions (level of service (LOS) A) in the evening and rainy weather, and scenario 2 represented congested traffic conditions (LOS C) on a clear day during daytime. Under free-flow traffic conditions (LOS A), three surrounding objects were added around the ego vehicle, whereas under congested traffic conditions (LOS C), approximately 11 types of objects were added around the ego vehicle. All vehicles in the scenarios were designed to follow a mixed traffic flow of ACC and non-ACC vehicles.
Figure 6 shows the cases where multiple scenarios were implemented in the simulation.
4.4.2. Compare Single and Multiple Scenarios
To verify the performance for multiple scenarios, multiple and single scenarios were compared via simulations. Both scenarios involved similar situations.
In this study, the TTC was obtained in the toll gate section, which included a scenario in which the ego vehicle followed the target vehicle to evaluate the performance in multiple scenarios. The threshold value for the TTC was set to 1.5 s, as suggested by [
37,
38]. The ramp section was excluded from the evaluation because the single and multiple scenario conditions were identically configured. Additionally, since the main section is mainly a scenario where the ego vehicle changes lanes, it was excluded due to limitations in evaluation using TTC. The speed and position of the ego vehicle and the speed and position of the target vehicle directly interacting with the ego vehicle were extracted to compute the TTC. The analysis of the TTC for hazardous situations below the threshold value showed that in free-flow situations, the TTCs for multiple and single scenarios were 1.04 and 1.18 s, respectively, with the TTC for the multiple scenarios being 0.14 s lower. In congested situations, the TTCs for multiple and single scenarios were 0.69 and 0.83, respectively, with the TTC for multiple scenarios being lower.
Based on these results, it can be concluded that the randomness of the maneuvering behavior of the surrounding or target vehicles increased as the multiple scenarios transitioned from consecutive scenarios. During congestion, there was a queue owing to a decrease in the number of lanes from the main section of the highway to the toll gate, resulting in a sudden interruption. Based on this case, it was demonstrated that the ego vehicle suddenly applied the brakes to avoid collision.
Figure 7 compares the TTC results between the multiple and single scenarios in the toll gate section. X-axis presents time, and y-axis means TTC in seconds.
Therefore, the strength of the AD safety assessment is higher in multiple scenarios than in single scenarios, as it creates more dangerous situations and generates various unexpected events. In particular, according to [
39], the ability to respond to potential collisions of AV has become more important; therefore, the need for multiple scenarios proposed in this study is expected to be emphasized in the future. In addition, multiple scenarios have more benefits beyond increasing the robustness of safety evaluations. When converted into multiple scenarios, safety evaluations can be performed continuously across the entire road segment rather than specific sections, reducing the time required for evaluation. Furthermore, the ability to evaluate scenario connections and various parameter combinations contributes to accelerating safety evaluations. Thus, the multiple scenarios proposed in this study are considered more advanced than single scenarios and can be considered the optimal solution for the safety assessment of complex AV functions.
5. Conclusions
In this study, we proposed a scheme for integrating multiple scenarios that can be continuously evaluated throughout an entire road section by connecting and combining single scenarios based on specific conditions. Our goal was to accelerate safety evaluations, increase their intensity, and make AV system development more reliable and secure. By adapting the scenario development process (functional, logical, and concrete scenarios) of the PEGASUS project, we developed specific methods and procedures for implementing scenarios in simulations to enable rapid AV safety evaluation.
We derived the connection conditions and scenario representation methods, as well as the experimental setup conditions within the simulation. These convert from a single scenario to multiple scenarios. Based on this, multiple scenarios (functional, logical, concrete) are created and then verified scenario performance via simulation.
Based on the aforementioned conditions, two multiple scenarios were created and implemented in the simulation (a free-flow traffic situation during the evening and a congested situation during the day). Both single and multiple scenarios were implemented in the simulation, which used similar situations, and the two scenarios were evaluated based on the TTC. The evaluation of multiple scenarios showed superior results compared to single scenarios, as indicated by an enhanced time-to-collision (TTC) of 0.14 s. In addition, the multiple scenarios generated unexpected events as they continued from the current scenario to the next. The generated unexpected events with multiple scenarios increase the safety and stability evaluation of AV by creating riskier or more unexpected situations than single scenarios.
The limitations of this study and future research directions are as follows. The scenarios were clustered based on the accident frequency and severity. However, there is a limit in the application of the proposed methodology when the accident frequency or severity is not provided in the developed scenarios. In future work, it will be necessary to scrutinize a methodology to approximate these requirements if they are not specified. Additionally, compared to a single scenario, multiple scenarios are demonstrated to reduce overall experiment time and effort due to the reduction in the number of scenario-based evaluations. However, future research on how much time is reduced will be proven via additional experiments bringing more scenarios.
Author Contributions
Conceptualization, S.L. and I.Y.; methodology, I.K.; software, D.K.; validation, I.K., D.K. and I.Y.; formal analysis, I.K.; investigation, S.L. and H.J.; resources, H.J.; data curation, D.K.; writing—original draft preparation, S.L.; writing—review and editing, D.K and H.J and I.Y.; visualization, I.K.; supervision, H.J.; project administration, S.L.; funding acquisition, I.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by the Korea Agency for Infrastructure Technology Advancement (KAIA) grant funded by the Ministry of Land, Infrastructure, and Transport (Grant No. RS-2021-KA160637).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Menzel, T.; Bagschik, G.; Isensee, L.; Schomburg, A.; Maurer, M. From functional to logical scenarios: Detailing a keyword-based scenario description for execution in a simulation environment. In Proceedings of the 2019 IEEE Intelligent Vehicles Symposium, Paris, France, 9–12 June 2019; pp. 2383–2390. [Google Scholar]
- Xinxin, Z.; Fei, L.; Xiangbin, W. Csg: Critical scenario generation from real traffic accidents. In Proceedings of the 2020 IEEE Intelligent Vehicles Symposium, Las Vegas, NV, USA, 19 October–13 November 2020; pp. 1330–1336. [Google Scholar]
- Feng, S.; Feng, Y.; Yan, X.; Shen, S.; Xu, S.; Liu, H.X. Safety assessment of highly automated driving systems in test tracks: A new framework. Accid. Anal. Prev. 2020, 144, 105664. [Google Scholar] [CrossRef] [PubMed]
- Sun, J.; Zhang, H.; Zhou, H.; Yu, R.; Tian, Y. Scenario-based test automation for highly automated vehicles: A review and paving the way for systematic safety assurance. IEEE Trans. Intell. Transp. Syst. 2021, 23, 14088–14103. [Google Scholar] [CrossRef]
- Yang, Y.; Wang, Y.; Yin, C.; Ji, Q. Simulation Testing Scenario Generation for Comfort Evaluation of Automated Vehicles. In Proceedings of the 2021 5th CAA International Conference on Vehicular Control and Intelligence, Tianjin, China, 29–31 October 2021; pp. 1–6. [Google Scholar]
- PEGASUS Project. Scenario Description and Knowledge-Based Scenario Generation; pp. 1–3. Available online: https://www.pegasusprojekt.de/files/tmpl/Pegasus-Abschlussveranstaltung/05_Scenario_Description_and_Knowledge-Based_Scenario_Generation.pdf (accessed on 28 March 2023).
- Winner, H.; Lemmer, K.; Form, T.; Mazzega, J. PEGASUS-First steps for the safe introduction of automated driving. In Road Vehicle Automation 5; Springer: Berlin/Heidelberg, Germany, 2019; pp. 185–195. [Google Scholar]
- Riedmaier, S.; Ponn, T.; Ludwig, D.; Schick, B.; Diermeyer, F. Survey on scenario-based safety assessment of automated vehicles. IEEE Access 2020, 8, 87456–87477. [Google Scholar] [CrossRef]
- ASAM Standards. Available online: https://www.asam.net/standards/ (accessed on 28 March 2023).
- Otto, T.; Auerswald, R. Toolbox for test planning and test realization of scenario-based field tests for automated and connected driving. In Automatisiertes Fahren 2019: Von der Fahrerassistenz zum Autonomen Fahren 5. Internationale ATZ-Fachtagung; Springer Fachmedien Wiesbaden: Wiesbaden, Germany, 2020; pp. 165–180. [Google Scholar]
- NHTSA. Review of Simulation Frameworks and Standards Related to Driving Scenarios; pp. 1–40. Available online: https://rosap.ntl.bts.gov/view/dot/43621 (accessed on 30 March 2023).
- ASAM. OpenLABEL Version 1.0.0 User Guide. Available online: https://www.asam.net/standards/detail/openlabel/ (accessed on 28 March 2023).
- Ko, W.; Park, S.; Yun, J.; Park, S.; Yun, I. Development of a framework for generating driving safety assessment scenarios for automated vehicles. Sensors 2022, 22, 6031. [Google Scholar] [CrossRef] [PubMed]
- Park, S.; Park, S.; Jeong, H.; Yun, I.; So, J. Scenario-mining for level 4 automated vehicle safety assessment from real accident situations in urban areas using a natural language process. Sensors 2021, 21, 6929. [Google Scholar] [CrossRef] [PubMed]
- Li, G.; Yang, Y.; Zhang, T.; Qu, X.; Cao, D.; Cheng, B.; Li, K. Risk assessment based collision avoidance decision-making for autonomous vehicles in multi-scenarios. Transp. Res. Part C Emerg. Technol. 2021, 122, 102820. [Google Scholar] [CrossRef]
- Solmaz, S.; Holzinger, F. A novel testbench for development, calibration and functional testing of ADAS/AD functions. In Proceedings of the 2019 IEEE International Conference on Connected Vehicles and Expo, Graz, Austria, 4–8 November 2019; pp. 1–8. [Google Scholar]
- Wu, Q.; Zhao, Y.; Fan, Q.; Fan, P.; Wang, J.; Zhang, C. Mobility-aware cooperative caching in vehicular edge computing based on asynchronous federated and deep reinforcement learning. IEEE J. Sel. Top. Signal Process. 2023, 17, 66–81. [Google Scholar] [CrossRef]
- Feng, S.; Feng, Y.; Yu, C.; Zhang, Y.; Liu, H.X. Testing scenario library generation for connected and automated vehicles, part I: Methodology. IEEE Trans. Intell. Transp. Syst. 2020, 22, 1573–1582. [Google Scholar] [CrossRef]
- Kerber, J.; Wagner, S.; Groh, K.; Notz, D.; Kühbeck, T.; Watzenig, D.; Knoll, A. Clustering of the scenario space for the assessment of automated driving. In Proceedings of the 2020 IEEE Intelligent Vehicles Symposium, Las Vegas, NV, USA, 19 October–13 November 2020; pp. 578–583. [Google Scholar]
- Klück, F.; Li, Y.; Nica, M.; Tao, J.; Wotawa, F. Using ontologies for test suites generation for automated and autonomous driving functions. In Proceedings of the 2018 IEEE International Symposium on Software Reliability Engineering Workshops, Memphis, TN, USA, 15–18 October 2018; pp. 118–123. [Google Scholar]
- Zhao, S.; Wei, Z.; Wang, P.; Ma, T.; Guo, K. An objective evaluation method for automated vehicle virtual test. Expert Syst. Appl. 2022, 206, 117940. [Google Scholar] [CrossRef]
- UNECE. New Assessment/Test Method for Automated Driving (NATM) Master Document (Final Draft). 4 (February); pp. 1–5. Available online: https://unece.org/sites/default/files/2021-01/GRVA-09-07e.pdf (accessed on 30 March 2023).
- American Association of State Highway and Transportation Officials (AASHTO). Highway Safety Manual; American Association of State Highway and Transportation Officials (AASHTO): Washington, DC, USA, 2009; pp. 107–108. Available online: https://www.fpp.uni-lj.si/mma/HSM.pdf/2019060611143076/?m=1559812470 (accessed on 30 March 2023).
- Park, S.H.; Jang, K.; Kim, D.K.; Kho, S.Y.; Kang, S. Spatial analysis methods for identifying hazardous locations on expressways in Korea. Sci. Iran. 2015, 22, 1594–1603. [Google Scholar]
- Park, S.H.; Park, S.H.; Kwon, O.H. K-Means and CRP-Based Characteristic Investigating Method of Traffic Accidents with Automated Speed Enforcement Cameras. In Advanced Multimedia and Ubiquitous Engineering: MUE/FutureTech 2018; Springer: Singapore, 2019; Volume 12, pp. 631–637. [Google Scholar]
- Kodinariya, T.M.; Makwana, P.R. Review on determining number of Cluster in K-Means Clustering. Int. J. 2013, 1, 90–95. [Google Scholar]
- Sinaga, K.P.; Yang, M.S. Unsupervised K-means clustering algorithm. IEEE Access 2020, 8, 80716–80727. [Google Scholar] [CrossRef]
- Soteropoulos, A.; Mitteregger, M.; Berger, M.; Zwirchmayr, J. Automated drivability: Toward an assessment of the spatial deployment of level 4 automated vehicles. Transp. Res. Part A Policy Pract. 2020, 136, 64–84. [Google Scholar] [CrossRef]
- ASAM. OpenODD Version 1.0.0 Concept Paper. Available online: https://www.asam.net/standards/detail/openodd/ (accessed on 28 March 2023).
- ASAM. Using Metrics with ODD Specification. Available online: https://www.asam.net/index.php?eID=dumpFile&t=f&f=4550&token=cd56bf3f926bba1c795bbaf66848de73f6b4ad67 (accessed on 28 March 2023).
- Ackermann, C.; Isermann, R.; Min, S.; Kim, C. Collision avoidance with automatic braking and swerving. IFAC Proc. Vol. 2014, 47, 10694–10699. [Google Scholar] [CrossRef]
- ISO. Road Vehicles—Scenario-Based Safety Evaluation Framework for Automated Driving Systems; pp. 1–94. Available online: https://www.iso.org/standard/78951.html (accessed on 28 March 2023).
- Schwarz, C. On computing time-to-collision for automation scenarios. Transp. Res. Part F Traffic Psychol. Behav. 2014, 27, 283–294. [Google Scholar] [CrossRef]
- Wishart, J.; Como, S.; Elli, M.; Russo, B.; Weast, J.; Altekar, N.; James, E.; Chen, Y. Driving safety performance assessment metrics for ads-equipped vehicles. SAE Tech. Pap. 2020, 2, 2881–2899. [Google Scholar] [CrossRef]
- Wang, F.; Franco-Penya, H.-H.; Kelleher, J.D.; Pugh, J.; Ross, R. An analysis of the application of simplified silhouette to the evaluation of k-means clustering validity. In Proceedings of the Machine Learning and Data Mining in Pattern Recognition: 13th International Conference, New York, NY, USA, 15–20 July 2017; pp. 291–305. [Google Scholar]
- Yang, X.; Wang, Y.; Wu, D.; Ma, A. K-means based clustering on mobile usage for social network analysis purpose. In Proceedings of the 2010 6th International Conference on Advanced Information Management and Service, Seoul, Republic of Korea, 30 November–2 December 2010; pp. 223–228. [Google Scholar]
- Deveaux, D.; Higuchi, T.; Uçar, S.; Wang, C.-H.; Härri, J.; Altintas, O. Extraction of risk knowledge from time to collision variation in roundabouts. In Proceedings of the 2021 IEEE International Intelligent Transportation Systems Conference, Indianapolis, IN, USA, 19–22 September 2021; pp. 3665–3672. [Google Scholar]
- Wachenfeld, W.; Junietz, P.; Wenzel, R.; Winner, H. The worst-time-to-collision metric for situation identification. In Proceedings of the 2016 IEEE Intelligent Vehicles Symposium, Gothenburg, Sweden, 19–22 June 2016; pp. 729–734. [Google Scholar]
- Mahmud, S.M.S.; Ferreira, L.; Hoque, M.S.; Tavassoli, A. Application of proximal surrogate indicators for safety evaluation: A review of recent developments and research needs. IATSS Res. 2017, 41, 153–163. [Google Scholar] [CrossRef]
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).