inav icon indicating copy to clipboard operation
inav copied to clipboard

Airspeedsensor callibration feature request

Open obberator opened this issue 6 years ago • 7 comments

Current Behavior

The value for airspeed is over 0 km/h, sometimes about 10km/h with covered pitot tube. In flight there is a risk of getting in a stall because the plane ist moving 10km/h too slow

Desired Behavior

The value of the airspeed should be manually or automatically set to zero

Suggested Solution

the airspeed should get more attention over all because it is the real speed value for a fixed wing. If you are traveling with 50 km/h GPS Speed over Ground and get 30 km/h tailwind the plane will fall out of the sky. If you get this in manual control there is no problem, but if you are flying an uav mission .....

obberator avatar May 16 '20 19:05 obberator

In addition to the 'zeroing' feature, it would be useful an airspeed ratio settings option, manually or automatically. Not all sensors have the same factor of bank angle of linear characteristics.

Cris-77 avatar May 22 '20 08:05 Cris-77

In general airspeed sensors are noisy / inaccurate close to zero velocity and pretty reliable in the flyable part of the scale - including close to stall. I think it´s their nature due to relying on differential air pressure measurement - it´s not linear. I see your point but I don´t believe there is a real accuracy problem here. It´s just a bit annoying to see the obvious error when its parked on ground :)

MrMap avatar Oct 08 '20 22:10 MrMap

You have right, even commercial aircraft have airspeed indicator with the scale from 40km/h. In analog speed sensors for RC in ~max speed you have error 0.5km/h, in ~stall speed you have 2km/h error. But it would be good to have just as for current sensor , offset and scale factor to manual calibration.

kmieloszyk-luxoft avatar Oct 09 '20 15:10 kmieloszyk-luxoft

Yes, it would be nice. But maybe not possible - or more difficult than one might think. Current and voltage are linear and relatively low noise. Airspeed sensor output is non linear and relatively noisy close to zero. Actually, calibrating close to zero readings might create more problems than it solves.

MrMap avatar Oct 09 '20 15:10 MrMap

That's why you should turn on the controller when you assembly or prepare for flight (to warm up) than before the flight restart again to re-run autocalibration. Calibration of scale is other problem, because the result is proportional to sqrt of voltage. If I good remember , current equation is some like V[km/h] = sqrt( 2 * (voltage_read - 2.5V) * 1000V/kPa /1,25kg/m^3) Anyway, manual calibration is described here https://ardupilot.org/plane/docs/calibrating-an-airspeed-sensor.html If I got on the ground 8-11 km/h is not so noisy but with the wrong offset.

kmieloszyk-luxoft avatar Oct 09 '20 15:10 kmieloszyk-luxoft

I withdraw my statement: "Actually, calibrating close to zero readings might create more problems than it solves." A final preflight calibration opportunity might be a good idea, should not do any harm.

Also, it would be useful with an iNav general airspeed calibration flight feature where airspeed is compared with Ground Speed during a number of in-air racetracks, preferably done a calm day. ArduPilot has this feature.

MrMap avatar Nov 25 '20 12:11 MrMap

If you could at least set scale and offset from CLI somehow...

michalelektryk avatar Apr 27 '21 18:04 michalelektryk