Showing posts with label gps. Show all posts
Showing posts with label gps. Show all posts

Monday, July 27, 2015

More Fixes to the SK450

I am plagued by poor loiter on the SK450 and have made further changes to improve things:


  1. Fixed the slop or wobble in the GPS mast.  It turns out that the cheap mounts rely on being able to screw down the knurled flange until the mast mount inside is snug.  However, a lot of them cannot be tightened.  I added a plastic washer from an old prop to the mast as shown and the wobble stopped.
  2. The APM mount was maybe moving in flight, so I remounted it with the special vibration reducing foam rubber and I secured the USB cable better so it could not move the APM.
  3. Added a little foam rubber inside the micro APM case to ensure the barometers were not getting fooled by the prop wash.
  4. Wait 5 minutes after power on to get the GPS and all sensors stable before trying a flight.
  5. Added some practice golf balls to the landing gear so they do not catch in the grass when taking off or landing.
  6. I very carefully recalibrated the accelerometers, making sure that the quad was absolutely level during the first stage of calibration.  This made a HUGE difference versus my previous "it looks level" calibrations - the test flight was much beter with much less yaw and pitch on takeoff and during flight.
  7. Made a stand out of a medium size plastic storage container as shown:

Monday, July 20, 2015

Pixhawk Versus APM Comparison Review

This blog entry compares two flight controllers from the Ardupilot 3DR-Open-Source stream: the generic APM 2.X controller and the Pixhawk.  I am an intermediate multirotor builder and flyer, so this comparison will focus on functionality and useability, not on advanced features.  Also, this review is based on my experience with 5 different APM modules (none sourced from 3DR) in three different physical forms: standard, mini, and micro (also called mini by some) sourced from Hobbyking and generic Chinese manufacturers.  The Pixhawk is available from multiple domestic and Chinese sources and you should check the reviews to make sure you are getting one with decent build quality.  Each was used with corresponding GPS/Compass units from the same manufacturers.  I built three different quadcopters and used them with different controllers.

Feature/CharacteristicGeneric APM 2.X3DR PixhawkComment
Size/WeightSmallLargerAPM is available in 35x35x5 mm board.  Pixhawk is 81x50x16 mm
CostLowHigher, about 4XAPM with GPS ~$65
QualityVariableBetterInspect a generic APM after you get it for poor soldering, loose USB..
SupportGoodGoodThe best support is from peers on DIYdrones and APM forums
Flight StabilityGoodGoodThis is my experience with a well setup APM and Pixhawk, your experience may vary
AccuracyGoodBetterIt does depend on your GPS and its accuracy.  Pixhawk has a more powerful processor and more memory
Onboard indicatorsPoorGoodPixhawk has multiple LEDs and tones to tell you status, APM has a few LEDs
Ease of SetupModerateModerateMore components to interconnect on Pixhawk, but well documented. Cables and connectors often an issue with APM and documentation must be found on the Internet.
Ability to fly autonomous missionsYesYes
Mission Planner Ground Station CompatibilityYesYes
Flight logging CapabilityGoodBetterPixhawk logs more information and has a microSD for storage. APM has limited storage of most important variables.
UpgradeabilityNoneYesAPM code is now frozen to my knowledge, but Pixhawk software with improvements still being released
Debugging difficultyGoodMore difficultAPMs seem to always work, Pixhawk is more finicky about ESCs, setup, etc.

Overall, both controllers are excellent and have worked well for me.  The APM is a better fit for small quadcopters and is probably better for the beginner builder due to its simpler setup and low cost.  The Pixhawk is very good but it takes more time to set up and it is likely higher quality and performance, so it works well in larger camera quadcopters and similar expensive vehicles.

APM equipped SK450 "Dead Cat" Quadcopter
S500 Quadcopter with Pixhawk

Saturday, July 18, 2015

Fixed the Loiter

Well I fixed the Loiter problem, the quadcopter will now hold position and altitude on command.  The changes were detailed in the previous blog post
  1. Put in a new GPS.  
  2. Improve power feed to the controller and receiver by using a UBEC (battery eliminator) instead of the power feed from the ESCs.  
  3. Get rid of extra wires in the controller wiring harness.
  4. Performed an indoor test flight and analyzed logs.  
  5. Performed an outdoor test flight which was successful.
I also included a parameter change:

- changed INS_MPU6K_FILTER from 0 to 20 to filter out barometer fluctuations

Tuesday, July 14, 2015

Further Enhancements

After the exciting flight last week, I had to repair the Quadcopter as one of the arms broke in a landing.  So I decide to make a few enhancements:

  1. Put in a new APM controller and GPS to fix the Loiter issue.  This did not turn out well as the new controller was defective but the GPS seemed to improve things.  The new GPS is Hobbyking brand, old one was a "no-name" with some mods to make the cable work.
  2. Improve power feed to the controller and receiver by using a UBEC (battery eliminator) instead of the power feed from the ESCs.  This is recommended due to the interference from the ESC and I do think  it improved things.
  3. Get rid of extra wires in the controller wiring harness.  Done.
  4. Install new arm.  Did this, I learned from the dearly departed Flying Flowerpot quadcopter that it is almost impossible to properly fix a quad's arm and they are reasonably cheap.
  5. Performed a test flight and analyzed logs.  Seemed to improve things with few glitches on barometer and GPS and more stable flight.  Testing will continue.

Saturday, February 14, 2015

Progress

The quadcopter is coming together now that I have the proper parts for the Dead Cat configuration.  The arms are all attached although it was hard to get the screws to align, the new GPS is mounted on a foldable mast, and the ESC wiring is done (not shown).  I forgot to mention previously that I added carbon fiber motor mounts (about $8) as the fiberglass original parts are not very sturdy and break in a crash.

I am now waiting for a PPM adapter to arrive.  The Pixhawk only supports PPM input from the receiver (single wire interface for all channels) and the Spektrum receiver does not have this feature, so a conversion board is needed (about $8).  I am also waiting for a new camera and gimbal.

Dead Cat Config
Note the GPS in the center left of the photo

Carbon Fiber motor mount