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
Practice virtual race this Saturday; the real thing will be on Oct 3 https://www.meetup.com/DIYRobocars/
Wednesday
DIY Robocars via Twitter
Wednesday
Derrick Davies liked lisa TDrones's profile
Wednesday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Sep 14
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
DIY Robocars via Twitter
RT @SmallpixelCar: Lanenet pretty much used all my GPU power on @NVIDIAEmbedded Xavier since I optimized with tensorRT. I need to run anoth…
Sep 3
DIY Robocars via Twitter
RT @LyftLevel5: Our @kaggle competition on Motion Prediction for Autonomous Vehicles is now live! Experiment with the largest-ever self-dri…
Aug 24
More…