The 1st flights good enough to get on video. It's extremely unstable, but there is hope. The MPU9150 was the only way to get the sensors small enough. It might also be the smallest thing currently flown by a computer, anywhere in the world.




There was some chance noisy stick voltages were making it unstable, but the oscilloscope showed the noise was down near 20mV while flying deflection was near 500mV in the pitch & 100mV in the roll. The Y position has more error because the camera can't sense depth.


roll & pitch sticks while flying



roll & pitch sticks while flying


 roll & pitch sticks while flying



inactive stick noise


 changing stick by 0.01





After a flimsy hot gluing of the board on top, the MPU9150 gave drastically improved results over having 1 board for a magnetometer under the battery & a 2nd board on top for a gyro.  There's still a bit of error because the board isn't perfectly flat, but it manages to recover.  The current or the flexing of having it under the battery was a problem.

There was 1 source file for the MPU9150 on http://permalink.gmane.org/gmane.linux.kernel.iio/4339, revealing undocumented register REG_YGOFFS_TC. He never uploaded the header files.

With the full Marcy 3 software & the crystal, the MPU9150 only reads at 80Hz.



A wishful crystal to get the PIC as fast as possible added some more size. If the PIC does nothing else, it can get 140 readings of all 9 sensors per second. Without the crystal, it can get 80 hz. 50Hz is probably enough for the application.

Being the low end PIC that it is, only software I2C was justified. If it was concerned with the full attitude stabilization, it would need hardware I2C for the gyro/accel part. The trend is now to use STM32F ARMs for even these nano quads.



Took some doing to override the stick voltages.

Automating the Ladybird is a big deal since it requires many many voltages, leading to a pile of LM317's on the verge of cracked resistor circuit board incineration. Mercifully, the remote control has reversible directions, eliminating the need to make a new table of stick directions or require multiple steps to initialize the stick voltages.

Views: 1276


Assistant Admin
Comment by Joshua Johnson on February 2, 2013 at 9:15pm

Hey Jack I've been looking at the Lady Bug quad because I'm hoping to turn my Mini R/C Heli into a Micro UAV.  I'm curious if you happen to have an estimate on how much all the autopilot hardware weighs?  I'm trying to figure out if the mini heli can handle the extra weight.


3D Robotics
Comment by Joshua Ott on February 2, 2013 at 9:39pm

How about 'Atalanta-pilot' instead?


3D Robotics
Comment by Chris Anderson on February 2, 2013 at 10:01pm

Brilliant as always. Jack, I don't know how you do it, but you're consistently a year ahead of everyone else. Keep it up!


Moderator
Comment by Mark Harrison on February 3, 2013 at 12:18am

Jack, this is really neat stuff.  I'm excited that you're using the ladybird as the platform... it could give you quite a large user base.  I know I'm certainly interested in following along your trail-blazing path.

How did you wire up the LEDs, btw, would you mind sharing that?


Moderator
Comment by Mark Harrison on February 3, 2013 at 12:21am

Also, what exactly is providing the flight control?  Is it a computer which is controlling the Tx?

And is this a V1 (with accelerometer) or V2 (no accelerometer) ladybird?

Comment by Bill Patterson on February 3, 2013 at 6:22am

This is the future of the Hobby for sure. Micro Copters are awesome. 

Comment by Ivan Popovic on February 3, 2013 at 7:34am

Awesome work dude!


Developer
Comment by Linus on February 3, 2013 at 8:08am

again and again stunning things you deliver us with :)

Comment by Alex McEwan on February 3, 2013 at 12:31pm

Mark

I think Jack uses his vision systems for positioning via a Raspberry Pi feeding back to the gyro, mag and controller on board.

 

 

Comment by Carl La France on February 3, 2013 at 4:23pm

Thumbs up Jack! Once again you  step up and leave them Guessing???? Have a great Day! 

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service