2026 Volume 35 Issue 7
Article Contents

Shuang Ren, Shuichao Zhang, Huaqing Liu, Chen Zheng. Effect of a dynamic cooperative lane-changing algorithm on traffic evolution of connected and automated vehicles system at diverging on two-lane highways[J]. Chinese Physics B, 2026, 35(7): 074702. doi: 10.1088/1674-1056/ae27ae
Citation: Shuang Ren, Shuichao Zhang, Huaqing Liu, Chen Zheng. Effect of a dynamic cooperative lane-changing algorithm on traffic evolution of connected and automated vehicles system at diverging on two-lane highways[J]. Chinese Physics B, 2026, 35(7): 074702. doi: 10.1088/1674-1056/ae27ae

Effect of a dynamic cooperative lane-changing algorithm on traffic evolution of connected and automated vehicles system at diverging on two-lane highways

  • Received Date: 16/09/2025
    Accepted Date: 20/11/2025
    Available Online: 01/07/2026
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(13)  /  Tables(5)

Article Metrics

Article views(115) PDF downloads(1) Cited by(0)

Access History

Effect of a dynamic cooperative lane-changing algorithm on traffic evolution of connected and automated vehicles system at diverging on two-lane highways

Abstract: The diverging sections of two-lane highways are a typical traffic bottleneck in urban cities. Due to unregulated lane-changing (LC) behaviors, velocity oscillation and traffic congestion frequently occur. In this paper, a dynamic cooperative lane-changing (DCLC) algorithm is introduced to coordinate the LC behaviors of connected autonomous vehicles (CAVs) in a control zone upstream of the diverging point. For a CAV with LC demand, its virtual leader and follower on the adjacent lane are dynamically determined based on relative distances in real time. It will change lane if the safety time gap is satisfied. With the normal lane-changing algorithm as a benchmark, the phase transition and evolution of the traffic system are investigated and compared. Simulation results demonstrate that the proposed DCLC algorithm has a positive effect on traffic capacity. After the DCLC algorithm is implemented, the LC behaviors of CAVs are concentrated in the middle of the control zone, rather than being distributed near the diverging point in the benchmark. Moreover, some system characteristics have also been improved significantly. Finally, the sensitivities of demand and safety time gap in LC are analyzed to verify the universality of the DCLC algorithm in improving traffic performance.

1.   Introduction
  • In the diverging of urban cities, lane-changing (LC) behaviors usually lead to some negative impacts on traffic flow, such as capacity drop,[1] collision risk,[2,3] and traffic oscillation.[4] Owing to the advancement of wireless communication, connected autonomous vehicles (CAVs) exhibit remarkable improvements in controllability and operational efficiency, which can improve traffic safety[5,6] and enhance traffic capacity.[7]

    The longitudinal motion of vehicles is mainly reflected in car-following behavior, which will significantly influence the evolutionary characteristics of traffic systems. When the mechanical structure of vehicles remains unknown or undefined, some human-like models are used to model the longitudinal motion of CAVs, such as intelligent driver model (IDM)[8] and full velocity difference model (FVD).[9] If the mechanical structure can be predefined or modeled, the hierarchical control algorithm[10–12] is one of the widely used approaches. The upper-level control algorithm is pre-set to obtain the command acceleration[10,13] and the lower-level controller is constructed to model and simulate the mechanical transmission.[12,14,15] Among them, adaptive cruise control (ACC)[16,17] is a typical longitudinal car-following algorithm, designed based on feedback control using information collected by the onboard sensing equipment of the preceding vehicle. As an enhancement of ACC, cooperative adaptive cruise control (CACC)[11,18] is a systematic algorithm that improves traffic operation by connecting vehicles via vehicle-to-vehicle (V2V) or vehicle-to-infrastructure (V2I) communication.

    The lateral motion of vehicles is mainly manifested as lane-changing (LC) behavior, usually including mandatory lane-changing (MLC) and discretionary lane-changing (DLC).[19] For CAVs with LC demand, lateral control algorithms are designed to coordinate LC behaviors with other vehicles on adjacent lanes, such as the gap-based approach,[20,21] the minimizing overall braking induced by lane changes (MOBIL) approach,[22,23] and the game theory-based approach.[24,25] When the ego vehicle is performing LC behavior, its safety is usually ensured. The lateral motion does not significantly affect vehicles’ longitudinal car-following. Thus, in some investigations[22,26,27] LC can be simplified to instantaneous behavior. When the research focuses on the game between lane-changing vehicles and the surrounding vehicles, it is necessary to establish a correlation model between deceleration and lateral movement. Meanwhile, instantaneous LC is no longer applicable.[28,29]

    Numerous studies have demonstrated that appropriate cooperative strategies at merging are implemented for CAVs in a control zone and can significantly improve traffic efficiency.[30–32] One approach is heuristic rule-based algorithm,[33–35] such as virtual vehicles[33,34] and virtual platoon[35] by mapping a single vehicle or a platoon of CAVs onto an adjacent lane. The second approach is an optimization-based control algorithm,[28,32,36] such as mixed integer programming[28,32] and model predictive control.[36] The third approach is a machine learning-based control algorithm, such as neural networks[37] and machine learning methods.[38] In comparison, heuristic rule-based algorithms exhibit both higher computational efficiency and a distinct advantage in real-time implementation.

    However, studies on cooperative lane-changing algorithms and how traffic flow evolves at diverging areas are still limited. Motivated by this fact, in this paper, a dynamic cooperative lane-changing (DCLC) algorithm is designed for CAVs to coordinate LC behaviors at diverging areas. For a CAV with LC demand in the control zone, its target preceding and following vehicles on the adjacent lane are detected in real time. Virtual vehicles are applied to determine the sequence of car-following, and a virtual chain is updated dynamically according to the relative location. Under the proposed DCLC algorithm, traffic evolution is systematically discussed and compared with a benchmark.

    The rest of the paper is organized as follows. In Section 2, the longitudinal control algorithm of CAVs and the DCLC algorithm are proposed. In Section 3, simulations of traffic evolution under the proposed DCLC algorithm and benchmark are performed and compared. Finally, Section 4 gives the conclusions.

2.   The control algorithm
  • Figure 1 shows the geometric layout of a typical diverging bottleneck on two-lane highways. The control zone is located upstream of the diverging point. The LC behaviors of CAVs are assumed to be concentrated in the control zone for improving traffic efficiency. Furthermore, delay and packet loss in communication are not taken into account.[8,9,21,22]

  • The hierarchical control algorithm containing the upper-level control algorithm and the lower-level controller is used to model the longitudinal car-following of CAVs in this paper, as follows:

    In Eq. (1), the command acceleration acmd is calculated with the acceleration ap, velocity difference vp – vego and the difference between actual spacing gego and desired spacing gdesire.

    [ap, vp, xp] denotes the acceleration, velocity and location of the preceding vehicle in the same lane. [vego, xego] denotes the velocity and location of the ego vehicle. The desired spacing gdesire is determined by the constant time headway policy with time gap Tg. Lc and Gmin denote the length of the vehicle and the standstill distance. The gain parameters ka, kv and kg denote the control gains. In Eq. (2), the first-order lag model with average response time τ is used to approximate the mechanical transmission.

  • Figure 2 depicts the schematic diagram of the proposed dynamic cooperative algorithm using virtual vehicles in the control zone. Virtual vehicles are introduced by mapping vehicles from an adjacent lane onto the current lane. For the ego vehicle numbered D with LC demand, the virtual sequence chain C-D-E, containing its target preceding and following vehicles on the adjacent lane, is formed in real time and dynamically updated at each time step. If vehicle D overtakes its virtual leading vehicle C, a new virtual sequence chain A-D-C is generated and then it is converted into a virtual predecessor–follower relationship with vehicle C, as shown in Fig. 2(b). After vehicle D completes LC, the virtual sequence chain is no longer triggered, and it resumes following its preceding vehicle on the ego lane.

    CAVs perform car-following in accordance with the virtual sequence chain. If the ego vehicle follows its virtual preceding vehicle, the command acceleration denoted as acmd,virtual is calculated as follows:

    in which acmd,lim denotes the limitation on deceleration. The command acceleration following the preceding vehicle on the ego lane, denoted as acmd,ego, is obtained by

    To avoid the risk of collisions on the same lane due to insufficient deceleration, the actual command acceleration is determined by

    Moreover, some physical constraints are introduced as follows:

    Table 1 exhibits the values of parameters used in the simulation. In Ref. [33], our previous study proved the stability region with gain parameters ka, kv, and kg. Moreover, the minimum gap and velocity of the following CAV are negatively correlated with kg when the preceding CAV decelerates at Jmin until its acceleration reaches amin. A small kg contributes to enhancing safety in car-following when the preceding vehicle undergoes extreme deceleration.

  • When CAVs enter the control zone, the proposed dynamic cooperative algorithm is triggered and the adjustment of spacing is initiated to ensure smooth implementation of LC. When the time gaps between the ego vehicle and its target preceding/following vehicles simultaneously approach the safety time gap Tsafe, it will immediately change lane, as shown in Fig. 3. The LC strategy is shown as follows:

    Notably, as the inflow rate and LC demand increase, traffic scenarios in which multiple consecutive CAVs need to change lanes will occur frequently. Figure 4 demonstrates schematic diagrams when two and three consecutive CAVs change lanes (when the number of consecutive vehicles increases further, the LC behavior follows a similar pattern). It is notable that the virtual sequence chain is detected and updated in real time at each time step. When the relative positions with respect to other vehicles with LC demand change, the virtual sequence chain is adjusted accordingly, which may even evolve into the traffic scenario shown in Fig. 3.

    When vehicles on different lanes perform car-following with the virtual sequence chain, as shown in Figs. 4(a) and 4(b), the time gaps between consecutive vehicles gradually change over time. Once the LC strategy is satisfied, one vehicle initiates lane-changing and its virtual vehicle is no longer maintained. The car-following and LC behaviors of other vehicles in the established original virtual sequence chain are not affected. For example, after vehicle C changes lanes, the distance between vehicle D and the preceding vehicle on the target lane changes from C to A and becomes larger, as shown in Fig. 4(a).

    When two consecutive vehicles (vehicles C and D) in the virtual sequence chain are located on the same lane, as shown in Figs. 4(c) and 4(d), the preceding/following vehicle on the ego lane changes to the adjacent lane and its virtual vehicle is formed. Although the target vehicle in the LC strategy has changed, the time gap of the ego vehicle remains safe because the car-following sequence does not change. For example, after vehicle C changes lanes, the car-following sequence remains B–C–D–E (Fig. 4(c)) and A–B–C–D–E (Fig. 4(d)).

  • To evaluate the traffic efficiency under the DCLC algorithm, a normal LC algorithm is introduced as a benchmark. The control zone is replaced with a free LC zone and a mandatory LC zone, as shown in Fig. 5. Without cooperation with nearby vehicles on the adjacent lane, the ego vehicle maintains car-following of its preceding vehicle in the free LC zone. The ego vehicle also performs real-time detection to check whether Eq. (11) is satisfied. When it enters the mandatory LC zone, yielding behavior of its target following vehicle on the adjacent lane is introduced. (Yielding behavior means that in the mandatory LC zone, the ego vehicle follows the nearest preceding vehicle on the adjacent lane based on Eqs. (5)–(7) and acmd,lim = −∞ m/s2. Under an oversaturated inflow rate, the velocity is low. The LC strategy in Eq. (11) becomes overly strict, which may cause vehicles to remain unable to initiate LC behavior until they stop at the diverging point side by side.) Note that yielding behavior of the following vehicle occurs only when (1) the following vehicle does not have LC demand but the gap to its preceding vehicle satisfies xego−xf,tar≥Tg2v(t)+Gmin, as shown in Figs. 5(a) and 5(b), or (2) the following vehicle has LC demand, as shown in Fig. 5(c) and 5(d). Moreover, collision prevention is also taken into account at each time step in the control zone, which is given as follows:

    where Tp,tar, Tf,tar, and Tego denote the time steps when the corresponding CAVs come to a complete stop. sp,tar denotes the distance of the target preceding vehicle decelerating at Jmin until it stops. sego and sf,tar denote the distances of the two vehicles following their preceding vehicles based on Eqs. (3) and (4) from the current step to the stopping step. In particular, if the target following vehicle has not entered the mandatory LC zone, the safety LC time gap remains Tsafe.

3.   Simulation
  • In the simulation (30 runs were carried out for each entering probability Pin, and each simulation lasted 2000 s), the length l of the road section and the location of the diverging point are set to x = 9000 m and x = 8000 m, respectively. The control zone extends from x = 6000 m to x = 8000 m. Each new CAV enters the road section with probability Pin and the maximum velocity vmax if the last vehicle on the same lane is beyond Lc + Gmin + Tgvmax. The proportions of vehicles with LC demand on Lanes 1 and 2 are denoted as p1 = 0.1 and p2 = 0.3, respectively. When the preceding vehicle on the same lane reaches the exit after the diverging point, it is removed, and the ego vehicle consequently follows a hypothetical vehicle at infinity.

  • Figure 6 exhibits the dependence of flow rates on the entering probability Pin. It is noted that under both the proposed cooperative algorithm and the benchmark, there exists a threshold Pin = Pc. When Pin < Pc ≈ 0.23, the traffic flow is free and the outflow is equal to the inflow. When Pin > Pc ≈ 0.23, congestion forms and the total outflow Qout = Qout,1 + Qout,2 remains constant. No capacity drop is observed. Under the benchmark, the traffic outflow and threshold Pc are 2835 vehicles/h and 0.09, respectively, which are significantly smaller than those under the DCLC algorithm. Note that the observed outflows for acmd,lim = −∞ m/s2 and acmd,lim = −0.3 m/s2 are 3929 and 3992 vehicles/h, respectively, demonstrating an increase of 1.60%. Note that a small |acmd,lim| smooths the deceleration of CAVs and increases the average velocity after LC, thereby slightly increasing the outflow.

  • Figure 7 exhibits the comparison of the velocity spatiotemporal patterns at two typical inflow rates. When the inflow is undersaturated under the DCLC algorithm at Pin = 0.07 (seen in Figs. 7(a), 7(b), 7(e), 7(f), 7(i), and 7(j)), no congestion occurs. Moreover, the velocity spatiotemporal pattern is independent of acmd,lim. Nevertheless, some local congestion occurs under the benchmark, as shown in Figs. 7(m) and 7(n). When the inflow is oversaturated at Pin = 0.33 (seen in columns 3 and 4 of Fig. 7), traffic congestion forms and propagates upstream under both algorithms. Note that when |acmd,lim| ≤ 0.5 m/s2 under the DCLC algorithm in Figs. 7(c)–7(d) and 7(g)–7(h), a “two-stage” phase transition appears in the control zone, which is consistent with Ref. [33]. Affected by a small |acmd,lim|, CAVs perform smooth and coordinated cooperation with each other, and local congestion is formed. As Pin increases, congestion propagates upstream and forms a shock wave near the entrance of the control zone. Compared with the benchmark, congestion forms near the exit of the control zone and propagates upstream as a shock wave with a lower speed. It is noted that the speed of the shock wave on Lane 2 is faster than that on Lane 1 due to different LC demands on the two lanes. Under the DCLC algorithm, CAVs on both lanes are subjected to the same level of deceleration influence as a result of the virtual sequence chain. Consequently, there is no notable disparity in the spatiotemporal patterns between the two lanes.

  • Figure 8 depicts the spatiotemporal pattern of notable jerks (|J| > 0.1 m/s3) under both undersaturated and oversaturated inflow conditions. It can be seen that in Figs. 8(a), 8(b), 8(e), 8(f), 8(i), and 8(j) at Pin = 0.07, a small number of notable jerks are sparsely distributed in the control zone under the DCLC algorithm. However, under the benchmark, a substantial number of notable jerks are scattered upstream of the exit of the control zone. When the inflow is oversaturated at Pin = 0.33 (seen in columns 3 and 4 of Fig. 8), notable jerks also occur at the fronts separating different traffic states.

  • The control zone is discretized into cells of 10 m, and the frequency of LC in each cell is calculated, as shown in Table 1. Under the DCLC algorithm, the distribution of LC positions is influenced by acmd,lim and exhibits a skewed distribution. When the inflow is undersaturated at Pin = 0.07, the LC strategy is easily satisfied and CAVs change lanes immediately upon entering the control zone. Hence, there exists a relatively high proportion of LC behaviors near the entrance of the control zone, as shown in Figs. 9(a) and 9(c). As Pin increases to an oversaturated inflow, as shown in Figs. 9(b) and 9(d), the DCLC algorithm is triggered and the gap between CAVs gradually expands. LC behaviors are mainly concentrated near the midpoint of the control zone. Under the benchmark, CAVs change lanes in the MLC zone. Furthermore, a smaller |acmd,lim| leads to later lane-changing behavior.

  • Time to collision (TTC) is widely used to quantify the safety performance of traffic systems.[39] Equation (14) represents the calculation of TTC between vehicle i and its leading vehicle i – 1 on the same lane. It is noted that TTCi(t) is infinite at vi(t) = vi–1(t). Thus, 1TTCi(t) is employed to evaluate the safety of vehicle i at time step t

    where MTTCi denotes the average 1/TTC of vehicle i passing through the control zone in N simulations. tin and tout are the entering and exiting time steps of the vehicle, respectively. Figure 10 demonstrates the dependence of MTTC on vehicle number at Pin = 0.07 and Pin = 0.33. It can be seen that the collision risk under the DCLC algorithm is much smaller than that under the benchmark. When the inflow is undersaturated at Pin = 0.07 in Figs. 10(a) and 10(c), MTTC nearly approaches a constant under the DCLC algorithm. When the inflow is oversaturated at Pin = 0.33 in Figs. 10(b) and 10(d), MTTC first increases due to the small gap caused by the oversaturated inflow and then remains constant under steady congestion.

    A small |acmd,lim| helps to suppress the aggravation of velocity differences and enhances safety to a certain extent. Under the benchmark, due to the higher LC demand on Lane 2 (p2 > p1), there appears a situation in the mandatory LC zone where xi–1(t) – xi(t) – Lc is slightly larger than 0, which implies an extremely high 1/TTC and collision risk. Hence, this leads to some large peaks under the benchmark in Fig. 10.

  • The discrete form of the proposed model in Ref. [40] is used to measure the fuel consumption of CAVs as follows:

    in which Kij are constant coefficients listed in Table 2 for a ≥ 0 and a < 0.

    Figure 11 shows the fuel consumption of vehicles under two algorithms. When the inflow is undersaturated, as shown in Figs. 11(a) and 11(c), the fuel consumption is independent of acmd,lim and remains nearly constant, with values of 0.79 L under the DCLC algorithm and 0.84/0.86 L on Lane 1/2 under the benchmark. The improvement is about 6%/8%. When the inflow is oversaturated, as shown in Figs. 11(b) and 11(d), the fuel consumption first increases and then remains constant with vehicle number. Note that under the DCLC algorithm, a smaller |acmd,lim| reduces the fuel consumption of vehicles entering earlier due to smoother deceleration. The effect of |acmd,lim| on fuel consumption decreases progressively with the propagation of the shock wave outside the control zone. Compared with the benchmark, the proposed algorithm significantly reduces fuel consumption. Moreover, fuel consumption on Lane 2 is higher.

  • Travel delay is calculated as the difference between the total travel time and the minimum travel time. When the inflow is undersaturated in Figs. 12(a) and 12(c), travel delay is also independent of acmd,lim, which is 0.29 s under the DCLC algorithm and 16.32/33.23 s on Lane 1/2 under the benchmark. The improvement is about 98%/99%. When the inflow is oversaturated in Figs. 12(b) and 12(d), travel delay increases with vehicle number. Under the benchmark, travel delay exhibits a sharp linear increase with vehicle number. Compared with the benchmark, the travel delay under the DCLC algorithm is significantly reduced and is smallest at acmd,lim = −0.3 m/s2.

  • In order to comprehensively evaluate the performance of the proposed cooperative LC algorithm, the approach of monetary cost is applied in this paper. The cost-of-living data are obtained from NUMBEO (https://www.numbeo.com/cost-of-living/, May 10, 2025). The monthly salary and gasoline price are 6,743.95¥/month and 8.24¥/liter, respectively. The hourly wage (42.15¥/h) is calculated based on working 20 days a month and 8 hours a day.

    When the inflow is undersaturated in Figs. 13(a) and 13(c), under the benchmark the monetary costs of Lanes 1 and 2 are different and higher, which are ¥7.1 and ¥7.5, respectively. However, under the DCLC algorithm the monetary costs of CAVs are similar and approximately ¥6.52, with reductions of 8.2% and 13.1% on Lanes 1 and 2, respectively. When the inflow is oversaturated in Figs. 13(b) and 13(d), the monetary costs increase with fuel consumption and travel delay. The superiority of the DCLC algorithm in reducing travel costs at diverging points can be clearly observed.

  • In this section, sensitivity analysis of the safe time gap Tsafe and lane-changing demand on Lane 2 p2 in the proposed DCLC algorithm (acmd,lim = −∞ m/s2) and benchmark is performed and compared to verify the universality of the DCLC algorithm in improving traffic evolution. Table 3 compares the capacity under the two algorithms. One can see that the capacity increases with p2 but decreases with Tsafe. Moreover, the capacity under the DCLC algorithm is superior to that under the benchmark.

    Tables 4 and 5 compare the differences in performance indicators under oversaturated and undersaturated inflows. The results are averaged over 20000 CAVs on both lanes across 50 runs. When the inflow is undersaturated in Table 4, compared with the benchmark, the improvements under the proposed DCLC algorithm are nearly 94.17%–96.67% in safety, 4.30%–7.04% in fuel consumption, 98.66%–99.26% in travel delay, and 6.48%–10.47% in monetary cost, respectively. When the inflow is oversaturated in Table 5, fuel consumption and monetary cost are further improved. Meanwhile, the safety of each vehicle increases with the reductions of p2 and Tsafe. Other performance indicators exhibit the opposite trend.

4.   Conclusion
  • In this paper, a DCLC algorithm is proposed to coordinate the LC behaviors of CAVs at diverging. For a CAV with LC demand in the control zone, its target preceding and following vehicles on the neighboring lane are detected in real time, and a virtual sequence chain for cooperative car-following is updated at each time step. The normal lane-changing algorithm is considered as the benchmark.

    In comparison with the benchmark, the simulations demonstrate that the DCLC algorithm can significantly improve the comprehensive performance of the CAV system at diverging sections on two-lane highways, particularly reflected in the substantial increase in total capacity on both lanes. Unlike the benchmark, the traffic evolution under the DCLC algorithm on both lanes is similar. Meanwhile, when |acmd,lim| ≤ 0.5 m/s2 is under an oversaturated inflow in the DCLC algorithm, a “two-stage” phase transition appears in the control zone. Finally, sensitivity analysis of the LC demand on Lane 2 p2 and safe time gap Tsafe is conducted, which verifies the universality of the DCLC algorithm.

    In future work, a cooperative algorithm based on virtual platooning will be developed to further investigate the impact of lane changing on system evolution.

Figure (13)  Table (5) Reference (40)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return