kriswiner/EM7180_SENtral_sensor_hub

How do you select Beta and Zeta gains in Madgwicks ahrs?

Opened this issue · 2 comments

HI @kriswiner

I have a question regarding the value for the beta and zeta of the Magwidck algorithm.
Starting in the folliwng line you mentioned the value that should be picked for the beta and the zeta ( gains) that control the drift compensation of the algorithm. You mentioned as well that you increased the beta factor 15 times, thus I was wondering these two questions

  1. The gyroscope error, 40°/s that you are taking, how is it named in the datasheet of the LSM9SD0? In am working with the BMI160 and I would like to have that its respective error too, is this error the so called Zero-rate offset?

  2. How do you know/calculate the time to get an estable output of the Madgwick filtering (aka its convergence)?

Thanks in advance,

Regards!

Thanks for your reply @kriswiner

In my case I am stuck with the sensors that I have, the BMI160 and a ADLX362 for the accelerometer. I think both are good quality sensors.

However I am facing some issue with the ADLX362 regarding to the 0g-bias that its owns, in that I see a range dependency between the configured range and the 0g-bias that I would like to eliminate or compensate through calibration. Have you worked with the ADLX362 before? I was considering including this error as input to the fusion algorithm but I don't know whether that is a good approach or not seeing your factor list.

Thanks again!