C-BISCUIT: Design Choices and JustificationFebruary 10, 2016 by Trevor Gamblin
While the C-BISCUIT project is far from complete, it's already come a long way, seeing numerous ideas and design goals in the process. This article will discuss some of these.
What we chose for C-BISCUIT and why we chose it.
The C-BISCUIT Series
- C-BISCUIT: A Robotics Platform for the Hacker and Hobbyist
- C-BISCUIT: Design Choices and Justification
- C-BISCUIT Power: 5V 3A Buck Regulator for Wandboard
- C-BISCUIT Power: Crowbar Protection Circuit for 5V Regulator
- C-BISCUIT: The Brains of the Operation
- C-BISCUIT Power: Assembly and Testing of Regulator and Crowbar Circuits
- C-BISCUIT: Monitoring Your Robot’s Health
- C-BISCUIT: Robot System Architecture
- C-BISCUIT: Schematic Design for the RCB—Microcontroller, Motor Controller
- C-BISCUIT: Schematic Design for the RCB—Power, Stepper
- C-BISCUIT: Layout and Assembly for the Robot Control Board
- C-BISCUIT: System Integration and Testing
Even in these early stages of the C-BISCUIT project, it's already come a long way -- numerous ideas and design goals have been developed in the process. This article will discuss some of these goals and ideas in order to explain them so that not only will you better understand what the end goal is, but also why we felt they were most prudent options for creating your own bot. We expect this to be a long project, but we hope you'll enjoy being on the journey with us.
So where are we headed with the series? Our goal is to provide you with all of the guidance you need to build both land and air-based drones that can perform environment mapping and video capture duties. In addition, we want the system to be highly customizable - to this end, we'll devise a core system that features the Wandboard and a camera that can be easily and quickly transferred between different platforms, as well as code to function on each.
Chris Rogers' DigiBot is a land-based drone similar to C-BISCUIT, look at those tires!
When we initially entertained the idea of a DIY drone article series, we had three major constraints to juggle in order to make it easy to follow:
- The series had to offer an end product that could do something fairly complex and cool, rather than being a simple string of articles teaching you how to integrate sensors and write navigation algorithms
- The parts required to build both the core platform and its extensions had to be accessible. This meant that it:
- Had to be easy to acquire (but see the discussions on cameras selection below)
- Must be relatively inexpensive while avoiding compromising build quality
- The parts themselves shouldn't require much hacking to include
- It had to be something that one could complete without requiring any advanced tooling, including a minimal (but not nonexistent) reliance on budget manufacturing houses regarding some subsystems, e.g. power management boards.
The System Core
This subsystem is the fundamental piece that will see the least modification between the C-BISCUIT variants. It includes the Wandboard Quad (along with its antenna and case), and the Avnet Wandcam (which uses the LI-OV5640-MIPI-AF sensor).
The Avnet Wandcam being used for C-BISCUIT
The Wandboard gives us an impressively powerful, Linux-ready system that will be able to handle our primary computational needs and provide lots of room for extra software. As a bonus, it's easy to reconfigure for another purpose (such as a media PC) if you find you need to. Its main downside is that it doesn't support USB 3.0, which mostly affected the camera options available to the project.
The Wandcam was ultimately chosen over a variety of others because of its low cost and accessibility, as mentioned above. Although it features a rolling shutter (which can be tricky for robotic vision), part of our goal was to work around this limitation in software, as low-cost global shutter cameras - whether with the appropriate MIPI interface or featuring USB 2.0 - are quite difficult to find.
The final piece of the system core is the RB-Dfr-264 MPU-6050 IMU board. In addition to being a core sensor that will be critical to the drone as a whole, it'll also help us with correcting for the disadvantages in using a rolling shutter camera in lieu of a global shutter. This is a part of the project we intend on putting a lot of effort into.
Technically part of our core system, we're doing a little bit of custom development for this part. We've selected a 5000 mAh 11.1V battery to serve as our baseline power source, and will be adding some PCB designs in as we go (with their own articles) to deal with power management and swapping the core in and out of different builds. With a battery of that capacity, any system we build should be able to run long enough for some pretty impressive tricks before needing a recharge (having a couple of extras around won't hurt, either).
As the C-BISCUIT project progresses, subsystems and their required hardware will likely shift and change somewhat organically. Our intent is to begin with a basic 4WD platform while we iron out the core Wandboard system, while working towards the ultimate goal of a fully-functional quadcopter that you can use for some cool indoor and outdoor purposes.
What Didn't Make the Cut
Unfortunately, there were a lot of options we explored on the hardware side that we couldn't use for various reasons. Some of these options were avoided due to cost or availability, but the deciding factor was the interface; many of our options - especially when it came to cameras - were limited to USB 2.0 (with which video processing is computationally expensive) or USB 3.0 (which the Wandboard doesn't support). We've included some graphs to help show why.
As the final part of this article, we'll list a handful of the parts we considered below as we might still look into them for later variants, and because we think they're all pretty awesome; just not for our current goals:
UI-1221LE-C-HQ: This is a very nice global shutter camera made by the German company IDS. While it's definitely worth considering for an upgrade later on, the USB 2.0 interface and cost (around $300 US) made it a reluctant scratch for any preliminary design.
LI-OV5640-USB-72: This USB 2.0 camera was our camera of choice for a while because it could very easily be swapped between builds, but we decided to stick with the MIPI camera to free up more CPU power.
Intel RealSense: The RealSense looked like a lot of fun and is generating a lot of buzz (not to mention, it sits at a great price point at $100), but the USB 3.0 interface made it a no-go for the Wandboard.
The Intel NUC Series: No doubt you've heard of these mini-PC systems. We thought long and hard about using one of these in lieu of the Wandboard to expand our USB peripheral options (it does support USB 3.0), but even the least expensive models dwarfed the Wandboard Quad in price point. That's not to say it can't be used for a cool robot.
On to software builds and power management!
Next Article in Series: C-BISCUIT Power: 5V 3A Buck Regulator for Wandboard