Cambridge Uni develops Raspberry Pi smart cars that skip traffic jams
By Lucy Hattersley. Posted
Cambridge University uses Raspberry Pi to build autonomous cars with superior self-management skills. Bring on a more efficient, crash-free future, exhorts Rosie Hattersley
Advertisement
Get started with Raspberry Pi – everything you need to know to start your journey!
Trials of autonomous cars on a track in Cambridge have proved that traffic congestion headaches could be largely avoided in the future.
The results of tests using a small fleet of Raspberry Pi-controlled cars by Cambridge University researchers were presented at the International Conference on Robotics and Automation in Montreal in June.
Mimicking motorway mayhem
Scale models of existing cars were fitted with motion-capture sensors and Raspberry Pi controllers, and communicated with each other over wireless LAN. Researchers were keen to establish the behaviour of self-driving cars when faced with obstacles, such as a broken‑down vehicle.
Where the robot cars were operated independently from each other, a car stuck behind one that had broken down had to slow down or stop and wait for a gap in the traffic in order to pull out into the next lane and overtake the obstacle. So far, so similar to commuters’ everyday experience.
However, in scenarios in which it was possible for the robot cars to communicate, the cars were able to drive ‘co-operatively’. If a car in the inner lane slowed down or stopped, a signal was sent to all the other cars. Those in the outer lane slowed slightly so cars behind the slower one were able to pull out and avoid a collision, thus keeping both lanes of traffic flowing smoothly. With improved road safety it was possible to pack cars more closely, improving efficiency by between 35% and 45%, depending on whether the tests were modelling co-operative or ‘aggressive’ driving modes.
Cross-car communication
“Autonomous cars could fix a lot of different problems associated with driving in cities, but there needs to be a way for them to work together,” says report co-author Michael He, an undergraduate student at St John’s College who designed lane-changing algorithms for the experiment. The algorithm calculates whether it is safe to change lanes, and whether there’s a compelling advantage to doing so – a perhaps more rational approach than some human drivers.
The researchers now plan to trial larger fleets of cars with more complex scenarios such as road junctions and a wider range of vehicle types.
More information about the experiment can be found on the University of Cambridge website.
Lucy is Editor of Raspberry Pi Official Magazine.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Get started with Raspberry Pi in Raspberry Pi Official Magazine 161
There’s loads going on in this issue: first of all, how about using a capacitive touch board and Raspberry Pi 5 to turn a quilt into an input device? Nicola King shows you how. If you’re more into sawing and drilling than needlework, Jo Hinchliffe has built an underwater rover out of plastic piping and […]
Read more →
Win one of three DreamHAT+ radars!
That’s right, an actual working radar for your Raspberry Pi. We reviewed it a few months ago and have since been amazed at some of the projects that have used it, like last month’s motion sensor from the movie Aliens. Sound good? Well we have a few to give away, and you can enter below. […]
Read more →
RP2350 Pico W5 review
It’s Raspberry Pi Pico 2, but with a lot more memory
Read more →
