Autonomous Quadrocopter: What and Why?

This is an pretty old post from my blog, which has been preserved in case its content is of any interest. You might want to go back to the homepage to see some more recent stuff.

It’s now been two years since I last did any work involving autonomous vehicles, and I’m kind of disappointed by the lack of that kind of work. Writing software for big data acquisition systems is all well and good, but it lacks a certain something – I just don’t get attached to them in the way that I do to vehicles such as this one.

One could probably argue that developing an odd fondness for robot boats is a bad thing, but unfortunately that appears to be the way my brain is wired. So, onwards!

Since no autonomous vehicle work seems likely to come my way professionally at the moment, the urge is rising to build one in my spare time. This presents a problem, in the form of a lack of time and money.

I’m unlikely to stumble upon a free RIB, jetski or minisub that I could hack about with, and have nowhere to store one anyway, so those are probably out. Cars would be the next obvious choice, but if we had a car to start with, the family may object to me covering it in sensors and filling the boot with computer equipment.

I think we need to think smaller, and my co-conspirator @aefaradien suggested a quadrocopter.

Our first challenge is to specify the parts we want to use, which is the first point at which my expertise starts to become less useful. The natural approach for me at this point is to spend about £20,000 on a cRIO and a bunch of PC104 boards and wire them all up in a big case – not only don’t we have anything like that amount of money, weight is now also an issue.

For the CPU of the device, we considered a cheap Android phone, as this would give us GPS, a gyroscope, WiFi and a camera without spending too much money. However, we would still need to use a separate motor driver board for the propellers, and getting a phone to talk to it could be tricky. @aefaradien raised the issue of reliability, too – a crashed phone means a crashed vehicle. Even with a watchdog timer to reset the phone (potentially yet another board), Android’s boot time is going to leave our precious ‘copter in a ditch somewhere.

An Arduino is looking like a much more appropriate solution, especially as they come with digital and analogue I/O baked in, and readily available “shields” that could drive the motors. However, that leaves us sourcing our own gyroscope, GPS and camera, as well as figuring out how to remotely control the vehicle.

Our notes are available at sparktank.net, and more bloggery will occur as the project progresses.

Comments

What about using an IR laser as a ranging unit for altitude?

Also, if you were inclined to build one that could lift a payload of say 5-8kg for 20-40 mins you could aim for some uber geek cred by mounting an HDSLR in a ball turret underneath :D

Perhaps a small proof of concept/"doesn't matter if it crashes hard" testbed and then a scaled up version with camera mount?

I'd love to help either way.

I would have thought that IR laser rangefinders would have degraded performance outside in summer, though as a photographer and someone who spends a lot of time on building sites, you probably know a lot more than me there!

We still need to do the maths on propeller/motor specs and chassis/equipment/payload weight. For affordable motors and sensibly-sized propellers I suspect we might be talking more 'webcam' than 'DSLR', with the latter being saved for version 2 when one of us strikes it rich or gets a contract from the Army :)

As far as I'm concerned you're very welcome to help -- give @aefaradien a poke and ask if he's okay with giving you write access to the wiki. (I think you guys must have met IRL before, but I may be wrong...)

Add a Comment