Wednesday, September 11, 2013

Crazyflie 10-DOF nano quadcopter repair


Our crazyflie's inaugural flight was quite exciting! She quickly soared to the daring height of roughly twelve feet. In fear of imminent collision with the the ceiling we let go of the thrust control. Crazyflie responded with equal daring, quickly succumbing to gravity's pull. She headed downward at great speed. She immediately sacrificed one wing to break her fall.


Now what? We were certainly prepared to do some tinkering: we expected to lose a motor or one of its mounts here and there. We had great plans for her. However, we did not expect to be presented with such a significant repair so early in her life.


Trough some trial and error I think we came up with a fairly good design:

  • a part that is easily manufactured in any quantity
  • trivial to install with a hot glue gun
  • maintain wing alignment
  • is light weight, shock absorbent, ...
  • but not too strong, such as to stress the main board or its components during impact

Our first repair attempt involved printing thingiverse 95216, but this added a lot of weight and quickly broke as well:


After some experimenting, we ended up with a pretty good toothpick design:
  • toothpicks are easy to acquire
  • toothpicks are very light
  • toothpicks slide snugly into the motor mount
  • toothpicks are easily mounted to the main board with hot glue 

Each toothpick would average about ten crashes before it had to be replaced. The design also had a couple of other minor issues:
  • As the toothpick had to extend to the other side of the main board, the broken wing's motor and its mount ended up lower than the remaining three motors, making initial leveling trickier.
  • Because the toothpicks broke regularly, we ended up spending a lot of time with the hot glue gun: removing old toothpick and installing new ones.

Inspired, we took our toothpick design to the next level, with a 3d part of our own design:


After spending some time flying, crashing and repairing our crazyflie, I thought I'd share some thoughts on the wing design. No matter what wing design you choose, you're making an engineering trade off between strength and weight. Strength is actually a complicated subject with its own trade offs. A stiffer part will be able to withstand greater impact forcing, but will transfer those forces to the rest of the system. A weaker part with absorb more of the impact, protecting the rest of the unit, but with increased risk of itself breaking.

The current crazyflie wing design has relatively thin (light) stiff wings which become wider at the point where they are attached to the main board. This means that when the wings break, they almost certainly will break at the point where their width goes from narrow to wide. When it comes to repairs, this is obviously the most inconvenient point for a break.

Why not just make the wings wider (stronger), so they don't break as easily? While a stiffer design would certainly save some wings from bigger crashes, at some point we're going to start having main boards go bad because of the higher g forces during ever bigger crashes.

What we really need is a sacrificial wing part. Just like the motor mounts, which were designed to sacrifice themselves in order to spare motors which would otherwise be damaged, I think we want sacrificial wings.

The thing with sacrificial parts is that they, well, sacrifice themselves. They break. So, these parts need to be cheap and easily replaced, ideally without any tools. The thing I don't like about the motor mount design is that replacing a motor mount requires a soldering iron to detach and reattach the motor wires after stringing them through the mount.

Here's my proposal: redesign crazyflie so that instead of four wings it has four wing mounts. Design a very simple wing which...
  • is the most likely part to break
  • is really cheap, such that you get a whole bag of them with your crazyflie
  • is easy to make on a 3d printer
  • ideally resembles toothpick dimensions
This last point is important, because it means you can use a toothpick in a pinch.
Post a Comment