beanz Magazine

Autonomous Driving in Today’s Cars

tablexxnx on Flickr

Our cars aren’t quite driving themselves, but they can help us park and avoid collisions.

For years, progress has been made in creating self-driving cars. However, if you’re like most people, the car you ride in is still driven by a human. Nonetheless, human drivers are getting more and more support from technologies that are gradually leading us from human driven cars to autonomous vehicles.

What exactly is making cars more autonomous? It’s largely improved sensor technology available at increasingly lower costs, as well as software that allows one sensor to be used for multiple purposes. You need not buy a Tesla or wait for a Waymo to access powerful technology that makes cars safer and easier to control.

What sensors are in the cars you ride in? This information can be looked up if you know the make, model, and year of the car. In most cases, the newer the car, the more likely it is to have driver assist features such as those described below:

Adaptive Cruise Control

Photo from Josh Bancroft on Flickr

With traditional cruise control a driver can set the speed she wishes to travel, and the car will maintain that speed unless the gas or brake is pushed. However with adaptive cruise control the driver programs the distance she wants to maintain between her car and the car directly in front of her. The car will then speed up or slow down in order to maintain this distance until the driver pushes the gas or brake.

In most cars adaptive cruise control uses radar to determine distance. The word radar began as an acronym for radio detection and ranging. As such, a radar system works by emitting radio waves and measuring how much time passes before they are reflected back. Since the speed at which radio waves travels is known, a computer in the car can continually calculate the distance between a car and an object (usually another car) in front of it. When the distance becomes less than the minimum set by the driver, a computer within the car will alert the driver, usually with a combination of beeping, lights, and often even light automated breaking.

Lane Departure Alert with Steering Assist (Lane Keeping Assist)

Photo from Trevor Choi on Flickr

Many new cars have a small camera, usually mounted on the windshield near the rear view mirror, tracking the road ahead. Software converts the visual data from the camera into patterns that the car’s computer system can recognize.

So long as the lanes are clearly marked, the camera will “see” if the car begins to drift from one lane to the other. The most standard lane departure systems only work when the car is traveling over approximately 40 MPH and the driver has not turned on the blinker. If these conditions are meant an alert is set off, either in the form of a beeping sound, a blinking light on the dashboard, or a slight vibration of the steering wheel.

In systems moving even closer toward autonomous driving, the car is programmed to remain centered in its lane and auto steering is activated to recenter the car. However, most cars still require a human driver to steer them back into the correct position.

Parking Assist

Photo from Jason Thien on Flickr

Parallel parking presents more than its fair share of challenges. A driver must estimate whether or not her car will fit in given spot, and if so, frequently adjust the angle of entry to avoid bumping the surrounding cars, the curb, or objects that might get caught in between. Often times all this must be done while in a busy traffic lane, with cars continuously approaching from behind and slowing down to drive around the parking vehicle.

Fortunately sensors connected to a car’s computer system can reduce some of the challenges of parallel parking. The two most common sensors found in parking systems are ultrasonic sensors and electromagnetic sensors. Ultrasonic sensors send out sound waves and detect the distance between the parking car and surrounding objects by measuring the time it takes for the waves’ echos to return. Electromagnetic sensors create an electromagnetic field around the car bumper. When another object enters that field, it sends a voltage spike through the sensor. The size and distance of the obstacle can then be determined by the car’s onboard computer.

In the most advanced parking assist systems, the driver presses a button to activate the system. The ultrasonic sensor then measures potential parking spaces and prompts the driver to accept a given parking spot. From there, the steering system takes over and parks the car, hands free, while the car instructs the driver on when to accelerate, brake, and shift from reverse to drive. The driver can interrupt the process and take over by simply gripping the steering wheel.

Adaptive cruise control, lane departure, and parking assist are a few of the increasing number of driver assist features that are becoming standard on new cars. As the number of these features increases and the prices continue to drop, many of us may well find ourselves riding in semi-autonomous vehicles while technology, society, and the law all gradually prepare for fully self-driving cars.

Learn More

Land Departure

https://www.safedrivesystems.com/blog/how-lane-departure-warning-systems-work/

Parking Assist

http://www.proctorcars.com/when-cars-park-themselves-a-guide-to-parking-assist-technologies/

Self-Parking Ford

https://www.technologyreview.com/s/411563/fords-new-car-parks-itself/

Also In The April 2018 Issue

Who chooses new emojis? And what’s coming in the next batch?

Build your own voice-controlled digital assistant with a Raspberry Pi and an analog speaker.

Using Scratch and some simple vector math, create your own Boids algorithm to simulate the flight of birds.

6 hands-on STEM camps and clubs to join this summer.

With these new high-tech cards, public transit is easier than ever.

Slice digital photos into pieces and have fun pasting them back together.

Meet the cute little bot that’s helping scientists understand the courtship of frogs.

Dive into the nitty-gritty of game-making with this popular Python library.

Learn about the Native soldiers and the creative cypher code that helped win WWII.

Our cars aren’t quite driving themselves, but they can help us park and avoid collisions.

Make your games even more exciting with custom user-created content!

A clever teacher uses our favourite round robot to bring books to life.

Learn how to search through blobs of text with speed, accuracy, and elegance… like a ninja!

Links from the bottom of all the April 2018 articles, collected in one place for you to print, share, or bookmark.

Interesting stories about computer science, software programming, and technology for April 2018.