beanz Magazine

Is That Elevator a Robot?

allen on Flickr

Learn about the Destination Dispatch algorithm and create your own robotic lift.

In the past two issues of Beanz we have thought a bit about the robotics that goes into building simple elevators. We even created two elevator systems using a stepper motor and Arduino to transport items from the ground on up to the top of a mini treehouse, as well as up the prototype of a more standard elevator shaft. These projects involved a bit of mechanics, some electronics, and a tad of code.

Even though mechanics, electronics, and code are the main components of robotics, these simple elevators are better described as electronics projects than robotic projects. The reason being is that they did not involve sensors and the finished products required too much human involvement to run properly. The line that distinguishes machines such as our simple elevators from robots is a bit fuzzy, but it is generally agreed that robots can make decisions for themselves, without humans controlling them through switches and buttons.

Most elevators today still require a human to push a button telling it what floor to stop at. However through the use of sensors and code, they can decide on their own when they have reached a specified floor. This ability makes them more robot-like than elevators of the past that relied on a human operator who traveled inside the car, telling the elevator when to open and close its doors.

Perhaps the most robotic elevators today are those that run on a system known as Destination Dispatch. Although for over half a century elevator industry lagged behind most others in terms of adopting new technologies, the increase in extremely tall buildings in the 21st century has created demand for more efficient people-transporting systems. From the Burj Khalifa in Dubai, to the Shanghai Tower in China, to the headquarters of Legg Mason in Baltimore, and on to the Marriott Marquis in Times Square, people are now transported up and down much more efficiently than ever before.

Shanghai Tower by Koichi Ilijima on Flickr

So what is Destination Dispatch and how does it work? Destination Dispatch is an optimization technique used in today’s most modern buildings with multiple elevators. It uses an algorithm that groups passengers with similar destinations together in the same elevator. A person using this system types in the floor they wish to travel to before getting into the elevator (as opposed to just pushing the up or down button that most elevators still have outside their doors). Destination Dispatch then quickly assigns the user to an elevator and tells them which elevator to board. Once inside, there are no buttons. The elevator already knows to stop at the floors corresponding to each passenger. Since it figures out which passengers to group together in advance without overcrowding the elevator, this system can increase elevator capacity by approximately 30%, which translates to much shorter wait times.

Our homemade elevator prototypes are still a far cry from the most robotic of elevator systems. And Destination Dispatch is a patented algorithm that we would not be able to replicate even if we had the parts and the technical skill. But those at home interested in designing a slick system to transport figurines up and down the mini-buildings that they reside in might consider adding a distance sensor to a rope-hobby motor-Arduino setup such as those described in the August and October issues of Beanz.

Sparkfun sells the Quiic Distance Sensor, a solder-free, Arduino-compatible, sensor and breakout board (necessary for connecting the sensor to the Arduino), for under $15. By attaching this either to the top or bottom of a homemade mini lift system and making a few adjustments to the code that Sparkfun provides, we get an elevator that stops “on its own” when it is a given distance from the sensor. Those with a bit more experience with wiring and coding can even think through how to add a couple more buttons to the elevator, and if-else statements to the code, so that if a certain button is pushed the elevator stops at a given distance from the sensor (allowing for stops on multiple levels). Although not quite as robot-like as the elevators running on Destination Dispatch, designing and building such a mini lift system would not only be a cool project, but would take you several steps closer to becoming a seasoned roboticist.

Learn More

Elevator operators

https://www.youtube.com/watch?v=TXZpHtJStWE

How Elevators Changed the World

https://www.youtube.com/watch?v=UtkAJscxbZU

The Elevator Museum

http://www.theelevatormuseum.org/about.php

Elevator History

https://www.wired.co.uk/article/21st-century-lift-can-navigate-buildings

The Otis Safety Elevator

https://www.youtube.com/watch?v=sSjJjKcoNRk

The History of the Passenger Elevator in the 19th Century

https://www.amazon.com/Ascending-Rooms-Express-Elevators-Passenger/dp/1937689107/ref=sr_1_1?ie=UTF8&qid=1539538948&sr=8-1&keywords=lee+gray+elevator+book

Destination Dispatch

https://www.npr.org/templates/story/story.php?storyId=122457774

Marriott Marquis, Destination Dispatch video

https://www.youtube.com/watch?v=T6gzm_ifzg8

Elevator System for the Burj Khalifa

https://www.youtube.com/watch?v=1OWRn-9uMJE

Destination Dispatch on Google Patents

https://patents.google.com/patent/US20170291792A1/en

Sparkfun Quiic Distance Sensor and Ecosystem

https://learn.sparkfun.com/tutorials/qwiic-distance-sensor-rfd77402-hookup-guide?_ga=2.87920479.690493423.1539275249-2004414095.1537729220&_gac=1.56256473.1537731734.CjwKCAjw85zdBRB6EiwAov3RiuMgt9jgt_NdQHocbpAlSDhWmWOUYZuieAovRmGB7cIysv4gFZvbfxoC3vsQAvD_BwE

Also In The December 2018 Issue

Create colourful geometric patterns in SketchUp inspired by the Great Mosque of Cordoba.

Learn how to use animated GIFs to create proper animation loops in Scratch.

Create an electronic obstacle course and test the steadiness of your hands as you navigate through.

What’s allowed in an e-mail address? Let’s break down the syntax.

Throwing your old tech in the trash is bad for the environment. Check out some safer, cleaner alternatives.

New, crafty mods that’ll push your Minecraft design skills to new levels.

Part philosophical paradox, part coding puzzle, quines are sure to tease and challenge your brain!

5 questions with the designer pushing innovation in 3D printed clothes.

All work and no play makes it harder for kids to learn, especially those with anxiety and learning disabilities.

Dive into the nuts & bolts of storing pictures and files on your computer.

A clever AI is creating twisted, surreal art. Math or magic?

Two doors hide a zonk, and one door hides a prize. Can probability & statistics help you pick the right one?

How can you tell if a credit card number is valid or invalid? Meet the Luhn algorithm, one of many checksums helping us keep the internet in order.

Learn about the Destination Dispatch algorithm and create your own robotic lift.

Grab your friends & disconnect from the digital world with these fun science & tech board games.

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

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