Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use sensor fusion to improve vario responsiveness #2

Open
maks opened this issue Mar 11, 2015 · 3 comments
Open

use sensor fusion to improve vario responsiveness #2

maks opened this issue Mar 11, 2015 · 3 comments

Comments

@maks
Copy link

maks commented Mar 11, 2015

The sensor-fusion approach of using AHRS taken for the hardware vario described here by Hari Nair seems like it would be a good match for improving on the Kalman filter used currently for detemining sink/rise based on the pressure sensor.
His pdf has detailed notes.
It is interesting though that in the end, the vario module that he buitl and that works well (as per the video linked on that page) is based on the MS5611 and not the Bosch BMP-180 that he used in his initial prototype and that is used in many phones such as the Galaxy Nexus.

Still I think this is an approach worth investigating, so I'm planning to get a chance to work on this in a couple of weeks.

@msarto
Copy link
Owner

msarto commented Mar 12, 2015 via email

@maks
Copy link
Author

maks commented Mar 16, 2015

Thanks Mihai, I should have asked first if you had already tried it.
Yes what I had in mind was using it to lower the latency of the vario functionality as on my Galaxy Nexus with the Bosch BMP-180 sensor, it seems quite noisy and its that precise, so I found I needed to have the "sensitivity" setting up quite high (35 or higher) to prevent false positive readings with it just lying flat on my desk. Searching around it looks like the xperia go also uses that sensor so I think this could be be applicable to a number of devices.
Likewise my Nexus5 has the BMP-280 sensor and its rated to the same relative accuracy of +/-0.12hPa.

Though I also wonder if this is a case of un real world testing, since I have only done basic testing lifting the phones up and down in my arms and not taken them flying where the "Lift Start" and Sink Start settings could be made less sensitive (currently have them at 0.2 and 1.5 m/s respectively) and still be useful for real flying conditions.

Mihai would be interested to hear your experiences, as maybe this work is not worth the effort for real flying usage?

@lshachar
Copy link

lshachar commented Aug 19, 2017

This project implemented the kalman filter for barometer + 9dof sensor:
prunkdump/arduino-variometer
a video on youtube proves that it's a good implementation, with fast response.
I messed around just today with programming android, and got to a stage where I can read said barometric + 9dof sensors in my program, only when I called quits for the day I found this project, and this post...
The task of porting the Arduino code should be fairly easy - to a programmer much more capable than I am! most of the heavy lifting is already done by the OS (getting the sensors data), and an open source solution written in C is already out there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants