drone

All posts tagged drone

I like showing my kids that we can build fun stuff with what we have on hand.  So while we had to purchase most of the items (everything except for the frame sadly), we could still build the frame out of items we had on hand, or easily obtainable from the local hardware store.

As crazy is it may sound, I just happened to have two carbon fiber rods, these were left over from my triathlon days (A carbon fiber aerobar set that I installed on my tri-bike came with both curved and straight bars.  I used the curved  bars on the bike and the straight ones ended up in my collection of robot/maker parts).   They were the right size for what I had in mind and would require no cutting.

PVC body with carbonfiber arms

PVC body with carbonfiber arms

The main fuselage then became a left over section of 1.5″ PVC tubing (painted black of course).  The arms were simply wedged through holes drilled in the fuselage secured with red vinyl tape.  The idea is that the pieces would be allowed to flex during a hard crash and there wouldn’t be any screws, or glue to cause unnecessary damage (bend, don’t break).

To mount the motors, we used pipe anchors.  They are placed over more tape, which holds nice and snug.

Motor mounts using pipe hangers and wood

build_motorMount-pipeAnchor

build-motorMountCloseUp

build-motorMountBottom
Motor mounts using pipe hangers and wood


Word of caution! We received two sets of screws with our motors for mounting. DON’T USE THE LONG SCREWS unless you absolutely have to. There is no stop to prevent the screws from touching the coils inside the motor. So if you crank down on them, chances are you’re cranking right through the motor and you’ll have to replace it. That was an expensive lesson for us!

The motors are three wire (brushless motors which require their own speed controller) and to make swapping of components easier are fitted with bullet connectors.  To solder the connectors on we created a jig.  If you have to do more than one motor it’s worth the effort!

build-barrelConnector-Jig
build-solderJig

Drones (quad copters specifically) are pretty cool – and it turns out they are insanely easy to build and fairly easy to fly. Just do a quick look on youtube and you will find countless examples. Custom builds, like just about any hobby level electric remote control vehicle, require the following:

  • Radio Transmitter (your controller)
  • Radio Receiver (usually included with your controller)
  • Battery
  • Battery Charger
  • Motor (4x for quad copters)
  • Speed Controller (4x for quad copters)
  • Propellers (4x for quad copters)
  • Fuselage (frame/body)

Quad copters require one additional item that airplanes and gliders don’t specifically require

  • Autopilot : This is an intelligent device chalked full of sensors (typically an internal compass, tilt sensors, barometer, voltage sensors, and some have built in GPS or input dedicated for an external GPS)  The main purpose of the autopilot is to keep the quad copter level and mix the motor speeds based on the input from the controller.

The logic diagram for your typical quad copter looks like this:

Logic Diagram for quad copter

 

The quad copter could be flown with a 4 channel radio, but most autopilots have flight modes, and those modes require additional channels.  We choose to use a six channel transmitter/receiver.  The logic lines coming from the radio to the autopilot are:

  1. Throttle (speed of motors / climb rate)
  2. yaw (spin left/right)
  3. pitch (tilt nose up/down)
  4. roll (tilt left/right)
  5. Switch 1 (used for flight mode selection)
  6. Switch 2 (used for flight mode selection)

On our system the GPS is external, so we modeled it here as a logic input.  What’s important to really grasp is that the receiver is not controlling the motors and really neither is the autopilot.  The human pilot tells the transmitter, the transmitter tells the receiver, the receiver tells autopilot, the autopilot tells the speed controllers, and the speed controllers tell the motors.  To spell it out even more:

  • The human pilot wants the drone to fly forward, so he pushes the pitch and throttle sticks forward on the transmitter
  • The receiver relays that channel 1 and 3 have new settings to the autopilot
  • The autopilot knows that channel 3 is the pitch, and it has increased and consequently tells the front two speed controllers to spin the motors at a lower % than the rear motors until the angle of attack matches the desired pitch based on the pilots input
  • The autopilot know that channel 1 is the throttle, and it has increased and consequently tells all 4 motors to increase in speed – but will do so while monitoring and maintaining pitch – so even if the throttle is maxed out, because the pitch control is forward, the autopilot will not allow the front two motors to spin at full speed – at least not until the proper angle of attack is reached.