RC India

RC Models => Multirotors => Topic started by: mhkabir98 on March 22, 2014, 10:37:55 AM



Title: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 22, 2014, 10:37:55 AM
Been a long time since I posted something :D Now I'm back, since my exams are over

I've been thinking of designing a quad that could fly atleast an hour with a GoPro and brushless gimbal, and this project aims to do exactly that. I'm building this copter for filming purposes and long flight is critical to my application. When the RCI anniversary sweepstakes announcement came in , I thought this would be the perfect time for starting the build...

Features to be integrated:

  • Onboard linux PC (PCDuino) - primary flight controller running all high level algorithms [realtime kernel] (own code) - EKF , navigation and main PID loops
  • APM 2.5 as slave for RC input + output +  Sensor acquisition (Hacked AP_HAL libs)
  • 80 min+ flight time without gimbal (40 min + with gimbal)
  • LiIon battery pack (custom designed Panasonic NCR18650Bs in 4S4P configuration)  ;D
  • Digital 802.11 downlink (Telemetry + Video channeled via UDP) - (Ubiquiti BULLET M5)
  • DIY Brushless gimbal (I'll be hacking the BruGi code to calculate the PID with inputs from the FC to improve the attitude estimate)

[Note : I'll be running basic telemetry 3dr radios + 5.8ghz analog FPV until I get the Bullet M5s and the copter has broken in with a couple of flights]

A set of parts arrived yesterday and I got working on the build. Still waiting for motors + ESCs + LiIons + Gimbal motors + props , etc.
I already had a customized Dead Cat frame with aluminium arms, from which I will reuse the center plates.  I ordered some long arms + motor mounts from Goodluckbuy which arrived pretty fast. I will use them on this build.

Arrival of parts :

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6090.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6091.jpg)

First fit of arms + FC:

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6096.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6102.jpg)

RC Rx + GPS installed:

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6106.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6103.jpg)

More pics coming soon :)

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: sundaram on March 22, 2014, 10:46:40 AM
Interesting. Subscribed.  :)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 22, 2014, 11:58:24 AM
First look at the Lynxpilot AP - Bench testing going on of the sensor fusion and debugging serial overflow errors :P Using an old APM 1.4 as the slave for now. The white board is a pcDuino v2 running my self-compiled RT PREEMPT kernel to enable high resolution timings as required by the fast algorithms. The board has a 32 bit ARM Allwinner A10 SoC running at 1.2 ghz. Presently, it is accessed via ssh wirelessly and also has a samba fileshare for pushing code to its storage.

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6109.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6110.jpg)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: SideWinder on March 22, 2014, 12:35:56 PM
Interesting. Subscribed.  :)
Ditto  ;D


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: pradish on March 22, 2014, 01:06:41 PM
Good project. Following.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: shadowstriker on March 22, 2014, 05:59:41 PM
interesting project


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: rcpilotacro on March 22, 2014, 06:37:42 PM
Kabir good to see you back, and indeed a nice project.
I wonder and am curious what brought you back is spite of this

Let my 50th post ever be my last post here.
Kabir

Is it Sweepstakes ? or you came around? either which way we are happy to have you back  ;D (I also see you have been quite busy at openpilots xdavelopers etc, Dher se aaye Dhurusth aaye, aaye tho sahi )

Welcome back

PS
Why don't you remove those infamous loiter video from youtube and those related pictures from photobucket. For your own good, wont help you in your future endeavours, Just a friendly advice  :)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 22, 2014, 07:02:13 PM

Thank you Gusty sir :D I saw my follies... You were right. Thank you for your advice. I see that you still remember the incident XD

I had removed the videos / photos already I thought... ? I'll check anyway ;)

Thank you once again. Glad that you're following this project , I won't disappoint you .

Kabir

MOD EDIT

Unnecessary quote removed


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: rcpilotacro on March 22, 2014, 07:16:09 PM
i am sure you wont, and keep posting your work here as well and keep'em boys enthralled


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 22, 2014, 07:19:12 PM
Today I found the power distribution board which girishsarwal sir had sent me (and had subsequently lost) and decided to use it on this project.

I am creating a stack on top of the PDB with a G10 plate to install the linux board . The ESCs (AfroESC 20As running i2c feedback back to the FC) will be locked under this plate.

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6118.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6115.jpg)

ESCs go under here :

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6116.jpg)

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 22, 2014, 08:06:28 PM
Primary installation of Linux board is done , relocated Rx and fitted the arms again to check for obstructions. It folds beautifully :D

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6122.jpg)

Isolated brushless gimbal mount is ready, waiting for motors.

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6124.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6123.jpg)

Kabir


Title: Re: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: arun.sreelakam on March 23, 2014, 05:56:00 AM
What a coincidence , even I was planning for a similar one for long flight time..
Not exact in design.. by the way beautiful build.. my items will be arriving tomorrow lets see both of our results soon..
All the best:)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: controlflyer on March 23, 2014, 10:06:02 AM
Just awesome !!! subscribed!!!


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: Rahulvyas on March 23, 2014, 10:20:46 AM
Excellent, sub'd!
You dont built so often, but when you do, you nail it!


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: ayu135 on March 23, 2014, 11:22:25 AM
Wow, really nice project. I am really interested to know more details on how the linux pc and the apm work in tandem.
Even i am trying something similar with respect to the control of the quad using a beefier processor and using an ardupilot as a slave. I am primarily trying to use a monocular camera for autonomous indoor navigation. I am planning to use a Nexus 5 as the beefier controller and send signals to the apm. But i dont know how the two would communicate yet. I had plans to have a beaglebone black in the middle but was unsure if it will work.
I will be closely following your build. I hope i can contact you if i need any help as i am a newbie when it comes to quads, or for that matter any flying robot.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 23, 2014, 01:50:57 PM
Thank you for all the good wishes guys :)

@ayu135 Of course I'll help if you need it. I've worked with indoor SLAM using a neato xv11 and a Kinect using ROS, and processing power is the main problem. I wouldn't recommend that you use the Nexus 5 as I/O is limited. You're better off going with a HardKernel ODROID-X2. As for monocular indoor navigation, its nearly an impossibility with present-day low-power processors onboard. I've been there and done that ;) Better off shoving the data off to a offboard ROS node to do the heavy lifting.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: SideWinder on March 23, 2014, 02:45:37 PM
Kabir from where are you sourcing these batteries?
Can you shed some light on estimated current draw for your setup and discharge rate/capacity of your planned 4s4p pack?

I assume you would be going for high-efficiency low kv motors with big props for long flight times. Went through a thread on Rcgroups where ppl have achieved maximum flight times, and in all those cases primary goal was longer flight time using the same batteries while keeping the auw minimum. And right now your setup seems to be on the heavier side.

http://www.rcgroups.com/forums/showthread.php?t=1880665 (http://www.rcgroups.com/forums/showthread.php?t=1880665)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 23, 2014, 04:36:33 PM
Hey Sidewinder,

I'm sourcing the batteries from China(dealextreme).The 4s4p pack has a 3-4C discharge and 13.6Ah capacity at 770g. I might also use batteries from the chinese company GBE, which are LiPos, but with 3C discharge and lightweight too.

EDIT : My AUW will be around 1800g without gimbal. I'll be using multistar 380kV motors which have peak efficiency at around 30% throttle. They'll be drawing around 3A each at hover.

I know that I'm on the heavier side with this build, but my main aim is to demonstrate the high performance Linux FC and achieve decent flight times. There e is another thread somewhere on RCG where people use off shelf parts with heavy DJI equipment and still get pretty good flight times.

I've also tried to optimise weight wherever possible, and the weight will also get reduced once I install the bullet M5 and unify all the wireless links.

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 23, 2014, 08:02:24 PM
I got Lynxpilot's Linux <-> AVR data link updating reliably at 100hz (finally ; after hrs of debugging overflows :P) and coded a rudimentary sort of command line interface working over the ssh link. Also finished onboard integration of the linux board. The EKF is working pretty well after doing bench tests and I get a rock-solid attitude estimate with GPS fusion, thanks to Matthew(picopter guy) The code is almost flight ready , but still need to implement some safety features,  a kill command , fix some problems with the PID not updating as fast as IMU data coming in and lastly some crosstrack calculation problems in the navigation module.  :headscratch:

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6126.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/IMG_6129.jpg)

Kabir



Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: allthatido on March 23, 2014, 10:01:14 PM
I'm sourcing the batteries from China(dealextreme).

Are you sure they are genuine ? Lots of fakes on ebay and Chinese websites with lower capacities than what is mentioned. EndofDays used genuine panasonics sourced at 16$ a pair.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 24, 2014, 07:57:21 AM
True,that. I've read that people had brought from DX and were happy with the packs, but it needs more research. Can you suggest any other sources? I searched, but to no avail... Everywhere seems to be out of stock.

After some crucial design decisions I took yesterday, I'm tending more towards GEB lipos. I'll write to them for a custom pack, let's see. Will keep you all updated.

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: SideWinder on March 24, 2014, 12:30:44 PM
The guy has put up a video on testing the batteries on DIYDrones and claims them to be genuine. Talk to him and see if it fits your purpose.  http://store.mygeekshow.com/product-p/ncr18650b-pack-kit.htm (http://store.mygeekshow.com/product-p/ncr18650b-pack-kit.htm)

Incidentally a guy tested the GEB batteries you mentioned ,but they are highly priced, you can read more @
http://diydrones.com/profiles/blogs/getting-to-100km-with-a-big-help-from-geb-8043125 (http://diydrones.com/profiles/blogs/getting-to-100km-with-a-big-help-from-geb-8043125)

http://www.rangevideo.com/en/3s/314-rv-endurance-18300mah-111v-12c-3s3p-lipo-battery-pack.html (http://www.rangevideo.com/en/3s/314-rv-endurance-18300mah-111v-12c-3s3p-lipo-battery-pack.html)



Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 24, 2014, 01:30:37 PM
Yes,  I've gone through those before. Trent(mygeekshow) is getting his cells locally, which unfortunately doesn't work out for me... They're selling 1 for $13 + shipping which is just too much....

I've decided to go with a 4S5P pack of NCR18650Bs ( = 20 cells), which i calculated would be optimum for my setup at a 2kg AUW for 60 mins of flight.

EDIT:

I've found these 4 sources for (seemingly genuine) unprotected cells:

Out of Stock:
http://www.orbtronic.com/batteries-chargers/panasonic-3400mah-18650-li-ion-battery-cell-ncr18650b (http://www.orbtronic.com/batteries-chargers/panasonic-3400mah-18650-li-ion-battery-cell-ncr18650b) -- VERIFIED ORIGINAL (Shipping too high though)
http://www.fasttech.com/products/1420/10001980/1141100 (http://www.fasttech.com/products/1420/10001980/1141100) -- VERIFIED ORIGINAL

In Stock:
http://www.banggood.com/2PCS-NCR18650B-3400mAh-3_7V-Rechargeable-Li-ion-Battery-p-909137.html (http://www.banggood.com/2PCS-NCR18650B-3400mAh-3_7V-Rechargeable-Li-ion-Battery-p-909137.html)
http://dx.com/p/panasonic-ncr18650b-3-7v-3400mah-rechargeable-li-ion-battery-black-green-2-pieces-180030 (http://dx.com/p/panasonic-ncr18650b-3-7v-3400mah-rechargeable-li-ion-battery-black-green-2-pieces-180030)

**Anyone knows anyplace in Kolkata where I can get hold of a battery tab welder for getting the pack together? I could use a high-powered soldering iron, but I'm not too keen on that idea.

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 24, 2014, 03:17:35 PM
Got the UDP connection to GCS working via the pcDuino's onboard wifi  ;D ATM, it just sends a very very basic subset of the mavlink messages via the link. Connects to DroidPlanner2 on my tablet, but almost nothing works (no mode setting, nothing) as they aren't implemented yet.

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7054.jpg)

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: girishsarwal on March 24, 2014, 03:54:50 PM
Kabir, I have my eyes on your project, I am going to build a quad soon to steal that quad of yours, mid-air ;)...quad jacking!


Title: Re:
Post by: mhkabir98 on March 24, 2014, 06:10:56 PM
Hehe girish sir :) ;D 

I'll be using AES-256 encryption on the Bullet M5s (wireless link) to the GCS ;)

Thanks for the nice PDB , do you still make them nowadays?

Kabir

Sent from my Nexus 5 using Tapatalk 4


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 24, 2014, 10:24:51 PM
EDIT : Unfortunately the MultiStars are having sync issues with low kV motors, I won't be using them on this build. Getting some Afros soon.

VVVVVV +1 to what sidewinder says VVVVV


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: SideWinder on March 25, 2014, 01:43:02 PM
Yeah, heads up for the motors too, low kv,high pole count (22+) pancake motors seem to face sync issues too.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 27, 2014, 11:16:12 AM
Woooo Hoooo!!!!!

Motors , ESCs and props are on their way!!! I should be getting the Rocket M5s soon too!!!!

Batteries will be ordered in a day or two.

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: Rahulvyas on March 27, 2014, 11:19:39 AM
which motor and ESCs you going to use kabir?


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on March 27, 2014, 11:38:03 AM
Hey Rahul,

I'm gonna use 380kV multistar motors and 12A AfroESCs with my patched firmware ;D

Ordered a bunch of props too(15" to 17" carbon of different styles to check out which is most efficient and gives least vibration)

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 12, 2014, 01:26:48 PM
Long time since I've posted anything on this topic. Phase two of onboard integration of copter is complete. Had first flight flight with MkII electronics today.

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7873.jpg)

Phase I was flying with just APM 2.5 to test out frame, motors, etc. Phase II was integrating most of the new electronics (listed below) and flight testing again. Phase III will be integration of stereo head on front of quad to facilitate SLAM.

Electronics onboard Mk.I (initial) :
APM 2.5
pcDuino
NEO 6M GPS
3DR radio for telemetry

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7193.jpg)

Electronics onboard Mk.II (now) :
Pixhawk AP (takes position controller inputs from the Odroid - running PX4 native stack)
Odroid U3 (1.9 Ghz Quad core Exynos 4412 SBC running ROS)
PX4Flow (actively using flow velocity for position hold at low altitudes and NED relative position estimate)
NEO 6M GPS
DLink DWA150 wireless link

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7876.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7829.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7813.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7817.jpg)

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7823.jpg)

Electronics onboard Mk.III (next steps) :
Mk II hardware with addons VV
Long range Rocket M5 802.11 link
Stereo cam head on front (2 x PS3Eye)

Presently I'm waiting for the two PS3 Eyes, Rocket M5 and a Logitech C920.

Hope you like it :D Here is another of my projects : (A sneak peak if you will .... Its Linux ;) )

(http://i1249.photobucket.com/albums/hh509/mhkabir98/DSC_7355.jpg)

Kabir



Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: allthatido on May 12, 2014, 02:46:24 PM
What frame are you using for the quadcopter. I want to source the red plastic parts.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: AnjanBabu on May 12, 2014, 05:18:26 PM
Amazing build, good job.

Are you using the APM only for sensor data?


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 12, 2014, 05:34:34 PM
@ankurkaul I got them from goodluckbuy when shopping. The center plates are my own .

@AnjanBabu initially that's what I'd been doing. I was using the APM for sensor data and hardware I/O as a PWM and PPM expander. Now, I'm running the low level controllers all on the pixhawk (all flight algorithms) and using the Odroid for  the quads navigation systems (SLAM onboard using point cloud from stereo cam disparity). The sneak-peek quad on the other hand runs every controller(rate + position) on the Linux board with data coming in from an SPI IMU and uses an APM1 to provide motor output and RC input.


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: AnjanBabu on May 12, 2014, 05:40:30 PM
That's really cool man. :thumbsup:


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 12, 2014, 06:49:03 PM
Thanks ;)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: allthatido on May 13, 2014, 01:20:38 PM
@mhkabir

any links for the same ? What do I need to search on the website ?


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 13, 2014, 08:47:59 PM
Here you go : http://www.goodluckbuy.com/hj-diy-multi-axis-610mm-wheelbase-strong-quadcopter-multicopter-frame-kit-redblack-.html (http://www.goodluckbuy.com/hj-diy-multi-axis-610mm-wheelbase-strong-quadcopter-multicopter-frame-kit-redblack-.html)

I used the plastic stuff from this frame ;)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 15, 2014, 02:46:22 PM
Here is my video. This was done in very short time , so please excuse the quality. I'm going to post a more detailed demonstration video sometime in June when I'm back in India.

http://youtu.be/yLeLiq7HmOQ (http://youtu.be/yLeLiq7HmOQ)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: allthatido on May 15, 2014, 06:20:30 PM
Thanks mhkabir. You sourced the panasonics from DX ? How are they performing ?


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 15, 2014, 09:31:22 PM
I ended up getting the batteries from a seller on aliexpress. The batteries are very good even though I need a lighter frame to take full advantage of them.

I also have a standard 16000mah lipo on the way which I'll be testing.

Kabir


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: HVP on May 15, 2014, 09:52:50 PM
Sweet build Kabir! Good luck for the sweepstakes :)


Title: Re: 1hr flight XL Quad with DIY brushless gimbal + Linux FC [RCI sweepstakes entry]
Post by: mhkabir98 on May 16, 2014, 08:53:44 AM
Thanks HVP ;) :D