Mike W's Posts (3)

Sort by

Cheap RC Helicopter Controlled via Motion Capture

Autonomous Helicopter from M W on Vimeo.


Recently we've seen a couple of really interesting university projects where quadcopters are controlled in motion capture stages. The video above demonstrates my progress while working at the USC Institute for Creative Technologies this summer over the course of about 2-3 weeks, to show that even cheap models can be controlled in motion capture stages, and some progress toward innovative control mechanisms (following a gloved hand).

Technical:

The model is a HorizonHobby: Blade CX2 RTF Electric Coaxial Micro Helicopter controlled via a Spektrum DX5e receiving servo signals through an Endurance RC PCTx from a PC computer. The software running on the computer consists of a VRPN (Virtual Reality Peripheral Network) middle wear program that takes data from a Phase Space Motion Capture Stage OWL Server and outputs clean model position data (x,y,z and heading) to a VR engine written to Dr. Evan Suma. The model is controlled by 4 PID loops, one each for the X,Y,Z, and heading variables and includes adjustable clamps, offsets, ramps, throws, trims, and other functionality to make it easier to tune and adjust the control loops. All of these values are adjusted easily by editing a text document that is read-in to the software every time it is executed, to prevent a recompilation whenever any values need to be adjusted (Often when manually tuning a PID loop!). Also, included in the control code is a trapezoidal function that smooths
deltas to the PID loops to prevent shocks to the control system (thanks to Marc Bolas for that suggestion!).

The PID outputs are then sent over a USB Human Interface Device to the PCTx, converted to PWM and PPM signals, sent to the TX, through the RX and eventually arrive at the servos and motor controller and make the helicopter move as desired.

The oscillations you will see in the video footage indicate that the PID loops are NOT critically damped (ie they need to be better tuned). But I believe that for two weeks of work that's pretty good performance for an inexpensive single rotor helicopter.

Hope you enjoy!

P.S. With luck code and a build log may be released soon, stay tuned!
Read more…

Shmoocon Talk

Two weeks ago I was invited to give at talk at a security conference in Washington DC called Shmoocon. My talk was titled "Build your own Predator UAV @ 99.95% Discount" and was intended to generate interest and expose the information assurance/security community to the fantastic work being done here at DIYDrones.com and elsewhere with amateur UAVs. I demoed my build of the ArduPilot system and brushed through the project briefly. The talk was well received and I hope you all enjoy.

A big thanks to Jordi, Chris, and all the other developers and testers who are pushing the envelope. I hope you find that the talk generated a lot of interest into the field!

Presentation Files Located Here
Talk Video Located Here

(Talk starts at time 1:15)
Read more…

Under Wing Pan/Tilt

Mounted the ServoCity.com SPT50 Sub-Micro Pan & Tilt with two Hitec HS-55 servos and a SuperCircuits.com board camera (one of their inexpensive B/W models) to the underside of the Easy Star wing, directly under the wing spar in the removable block of foam. The camera is secured using hot glue which does a surprisingly fine job of holding it in there, yet making removable possible without lasting effects to the board or pan/tilt mounting plate. Also, I'm using Servo Stretchers (also from Servocity.com) to adjust the limits and extend the travel of the servos.Could improve the design by using shorter servos (so the camera is closer to the wing), and by covering the camera board but remember not to add too much weight. I didn't find it difficult to balance out the wings with the added weight on the left wing, but I can only imagine how an unbalanced plane would do if you got it up in the air.Cost:$19.99 SPT50 Sub-Micro Pan & Tilt2x $13.99 HS-55 Sub-Micro ServoOptional: 2x $19.99 180* Servo StretcherTotal: $88 w/ Servo Stretchers, $48 without.Enjoy!-Mike W
Read more…