Developer

Arducopter 2.0.34 Preview

Hi All, 

I just posted a new experimental version of Arducopter with new PIDs and control laws for Yaw. It's download only for now and I wouldn't recommend trying it unless you can rigorously test it. Please be careful. I've flown this in Stable, Simple, Acro, Loiter, and Alt Hold with no known issues. But you never know! This version is not yet compatible with the mission planner.

 

What's new:

New PIDs - I rewrote the control laws from scratch to add a PI Rate function. The end result should fly nearly identically to the current version. The nice detail is that we can use NG PID values for easy transition!

Before: ->  After

Stabilize P –> Stabilize P (Use NG values, or 8.3 x the older AC2 value)

Stabilize I –> Stabilize I (Stays same value)

Stabilize D –> Rate P (Stays same value)

–> Rate I (new)

 

I added a new value – an I term for rate. The old stabilization routines did not use this term. Please refer to the config.h file to read more about the new PIDs.

I added the framework for using DCM corrected Accelerometer rates. Code is commented out for now.

Added set home at Arming.

Crosstrack is now a full PID loop, rather than just a P gain for more control.
Throttle now slews when switching out of Alt hold or Auto modes for less jarring transitions

Sonar and Baro PIDs are now combined into a throttle PID Yaw control is completely re-written.

 

Jason

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I upgraded to version 2.0.37, with the same parameters as in version 2.0.35 (with which flew very well), but it was impossible to fly my quad (apparently a stable flight begins, but after about 2 seconds starts oscillate incrementally to turn around completely!). Perhaps P values ​​changed again, as in version 2.0.34?

    Thanks,

    Frank

  • I see we have a nice camera roll stab. output on channel 6 but no travel volume control and no stick input. Is that something that your are working on? Also it would be nice to have the same on channel 7 for camera Pitch.

  • John - I did not try the navigation waypoint functions yet. My main concern is having it fly manually just the way I need it. It's main function is aerial video.  I always work as a two man team for that. the camera mount is a totally separate issue from the model and it has it's own Tx. I am working on integration. But in my experience thus far, perfect camera stabilisation can only be achieved with the imu mounted on the camera base plate using 20 deg/sec gyros.  Today I want to check out the camera output function from the FC board to see if it can be used to a great enough accuracy. As cameras get better at internal stabilization we may find that the FC can deliver all what we need. 

    Maximus - Those motors are Pulso 2826/12 760kv. 5mm shaft and three bearings. Efficiency curve is much the same as the MK3638 with a 14x4.7 prop. but it has a lot more in reserve and is generally much smoother, the drawback is that they are 40 grams heavier, I like the long shaft so that the props can be hung on the correct side of the mounting. I feel that we don't have to follow every mechanical engineering mistake that Holger makes!!!!  If we go to the trouble of using a quality motor at least we should give it a chance. Prop overhang in my book = aerodynamic vibration/oscillation. IMHO only.

    A camera like the panasonic HDC-TM900 has an amazing internal stabilization system but it will pickup the slightest hint of any vibration which will induce jellow and all of the usual maladies. 

  • Hi Jason, Please could you put a copy of 2.0.37 in the download section. My IMU is mounted in between the front arms and that option isn't supported in the APM and if it is I don't now how to change it. I still use arduino and set up manually.

    Thanks

    Wayne

  • Hi Denny,

    5kg quad ...yeah !!!

    which motors do you use ?

    Cheers

    Maximus

  • I have just had a great days testing with the 2.0.37 and my settings are as follows: It is worth bearing in mind that my quad is a monster with one meter between the motors and it weighs just under 5 kilos. swinging 14.4.7 props. Not your average settings, but for those building a heavy lift quad then it may be of use. Excellent work from you guys, this stuff is great. 

     

    Roll Rate: P= 0.12   Pitch rate: P= 0.12  Yaw Rate: P= 0.180 

    Stab Roll P= 5.55   I=  0.015     Stab Pitch  P= 5.55   I=  0.015  Stab Yaw P=5.55  I=  0.01

     

    Anyone know how to get a 2.4 gig xbee working with the DIYDrones board. 

     

     

     

  • you should create on the mission planner specifique pid for many size frame(30cm?40cm)

    it will be more easier for all users and for you to improve the software if everybody use the same pid..on top of that a option for many size frame is good

  • Sometimes my AP wont go back from RTL to LOITER. It is getting wild and doesn't respond to anything not even to the failsafe ... can anybody tell me why?
  • do y ou have an idea when the final version will be ready?
  • As per wiki

    Log message

    2.0.37 Added rate of change limit for noisy Sonars. converted to static functions - Tridge New Throttle PIDs from Jack
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…