I was doing some endurance flight testing on my Pixhawk powered Align M690L hexa, and I noticed regular spikes in the pitch that were causing much higher current draw from the battery than I expected.

Further investigation yielded that the desired acceleration (in my case specifically DAccY) had regular spikes. The discontinuities were also obvious in desired velocity. I am not certain the way guidance works on the ArduCopter and what is computed from what, so it is difficult to get root cause. However, the spikes are very regular, and are clearly a source of the guidance (potentially poor PID settings?).

The spikes were exhibited in front forward auto flight, but not in the RTL back-forward portion of the flight. I am not certain whether this means that this is caused by flying forward, or if the guidance code is subtly different b/w RTL and waypoint flight.

Attaching some pictures of the dacc, dvel, and the pitch.

3691229151?profile=original

3691229292?profile=original

3691228847?profile=original

20.BIN

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

Join diydrones

Email me when people reply –

Replies

  • Just some additional background. I noticed that during the more "spiky" auto mode the drone was flying slower than we had configured it (11m/s rather than the 15 m/s). This is an indication that the spikes "up" are causing it to slow down and not accelerate as much as it should in ideal circumstances. So it's not that it's going too fast, it's going the right speed but something is causing the drone to constantly want to pitch up.

    • "something is causing the drone to constantly want to pitch up"
      10000 mAh LiPo => your drone is not balanced?

      • Yeah we have a hefty 10000mAh. Would an unbalanced drone have this behavior? It is somewhat back-heavy, that is true. I'm not an expert in this, but I would expect that a drone that is unbalanced would have trouble keeping a constant pitch, but it's getting commanded to pitch up by the outer loop control loop. Can that be caused by imbalance? 

        • Sure https://en.wikipedia.org/wiki/Moment_of_inertia ; i guess that when the speed is low is all OK; your angular momentum is not correlated to speed; when you go faster you have a high-momentum in the back  (as it's back-heavy) and a low-momentum in the nose. This doesn't help. 

          Try to do exactly the same test, but on the roll axis (not pitch). Everithing should be better. As m690 is symmetrical, the only a-symmetry is the 10k LiPo

          Moment of inertia
          The moment of inertia, otherwise known as the angular mass or rotational inertia, of a rigid body is a quantity that determines the torque needed for…
      • My PIDs (blurred, sorry)
        3702711991?profile=original

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @_JonMyer: 🚨Our 1st AWS DeepRacer Community Race is Underway on http://twitch.tv/aws 🚨 Join us to find out which member of your commu…
yesterday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @BackyardRobotcs: After an admittedly long wait, the new Tinymovr R3.3 motor controller is now available https://tinymovr.com 🥳
Monday
DIY Robocars via Twitter
RT @_JonMyer: 🏎 1 hr left before the #AWS #DeepRacer Community 🏎 Top 5 Race tomorrow LIVE on Twitch 1st Place = $50 Amazon GC or AWS Credit…
Monday
DIY Robocars via Twitter
Friday
DIY Robocars via Twitter
Oct 15
DIY Robocars via Twitter
Oct 14
DIY Robocars via Twitter
RT @davidfsmith: Race virtually with The AWS DeepRacer Community Race and then join us on the track to see how your times compare on the ph…
Oct 14
DIY Robocars via Twitter
Oct 14
Hiroki Tanaka liked Hiroki Tanaka's profile
Oct 13
DIY Robocars via Twitter
RT @breadcentric: It's now!
Oct 13
DIY Robocars via Twitter
RT @SahikaGenc: Happy Prime Day! AWS DeepRacer is available at a 30% discount today! @sunilmallya #AWSDeepRacer https://www.amazon.com/AWS-DeepRacer-Fully-autonomous-developers/dp/B07JMHRKQG/ref=sr_1_5?dchild=1&keywords=deepracer&qid=1602609599&sr=8-5
Oct 13
DIY Robocars via Twitter
RT @chr1sa: Printing all the parts for @DIYRobocars https://t.co/ygRxBBBQbi
Oct 11
DIY Robocars via Twitter
RT @chr1sa: Cool new @donkey_car controller app (iOS or Android). Can even do training in-app. Impressive! cc @DIYRobocars https://t.co/XD…
Oct 11
DIY Robocars via Twitter
RT @chr1sa: Drifting with @donkey_car! This is an example of the fully autonomous @DIYRobocars we race monthly now (virtually, in the shar…
Oct 10
DIY Robocars via Twitter
Oct 9
More…