kriswiner / BNO055

Teensiduino sketch for 9-axis BNO055 motion sensor + MS5637 pressure sensor
55 stars 22 forks source link

BNO055 and MPU9250 "Roll" indication is correct in static position, wrong when moving. #11

Open Vliegvogeltla opened 6 years ago

Vliegvogeltla commented 6 years ago

Hi Kris, Using the BNO055 in my Attitude indicator instrument project, based on an Arduino Mega. The Roll and Pitch info is quite perfect on the test bench. BUT when installed the instrument in my plane, the Roll indication stays around Zero. Used also the MPU9250 chip. Same problem. Certainly, the problem is related to the acceleration of the plane. My question, how can I solve this problem ? Thanks.

kriswiner commented 6 years ago

Did you calibrate your sensors? How?

On Mon, Oct 8, 2018 at 11:03 AM Vliegvogeltla notifications@github.com wrote:

Hi Kris, Using the BNO055 in my Attitude indicator instrument project, based on an Arduino Mega. The Roll and Pitch info is quite perfect on the test bench. BUT when installed the instrument in my plane, the Roll indication stays around Zero. Used also the MPU9250 chip. Same problem. Certainly, the problem is related to the acceleration of the plane. My question, how can I solve this problem ? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qtVooTaSg358CWkFphY1LY456X0Aks5ui5OKgaJpZM4XNapE .

Vliegvogeltla commented 6 years ago

Hi Kris,

Thanks for your fast reply.

Calibration, done, but it makes no difference, done or not done.

Regards, Marc

From: Kris Winer notifications@github.com Sent: maandag 8 oktober 2018 20:11 To: kriswiner/BNO055 BNO055@noreply.github.com Cc: Vliegvogeltla Wouters.marc@skynet.be; Author author@noreply.github.com Subject: Re: [kriswiner/BNO055] BNO055 and MPU9250 "Roll" indication is correct in static position, wrong when moving. (#11)

Did you calibrate your sensors? How?

On Mon, Oct 8, 2018 at 11:03 AM Vliegvogeltla <notifications@github.com mailto:notifications@github.com > wrote:

Hi Kris, Using the BNO055 in my Attitude indicator instrument project, based on an Arduino Mega. The Roll and Pitch info is quite perfect on the test bench. BUT when installed the instrument in my plane, the Roll indication stays around Zero. Used also the MPU9250 chip. Same problem. Certainly, the problem is related to the acceleration of the plane. My question, how can I solve this problem ? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qtVooTaSg358CWkFphY1LY456X0Aks5ui5OKgaJpZM4XNapE .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11#issuecomment-427929289 , or mute the thread https://github.com/notifications/unsubscribe-auth/Al3kKwjuSsHRp0rcqzI9R-GIuIyrCWTiks5ui5UngaJpZM4XNapE . https://github.com/notifications/beacon/Al3kKx5nfel46aR1hqDbElJzUrcHokbpks5ui5UngaJpZM4XNapE.gif


Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

kriswiner commented 6 years ago

Why do you think the problem is due to the accel of the plane. Maybe you have a big magnet nearby?

On Mon, Oct 8, 2018 at 12:09 PM Vliegvogeltla notifications@github.com wrote:

Hi Kris,

Thanks for your fast reply.

Calibration, done, but it makes no difference, done or not done.

  • Gyroscope: Standing still
  • Magnetometer: with the figure 8
  • Accelerometer: via the 6 standing positions.

Regards, Marc

From: Kris Winer notifications@github.com Sent: maandag 8 oktober 2018 20:11 To: kriswiner/BNO055 BNO055@noreply.github.com Cc: Vliegvogeltla Wouters.marc@skynet.be; Author < author@noreply.github.com> Subject: Re: [kriswiner/BNO055] BNO055 and MPU9250 "Roll" indication is correct in static position, wrong when moving. (#11)

Did you calibrate your sensors? How?

On Mon, Oct 8, 2018 at 11:03 AM Vliegvogeltla <notifications@github.com mailto:notifications@github.com > wrote:

Hi Kris, Using the BNO055 in my Attitude indicator instrument project, based on an Arduino Mega. The Roll and Pitch info is quite perfect on the test bench. BUT when installed the instrument in my plane, the Roll indication stays around Zero. Used also the MPU9250 chip. Same problem. Certainly, the problem is related to the acceleration of the plane. My question, how can I solve this problem ? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11, or mute the thread < https://github.com/notifications/unsubscribe-auth/AGY1qtVooTaSg358CWkFphY1LY456X0Aks5ui5OKgaJpZM4XNapE

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/kriswiner/BNO055/issues/11#issuecomment-427929289> , or mute the thread < https://github.com/notifications/unsubscribe-auth/Al3kKwjuSsHRp0rcqzI9R-GIuIyrCWTiks5ui5UngaJpZM4XNapE> . < https://github.com/notifications/beacon/Al3kKx5nfel46aR1hqDbElJzUrcHokbpks5ui5UngaJpZM4XNapE.gif>


Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11#issuecomment-427947118, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qo3XzMSRmtCTLMRbXWHIQnYM5Xwiks5ui6L3gaJpZM4XNapE .

Vliegvogeltla commented 6 years ago

Hi Kris,

In my plane there is for sure no (big) magnet, otherwise the magnetic compass would not operate correctly.

The unit is working properly on my test bench, but as soon it’s in my plane, moving forward, then the Roll is not given any indication anymore.

Did the same test with the unit in my car. Standing sill on a ramp (lateral) indication correct, when moving, no indication anymore.

From there my conclusion, a problem with the acceleration.

Same error is reported by Crisau233 (https://electronics.stackexchange.com/questions/324044/imu-roll-angle-correct-when-stopped-wrong-when-moving) with the MPU6050.

Replaced the BNO055 by the MPU6050, same results.

Regards, Marc

From: Kris Winer notifications@github.com Sent: maandag 8 oktober 2018 21:15 To: kriswiner/BNO055 BNO055@noreply.github.com Cc: Vliegvogeltla Wouters.marc@skynet.be; Author author@noreply.github.com Subject: Re: [kriswiner/BNO055] BNO055 and MPU9250 "Roll" indication is correct in static position, wrong when moving. (#11)

Why do you think the problem is due to the accel of the plane. Maybe you have a big magnet nearby?

On Mon, Oct 8, 2018 at 12:09 PM Vliegvogeltla <notifications@github.com mailto:notifications@github.com > wrote:

Hi Kris,

Thanks for your fast reply.

Calibration, done, but it makes no difference, done or not done.

  • Gyroscope: Standing still
  • Magnetometer: with the figure 8
  • Accelerometer: via the 6 standing positions.

Regards, Marc

From: Kris Winer <notifications@github.com mailto:notifications@github.com > Sent: maandag 8 oktober 2018 20:11 To: kriswiner/BNO055 <BNO055@noreply.github.com mailto:BNO055@noreply.github.com > Cc: Vliegvogeltla <Wouters.marc@skynet.be mailto:Wouters.marc@skynet.be >; Author < author@noreply.github.com mailto:author@noreply.github.com > Subject: Re: [kriswiner/BNO055] BNO055 and MPU9250 "Roll" indication is correct in static position, wrong when moving. (#11)

Did you calibrate your sensors? How?

On Mon, Oct 8, 2018 at 11:03 AM Vliegvogeltla <notifications@github.com mailto:notifications@github.com%0b mailto:notifications@github.com > wrote:

Hi Kris, Using the BNO055 in my Attitude indicator instrument project, based on an Arduino Mega. The Roll and Pitch info is quite perfect on the test bench. BUT when installed the instrument in my plane, the Roll indication stays around Zero. Used also the MPU9250 chip. Same problem. Certainly, the problem is related to the acceleration of the plane. My question, how can I solve this problem ? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11, or mute the thread < https://github.com/notifications/unsubscribe-auth/AGY1qtVooTaSg358CWkFphY1LY456X0Aks5ui5OKgaJpZM4XNapE

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/kriswiner/BNO055/issues/11#issuecomment-427929289> , or mute the thread < https://github.com/notifications/unsubscribe-auth/Al3kKwjuSsHRp0rcqzI9R-GIuIyrCWTiks5ui5UngaJpZM4XNapE> . < https://github.com/notifications/beacon/Al3kKx5nfel46aR1hqDbElJzUrcHokbpks5ui5UngaJpZM4XNapE.gif>


Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11#issuecomment-427947118, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qo3XzMSRmtCTLMRbXWHIQnYM5Xwiks5ui6L3gaJpZM4XNapE .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/BNO055/issues/11#issuecomment-427948480 , or mute the thread https://github.com/notifications/unsubscribe-auth/Al3kK8v2762YkFzfxXKvp0neCzHQiSg2ks5ui6QogaJpZM4XNapE . https://github.com/notifications/beacon/Al3kK7qeLdO3Xp24itI9Zh8NUSgxhPdxks5ui6QogaJpZM4XNapE.gif