Design of Expressway Toll Station Based on Neural Network and Traffic Flow ()
1. Background
With the development of highway construction and the growth of automotive bases, holiday travel trends will lead to a surge in passenger traffic. At this time, if we do not limit the high-speed traffic, it will not only seriously affect the operational efficiency of the expressway, but also bring about great security risks. Therefore, we must take measures to ensure the number of peak traffic flows and create a good high-speed environment.
Nowadays, many high-speed toll stations use card charges to collect high fees. In most cases, the toll collection station’s card charge is perpendicular to the freeway. When a car enters a toll booth, it passes through a wide road and quickly enters a toll booth, such as a fan. In the United States, the proportion of toll roads is very small, less than 4% of the total length of roads, mainly in the east, and Americans often call highway. However, the current trend is that road tolls are gradually increasing. IBTTA’s 2015 annual expense report shows that the toll roads are relatively safe, and the accident rate without toll roads is almost 3 times that of toll roads [1] .
2. Basic Assumption
1) Except for traffic, cost, waiting time, number of vehicles and other factors, other factors are ignored.
2) The car runs at a constant speed of 100 km/h.
3) No accidents occurred on the traffic highway. For example, the charging system will not cause service interruption.
4) There is no difference between lanes. The type of car is basically the same.
3. Queuing Model Based on Poisson Distribution
3.1. Model Principle (Table 1)
Set
as number of vehicles
within the time interval of
, set
as the probability of n cars arrived in time interval
:
. (1)
when
satisfies the following three conditions, we think that traffic volume forms a Poisson flow [2] . These three conditions are:
1) Without overlap the time interval of car to several independent of each other, we call this property has no aftereffect.
2) For sufficiently small Δt, the probability of a car arriving has nothing to do with t in the time interval
, but has the direct radio with the length of the interval Δt, that is to say:
. (2)
when
,
is the high order infinitesimal about Δt.
is a constant, it says the probability of a car’s arriving, is the probabilistic strength.
3) For sufficiently small Δt, within time interval there are two or more than two cars arrive rarely and that can be ignored. So:
. (3)
Under the condition of the above, we study the number of arriving cars to get a probability distribution.
By the conditions of 2, we can always take time from 0, and shorthand
.
By the conditions 1 and 2, we say:
. (4)
(5)
By the conditions 1 and 2, we say:
. (6)
We come into the conclusion,
. (7)
. (8)
In this above, we take the limit of the tending to 0, when we assume that the function of the design guide, get a system of differential equations:
. (9)
(10)
Take the initial value
,
, easy to work out
, and then take
again, we can get
and the differential equations that
satisfies,
(11)
. (12)
Above all we can easily come into conclusion:
(13)
3.2. Data Analysis
Before using our model, I analyzed our data. The United States Department of Transportation collects average daily traffic from different parts of the United States. Then divide them into 6 grades in Table 2.
3.3. Poisson Distribution
In the following of Poisson Distribution, we will finish the steps to build up and validate the model.
Step 1. Electronic toll station’s reference value
We analysis the electronic toll station. In general, the number of the traffic roads is 2 or 3, L > B, the number of manual toll station must be greater than 1. We assume the number of the toll stations are 3, B = 3. By collecting and handling the data, we get the traffic volume per day (h) and minute (a). Then we calculate a/B to the λ, delimiting the λ as the toll station of each traffic volume every minute. By consulting data, we can get mu that is the number of cars tested each minute. We get the Table 3.
Table 2. Traffic volume statistics every day and minute.
Table 3. Some data of only 3 electronic channels.
From the Table 3, we learn that when B = 3, the maximum traffic volume can be sustained. So, the electronic toll station has 1.24 cars queuing for waiting.
Step 2. Manual toll station’s reference value
Because the time of manual toll is longer than electronic toll, we choose three sets of data to analysis. See the following of three tables.
From Table 4, we come into conclusion that when B = 3, the total number of cars reaches 75,000, but the number of waiting cars is too big to come true. So, we add a new toll gate, B = 4, to get Table 5.
When the manual toll station to 4, then the number 25,000 to the 75,000 stages was significantly reduced. But the toll station cannot withstand the traffic flow of more than 75,000. Then add 1 or 2 station comparisons, Table 6.
We can know that when the number of manual toll collections is 6, the maximum traffic volume can be sustained, so we select the reference value of the queuing vehicles for the 30.35 toll stations.
On the whole, we select electronic toll station when the number of queuing vehicles reference value is 0.43; the selection of the number of queuing vehicles at the manual toll station reference value of 10.12.
4. Multiple Weight Model Based on Analytic Hierarchy Process
We chose the 4 most important factor analysis. According to the symmetry of the freeway in both directions, we choose a direction to study.
4.1. Weight Distribution Based on Analytic Hierarchy Process
These four factors are the cost of the toll booth, the waiting time of the vehicle, the average charging time and the number of traffic accidents. Analytic hierarchy process is a combination of quantitative and qualitative analysis of decision-making methods. It is decomposed into various constituent elements through complex problems, and then divided into ordered hierarchical structures according to the dominant relationship of factors [3] .
1) The cost of defining electronic toll booths is 5 million, and that of artificial ones is 1 million. The weight is 1.
2) The reference value for waiting time for electronic toll booths is 0.43, and the manpower is about 10.12, obtained from the above model. The weight is 2.
Table 4. Some data of only 3 manual channels.
Table 5. Some data of only 4 manual channels.
Table 6. Some data of 5/6 manual channels.
3) The charging time for the electronic toll booths is defined as 2 seconds and the manual time is 20 seconds. The weight is 2.
4) The number of traffic accidents is average. The weight is 1.
4.2. Standardized Treatment and Selection
We use 75,001 - 30,000 as a reference. The data is shown in Table 7.
Because of the different factor units, the data needs to be normalized before the weighted values, so that the weight of each factor is consistent and comparable in the calculation. We use SPSS to normalize data. According to the weight calculation and comparison, the corresponding weights are shown in Table 8.
In the above table, the smaller the weight, the lower the total cost, the shorter the vehicle waiting time, the shorter the payment time, and the fewer traffic accidents, the more reasonable the plan. It was found through observation that when the number of kiosks was 4―2 electronic toll stations and 2 manual toll stations―the weight value was about 0.3. At this time, the construction cost is about 460,000, the average vehicle payment time is 0.46, and the traffic accident is about 0.39, which is the best optimization plan.
5. Braking Distance and Speed Model
Braking stops or reduces the speed of running locomotives, vehicles, and other
Table 7. 5 factors related to the numerical value.
transportation tools or machinery. It is affected by many factors such as quality, speed, braking force, road, climate and so on [4] . Here we assume that only by the quality, speed and braking force, other factors hardly affect.
In this model, we use the maximum braking force F, which is equal to the change in the vehicle’s kinetic energy, and F is proportional to the vehicle’s mass m.
In the braking force (F) car driving distance (
) for
, and the speed from v to 0, the kinetic energy change is
, according to the hypothesis.
. (14)
Because the brake acceleration when a is constant, by Newton’s second law
, into
, where C is the scale factor.
. (15)
Through the search results, when the average speed is 80 km/h, and the proportion coefficient at this time is c = 0.013. We can know:
.
So, the braking distance is 83.6 m.
6. Traffic Flow Model
6.1. Model Principle
When studying highways, it is necessary to study the factors related to freeway traffic flow models and the establishment of expressway traffic flow models [5] . In this model, we estimate the results based on speed (v), traffic density (K) and traffic flow (Φ).
Under normal conditions, the freeway is divided into multiple lanes (λ) in a single direction. It is assumed that there is no difference between vehicles and each lane is not affected. Get the equation:
. (16)
According to real life, when the traffic flow increases, the traffic density becomes larger and the speed becomes smaller, and vice versa. This shows that there is a certain relationship between speed and density, and the speed is inversely proportional to the density. Assuming they are decreasing linearly, c0 is a normal value. In addition, as the density increases, the rate of decrease of speed should increase.
. (17)
. (18)
When the traffic density is 0, the speed can reach the ideal type, that is, the speed is stable (
). When traffic density reaches a crowded state (
), speed
.
. (19)
. (20)
According to the Formula (18), (19) and (20), we can learn
. (21)
Combine (16) and get the new equation.
. (22)
Highway traffic flow model is what we get. The model is a response to the relationship between speed, traffic flow and density.
6.2. Mapping Relationships
In order to understand the characteristics of the function more intuitively, we use MATLAB to draw the diagram
. See Figure 1.
It can be seen that density is inversely proportional to vehicle speed. The speed reaches a maximum of 120 and the traffic density approaches 0; when the speed is 0, we get
.
Then use R to draw the diagram
. See Figure 2.
It can be seen that when the traffic density reaches 15 or so, the traffic flow reaches a maximum value of 2400; before 15th, the traffic flow is proportional to the increase; after 15th, because of the road congestion problem, the traffic flow decreases inversely and gradually becomes 0.
6.3. Analysis of Different Traffic
Based on the data collected, we assume an average of 2500 vehicles per day
during the normal period, with a peak period of 50,000. That is, the normal period is 104 vehicles per hour, and the peak period is 2083 vehicles per hour. Know that:
1) Light period
When the traffic volume is 104 per hour, there are the following two conditions.
a) The traffic density is 2 and the speed is almost 120 km/h, smoothly.
b) The traffic density is 24 and the speed is almost 20 km/h, crowded.
2) Heavy period
When the traffic volume is 2083 vehicles per hour, the traffic density is 15 and the speed is almost 80 km/h.
7. Fuzzy Neural Network Model Based on BP Algorithm
7.1. Model Principle
Fuzzy neural network is a massively parallel processing network system used to simulate human brain functions. Fuzzy logic is a mathematical method of accurately processing uncertain information. It depends on the rules given by the domain experts [6] . There is no formal framework to select the parameters of the fuzzy system. Neural networks have the advantages of learning ability, self-adaptive ability, and fault tolerance. It can handle complex, non-linear and uncertain problems.
In this case, we use a fuzzy-BP neural network model; the structure diagram is shown in Figure 3.
The general BF algorithm includes two steps: forward and backward propagation. That is, when calculating the error output, we will follow the direction from input to output, and the adjustment weight and threshold will be output to input. In forward propagation, the input signal acts on the output node through the hidden layer, and the output signal is generated by a nonlinear transformation [7] . If the actual output is inconsistent with the expected output, the back propagation process shifts to error. Error back propagation is to invert the output error to the input layer through the hidden layer and spread the error to all cells of each layer, and the error signal obtained from each layer serves as the basis for adjusting the weight of each cell. By adjusting the connection strength
Figure 3. Fuzzy neural network structure.
between the input node and the hidden layer node, the connection strength and the thresholds of the hidden layer and the output node, the error decreases along the gradient direction. After repeated learning and training, determine the network parameters (weights and thresholds) that correspond to the minimum error and stop training. At this point, the trained neural network can input information into similar samples, and the processed information is not linearly transformed with minimal output error.
With n examples of learning samples [8] , input vector
, expected output vector
. The output of unit I is
, error signal is δ. The learning process is as follows:
1) Initializing the weights of the network
and threshold
, they are defined as random numbers in the [−1,1] interval.
2) Input sample set
.
3) Transfer function is Sigmoid, output from input to output
. Set the unit element, the output of unit i and of layer K is
. The input of the next layer, section K + 1 and section j, is
. Then output:
. (23)
Calculate network output error:
(24)
4) If
(system average error tolerance) or
(error tolerance of a single sample) or to the specified number of iterations, the learning is over. Or, error back propagation, turn to E.
5) Calculating the error of each unit of the network layer by layer:
(output layer). (25)
(hidden layer). (26)
6) The correction of each weight and unit threshold is calculated:
(27)
7) Fixed network weights and thresholds:
(28)
Finally, turn to 2.
7.2. Performance Prediction Based on Fuzzy-BP Neural Network
In order to implement this plan, we consider three aspects: capacity, cost, and security. In terms of safety, we mainly consider highway accidents. We use a combination of manual charging system and electronic charging system to achieve flexible and efficient high-speed charging.
Consider the impact of three aspects, respectively, for the flow and flow of the shopping cart. According to the cost data of road transport and toll stations in the United States, the network inputs 3 and outputs 1 set. 15 sets of data, including 9 sets of normal training data and 3 sets of variable data as test data.
Step 1. We set up a toll station with 2500 daily traffic as an example and build a model with MATLAB. Get Figure 4 and Figure 5.
Figure 5. Relationship between output value and real value.
The bigger the R-squared is, the more obvious the linear relationship is, which is the closest to the real value in the sixth training.
Step 2. We set up a toll station with 50,000 traffic as an example. The same idea as above shows that Figure 6 and Figure 7 are obtained.
Similarly, the graph shows that the neural network is closest to the true value when trained sixteen times.
Our solution is to conduct a series of training in the neural network model. The error of testing and verification is small, and the gap between real events is not large, reflecting the high performance of the program.
Figure 7. Relationship between output value and real value.
8. Safety Performance Model Based on Factor Analysis
Factor analysis is the statistical techniques of common factors extracted from the variable group. Factor analysis can find the hidden representative factor in many variables. A factor of the same nature as variables can reduce the number of variables, but also the relationship between the variables of hypothesis test [9] .
. (29)
The factor analysis of electronic toll station is as follows.
Manual toll collection system:
From these equations we can learn: (Table 9).
The KMO value is 0.549, which is close to 1; the Bartlett value is 6871.015; and the Sig. is 0 < 0.005. First we know that it has a strong correlation (Table 10).
The table is a matrix of component score coefficients used to calculate the common factor score. Three factors can be obtained, that is, the validity of the road, that is, the values of F1 and F2 mentioned above.
From the factor analysis, it can be concluded that after the increase of driverless vehicles, traffic accidents caused by human errors are reduced, thereby improving safety performance. Under the condition of high-performance electronic toll collection system, safety performance is improved and traffic accidents are reduced.
Table 10. Component score coefficient matrix.
Therefore, we should increase the use of electronic charging systems to optimize the establishment of toll collection stations.
9. Conclusions
According to the best plan and related data, we use CAD drawing software to draw a simple graph, as shown in Figure 8.
Combining the figure, we describe our design in detail from Shape, Size, Merging Pattern and Accident Prevention.
1) Shape
Because the charging time of the electronic toll booths is short, the cars only need to be decelerated instead of parking, so the electronic toll booths can be set mainly; and the grooves just entering the toll plaza (such as the trapezium in Figure 8) can help the cars slow down and reduce the pressure of the toll plaza.
2) Size
According to the figure, two electronic toll collection stations are located inside the toll plaza, close to the opposite lane, and the electronic toll booths are about 1m wide; there are 2 manual toll booths with a width of 2 m. Each vehicle has a width of 3 m and a total of 18 m.
3) Merging Pattern and Accident Prevention
When we choose electronic and artificial combination design, drivers will slow down from the groove to the toll booth, reducing traffic congestion to some extent. When it was discovered that there was no car at the electronic toll booth, the car could also be switched to another toll channel. This design not only makes it possible to reduce the time pressure on the toll plaza, but also facilitates passenger travel.
10. Strengths and Weaknesses
10.1. Strengths
1) Queue: Design and operate the service system for the best benefit.
Figure 8. Schematic diagram of one-way toll plaza.
2) Traffic flow: Highway design and operation management play the greatest role.
3) Fuzzy-BF neural network: neural network: with learning ability, self-adaptive ability, fault tolerance and so on. It can handle complex, non-linear and uncertain problems.
10.2. Weaknesses
1) Traffic flow: Unable to solve abnormal and unexpected traffic conditions.
2) Fuzzy-BF neural network: There is a possibility of network training failure, and there is currently no good optimization program.
10.3. Later Optimization
With the increase of driverless vehicles, traffic accidents caused by human errors have decreased and safety performance has improved. In order to adapt to the arrival of unmanned driving, the setting of high-performance electronic toll collection system can not only improve the safety performance, reduce traffic accidents, but also reduce the charging time and cater to changes in the times. Therefore, we should increase the use of electronic charging systems to optimize the establishment of toll collection stations.
Acknowledgements
This work was supported in part by the Chinese college students’ training program for innovation and Entrepreneurship under the Grants CJ17017 and D17027. The effective suggestions provided by the article have been approved by the relevant organizations.