THE ALGORITHM AT THE HEART OF AUTONOMOUS TRUCK SAFETY
In their work at the department of Automatic Control, Professor Bo Wahlberg and Ph.D. student Pedro Lima are dedicated to achieving one thing above all else: safety.
If autonomous trucks are going to become part of our everyday lives, they are going to be the safest trucks ever created.
Many accidents we see on the roads today are caused by what is known as 'pilot-induced oscillation', which Professor Wahlberg says “is ultimately due to the fear induced in the driver in a dangerous situation, causing them to overact or overcompensate”.
But a well-designed algorithm doesn’t react like that; it computes what needs to be done and reacts accordingly, causing an autonomous or self-driving vehicle to continue safely on its way. And it’s this that Wahlberg and his team at the Department of Automatic Control are focused on creating. However, working towards such an algorithm hasn’t been easy, and Wahlberg says that it would have been impossible to develop even five years ago.
“We just didn’t have the computational power. The ideas are not completely new, but the ability was not there.”
Doctoral student Pedro Lima agrees: “What we are using is Model Predictive Control (MPC), and that is not a new concept. It actually existed as early as the 1960s, but running a complicated optimisation algorithm this fast wouldn’t have been possible before, without today’s computers.”
Lima is a fervent advocate of automated driving technology. He explains his motivation with a stark statistic.
“This week I attended a conference where I learned that 1.2 million people die every year due to road accidents. That’s like a jumbo jet falling from the sky every half a day,” he says, still genuinely shocked by what he has heard. Despite this disturbing picture he is far from despairing because of the possibilities offered by the project he is working on. “In the future people will look back and say ‘how on earth did people actually drive a car?’ It’s so dangerous,” he says.
Automatic Control and safe transport
The Department of Automatic Control at KTH is a busy place, befitting the fact that automation is one of the hottest research subjects going, and also a much-anticipated technology by consumers and industry alike. Along with his colleague Assistant Professor Jonas Mårtensson, Professor Wahlberg supervises Lima’s research, which focuses specifically on control algorithms of heavy-duty construction trucks, and he has spent the past four years working on Model Predictive Control (MPC). “Using MPC a truck can stay on a narrow, winding road and drive itself smoothly,” Wahlberg says.
Lima adds, “The model can predict the vehicle's movements in any given situation, on the basis of information about what direction it's being steered in, how much throttle is given and alternatively how much braking force is applied.”
In the work, a lot of effort has been expended on developing the truck’s control algorithm so that it is as accurate and reliable as possible, but achieving this with a heavy truck is no mean feat. With much greater mass and much more built-in inertia than passenger cars, trucks present a greater challenge for autonomous driving technology.
When it comes to automated vehicles in general, the question of safety is at the forefront of everyone’s mind, but there is a significant cultural mindset to overcome: many of us are scared to let go of the steering wheel.
However, Wahlberg says that this is all a matter of public perception. Lima’s work notes that figures for 2012 from the USA’s national highway safety administration (NHTSA) showed that 94% of accidents are caused by driver error. Indeed, the World Health Organisation (WHO) predicts that road traffic injuries will be the third greatest cause of disabilities by 2020. Yet, despite those statistics the public are still wary of autonomous vehicles, preferring to have humans in control.
How automated trucks can make mines safer
The project ‘iQMatic’, led by KTH partner Scania AB, has the objective of developing a fully autonomous truck for mining operations by 2018. Pedro Lima spends roughly twenty percent of his time working with Scania at its research and development department in Södertälje, where he is developing the ‘essential controller’.
“The essential controller is a way to automatically control the steering, gas and brakes,” Lima explains. He adds that he likes to focus on the steering most of all, and the Model Predictive Control technology makes it possible to minimise deviations from the driverless vehicle’s intended path. The MPC also maximises passenger comfort by reducing involuntary side-to-side movement in the steering, acceleration and braking, while finally maximising the vehicle's fuel efficiency. The team is focused on ensuring that the automated vehicle drives as smoothly and as safely as possible.
Tests so far have impressed professional drivers. The prototype, ‘Astator’, travelled softly and stably around a track at Scania’s testing area in Södertälje, achieving its maximum speed of 90 km/h. The algorithm smoothes the drive by taking in new information every 50 milliseconds, causing it to make the vehicle steer, accelerate and brake correctly.
The Global Positioning System (GPS), LIDAR (Light Detection and Ranging, a remote sensing technology that uses light in the form of a pulsed laser to measure ranges) and multiple cameras all make an autonomous truck much more aware of its situation and position than a conventional unautomated truck with an unassisted driver. This awareness, allied to an ability to automatically assess and correct direction, speed and braking ensures that the trucks of the future will be very much safer alternatives to the vehicles currently in use.
By 2018 we are highly likely to see autonomous trucks working in mining environments in what will be highly controlled situations. When automated vehicles are used in mines, it is most likely that people will be placed in separate control towers overseeing the larger picture and giving the vehicle its tasks; that means the risk to people working at an often busy mine would be greatly reduced. This will be a great step forward in increasing the safety of mineworkers.
Though automated vehicle technology is still developing, Bo Wahlberg is already certain about the improvements in safety that it will bring.
“Although we cannot be sure of what the future holds beyond the mines and more controlled environments, we are sure that Model Predictive Control has the ability to bring not only advances in general vehicle autonomy but also in road safety overall.”