Captain Buzz: Smartphone Pilot - Computerphile

Computerphile · Intermediate ·📄 Research Papers Explained ·11y ago

Key Takeaways

Researchers at the University of Cambridge Computer Lab have built 'Captain Buzz', an app that turns a smartphone into a pilot, explained by Senior Research Associate Ramsey Faragher

Full Transcript

we're members of the digital Technology Group here in the computer laboratory and we work on a whole range of um computer science and engineering problems and most of the projects involve smartphones in some way and there's a little gang of us who are also quite keen on drones and we have hexacopters and quadcopters and and fixing aircraft and sometime last year we uh decided we try and Collide these worlds together and we would see if we could make a fully autonomous drone aircraft with a smartphone as the pure source of all guidance control navigation compute and everything else so I'll show you Captain Bez which is the name of our app that can fly a fix swing aircraft this is our graphical user interface and as you can see it looks like a normal Artificial Horizon indicator that you'd seen in aircraft so the phone contains everything that you need in order to control an aircraft so we've got acceler monitors gyroscope barometer Compass there's GPS there's plenty of computational power there's multiple radios the phone can work out its role pitch and your and we can then use that to control an aircraft in order to fly straight in level or turn onto a certain bank and go to a certain GPS Waypoint and so on pitching is when you're rocking backwards and forwards like this rolling is when you're tipping to the sides like this and your is what would normally be your compass heading so it's your your uh your magnetic compass heading the phone can detect all of those aspects the trick is then how we pass information to the plane itself in order to fly there are multiple ways we can pass information out of the smartphone but the one we decided to go for um was the headphone jack so this horrible horrible buzzing noise you can hear that's the music that flies the plane so we chose to pipe control messages straight down the headphone jack what you can hear there is the control messages so normally the kind of thing that comes down a headphone jack is some music some beautiful combination of signs and cosine waves that some Symphony or some rck music or whatever you're listening to the messages that go down electrical cables to control servos which are these little Motors that turn the control surfaces of the wing they're very very simple electrical signals that look like this they're just square waves that are of a certain periodicity and in order to determine how far you want this thing to turn you send either very narrow pses or very broad pores and depending on whether you're spending narrow or broad the motor either turns a little bit or it turns a lot so the horrible buzzing you can hear coming from the phone is the audio representation of these square waves and so that's all we needed to do to F the plane there's a left and right headphone jack and we have left and right control services so we only need two channels of control to fly a Delta wi glider like this and all of the gubbins we've got in here we've got a normal receiver so that I can fly the plane manually to a safe height that's what this guy is doing this is a a buddy box this little blue guy that allows me to switch between myself flying the air aircraft and the smartphone flying the aircraft so that's a little safety feature so I can always take back control and this board here is just an amplifier board Buzz can't scream loudly enough to fly the aircraft you want to get one Volt across the headphone jack and we need three to five volts to make these servos turn so this little board here is a multiplexer board that allows us to both Step Up the Volume but it also allows us to Multiplex extra channels so normally this would just be left and right and we'd only have two channels of control for the aircraft and that's actually all we're using at the moment but we bu a board that allows us to turn the two channels we get out of the smartphone into four channels of control we do that by being a little bit more clever with our square waves so normally you'd be sending these pulses between n and 1 volt but what we realized we could do is send some Square wave pulses at half a volt and a whole separate family going the other way so we're sending a very complicated signal which um an opamp on board our multi Le AB board can unpick these two and it can have this one stepped up between 0 and 1 volts and it could take this bottom one which is also just going n and a half a volt and step that up between n and one volts as well so we end up kind of dividing each channel into two and splitting them up so only two channels coming out of the smartphone but with an even more complicated Square wave going on and this board of opamps we can unpick four channels so that would mean in the future we could have um the motor control being controlled by the smartphone and a fourth Channel as well so we could move to a quad cop to say we could have four channels of control for the four props on a quadcopter which would be quite cool so at the moment the the motor just runs just continuously does it and then so for safety reasons I always maintain control of the motor even when Buzz is flying the plane and mostly Buzz just Glides the plane um unless we're having him do acrobatics like Loop Loops in which case I will maintain Full Throttle um but when he doesn't need to be on Full Throttle I pull it back but we do have the capability to allow him to take control of the motor himself it's just a safety thing we haven't done that and he doesn't need to cuz he Glides very well so we take him up to a safe height I so I can fly the plane with this controller um we take him up to a safe height I then flick this switch and Captain bur is running on a smartphone underneath the aircraft we mount a cover underneath to protect the phone and when I'm not flying the plane Captain buzzes so as you can see at the moment Captain buz is set to try to maintain straight and level flight so as I rock the plane to a strong angle like this the smartphone has detected that it's on a very strong roll and has commanded that it needs this Wing to drop and this Wing to come back up and that's why that control surface is very high and as the aircraft does roll back the two control surfaces will come to the same level there's still a little bit bit of a lag we reckon about 100 milliseconds of lag but this was the biggest challenge when we first started doing this project the lag was 250 milliseconds and that meant that um this aircraft wallowed around the sky like a pregnant duck it didn't really fly like a fighter jet it's much more responsive now and it's much more responsive now because olle one of the PhD students here in the lab did some impressive work on reducing the latency and understanding where the latency is coming from why is this different to what people are doing with remote control aircraft anyway so anyone can buy um copters and and drones that have some level of autonomy they either maintain a safe Bank angle um or they return home back to the GPS fix if they lose the radio link and things like this so there's all of these levels of autonomy that you can buy um off the shelf but the computers on board that do those uh tasks are very very simple and they just do those simple tasks very very well very very quickly but um they can't be expanded to all sorts of of new core stuff so one of the reasons we thought we would see if you could do all of this with a smartphone was not just because it's quite cool to just strap a pair of wings onto a Smartphone and throw it out the window and and have your smartphone fly around but uh it was to look at all of the next things you could do once we've done this first layer which is just get the thing flying sensibly between GPS waypoints unstably so we can make use of the cameras underneath we could do a navigation system based on optical flow of the scenery passing underneath as opposed to based on the GPS coordinates there's a huge amount of processing power and there's lots of radio communication capability that we can tap into next and we can do some quite cool things to demonstrate um the utility of smartphone based drones so for example in the real Aviation World there are systems called tcas and adsb that it to do with understanding where aircraft are and uh preventing collisions so one of those systems is based on radioing your GPS position around to the aircraft which is Trivial to do when you've got GPS on board and the cellular network or Wi-Fi or Bluetooth another one is much simpler system which is literally just proximity based and the aircraft is warned that there's another aircraft on a collision course with it and of course with Wi-Fi and Bluetooth in smartphones again it's trivial these these these smartphones have this Aura around them they have their Wi-Fi bubble and their Bluetooth bubble and we could trivially have a bunch of drones flying around the sky that are all turning away from any other Bluetooth or Wi-Fi source or we could easily make this go and find Wi-Fi and Bluetooth sources so it could fly over a region and map out where all the Wi-Fi are and so um we're really interested in some of the cool stuff we can do next now that we solved the problem of just getting the smartphone to fly itself we'd like to thank Squarespace for sponsoring this episode of computer file you can get building your website today go to squarespace.com computer file and there's a chance to get 10% off so check out their website they're trusted by millions and they're used by some of the world's most respected Brands so get over to squarespace.com computer file start building today you don't even need to put your credit card details in and some of you computer files might want to check out the developers area developers. squarespace.com thanks once again to them for sponsoring this computer file video

Original Description

10% off at Squarespace: http://squarespace.com/computerphile An app that turns your phone into a pilot? Researchers at the University of Cambridge Computer Lab have built 'Captain Buzz' - Senior Research Associate Ramsey Faragher explains. Nuggets of Data Gold: https://youtu.be/Zel2NCKej50 XOR and the Half Adder: https://youtu.be/VPw9vPN-3ac Deadly Truth of General AI: https://youtu.be/tcdVC4e6EV4 Arduino Hardware: https://youtu.be/b4z1zkmo1BE University of Cambridge Computer Laboratory footage of Buzz in flight: https://www.youtube.com/watch?v=vrmaTCStjHk http://www.facebook.com/computerphile https://twitter.com/computer_phile This video was filmed and edited by Sean Riley. Computer Science at the University of Nottingham: http://bit.ly/nottscomputer Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Computerphile · Computerphile · 0 of 60

← Previous Next →
1 Follow the Cookie Trail - Computerphile
Follow the Cookie Trail - Computerphile
Computerphile
2 EXTRA BITS - Follow the Cookie Trail - Computerphile
EXTRA BITS - Follow the Cookie Trail - Computerphile
Computerphile
3 Musical Floppy Drives - Computerphile
Musical Floppy Drives - Computerphile
Computerphile
4 The Hair Algorithm - Computerphile
The Hair Algorithm - Computerphile
Computerphile
5 Getting Sorted & Big O Notation - Computerphile
Getting Sorted & Big O Notation - Computerphile
Computerphile
6 Quick Sort - Computerphile
Quick Sort - Computerphile
Computerphile
7 Hyper History and Cyber War - Computerphile
Hyper History and Cyber War - Computerphile
Computerphile
8 Entropy in Compression - Computerphile
Entropy in Compression - Computerphile
Computerphile
9 Original Elite on the BBC B - Computerphile
Original Elite on the BBC B - Computerphile
Computerphile
10 IP Addresses and the Internet - Computerphile
IP Addresses and the Internet - Computerphile
Computerphile
11 A Career in Video Games - Computerphile
A Career in Video Games - Computerphile
Computerphile
12 Error Detection and Flipping the Bits - Computerphile
Error Detection and Flipping the Bits - Computerphile
Computerphile
13 Programming BASIC and Sorting - Computerphile
Programming BASIC and Sorting - Computerphile
Computerphile
14 Birthplace of the World Wide Web - Computerphile
Birthplace of the World Wide Web - Computerphile
Computerphile
15 Punch Card Programming - Computerphile
Punch Card Programming - Computerphile
Computerphile
16 Programming Paradigms - Computerphile
Programming Paradigms - Computerphile
Computerphile
17 CERN Computing Centre (and mouse farm) - Computerphile
CERN Computing Centre (and mouse farm) - Computerphile
Computerphile
18 Error Correction - Computerphile
Error Correction - Computerphile
Computerphile
19 Home-Made Code - Computerphile
Home-Made Code - Computerphile
Computerphile
20 Security of Data on Disk - Computerphile
Security of Data on Disk - Computerphile
Computerphile
21 Gesture Controls - Computerphile
Gesture Controls - Computerphile
Computerphile
22 How Intelligent is Artificial Intelligence? - Computerphile
How Intelligent is Artificial Intelligence? - Computerphile
Computerphile
23 Encryption and Security Agencies - Computerphile
Encryption and Security Agencies - Computerphile
Computerphile
24 Virtual Machines Power the Cloud - Computerphile
Virtual Machines Power the Cloud - Computerphile
Computerphile
25 Hacking Websites with SQL Injection - Computerphile
Hacking Websites with SQL Injection - Computerphile
Computerphile
26 How Huffman Trees Work - Computerphile
How Huffman Trees Work - Computerphile
Computerphile
27 Cracking Websites with Cross Site Scripting - Computerphile
Cracking Websites with Cross Site Scripting - Computerphile
Computerphile
28 Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Computerphile
29 Texting Cabbage with a Recorder - Computerphile
Texting Cabbage with a Recorder - Computerphile
Computerphile
30 Hashing Algorithms and Security - Computerphile
Hashing Algorithms and Security - Computerphile
Computerphile
31 How YouTube Works - Computerphile
How YouTube Works - Computerphile
Computerphile
32 How NOT to Store Passwords! - Computerphile
How NOT to Store Passwords! - Computerphile
Computerphile
33 A New Golden Age of Video Games - Computerphile
A New Golden Age of Video Games - Computerphile
Computerphile
34 A Universe of Triangles - Computerphile
A Universe of Triangles - Computerphile
Computerphile
35 Cross Site Request Forgery - Computerphile
Cross Site Request Forgery - Computerphile
Computerphile
36 The True Power of the Matrix (Transformations in Graphics) - Computerphile
The True Power of the Matrix (Transformations in Graphics) - Computerphile
Computerphile
37 The Great 202 Jailbreak - Computerphile
The Great 202 Jailbreak - Computerphile
Computerphile
38 EXTRA BITS - Printing and Typesetting History - Computerphile
EXTRA BITS - Printing and Typesetting History - Computerphile
Computerphile
39 Triangles to Pixels - Computerphile
Triangles to Pixels - Computerphile
Computerphile
40 The Problem with Time & Timezones - Computerphile
The Problem with Time & Timezones - Computerphile
Computerphile
41 The Visibility Problem - Computerphile
The Visibility Problem - Computerphile
Computerphile
42 Lights and Shadows in Graphics - Computerphile
Lights and Shadows in Graphics - Computerphile
Computerphile
43 The Penguin Barcode - Computerphile
The Penguin Barcode - Computerphile
Computerphile
44 Typesetters in the '80s - Computerphile
Typesetters in the '80s - Computerphile
Computerphile
45 The Font Magicians - Computerphile
The Font Magicians - Computerphile
Computerphile
46 The Little Mac with the Big Bite - Computerphile
The Little Mac with the Big Bite - Computerphile
Computerphile
47 EXTRA BITS - More on the Original Mac at 30 - Computerphile
EXTRA BITS - More on the Original Mac at 30 - Computerphile
Computerphile
48 XP to Ubuntu with an 8yr old Hacktop - Computerphile
XP to Ubuntu with an 8yr old Hacktop - Computerphile
Computerphile
49 EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
Computerphile
50 EXTRA BITS - Making a Bootable USB in Linux - Computerphile
EXTRA BITS - Making a Bootable USB in Linux - Computerphile
Computerphile
51 EXTRA BITS - Installing Ubuntu Permanently - Computerphile
EXTRA BITS - Installing Ubuntu Permanently - Computerphile
Computerphile
52 The Dawn of Desktop Publishing - Computerphile
The Dawn of Desktop Publishing - Computerphile
Computerphile
53 What is Bootstrapping? - Computerphile
What is Bootstrapping? - Computerphile
Computerphile
54 Reverse Polish Notation and The Stack - Computerphile
Reverse Polish Notation and The Stack - Computerphile
Computerphile
55 Home-Made Z80 Retro Computer - Computerphile
Home-Made Z80 Retro Computer - Computerphile
Computerphile
56 Should Everybody Learn to Code? - Computerphile
Should Everybody Learn to Code? - Computerphile
Computerphile
57 Programming in PostScript - Computerphile
Programming in PostScript - Computerphile
Computerphile
58 Heartbleed, Running the Code - Computerphile
Heartbleed, Running the Code - Computerphile
Computerphile
59 YouTube's Secret Algorithm - Computerphile
YouTube's Secret Algorithm - Computerphile
Computerphile
60 YouTube Search & Discovery - Computerphile
YouTube Search & Discovery - Computerphile
Computerphile

Captain Buzz is an innovative app that utilizes a smartphone's capabilities to pilot a device, demonstrating the potential of AI in mobile applications. The project showcases the University of Cambridge Computer Lab's research in this area. By understanding the concepts behind Captain Buzz, viewers can gain insights into the development of AI-powered mobile apps.

Key Takeaways
  1. Research the University of Cambridge Computer Lab's projects on AI and mobile applications
  2. Explore the capabilities of smartphones in AI-powered devices
  3. Develop a basic understanding of programming languages used in mobile app development
  4. Investigate the potential applications of Captain Buzz in various industries
  5. Analyze the challenges and limitations of developing AI-powered mobile apps
💡 The Captain Buzz project highlights the potential of leveraging smartphone capabilities to develop innovative AI-powered applications, demonstrating the importance of interdisciplinary research in computer science and engineering.

Related Reads

Up next
Welcome to the Next Temperamental Era
Charles Schwab
Watch →