Numerical simulations of mixed traffic flow with vehicles under car-following and bilateral control.

  • This webpage contains supplementary material for our paper “On the stability analysis of mixed traffic with vehicles under car-following and bilateral control” submitted to the IEEE Transactions on Automatic Control.

  • mixed traffic

    Fig.1: Simulations of pure CFM-traffic (top) and of mixed traffic containing both CFM and BCM vehicles (bottom).


  • In Fig. 1, black squares denote cars under the constant-time headway car-following model (CFM) control. Red squares denote cars under the bilateral control model (BCM). Circular boundary conditions are used: 32 cars run in a loop. After leaving position 0 on the left they reappear at position 1120 on the right.

  • For the constant-time headway car-following model (CFM), control is implemented by: $$a_n(t) = k_d\bigl(d_{n}(t)-v_{n}(t)T\bigr)+k_v\bigl(v_{n-1}(t)-v_{n}(t)\bigr).$$ For the bilateral control model (BCM), control is implemented by: $$a_n(t) = \tau k_d\bigl(d_{n}(t)-d_{n+1}(t)\bigr) + \tau k_v\bigl(r_{n}(t)-r_{n+1}(t)\bigr).$$ See section II (in pp. 2) of our paper for a more detailed explanation.
  • Initially, the cars are spaced equally, 30 meters apart, all moving at a speed of 20 m/sec. Suddenly the car denoted by the solid black square brakes hard at -5 m/sec\({}^2\) for 3 sec. After that, constant-time headway CFM is again used to control that car.
  • See also the MATLAB code used for the above simulation. In the numerical simulation, we set: $$\text{Time step: }\quad \Delta t = 0.1\, \text{sec},$$ $$\text{minimum speed: }\quad V_{\text{min}} = 0\, \text{m/sec},$$ $$\text{maximum speed: }\quad V_{\text{max}} = 44.44\, \text{m/sec} = 160\, \text{km/hour},$$ $$\text{minimum acceleration/deceleration: }\quad a_{\text{min}} = -5\, \text{m/sec}^2,$$ $$\text{maximum acceleration/deceleration: }\quad a_{\text{max}} = +5\, \text{m/sec}^2,$$ $$\text{car length: }\quad \ell = 5\, \text{m}.$$ (in case a collision between car \(n\) and car \(n+1\) becomes imminent, the speed of car \(n+1\) will be set equal to that of car \(n\)).
  • The parameters used in the above simulation — also shown in the captions of the subfigures in Fig. 1 — are $$k_d = 0.3\, \text{sec}^{-2}, \quad k_v = 0.2\, \text{sec}^{-1},\quad T = 1.5\, \text{sec}, \quad\text{and}\quad\tau = 1.5.$$ Obviously here \(K = 4\) and \(L = 4,\) where \(K\) denotes the number of cars in each CFM chain and \(L\) denotes the number of cars in each BCM chain.

  • The following two figures (i.e., Fig. 2 and Fi.g. 3) show the trajectories of the cars plotted in the space-time domain. The black curves are trajectories of CFM cars. The red curves are trajectories of BCM cars. The bold black curve corresponds to the trajectory of the solid black square in Fig. 1.
  • Fig.2: The trajectories of the cars in the pure CFM traffic, corresponding to the top sub-figure in Fig. 1.

    Fig.3: The trajectories of the cars in mixed traffic, corresponding to the bottom sub-figure in Fig. 1.


  • In summary, the stability condition for pure CFM traffic is relaxed by introducing BCM vehicles. In our paper, we provide the detailed mathematical analysis.

  • o The percentage of BCM vehicles in the mixed traffic


    o The distribution of BCM cars (i.e., concentrated or dispersed).


    o The parameter \(\tau\).


    o The corresponding MATLAB code