Next Article in Journal
Real-Time Motion Tracking for Indoor Moving Sphere Objects with a LiDAR Sensor
Next Article in Special Issue
Event-Based Sensing and Control for Remote Robot Guidance: An Experimental Case
Previous Article in Journal
EEG-Based Brain-Computer Interface for Decoding Motor Imagery Tasks within the Same Hand Using Choi-Williams Time-Frequency Distribution
Previous Article in Special Issue
Graph-Based Cooperative Localization Using Symmetric Measurement Equations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Basic Simulation Environment for Highly Customized Connected and Autonomous Vehicle Kinematic Scenarios

1
School of Electronics and Information Engineering, Beijing Jiaotong University, NO. 3 Shangyuancun, Haidian, Beijing 100044, China
2
School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China
*
Author to whom correspondence should be addressed.
Sensors 2017, 17(9), 1938; https://doi.org/10.3390/s17091938
Submission received: 20 July 2017 / Revised: 19 August 2017 / Accepted: 20 August 2017 / Published: 23 August 2017

Abstract

:
To enhance the reality of Connected and Autonomous Vehicles (CAVs) kinematic simulation scenarios and to guarantee the accuracy and reliability of the verification, a four-layer CAVs kinematic simulation framework, which is composed with road network layer, vehicle operating layer, uncertainties modelling layer and demonstrating layer, is proposed in this paper. Properties of the intersections are defined to describe the road network. A target position based vehicle position updating method is designed to simulate such vehicle behaviors as lane changing and turning. Vehicle kinematic models are implemented to maintain the status of the vehicles when they are moving towards the target position. Priorities for individual vehicle control are authorized for different layers. Operation mechanisms of CAVs uncertainties, which are defined as position error and communication delay in this paper, are implemented in the simulation to enhance the reality of the simulation. A simulation platform is developed based on the proposed methodology. A comparison of simulated and theoretical vehicle delay has been analyzed to prove the validity and the creditability of the platform. The scenario of rear-end collision avoidance is conducted to verify the uncertainties operating mechanisms, and a slot-based intersections (SIs) control strategy is realized and verified in the simulation platform to show the supports of the platform to CAVs kinematic simulation and verification.

1. Introduction

Traffic simulation software is widely used in verifying and optimizing the traffic coordinating algorithms, due to its characteristics of repeatability, maneuverability, accuracy and low-cost. For the purpose of being aimed at different requirements, different traffic simulation software is developed. CORSIM, SimTraffic, AIMSUN, VISSIM, PARAMICS, etc., are mostly used in microscopic traffic simulation, while CORFLO, KRONOS, KWaves [1], etc., are used in macroscopic traffic simulation and SPSS, STATISTICA [2,3] are mostly used in vehicle dynamical analyzing. To better simulate different traffic scenarios, most of the software supports application program interfaces (APIs) are for secondary developing, and researchers have obtained achievements based on traffic simulation software.
As the development of sensor and communication technology improves, connected and autonomous vehicles (CAVs), connected vehicles (CVs) and autonomous vehicles (AVs) [4] are able to better serve traffic. Due to the advantages of simulation, many control strategies of CAVs have been conducted in simulation environment.
Gueriau [5] proposed a simulation framework by introducing cooperative traffic models based on Multi-Agent theory into an open-source traffic simulator. The resulting simulation framework is robust and able to assess potential benefits of cooperative traffic control strategies in different traffic configurations. Zha [6] proposed and evaluated a dilemma zone protection framework via vehicle to infrastructure communications, and examined the effectiveness of the proposed framework in a simulation test bed built in VISSIM. Fredette [7] developed a simulated road network to resolve the disconnect between powertrain engineering and eco-driving by presenting the development of a simplified methodology for ensuring that eco-driving scenarios are contextualized against traditional drive-cycle based text techniques. Goodall [8] proposed a novel technique to estimate the positions of unconnected vehicles based on the behaviors of communicating vehicles along a signalized arterial and simulated and verified the method microscopically using a commercial traffic simulation software package.
From the analysis above, we can conclude that models and control strategies verification can be grouped into three categories: the first category is API based verification in commercial traffic simulation software, such as Paramics and Vissim; the second category is redevelopment beyond open source traffic simulation software, such as MITSIMLab [9] and SUMO [10]; and the third category is to establish a new fundamental simulation environment.
The main difference between CAVs simulation and traditional traffic simulation is the controlling objects. In traditional traffic simulation, parameters of signal information, channelization, link properties, etc., are changed to enforce vehicles to change behaviors. In CAVs simulation, based on the V2X communication and status perception, control strategies should be generated to each individual vehicle to better simulate the autonomy of the vehicle. Due to the operation mechanism of the traffic simulation software, sometimes it is very complicated for researchers to implement customized models or control strategies within the API constraints, or models and algorithms we implement in the software are not able to operate as we anticipate. In this situation, fundamental simulation environment should be built to verify the models and the control strategies.
Control strategies of CAVs are usually generated based on status perception and communication. Radar [11], LIDAR, camera, GPS, etc., are equipped on the vehicle or mounted on the infrastructure to perceive vehicle and environment status. The purpose of perceiving vehicle and environment status is to precisely judge the spatial and temporal relationship between two traffic objects, so the decision-making component can generate an optimal control strategy and better coordinate the traffic. The perceived status can be transmitted by several kinds of communication modes, like DSRC [12], 4G, 3G, WIFI, etc. The performance of different communication modes have been deeply researched to help find appropriate communication mode applied in a certain traffic scenario [13]. In CAVs based scenarios and applications simulation, the accuracy of the perceived status and the performance of the communication should be taken into account to enhance the reality of the simulation.
In this paper, the framework, models and implementation of CAVs kinematic simulation and verification are discussed. A four-layer framework for CAVs kinematic simulation is proposed. Properties of the intersections are defined to describe the road network. A target position based vehicle position updating method is designed to restrict the vehicles to move within the links, as well as to simulate the behaviors of lane changing and turning. Vehicle kinematic models are implemented to maintain the status of the vehicles. Priorities for individual vehicle control are authorized to different layers. Operating mechanisms of the CAVs uncertainties, which are defined as position error and communication delay, are implemented in the simulation. A simulation platform based on the proposed methodology is developed, and experiments are conducted to prove the reliability of the methodology.

2. Multi-Layer Simulation Framework

A multi-layer framework is introduced to accomplish the simulation. Four layers are designed: road network layer, vehicle operating layer, uncertainties modelling layer and demonstrating layer. Relationship of each layer is showed in Figure 1.
The road network layer is to define the properties of the intersection and to describe the road network. Intersections are considered as the basic elements, links are generated based on the properties of each intersection. Signal control strategy and stop sign control strategy of intersections are deployed in road network layer. In vehicle operating layer, vehicles are generated from zone intersections, and move within the rules of vehicle following, lane changing, route selecting and other vehicle kinematic models. In CAVs, vehicle position error and communication delay always exist. Positioning error and communicating delay models are implemented in error modelling layer to enhance the reality of the simulation. The demonstrating layer is for visualization and evaluation.
Based on the CAVs kinematic simulation framework, one vehicle is able to move from its start zone to its destination zone along the pre-generated route. For CAVs applications, scenarios and control strategies would be implemented in the simulation, and several components would modify the status of the vehicles. Thus, priority of vehicle control is authorized to different layers to ensure the stability of the simulation. A hazardous over-speed scenario and pre-warning control strategy would be analyzed as an example to explain the vehicle control priorities. When one vehicle is generated in the road network, basic vehicle kinematic models, which are vehicle following model, lane changing model, route selecting model, turning model, etc., would generate vehicle status step by step to lead the vehicle moving to its destination intersection. When the scenario conditions are satisfied, the vehicle would be controlled by the scenario component. Meanwhile, the control strategy would monitor the status of the vehicle, and generate pre-warning suggestions to control the vehicle if necessary. After the pre-warning is relieved, the authority to control the vehicle would be given back to the vehicle kinematic models. Thus, control strategies, scenarios and basic vehicle kinematic models are authorized with the priority of high, medium and low respectively. Vehicle control component would realize its function by either changing the acceleration of the vehicle, or altering the vehicle trajectory.
When deploying CAV-based applications in reality, usually infrastructures should be built. As one of the most important components in CAV system, infrastructure apparently has a number of functions: transferring information, surveilling vehicle and environment status, making decisions, etc. For the functions of communicating and computing, there is no need to set up infrastructures in the simulation, because in the simulation, status of every individual unit can be obtained and computing would be executed automatically based on pre-designed algorithms. For the roadside sensors, which are aiming to surveil the vehicle and environment status, they can be simulated as scenario and control strategy. Surveillance radar would be analyzed as an example. Surveillance radars are usually distributed at high risk points, such as road-crossing, railroad crossing, and giving information to the vehicles about the presence of moving or still objects in a certain area. To simulate the function of surveillance radar, firstly, the operating mechanism of the radar should be modeled, and data type of the surveilling information should be designed based on the pre-existing simulation environment. Then a new programming object should be defined to maintain the information collected by the sensor in each simulation step. The programming object should include position of the moving or still object, length of detection capability, ID of vehicles within the detection range, etc. More attributes of the programming object can be designed based on different simulation goals. Then a control strategy, which is to process the information collected by the radar, should be designed and applied in the simulation. The output of the control strategy can be customized by the user. It can be either the speed suggestion to the vehicle, or lane suggestion to the vehicle. Lastly, we can evaluate the performance of the surveillance radar by analyzing the movement of the vehicles.
In this paper, properties of the vehicles and the intersections are defined in detail for vehicle control components to better control the vehicles, and a target position based vehicle position updating method is introduced to accomplish the change of vehicle trajectory.

3. Definition of the Properties of Intersections and Vehicles

3.1. Properties of the Intersection

Intersections are the basic elements composing the road network. Links can be described according to the properties of the intersections. In this paper, intersection properties are defined to describe a road network. The properties are defined in Table 1.
Each intersection would have corresponding properties and the properties are initialed before the simulation starts. After the simulation begins, the properties are updated in each simulation step. The column that is marked as fixed indicates that whether the value would change in each simulation step. The proposed method supports up to four directions of one intersection. The up edge of the intersection is figured as north, bottom edge figured as south, left edge figured as west, and right edge figured as east. In order to make the properties of intersections easier to understand, a road network with two intersections is introduced to explain the meanings of the properties in Figure 2.
Paper uses properties of intersection to define the properties of link. When one intersection is being placed in the simulation environment, the relationship of the intersection and the pre-selected intersection would be established automatically (connecting link exists). The links would automatically be updated if the positions of the intersections are changed, and the connecting edge of the link to the intersection would be updated. When the simulation is began, each intersection would have a corresponding programming object to maintain the status of the intersection by updating the parameters of the object in each simulation step. In this way, we can built enough large road network and guarantee the simulation reliability.

3.2. Properties of the Vehicle

The properties of vehicle are designed as below in Table 2.
Same with the intersection properties, each vehicle would have corresponding properties. The properties would be initialed when the vehicle is released, and would be updated in each simulation step. The column that is marked as fixed indicates that whether the value would change in each simulation step. When one vehicle is released into the road network from zone intersections based on Origin Destination (OD) information, properties that contain route, lane, destination lane, initial speed, ahead vehicle, start intersection, end intersection, destination intersection, lane changing rate, etc., of the vehicle would be set to defaults. All the default values can be customized based on different requirements by the users. The route information is calculated based on a minimum route distance method [14], and other route selecting methods apply. Then the vehicle would move in a straight way towards the target position. Vehicle queues of each lane would be maintained rigorously to apply the vehicle following model. When the vehicle is changing lane or entering the intersection, the target position would be changed to simulate different vehicle behaviors. For the vehicle that is entering the intersection, if the vehicle is turning, a circular moving model [15] is implemented to update its position, else straight position updating method is applied. And if the intersection is the destination of the vehicle, s t a run of the vehicle would be set to 1 and the vehicle would not be updated or displayed in the simulation. Acceleration and the target position are the main attributes that are leading the vehicle. Acceleration is determined by vehicle following and cruising models, and the target position is determined by vehicle trajectory. To better explain how the vehicles are controlled by each component, Figure 3 is presented below to show the vehicle operation process from the time it is generated to the time it finishes its journey.

4. Maintaining of Vehicle Kinematic Status

4.1. Vehicle Speed Determination by Following and Cruising Models

Movements of the following vehicle are significantly influenced by the leading vehicle. A segmented queue theory is applied to maintain the sequence of vehicles in each lane. The segmented queues are defined as below in Figure 4.
As shown in the figure, queues are defined based on the lanes. When one vehicle crosses the stop line of the intersection or change to another lane, the vehicle is involved into another queue and would be deleted from the previous queue. In some intersections, due to the channelization of the intersection, right turning vehicles and straight going vehicles may merge into the same queue. In this situation, the intersection control strategy would decide which to be the leading vehicle and which to be the following vehicle as the vehicles are prioritized to enter the intersection. The queue information is saved in l n k n , m , l vhc and updated as the simulation proceeds. Minimum safe distance vehicle following model [16] and constant speed cruising model are applied to determine the acceleration and speed of the vehicles. The vehicle following model can be described as below.
s g a p + v l 2 2 a d c c τ + v f 2 2 ( a d c c / 2 )
where v l denotes the leading vehicle speed, v f denotes the following vehicle speed, a d c c = 6   m / s 2 is the maximum deceleration [17], s g a p is the gap between the two vehicles, τ is the minimum safe distance between two vehicles with value of 5 m. Vehicle speed can be updated as below:
{ v n + 1 = v n + a d c c × t s t e p / 2 ( s g a p + v l 2 / ( 2 a d c c ) τ + v f 2 / a d c c   &   v n < v l i m i t ) v n + 1 = v n ( s g a p + v l 2 / ( 2 a d c c ) τ + v f 2 / a d c c   &   v n v l i m i t ) v n + 1 = v n a d c c × t s t e p / 2 ( s g a p + v l 2 / ( 2 a d c c ) < τ + v f 2 / a d c c )
v n denotes the vehicle speed in time step n, and v n + 1 denotes the vehicle speed in time step n + 1, v l i m i t denotes the link speed limit, t s t e p is the interval of time step, usually the range of t s t e p is from 10 ms to 1 s [18]. When one vehicle is approaching the intersection stop line, the vehicle should stop if the wayleave of the lane is not authorized. The wayleave of the lane is determined by the attributes of signal and channelization.

4.2. Vehicle Position Updating Method

Figure 5 shows the vehicle position updating processes of straight going and turning.
( x n , y n ) denotes the position of the vehicle at simulation step n , ( x 0 , y 0 ) denotes the p t en at simulation step n , ( x n + 1 ,   y n + 1 ) denotes the position of the vehicle at simulation step n + 1 , r denotes the vehicle turning radius which can be calculated with the properties of the intersection, ( x r ,   y r ) denotes the center of the turning circle, ( x n + 1 ,   y n + 1 ) is calculated within the criteria of vehicle kinematic models and trajectories. For turning vehicles, ( x n + 1 ,   y n + 1 ) can be calculated by the formula below.
{ θ = t s t e p × v / r + arcsin ( ( y n y r ) / r ) x n + 1 = x r + r × cos θ y n + 1 = y r + r × sin θ
For the straight going vehicles, ( x n + 1 ,   y n + 1 ) can be calculated by the formula below.
{ ( x n + 1 x n ) / ( y n + 1 y n ) = ( x 0 x n ) / ( y 0 y n ) ( x n + 1 x n ) 2 + ( y n + 1 y n ) 2 = ( v × t step ) 2 ( y n < x n + 1 < x 0 y n < y n + 1 < y 0 )
As showed in formula, updating of the position of the turning vehicle does not rely on p t en but based on the properties of the intersection instead. However, straight going vehicle position updating should relate to p t en . A target position maintaining method is proposed to lead the vehicle to move along its trajectory.

4.3. Target Position Updating

There are two situations that the target position of the vehicle should be modified. One is when the vehicle is changing lane, and other is when the vehicle is entering the intersection. The inequation below shows a minimum safety distance based vehicle lane changing model criterion implemented in the platform.
s l o n s f s l + L + W × sin θ
where s l o n is the longitudinal gap between the lane changing vehicle and its behind vehicle in the target lane, s f is the longitudinal distance the behind vehicle has moved during the lane changing duration t c , s l is the longitudinal distance the lane changing vehicle has moved during the lane changing duration t c . In this paper, t c is set to 3s [19]. L is the length of the vehicle, W is the width of the vehicle, θ denotes the angle between the lane and the direction that the lane changing vehicle moves to. When the attribute r lc and the minimum safety distance based lane changing criterion are satisfied, vehicle starts to change lane, the target position can be calculated in Figure 6.
By solving the equations below, the target position can be obtained.
s y m s   x 1 ( x n , x 0 ) ,   y 1 ( 0 , ) { ( x 1 x n ) 2 + ( y 1 y n ) 2 = ( v n t c ) 2 | ( y 0 y n ) x 1 ( x 0 x n ) y 1 + x 0 y n y 0 x n | s q r t ( ( y 0 y n ) 2 + ( x 0 x n ) 2 = w l
When one vehicle finishes lane changing movement, or enters the intersection, the new target position would be set to the middle of stop line of the present lane. Except for the lane changing triggering condition, the target position should be updated when the distance between the vehicle and the target position is smaller than 1 m.

5. Uncertainties Operating Mechanisms

Qualities of communication and positioning would significantly influence the effectiveness of applied algorithms and control strategies. Position error and communication delay models and operating mechanisms are analyzed in this paper. Figure 7 shows the observing position of the vehicle that is influenced by the uncertainties in vehicle operating layer, uncertainties modelling layer and the demonstrating layer.
As shown in the figure, in the vehicle operating layer, the vehicles are moving according to the vehicle kinematic models. In the uncertainties modelling layer, the observed positions of the vehicles are changed due to the overlapped position error and the communication delay. The demonstrating layer is for displaying and the display of the vehicles and the road network can be scaled and translated. Lateral position error mainly effects the lane identification of the vehicle. Now this problem can be well resolved by real-time video processing technology with accuracy of 97% [20]. In this case, only longitudinal position error is discussed. Communication delay would influence the punctuality of information transmitting. Frequent information interacting would significantly influence the performance of the system. A CAV system contains variety of communication interacting types: interaction within one single device, transmission between two different equipment, multi-hop transmission among several components. Different communication protocols would lead to different communication delays. In this paper, single-hop transmission is discussed as an example for modelling the communication delay. Other communication delay models can be applied by replace the proposed model in this paper. Longitudinal position error and communication delay would affect the observing distance between two vehicles. In this case, it may lead to false pre-warning or pre-warning failure if no filtering algorithms are taken.

5.1. Gaussian Distribution Based Position Error Model

It is difficult to establish an accurate error model for the position error; nowadays, most existing methods are based on Gaussian distribution. Lee [21] defined Gaussian distribution-based trajectory models to design the threshold parameters for a rear-end collision avoidance system. Although some researchers use other methods to model the GPS positioning error as a practical alternative [22], we still propose the mostly adopted bounding method (Gaussian distribution function) to represent the distribution of position error φ .
F ( φ ) = φ 1 2 π σ 2 e ( y μ ) 2 / 2 σ 2 d y
To determine the value of σ and μ in the above equation, an experiment has been conducted in Shanghai, China. A car equipped with three kinds of positioning systems are driven on the express way to generate positioning data. The three kinds of positioning systems are: INS (Inertial Navigation System) with RTK (Real Time Kinematic) positioning (this system is considered as the most precise system in the experiment, the other two systems are compared with this one), RTK positioning system and RTD (Real Time Differential) positioning system. The trajectory of the experiment is showed in Figure 8 and Figure 9.
Positioning data is collected once per second in each positioning system. Invalid point sets (at a certain time, one or more positioning systems did not generate valid position data) are deleted (the discontinuity of the trajectory is because of this) from the data sheet. Total number of the valid point sets is 4728. Position error is defined as the distance between INS position and RTK/RTD position. So we can get the position error matrix e k and e d . e k denotes the error of RTK positioning system, and e d denotes the of RTD positioning system. e k and e d are both 1 × 4728 matrix. With the definition of e k and e d , we can see that all the values in e k and e d are positive. Considering that the mean value of positioning error should approximates to 0 and the symmetry of position error, we establish new position error matrix [ e k   e k ] and [ e d   e d ] for analyzing. The densities of RTK and RTD position error are showed in Figure 10.
The position error distribution is subject to Gaussian distribution. RTK positioning system is more precise than RTD positioning system, so σ is smaller in RTK position error density fitting curve. In fact, σ differs in different positioning systems and different environments. Dion [23] has established a position error model with σ equals to 2.8. In this paper, we use the RTD error model. Position error complying with the distribution above is superposed on each vehicle.

5.2. Uniform and Rayleigh Distribution-Based Communication Delay Model

Due to different system structures and information retransmission mechanisms, communication delay is difficult to evaluate. For V2V communication, DSRC is widely used. In this paper, DSRC-based single-hop V2V communication delay is discussed. The communication delay generating process can be described in Figure 11.
Generally, positioning devices output vehicle position data 10 times per second. The positioning time of the following vehicle and the leading vehicle cannot be accurately synchronized. This kind of asynchronization leads to communication delay, and the information transmission also results in communication delay. For the part of communication delay d 1 caused by the asynchronization of positioning time, uniform distribution is applied to describe it. The distribution function can be defined as below.
F 1 ( d 1 ) = 0 d 1 1 100 d y
The transmission delay model is established based on the data in paper [23]. After analyzing the data in fiducial probability of 0.5, we found that the data is subject to Rayleigh distribution with mean value equals to 29.98 ms. Probability density function of Rayleigh distribution is defined as below.
f 2 ( x ) = x σ 2 e x 2 / 2 σ 2
And due to the characters of Rayleigh distribution, the mean value is defined as below.
E ( D 2 ) = σ π / 2 1.253 σ = 29.98
Then we can get of value of σ = 23.93 . With Equation (9), we can get the transmission delay model as below.
F 2 ( d 2 ) = 0 d 2 y 572.6 e y 2 / 1145.3   d y
The communication delay is the sum of asynchronization delay and transmission delay. To implement the communication delay model in simulation, an array with 40 rows has been defined in computer memory. The communication delay simulating process is showed in Figure 12.
Vehicle information would be saved in the array step by step. An index is used to determine which item should be used to be displayed or to be applied in the applications. For other communication modes, the communication delay models are able to be applied in the simulation within the proposed framework.

6. Simulation and Verification

Besides the proposed simulation method, a user interface with a dozen of functions, which include establishing road network, setting parameters of the input, setting consecutive simulation model or single step model, road network saving, illustrating the simulation with graphics device interface (GDI) or GDI+, scaling and translating the display, etc., is designed to enhance the simulation. The simulation platform is showed in Figure 13.
The comparison of link delay to traditional road network, influence of uncertainties to the pre-warning algorithms and a CAVs application are conducted in the platform to verify the applicability and reliability of the platform.

6.1. Vehicle Delay Comparison with Traditional Road Network

Scenarios and applications of CAVs are all based on traditional traffic flows. That whether the basic traffic flow coincides with the real traffic flow would significantly influence the results of any control strategies and algorithms verified in the platform. Vehicle average delay is analyzed in condition of fixed signal control to test and verify the reality of the platform. Volume to capacity ratio is introduced to the verification. The volume to capacity ratio is defined as below.
η = φ ϕ g e / C
where φ denotes the vehicle arrival flow rate, ϕ denotes the saturation flow rate, C denotes the traffic signal cycle length, g e denotes the effective green interval duration, and η denotes the volume to capacity ratio. The saturation flow rate value equals to 1800 vhc/h [24]. The saturation flow rate is defined in Figure 14.
Due to the 1994 HCM delay estimate model [25], a one-lane-one-intersection scenario is set up and simulated for 15 min to estimate the delay. The scenario is showed in Figure 15.
Thanks to the vehicle kinematic models implemented in the platform, the saturation flow is approximately 1800 vhc/h at signal intersection. Figure 16 shows the results of the delay of every vehicle and the vehicle average delay in different volume to capacity ratio.
Delay data is calculated and saved when one vehicle reached its destination. Single vehicle delay vibrates because some of the vehicles are influenced by the red light while some vehicles are not. Average vehicle delay rises along with η . When η 1 , single vehicle delay value remains in a certain range and when η > 1 single vehicle delay is rising along with the time, this condition reflects the definition of volume to capacity ration. Average delay in different η is simulated and is showed in Figure 17.
Compared to the results from Dion [24], the results simulated by the platform correspond to the results calculated by the HCM delay model, which indicate that the platform is reliable.

6.2. Verification of the Uncertainties

Pre-warnings are adopted to analyze the effect of the uncertainties models implemented in the platform. Hazardous vehicle maneuver of over speed is generated as basic scenario, and braking distance based pre-warning method with maximum deceleration of 6 m/s2 [26] is embedded as the control strategy. The aforementioned Gaussian distribution based position error model with standard deviation of 4.37 and average value of 0, and Rayleigh distribution based DSRC communication delay model with standard deviation of 23.93 and average value of 29.98 are applied to simulation the uncertainties. The speed of the following vehicle is 30 m/s and the speed of the leading vehicle is 20 m/s. The scenario was executed 100 times and the results are showed in Figure 18.
In the figure, the Y-axis denotes the distance between the following vehicle and the leading vehicle when the pre-warning is generated. The results of test value line are based on the test of uncertainties. The minimum gap line is based on the condition that the deceleration value in warning method equals to 6 m/s2 and the normal condition line is based on the condition that the deceleration value in warning method equals to 4 m/s2. In position error and communication delay simulation, the results fluctuate around the theoretical result. The distribution of the results corresponds with the Gaussian distribution model and Rayleigh distribution model. The results proved the reliability of the platform.

6.3. Verification of CAVs Application: Slot-Based Intersections

Tachet [27] proposed a slot-based intersections (SIs) control strategy in CAVs. The concept of SIs is to enlarge the distance between two vehicles deliberately so that the conflicting vehicle can cross the intersection within the gap between the two vehicles. The SIs control strategy is implemented in the simulation platform and the control strategy is realized between the demonstrating layer and the uncertainties modeling layer. The intersection properties are the same with Figure 5. Simulation of input of 360 vhc/h of each lane has been conducted and the average delay of the vehicles is showed in Figure 19.
The coming directions are defined in the properties of intersection. Furthermore, based on the control strategy, simulation with input of 550, 650, 750 and 850 vhc/h per each lane has been conducted to estimate the bottleneck of the method. The results are showed in Figure 20.
The bottleneck of the SIs control strategy does exist, and the value is between 650 and 750 vhc/h per lane. The simulation and the results indicate that the simulation platform is able to support the simulation and verification of CAVs applications. And three different intersection control strategies that are signal control, stop sign control and SIs control, are compared in the platform. And the simulation results are consistent with Tachet [27]. The results are showed in Figure 21.

7. Conclusions

A four-layer framework, which is composed with road network layer, vehicle operating layer, uncertainties modelling layer and demonstrating layer, for CAVs kinematic simulation is proposed in this paper. By conducting verification of comparison of link delay to traditional road network, influence of uncertainties to the pre-warning algorithms and a CAVs application, the methodology proposed in this paper turns out to be reliable. This paper proposed a method of how to establish the basic CAVs kinematic simulation environment. Framework and models are discussed. The correlations of different vehicle kinematic models, vehicle trajectory and road network are established. Based on the basic CAVs simulation environment, highly specialized scenarios and control strategies related to CAVs are able to be realized precisely. Due to the four layer framework of the methodology, models are easy to be replaced or updated as long as the outputs of the new models are subject to the definitions of the intersections and the vehicles.
In the proposed method, the number of maximum directions of an intersection is designed to be four. Although a four-legged intersection can cover most of the realistic situations, the intersection attributes still should be updated to involve more intersection characteristics. For different intersections, the in-intersection trajectory of the vehicle differs. The vehicle position updating method is not precise enough to describe the movement of the vehicles, especially in the situation when vehicle turns.
Infrastructures are not modeled and simulated in the paper. Although infrastructure can be simulated by separating its functions to scenario and control strategy, this is not an optimal solution. Infrastructure should be considered as an embedded component of the simulation framework. Basic operating mechanism of the infrastructure should be designed, and basic attributes of the infrastructure should be maintained.
This work proposed a method to build basic CAV kinematic simulation environment. The aim of the work is to help verify CAV based applications, so the performance of the simulation would directly influence the time-consuming of the verification. The simulation platform in this paper is established based on basic programming technology. The simulation would not be smooth enough when the road network and the traffic is large. Software engineering of computing, display based on GDI and the synchronization between them should be deeply researched. More uncertainties models should be implemented in the uncertainties modelling layer.

Acknowledgments

We would like to thank the reviewers for very helpful comments. This paper is supported by National Key Research and Development Program of China (2016YFB1200100), State Natural Science Foundation Monumental Projects (61490705), Fundamental Research Funds for the Central Universities of China (2016YJS035), National Natural Science Foundation of China (61773049) and Beijing Natural Science Foundation (4172049).

Author Contributions

Baigen Cai and Huashen Wang conceived and designed the framework of the simulation platform; Wei ShangGuan and Jian Wang analyzed the data and optimized the vehicle kinematic models; Linguo Chai wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ratrout, N.T.; Rahman, S.M. A comparative analysis of currently used microscopic and macroscopic traffic simulation software. Arabian J. Sci. Eng. 2009, 34, 121–133. [Google Scholar]
  2. Garg, A.; Vijayaraghavan, V.; Zhang, J.; Li, S.; Liang, X. Design of robust battery capacity model for electric vehicle by incorporation of uncertainties. Int. J. Energy Res. 2017, 41, 1436–1451. [Google Scholar] [CrossRef]
  3. Garg, A.; Chen, F.; Jian, Z. State-of-the-art of designs studies for batteries packs of electric vehicles. In Proceedings of the IET International Conference on Intelligent and Connected Vehicles (ICV 2016), Stevenage, UK, 22–23 September 2016; IET: Stevenage, UK.
  4. Mahmassani, H.S. Autonomous vehicles and connected vehicle systems: Flow and operations considerations. Transp. Sci. 2016, 50, 1140–1162. [Google Scholar] [CrossRef]
  5. Gueriau, M.; Billot, R.; El Faouzi, N.; Monteil, J.; Armetta, F.; Hassas, S. How to assess the benefits of connected vehicles? A simulation framework for the design of cooperative traffic management strategies. Transp. Res. Part C Emerg. Technol. 2016, 67, 266–279. [Google Scholar]
  6. Zha, L.; Zhang, Y.; Songchitruksa, P.; Middleton, D.R. An integrated dilemma zone protection system using connected vehicle technology. IEEE Trans. Intell. Transp. Syst. 2016, 17, 1714–1723. [Google Scholar] [CrossRef]
  7. Fredette, D.; Pavlich, C.; Ozguner, U. Development of a UDDS-Comparable framework for the assessment of connected and automated vehicle fuel saving techniques. IFAC PapersOnLine 2015, 48, 306–312. [Google Scholar] [CrossRef]
  8. Goodall, N.J.; Park, B.B.; Smith, B.L. Microscopic estimation of arterial vehicle positions in a Low-Penetration-Rate connected vehicle environment. J. Transp. Eng. 2014, 140, 04014047. [Google Scholar] [CrossRef]
  9. Du, L.; Ukkusuri, S.; Del Valle, W.F.Y.; Kalyanaraman, S. Optimization models to characterize the broadcast capacity of vehicular ad hoc networks. Transp. Res. Part C Emerg. Technol. 2009, 17, 571–585. [Google Scholar] [CrossRef]
  10. Griggs, W.M.; Ordonez-Hurtado, R.H.; Crisostomi, E.; Haeusler, F.; Massow, K.; Shorten, R.N. A Large-Scale SUMO-Based emulation platform. IEEE Trans. Intell. Transp. Syst. 2015, 16, 3050–3059. [Google Scholar] [CrossRef]
  11. Saponara, S.; Neri, B. Radar sensor signal acquisition and multidimensional FFT processing for surveillance applications in transport systems. IEEE Trans. Instrum. Meas. 2017, 66, 604–615. [Google Scholar] [CrossRef]
  12. Cheng, L.; Henty, B.E.; Stancil, D.D.; Bai, F.; Mudalige, P. Mobile vehicle-to-vehicle narrow-band channel, measurement and characterization of the 5.9 GHz dedicated short range communication (DSRC) frequency band. IEEE J. Sel. Areas Commun. 2007, 25, 1501–1516. [Google Scholar]
  13. Saponara, S.; Giannetti, F.; Neri, B.; Anastasi, G. Exploiting mm-Wave communications to boost the performance of industrial wireless networks. IEEE Trans. Ind. Inform. 2017, 13, 1460–1470. [Google Scholar] [CrossRef]
  14. Shafiee, K.; Leung, V.C.M. Connectivity-aware minimum-delay geographic routing with vehicle tracking in VANETs. Ad Hoc Netw. 2011, 9, 131–141. [Google Scholar] [CrossRef]
  15. Leng, J.; Feng, Y.; Zhai, J.; Bao, L.; He, Y. Travel time model of Left-Turning vehicles at signalized intersection. Math. Probl. Eng. 2012, 2012, 1–10. [Google Scholar]
  16. Qu, D.; Chen, X.; Yang, W.; Bian, X. Modeling of Car-Following required safe distance based on molecular dynamics. Math. Probl. Eng. 2014. [Google Scholar] [CrossRef]
  17. Jiang, R.; Wu, Q.S.; Zhu, Z.J. Full velocity difference model for a car-following theory. Phys. Rev. E 2001, 64, 017101. [Google Scholar] [CrossRef] [PubMed]
  18. Abdelgawad, K.; Henning, S.; Biemelt, P.; Gausemeier, S.; Traechtler, A. Advanced traffic simulation framework for networked driving simulators. IFAC PapersOnLine 2016, 49, 101–108. [Google Scholar] [CrossRef]
  19. Sheu, J.B.; Ritchie, S.G. Stochastic modeling and real-time prediction of vehicular lane-changing behavior. Transp. Res. Part B Methodol. 2001, 35, 695–716. [Google Scholar] [CrossRef]
  20. Gaikwad, V.; Lokhande, S. Lane departure identification for advanced driver assistance. IEEE Trans. Intell. Transp. Syst. 2015, 16, 910–918. [Google Scholar] [CrossRef]
  21. Lee, Y.; Yang, J.H.; Feron, E.; Kulkarni, V. Development of a performance-based approach for a rear-end collision warning and avoidance system for automobiles. In Proceedings of the IEEE IV2003: Intelligent Vehicles Symposium, Columbus, OH, USA, 9–11 June 2003; IEEE: New York, NY, USA, 2003. [Google Scholar]
  22. Rife, J.; Pervan, B. Overbounding revisited: Discrete Error-Distribution modeling for Safety-Critical GPS navigation. IEEE Trans. Aerosp. Electron. Syst. 2012, 48, 1537–1551. [Google Scholar] [CrossRef]
  23. Xiang, X.; Qin, W.; Xiang, B. Research on a DSRC-Based Rear-End Collision Warning Model. IEEE Trans. Intell. Transp. Syst. 2014, 15, 1054–1065. [Google Scholar] [CrossRef]
  24. Dion, F.; Rakha, H.; Kang, Y.S. Comparison of delay estimates at under-saturated and over-saturated pre-timed signalized intersections. Transp. Res. Part B-Methodol. 2004, 38, 99–122. [Google Scholar] [CrossRef]
  25. Zhang, H.; Sun, J.; Shao, H. Revision of HCM delay model based on Bayesian inference. Comput. Eng. 2011, 37, 18–20. [Google Scholar]
  26. Chen, Y.-L.; Shen, K.-Y.; Wang, S.-C. Forward collision warning system considering both time-to-collision and safety braking distance. Int. J. Veh. Saf. 2013, 6, 347–360. [Google Scholar] [CrossRef]
  27. Tachet, R.; Santi, P.; Sobolevsky, S.; Reyes-Castro, L.I.; Frazzoli, E.; Helbing, D.; Ratti, C. Revisiting street intersections using Slot-Based systems. PLoS ONE 2016, 11, 1–9. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Framework of Connected and Autonomous Vehicles (CAVs) kinematic simulation.
Figure 1. Framework of Connected and Autonomous Vehicles (CAVs) kinematic simulation.
Sensors 17 01938 g001
Figure 2. Properties of the intersection.
Figure 2. Properties of the intersection.
Sensors 17 01938 g002
Figure 3. Vehicle operation process.
Figure 3. Vehicle operation process.
Sensors 17 01938 g003
Figure 4. Segmented queue theory.
Figure 4. Segmented queue theory.
Sensors 17 01938 g004
Figure 5. Position updating.
Figure 5. Position updating.
Sensors 17 01938 g005
Figure 6. Target position redefined when vehicle is changing lane.
Figure 6. Target position redefined when vehicle is changing lane.
Sensors 17 01938 g006
Figure 7. Observing positions of vehicles influenced by uncertainties.
Figure 7. Observing positions of vehicles influenced by uncertainties.
Sensors 17 01938 g007
Figure 8. Vehicle trajectory of the experiment.
Figure 8. Vehicle trajectory of the experiment.
Sensors 17 01938 g008
Figure 9. Data map and point set.
Figure 9. Data map and point set.
Sensors 17 01938 g009
Figure 10. Density of the RTK and RTD position error: (a) density of RTK positioning error and its fitting curve; and (b) density of RTD positioning error and its fitting curve.
Figure 10. Density of the RTK and RTD position error: (a) density of RTK positioning error and its fitting curve; and (b) density of RTD positioning error and its fitting curve.
Sensors 17 01938 g010
Figure 11. Communication delay generating process.
Figure 11. Communication delay generating process.
Sensors 17 01938 g011
Figure 12. Communication delay simulating process.
Figure 12. Communication delay simulating process.
Sensors 17 01938 g012
Figure 13. Simulation platform.
Figure 13. Simulation platform.
Sensors 17 01938 g013
Figure 14. Deterministic queuing analysis.
Figure 14. Deterministic queuing analysis.
Sensors 17 01938 g014
Figure 15. Delay evaluation scenario.
Figure 15. Delay evaluation scenario.
Sensors 17 01938 g015
Figure 16. Vehicle delay in different volume to capacity ratio: (ad) are the vehicle delay when η equals to 0.6, 0.9, 1.0 and 1.1 respectively.
Figure 16. Vehicle delay in different volume to capacity ratio: (ad) are the vehicle delay when η equals to 0.6, 0.9, 1.0 and 1.1 respectively.
Sensors 17 01938 g016aSensors 17 01938 g016b
Figure 17. Average delay in different conditions.
Figure 17. Average delay in different conditions.
Sensors 17 01938 g017
Figure 18. Verification of uncertainties: (a) gap between two vehicles when applying the Gaussian distribution positioning error model; (b) gap between two vehicles when applying the uniform and Rayleigh distribution communication delay model.
Figure 18. Verification of uncertainties: (a) gap between two vehicles when applying the Gaussian distribution positioning error model; (b) gap between two vehicles when applying the uniform and Rayleigh distribution communication delay model.
Sensors 17 01938 g018
Figure 19. Average delay of each link in Sis.
Figure 19. Average delay of each link in Sis.
Sensors 17 01938 g019
Figure 20. Average delay in different inputs: (ad) are average vehicle delay when the input of each lane is 550, 650, 750 and 850 vhc/h respectively.
Figure 20. Average delay in different inputs: (ad) are average vehicle delay when the input of each lane is 550, 650, 750 and 850 vhc/h respectively.
Sensors 17 01938 g020
Figure 21. Comparison among different control strategies.
Figure 21. Comparison among different control strategies.
Sensors 17 01938 g021
Table 1. Definitions of intersection properties.
Table 1. Definitions of intersection properties.
NameDetailsFixed
Basic f slot The value equals 1 if the intersection is slot based intersection (SIs)Yes
f stop The value equals 1 if the intersection is stop sign based intersectionYes
f zone The value equals 1 if vehicles can be generated and ended in this intersectionYes
f sign The value equals 1 if the intersection is signalizedYes
p t i n Position of the intersection centerYes
Link l n k n Index of the n th linkYes
l n k num Count of links connected to this intersectionYes
l n k n cid Intersection ID at the other side of the l n k n Yes
l n k n l _ num Count of lanes of l n k n Yes
l n k n l _ w Lane width of l n k n Yes
l n k n edge Direction of l n k n to intersection AYes
l n k n v _ num Count of vehicles in l n k n at a certain simulating stepNo
l n k n len Link length of l n k n Yes
Lane l n k n , m left The value equals 1 if lane m is authorized for left turningYes
l n k n , m str The value equals 1 if lane m is authorized for straight goingYes
l n k n , m right The value equals 1 if lane m is authorized for right turningYes
l n k n , m allow Determined by real-time signalization and channelization. If the value equals 1, vehicle is allowed to enter the intersection within lane m No
l n k n , m vhc Count of vehicles within lane m No
l n k n , m , l vhc ID of the vehicle which is queued l th within lane m in l n k n No
l n k n limit Speed limit of l n k n Yes
l n k n cid _ e Direction of l n k n to l n k n c i d Yes
Signalization p h n Index of the n th phaseYes
p h num Count of signal phasesYes
p h n , m north m { 0 , 1 , 2 } , and 0, 1, 2 represent left turning, straight going and right turning respectively. If p h n , m north equals 1, the corresponding movement is authorized for the vehicle coming from north.No
p h n , m south See p h n , m north No
p h n , m east See p h n , m north No
p h n , m west See p h n , m north No
p h n time Duration of phase n Yes
p h n g _ r The remaining green time of phase n No
p h now Index of the phase being executedNo
Table 2. Definitions of vehicle properties.
Table 2. Definitions of vehicle properties.
NameDetailsFixed
p t now Present position in a certain simulation stepNo
p t en Position that the vehicle is moving toNo
v Speed of the vehicleNo
i n st Previous intersection idNo
i n en Next intersection idNo
l now Index of the lane vehicle is now inNo
s t a pt The value equals 1 if the vehicle is in linkNo
i n des Destination intersectionYes
r n ID of the n th intersection vehicle should travel throughYes
r now Count of intersections vehicle has already passedNo
s t a run The value equals 1 if the vehicle reaches its destination intersectionNo
s t a stop The value equals 1, vehicle stopsYes
d Distance from p t now to p t en Yes
l des Destination lane, determined by route and channelizationYes
r num Count of intersections included in r n Yes
v h c ahd ID of the vehicle ahead. The value equals −1 if no ahead vehicle existsNo
v h c bhd ID of the vehicle behind. The value equals −1 if no behind vehicle existsNo
s t a lane The value equals 1 if vehicle is changing laneNo
l old Previous laneNo
a Acceleration of the vehicleNo
v h c old Previous behind vehicle IDNo
s t a sc The value equals 1 if vehicle is involved in scenariosNo
t re Driver’s reacting time when vehicle brakesYes
v h c type Vehicle type, bus, truck or carYes
r lc Determines when to change lane in a linkYes
s t a slot The value equals 1 if the vehicle is controlled by slot based algorithmNo
t stop Waiting time when vehicle is in a stop sign intersectionNo
s t a stop The value equals to 1 if vehicle is stopped by stop sign intersectionNo

Share and Cite

MDPI and ACS Style

Chai, L.; Cai, B.; ShangGuan, W.; Wang, J.; Wang, H. Basic Simulation Environment for Highly Customized Connected and Autonomous Vehicle Kinematic Scenarios. Sensors 2017, 17, 1938. https://doi.org/10.3390/s17091938

AMA Style

Chai L, Cai B, ShangGuan W, Wang J, Wang H. Basic Simulation Environment for Highly Customized Connected and Autonomous Vehicle Kinematic Scenarios. Sensors. 2017; 17(9):1938. https://doi.org/10.3390/s17091938

Chicago/Turabian Style

Chai, Linguo, Baigen Cai, Wei ShangGuan, Jian Wang, and Huashen Wang. 2017. "Basic Simulation Environment for Highly Customized Connected and Autonomous Vehicle Kinematic Scenarios" Sensors 17, no. 9: 1938. https://doi.org/10.3390/s17091938

APA Style

Chai, L., Cai, B., ShangGuan, W., Wang, J., & Wang, H. (2017). Basic Simulation Environment for Highly Customized Connected and Autonomous Vehicle Kinematic Scenarios. Sensors, 17(9), 1938. https://doi.org/10.3390/s17091938

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop