This app began on London's M25 orbital motorway ("the road to hell"), after many hours of wondering why traffic suddenly stops with no accident in sight.
Jams without a cause
In 2008, Sugiyama and colleagues asked 22 drivers to drive steadily around a 230 m circular track in Japan. There were no junctions, lane changes or bottlenecks. Within minutes, a stop-and-go wave formed and travelled backwards round the track. The jam came from the drivers themselves: each one reacts a little late and brakes a little harder than the driver in front, so a small slowdown grows as it passes back along the line. Traffic scientists call this string instability. On real motorways these waves travel backwards at roughly 15 to 20 km/h.
The ring experiment mode recreates that set-up. The motorway mode is a 600 m, three-lane ring with lane changes, a mix of cars and lorries, and drivers whose preferred speeds vary by ±10%.
How each driver behaves
Every vehicle is an agent that follows the Intelligent Driver Model (IDM), a standard car-following model from traffic research. A driver accelerates towards their desired speed but brakes as they close on the vehicle in front, aiming to keep a safe distance that grows with speed. The model is written so that, with instant reactions, cars never collide.
Show the maths
dv/dt = a [ 1 − (v/v₀)⁴ − (s*/s)² ]
s* = s₀ + max(0, v·T + v·Δv / (2√(ab)) )
v is the speed, s is the bumper-to-bumper gap to the vehicle in front, and Δv is the closing speed. v₀ is the desired speed, T is the preferred time gap, s₀ = 2 m is the minimum gap when stopped, a is the maximum acceleration (2 m/s² for cars, 1 m/s² for lorries) and b = 1.5 m/s² is the comfortable braking. Cars are 4.5 m long and lorries 12 m. The model steps forward 0.1 s at a time.
Reaction time: human drivers use the gap and speeds as they were one reaction time ago. Wobble: a slowly varying random acceleration (an Ornstein–Uhlenbeck process with a 2 s memory, size 0.5 × wobble m/s²). Emergency braking: if a driver is about to hit the vehicle in front using what is happening now, they brake as hard as needed, up to 9 m/s². Without this, long reaction times would cause crashes. All drivers decide from the same snapshot, then all move together. Braking a car (click it, or press Brake one car) forces that driver to brake at 4 m/s² for 2 s; after that it follows the normal rules again and is only highlighted so you can follow it.
Lane changes (motorway) follow the MOBIL rule. A driver changes lane if their own gain in acceleration, plus politeness × the change in acceleration of the drivers behind them in both lanes, is more than 0.2 m/s². They never change lane if it would force the new follower to brake harder than 4 m/s². Each driver considers changing lanes about twice a second, then waits at least 4 s before changing again.
The smooth driver
Stern and colleagues (2018) repeated the ring experiment with about 20 cars, one of which was automated. That car aimed for the average speed of the recent past instead of chasing the car in front. It left a large gap that soaked up the waves, and stop-and-go traffic largely disappeared. Our smooth driver uses a simplified version of that controller.
- It reacts instantly and has no wobble.
- It aims for its own average speed over the last 38 s, creeping up to 0.3 m/s faster when the gap ahead is large.
- It only matches the speed of the car in front when the gap becomes small.
In our tests on the ring with 22 cars, the smooth driver dissolved an existing jam completely within about three minutes when there was no wobble. With wobble, waves kept re-forming, but the share of cars stopped roughly halved (from about 30% to 15%).
What these numbers mean
Flow is the number of vehicles passing a point per hour, per lane. It equals density × average speed. More cars means higher density, but beyond a critical density the flow falls, because jams waste road space. Measured in this model (10-minute runs, averaged over the final 5 minutes):
| Ring, cars | 12 | 14 | 16 | 18 | 22 | 26 |
| Flow (veh/h) | 1,690 | 1,770 | 1,760 | 1,040 | 940 | 620 |
| Stopped | 0% | 0% | 0% | 22% | 29% | 47% |
What the model leaves out
- All lanes are treated as the same length (the lanes are drawn at slightly different radii only to make them visible).
- There are no junctions, on-ramps, roadworks or weather. Real jams are often triggered at these bottlenecks, but the same string instability then makes them grow and travel.
- Drivers differ only in desired speed and vehicle type. Real drivers differ in many more ways, and also anticipate several cars ahead.
- The parameters were chosen to be realistic, not fitted to data, so treat the exact numbers as illustrations.
References
- Sugiyama, Y., Fukui, M., Kikuchi, M., Hasebe, K., Nakayama, A., Nishinari, K., Tadaki, S. & Yukawa, S. (2008). Traffic jams without bottlenecks: experimental evidence for the physical mechanism of the formation of a jam. New Journal of Physics 10, 033001.
- Treiber, M., Hennecke, A. & Helbing, D. (2000). Congested traffic states in empirical observations and microscopic simulations. Physical Review E 62, 1805–1824.
- Kesting, A., Treiber, M. & Helbing, D. (2007). General lane-changing model MOBIL for car-following models. Transportation Research Record 1999, 86–94.
- Stern, R. E. et al. (2018). Dissipation of stop-and-go waves via control of autonomous vehicles: field experiments. Transportation Research Part C 89, 205–221.
- Treiber, M. & Kesting, A. (2013). Traffic Flow Dynamics: Data, Models and Simulation. Springer.