Hi everyone! I am new to my APM 2.6 and have been doing some simple flights with an Ansley Peace Drone to learn my way around the technology. I am trying to configure/tune the APM, but am not currently using an airspeed sensor, and can't figure out how the APM handles airspeed in this case. I've found very little online.

First, I am wondering how the APM uses the ARSPD_FBW_MIN and ARSPD_FBW_MAX parameters in the absence of an airspeed sensor. Does it use these parameters, and if so, does it have an algorithm for estimating airspeed?

Second, I am not sure the flying characteristics of my plane, and am trying to determine its range of flying airspeeds from telemetry logs of a MANUAL flight (so I can set ARSPD_FBW_MIN and ARSPD_FBW_MAX). Can anyone tell me what the APM is actually measuring in the "airspeed" field? I can't decipher the plot below. I was flying racetracks around the pattern in strong winds, but as you can see in the plot, airspeed consistently indicates well above groundspeed for the entire duration of the flight.

Thanks!

Mark

3691136564?profile=original

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

Join diydrones

Email me when people reply –

Replies

  • You have knower the method about apm2.6 airspeed without airspeed sensor?
  • To close this discussion out, I finally figured out was causing the strange airspeed readings. I had ARSPD_ENABLE set, despite not having an airspeed sensor installed. I have no idea why that would lead to these high ghost readings, but when I disabled that parameter, they went away.

  • I've been doing more testing, trying to figure out what vfr_hud airspeed is actually indicating with no airspeed sensor installed. The attached plot shows three engine runs on the bench, with the airplane fixed in place. As you can see, vfr_hud airspeed is not actually indicating airspeed, but is somehow linked to throttle movement.

    Can anyone tell me if this is a bug or a confusing feature? If a bug, how should I be reporting it?

    3701785553?profile=original

  • Thank you for the replies, as these are quite helpful! However, I still don't understand the numbers indicated in the log file. Groundspeed oscillates between 10-20 m/s, which makes sense given that I was flying patterns in wind. If the groundspeed is accurate, then airspeed should be somewhere around 15 m/s. Instead, the log shows an airspeed almost consistently above groundspeed, with peaks of 50-70 m/s. It's hard to see how these numbers are anything but garbage. Am I missing something?

    Actually, now that I'm staring at this plot again, a light bulb just went on... I noticed earlier in the log that "throttle" indicated zero the entire flight. Is the APM reporting a throttle percentage setting in the airspeed_vfr_hud_t field instead? That is almost what the plot looks like.

    • T3

      Mark,

      Your plots do not make any sense to me, either.

      Hopefully someone from the APM community can help you.

      Best regards,

      Bill

  • The only way that I have found to change the average cruise speed is using elevator trim and cruise throttle. I have several airplanes with no airspeed sensors and they fly amazingly well. The latest firmware does an excellent job of computing airspeed so I fond no need to go to the complexity of using and tuning an airspeed sensor.

     

    I have also found that the min and max parameters do nothing.

     

    .

  • T3

    Mark,

    Early versions APM used the direction cosine matrix and this method.

    The basic idea is that when a fixed wing aircraft turns, the magnitude of the change in IMU velocity vector is equal to the magnitude of the air speed vector times the magnitude of the change of the column of the direction cosine matrix that represents the fuselage axis as seen in the earth frame of reference.

    The original version of the algorithm used GPS velocity. The latest version uses IMU velocity.

    Recently the APM community has implemented extended Kalman filtering, I am not sure what method is being used in that case.

    Best regards,

    Bill

  • This is referred to in the aviation business as PFM, Pure F'ing Magic.
    The magicians (Tridge and Paul) use accelerometers to calculate the approximate wind velocity. It's amazing how well it works, although an airspeeds sensor is certainly much better.
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…
Wednesday
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…