# Snapdragon: IMU is very sensitive

**URL:** <https://discuss.px4.io/t/snapdragon-imu-is-very-sensitive/826>\
**Category:** PX4 Autopilot\
**Created:** [August 3, 2016, 9:50am UTC](https://discuss.px4.io/t/snapdragon-imu-is-very-sensitive/826 "2016-08-03T09:50:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelTang](https://discuss.px4.io/letter_avatar_proxy/v4/letter/m/e480ec/32.png) [@MichaelTang](https://discuss.px4.io/u/MichaelTang)\
**Post date:** [August 3, 2016, 9:50am UTC](https://discuss.px4.io/t/snapdragon-imu-is-very-sensitive/826/1 "2016-08-03T09:50:57Z")

</div>

Hi, I’m trying to build my UAV with snapdragon flight. The motor control and RC input is ready.  
Firmware is v1.4.1rc2 and the board is placed on a 3M foam. The frame is QAV150.  
However, the UAV started to loose control after manually takeoff.

So I did another test to analysis this issue.  
Increasing the throttle and decrease a little back while the UAV is starting to takeoff.  
The UAV is on the ground all the time and does not jump.

Plots: [http://logs.uaventure.com/view/qBkzZ9VQunNuRRsB6tGNYU#IMU\_Acc\_PLOT](http://logs.uaventure.com/view/qBkzZ9VQunNuRRsB6tGNYU#IMU_Acc_PLOT)  
Log: [http://logs.uaventure.com/logmuncher/charts/qBkzZ9VQunNuRRsB6tGNYU/logmuncher.log](http://logs.uaventure.com/logmuncher/charts/qBkzZ9VQunNuRRsB6tGNYU/logmuncher.log)

The sdlog shows the attitude was tilted while the UAV is horizontally landed  
And the IMU (MPU9250) is too sensitive.

I also mount a Pixracer on my QAV250 and starting the log manually with snapdragon’s log.  
The Pixracer is only enabling the MPU9250. And the raw data in sensor\_combined topic is quite smooth.  
But the raw data in Snapdragon flight goes crazy.

MPU9250 on Pixracer:

 ![](https://discuss.px4.io/uploads/default/original/1X/95ad1d3756e3c76d779c89eac79c849678eef8dc.png)  
MPU9250 on Snapdragon flight:  
 ![](https://discuss.px4.io/uploads/default/original/1X/98f8596bf7a08440dc6c97d37ab1d9c4882a49e0.png)

I’m also trying to downgrade the data rate, setting the LPF (A\_DLPFCFG) of accelerometer to 460Hz/41Hz.  
But it comes with a poor improvement and I thought it might be a bad work around solution.

MPU9250 with A\_DLPFCFG=3 (41Hz):

 ![](https://discuss.px4.io/uploads/default/original/1X/5e1e86d22feb3bb3ab0ef7ffdfc1c95dd49e3ee0.png)

Is there anything I can do for this issue?

---

<div class="post-metadata">

**Author:** ![JulianOes](https://discuss.px4.io/user_avatar/discuss.px4.io/julianoes/32/30_2.png) [@JulianOes](https://discuss.px4.io/u/JulianOes)\
**Post date:** [August 3, 2016, 11:46am UTC](https://discuss.px4.io/t/snapdragon-imu-is-very-sensitive/826/2 "2016-08-03T11:46:06Z")

</div>

The reason you see more noise on the Snapdragon is that there is no additional digital filtering done in the driver which used to be the case on Pixracer. Basically, on Pixracer, an additional 2 pole Butterworth filter was used in software.  
I’m writing “was” because we’re trying to switch to delta velocities and let the estimators handle any noise.

> [@MichaelTang](#):
>
> setting the LPF (A\_DLPFCFG) of accelerometer to 460Hz/41Hz.

You can give this a try, however, not that this means that you’re only sampling at 1kHz instead of 8kHz with these settings. Our goal was to sample as fast as possible to prevent aliasing effects but we haven’t fully finished this investigation.
