Abstract
This paper presents a traffic flow control scheme of connected vehicles to stabilize a traffic system with on-ramps from a macromodel point of view. Firstly, this paper establishes a lattice hydrodynamic model with on-ramps, and an output feedback controller is designed based on the characteristics of connected vehicles. Then, by using the Lyapunov–Krasovskill functional analysis method, this paper studies the delay-dependent convergence conditions of the control method. String stability is defined as the nonamplification of the downstream disturbance of a traffic flow when it propagates upstream. The influence of the on-ramps is regarded as a stochastic disturbance in this paper. Through a theoretical analysis, the control conditions that can ensure the string stability of the traffic system under the influence of on-ramp are obtained. Finally, numerical experiments are carried out to compare the traffic states of the traffic system with and without control. The results show that the proposed control can effectively suppress the instability of the traffic system.
1. Introduction
With the rapid economic development and accelerating urbanization, the number of private cars is increasing. However, the speed of road development is far behind the increase of motor vehicles, resulting in frequent traffic problems. Therefore, these traffic issues have attracted many scholars’ attention [1–3]. So far, scholars have proposed and studied traffic models from many aspects [4–51].
On the research of the traffic flow theory, scholars have used the macro hydrodynamic model to study and used the related partial differential equations to describe the relationship between traffic parameters [4–8]. In 1998, Nagatani [9] reasonably simplified the traditional hydrodynamic model and put forward the lattice hydrodynamic model for the first time. The lattice hydrodynamic model is composed of partial differential equations whose space is discrete and time is continuous, and its form is simple, so it is widely used to study traffic problems. Recently, the lattice hydrodynamic model has been used to study various traffic phenomena, and in this process, this model has also been developed [10–19]. On the problem of restraining traffic congestion, scholars have given the corresponding control scheme based on the lattice hydrodynamic model [10–14]. For example, Ge et al. [10] presented to use the feedback control of the flow difference between the front and back positions, and Redhu and Gupta [11] proposed to use the flow difference between the current state and the delayed state of the front position as the feedback control item and so on. These control schemes have a great control effect. Meanwhile, due to the complexity of the actual traffic, it is often affected by many factors, so researchers further develop the lattice hydrodynamic model [15–26]. In order to more accurately describe the traffic state, many practical factors, such as time-varying delay in sensing traffic flux [15], predictive effect [16], and memory effect [17], have been taken into account.
As we all know, due to the complexity of road conditions, the actual traffic environment is complex. In order to study the evolution of traffic state under on-ramp conditions, based on the lattice hydrodynamic model, Sun et al. [22] considered the influence of on-ramp and analyzed its stability. Different from Sun, in Tian’s [23] model, the vehicle randomly enters the main road from the on-ramp, which is more in line with the actual traffic. Nagatani [24, 25] presented the two-dimensional traffic flow model in 1999. Based on the two-dimensional lattice model, Wang et al. [26] studied the impact of on-ramp on traffic and reproduced a variety of traffic congestion patterns. At the microlevel, there are many research studies on-ramp bottleneck. Based on the NaSch model, Diedrich et al. [28] studied the impact of on-ramp and off-ramp on the transportation system. Jiang et al. [29] investigated the influence of random slowing down, deterministic conditions, and other factors in the on-ramp system through the cellular automata model. After that, Jia et al. [30] studied the influence of the traffic rules of the ramp part on the on-ramp system. In addition, the impact of traffic bottlenecks caused by other traffic scenarios on the traffic system has also attracted scholars' attention [20, 33–38]. Zhou et al. [20, 34] proposed a macro model of the curve traffic system, and the factors that affect the maximal theoretical flux and velocity of traffic flow were studied. Based on the lattice hydrodynamic model, Zhang et al. [21] explored the evolution of traffic flow in the case of a partially reduced lane. These studies deepen our understanding of road bottlenecks.
Due to the progress of technology, vehicles can get useful information through communications, which makes many control schemes realized. Based on the microscopic model, many scholars have established the traffic model of connected vehicles and explored the corresponding control scheme to keep the fleet stable [39–42]. However, research studies on the control of traffic systems with on-ramp are rare, especially based on the macro hydrodynamic model. Meanwhile, vehicles entering the main road from the on-ramp will have randomness, which brings difficulties for the research. In this paper, we will establish a model for connected vehicles from a macro perspective and study the impact of on-ramp on the entire traffic flow. At the same time, we propose corresponding control strategies to keep the traffic system in a stable state and provide guidance for actual traffic.
Based on the lattice fluid dynamics model, this paper considers the characteristics of on-ramp and connected vehicles and proposes the corresponding macro model and control scheme. In the third part, the convergence analysis of the on-ramp traffic system is performed, and the control gain is determined. The fourth part of the paper illustrates the effectiveness of the control scheme through numerical experiments, and finally, we summarize the paper.
2. Modeling and Controller Design
In 1998, Nagatani [9] put forward the lattice hydrodynamic model for the first time, which is the simplified version of the macroscopic hydrodynamic model. As we all know, the lattice hydrodynamic model divides the road into many lattices, and the model is composed of a conservation equation and continuum equation. The two equations are expressed as follows:
V(ρ) is the optimal velocity function, and its form is as follows:where and are are the density and traffic flow of the lattice j, ρ0 and ρc are the average density and temporary density, and a is the sensitivity coefficient.
Based on the lattice model, some researchers [23, 26] study the traffic characteristics of the on-ramp system and reproduce various traffic phenomena in the on-ramp system. Based on the macro model, Sun et al. [22] proposed corresponding control strategies for the traffic congestion caused by on-ramps but did not consider the influence of randomness of entering the trunk of the on-ramp for vehicles. Tian et al.’s [23] on-ramp model considers the randomness of on-ramp merging into the main road, but he does not propose corresponding control strategies to curb traffic congestion. Compared to the previous work, in this paper, we will consider the randomness of entering the main road to make the model more realistic, and according to the network environment, the corresponding control strategies are proposed to suppress the traffic congestion caused by the on-ramp. In the networked environment, drivers can obtain road information through road facilities and communication equipment and then achieve the purpose of regulating and controlling the traffic system. However, how to use the acquired information to control the traffic system is the key. In this regard, we use the flow difference between the front and rear positions and the difference between each position and the expected flow as the feedback control term. When the traffic system is stable, the flow will remain very constant. Thus, based on the characteristics of the on-ramp and connected vehicles, the lattice hydrodynamic model with on-ramp can be established, and the corresponding control scheme can be proposed:where Qmax is the maximum flow of the on-ramp into the main road, f(t) represents the change of flow from the on-ramp to the main road with time, and in the sections without the on-ramp, f(t) is 0. Here, k1 and k2 represent the feedback control gain. In this model, the delay time of communication is taken into account, and τ represents the control delay caused by communication delay.
This paper sets the expected density and flow as and , respectively. The deviation between the actual density and flow rate and the expected density and flow rate is set as and ; then, and can be expressed as
Combining with (3)–(8) formulas, we can get the following nonlinear differential equations:
Define , , and as state vector, control vector, and output vector, respectively. The j-th state variable is defined as and the j-th output variable as . On the basis of the equations.(8) and (9), The state-space equation of the whole traffic system can be expressed aswhere
According to the form vector and output vector, we can get the following formula:where
For the above traffic system, the feedback controller uj is expressed as follows:where .
Accordingly, the control vector can be written aswhere
Finally, we will get the model of the whole traffic system as follows:
3. Convergence Analysis
If a traffic system is in a stable state, the density and flow of the traffic system will remain expected values. We regard the impact of the on-ramp in the transportation system as an external stochastic disturbance. In this section, we first study the conditions for ensuring the stability of the platoon without continuous disturbance, which is the condition to ensure that the error of traffic density and flow approaches zero. When the traffic system is disturbed, if the instantaneous error gradually expands upstream along the platoon, it will often lead to the collapse of the traffic system, so in order to prevent this situation, it is also necessary to analyze the string stability of the traffic system. In this section, in order to study the stability of the traffic system, the following lemmas will be very useful:
Lemma 1 (see [43–45], Newton–Leibniz formula). The definite integral of a continuous function f(t) in the interval [t-τ, t] is equal to the increment of its original function F(t) in the interval [t-τ, t]:
Lemma 2 (see [46], fundamental inequality). , the following inequality holds:
Theorem 1. For the traffic system described by equation (15), if the influence of the on-ramp is not considered, the equation describing the traffic system is as follows:
For the abovementioned system, if there are positive definite matrices P, R1, and R2, the following inequality holds
Then, the traffic system will remain stable.
Proof. According to Lemma 1, we can change the equation (18) into the following form [43–45]:The selected Lyapunov–Krasovskill function [47] is as follows:where V1, V2, and V3 are, respectively,If we take the derivative of the function V, then, we need to take the derivative of the functions V1, V2, and V3 first:Then, the following equation can be obtained:where,Using Lemma 2, we can derive the following inequality:According to the Lyapunov stability theory, the following conditions must be satisfied for the system to converge:According to the definition of the negative definite matrix, if equation (30) holds, then, the following must be satisfied:Consequently, we can derive that [41]We regard the influence of the on-ramp as the continuous disturbance of the traffic system. The abovementioned theorem can ensure that the traffic system will eventually converge when disturbed, that is, in the traffic system, the error caused by the disturbance will tend to 0. However, whether the queue stability of the traffic system can be guaranteed, that is, whether the instantaneous error will gradually expand along the queue, is also a problem that must be considered in traffic control. The following theorem will discuss the chord stability of the traffic system.
Theorem 2. For the traffic system (15), due to the existence of the on-ramp, the traffic system will be affected by the on-ramp. If the system meets the following conditions, it can ensure that the disturbance caused by the on-ramp will not gradually expand to the upstream along the platoon:
Proof. A common method to study the string stability is to study the transfer function between the front and back errors of the traffic system. If the amplitude of the transfer function is less than 1 at all frequencies, the string stability can be guaranteed [48]. By Laplace transform of equation (8) and (9), the following equation can be obtained:Here, Pj+1(s), , and F(s) are Laplace transforms of , and f. From the simultaneous equations (34) and (35), we can derive the following formula:Here, d(s) is called the characteristic polynomial. Through the Routh stability criterion, all coefficients of d(s) are positive, so characteristic polynomial d(s) is stable, which is in line with the theory of reference [42]. Correspondingly, we also obtain the transfer function G(s):Because the vehicles on the on-ramp only enter the main road at the junction, the value of F(s) in other areas is 0, which can be ignored. In this traffic system, if the disturbance is not amplified, the following conditions should be satisfied [42]:That is, the following formula holds for all frequencies ω:The theorem is proved.
4. Simulations
In this part, the effectiveness of the control method will be illustrated by numerical experiments. First, we perform numerical experiments on the model without control. In order to compare the simulation results, through the results of convergence analysis, we select the appropriate control parameters and time delay. It is assumed that the road is divided into 150 grids, and the initial density of the main road is set to 0.2. Finally, the parameters of the system are given as follows:
Also, we randomly set the vehicle on the on-ramp entering into the main road; therefore, the function f(t) is set as a random function.
In order to study the evolution of the traffic system without control, we set the control gain k1 and k2 to 0. In the numerical experiment, we set the on-ramp at the 120th lattice. Vehicles enter randomly from the on-ramp to the main road. Due to the impact of the on-ramp, the main road is constantly disturbed. Figure 1 shows a spatiotemporal pattern of changes in the traffic system density. From Figure 1, it can be seen that the disturbance continues to spread from the ramp to the upstream of the road. This causes a large oscillation in the upstream density, thereby forming traffic congestion. Figure 2 exhibits the short-term traffic density evolution of the 110th, 70th, 50th, and 10th lattices. It is found out that, as time goes on, the disturbance caused by the on-ramp continues to propagate upstream of the road. From Figure 3, it is observed that the final state of the traffic system is unstable, and the amplitude and frequency of the traffic density oscillation are very large. The result of Figure 4 clearly shows that the transient disturbance caused by the on-ramp gradually expands to the upstream along the platoon. The amplification of this disturbance will lead to instability in the intervehicle distance, which is easy to induce accidents and lead to the disintegration of the traffic platoon. Correspondingly, chaotic behaviors also appear in the traffic system. In Figure 5, we select the 50th lattice upstream of the road and draw the phase trajectory of the traffic system at this location. It can be seen from Figure 5 that the topological structure of the phase trajectory is very complex, and it is limited in a limited area, which indicates that the state variables at this position show a chaotic behavior. Not only that, this phenomenon also appears in other upstream places of the road.





When we add control to the transportation system, the evolution of the transportation system will be very different. From Figure 6, it can be seen that although vehicles continue to enter the main road from the on-ramp, there is no violent oscillation in the upstream area of the main road. In order to compare the results of numerical experiments, we also selected the 110th, 70th, 50th, and 10th lattice as the research objects. Based on Figure 7 and Figure 8, it can be found that, as on-ramp vehicles converge into the main road, the traffic density in the upstream will increase, but the traffic density will remain stable. When the evolution time reaches 8000, the traffic density will remain stable. This shows that the state of the traffic will eventually converge to a stable state after the traffic system joined the control and will remain unchanged. At the same time, it can be seen from Figure 9 that the instantaneous disturbance will not be amplified. The results show that the traffic system with control is less prone to accidents and safer. Correspondingly, by observing the phase trajectories of the 50th lattice in Figure 10, the phase trajectory can almost be regarded as a point, which corresponds to the previous simulation, indicating that in the stable state, the traffic system has no chaotic characteristic.





Similarly, when there are two on-ramps in the traffic system, similar results will appear. If there is an on-ramp at the 120th and 60th lattices of the main road, the main road will be disturbed at two locations. Obviously, the traffic system is unstable in the upstream area of the road without control through Figure 11. However, when the same control is added, the traffic system will be stable. Compared with the traffic system with only one on-ramp, the evolution of the traffic is different. It can be seen from Figure 12 that there are two stable areas in the upstream section of the main road. At the same time, we can also find that the traffic system eventually evolves into two parallel and stable traffic density evolution curves by observing Figure 13. This is because of the existence of the second on-ramp. Although the disturbance caused by the second on-ramp does not make the traffic system unstable, it increases the traffic density in the upstream area of the main road of the second on-ramp.



5. Conclusion
In this study, under the condition of network connection, we proposed a control strategy for a traffic system with the on-ramp. The convergence of the controller is analyzed by the Lyapunov stability analysis method. In addition, in order to ensure that the transient disturbance generated by the on-ramp does not amplify in the process of transmission, the stability of the traffic system is analyzed by using the transfer function method. Through the convergence analysis, we can obtain the time delay and control gain which meet the stability condition. In the numerical experiment, we can see that if there is no control of the traffic system with the on-ramp, the disturbance will be amplified, and the traffic state in the upstream area of the on-ramp entrance will be unstable, resulting in congestion. However, for the traffic system with control, the disturbance will not be amplified and will be quickly suppressed, and the whole traffic system is in a stable state. The results show that, for the on-ramp traffic, the control strategy proposed in this paper can effectively suppress the disturbance and improve the traffic efficiency of the traffic system. However, the actual traffic needs to consider the problem of multilane lane changing, but the main research object in this paper is a single lane. Besides, the time-varying communication delay in the actual setting should be more practical. These problems indicate that the paper needs further improvement in theory, which is also our further research work in the future.
Data Availability
The data are available by contacting the corresponding author.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
This work was supported in part by the National Key R and D Program, China (grant no. 2018YFB1600600), National Natural Science Foundation of China (grant no. 61803052), Fundamental Research Funds for the Central Universities (no. 2018CDKYGL0011), and Project of Improving the Basic Scientific Research Ability of Young and Middle-Aged Teachers in Guangxi Universities (grant no. 2020KY16023).