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: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Aug 5
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…