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
yesterday
DIY Robocars via Twitter
RT @_JonMyer: 🏎 We need your help in naming my #AWS DeepRacer Underground Track 🏎 @davidfsmith's track is going to be referred to as 𝗔𝗪𝗦 𝗗…
Thursday
DIY Robocars via Twitter
RT @gclue_akira: 仕事もおわったし、電脳化にとらい #マリオカートハック https://t.co/4IU90hCLgm
Thursday
DIY Robocars via Twitter
This is the hashtag to follow all the people in Japan who are hacking the new Nintendo Mario Kart with the real AR… https://twitter.com/i/web/status/1319281354664677376
Thursday
DIY Robocars via Twitter
RT @gclue_akira: @chr1sa @diyrobocars jupyter mario https://t.co/P0oHdjlCRq
Thursday
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…
Tuesday
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
Oct 16
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
More…