FXOS8700CQ low pass filter for tilt sensor?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FXOS8700CQ low pass filter for tilt sensor?

ソリューションへジャンプ
1,150件の閲覧回数
tedhuntington1
Contributor II

Hi,

I am using the FXOS8700CQ strictly for tilt detection. I find that I am getting some high acceleration readings though.

I see that I can set the CTRL_REG1 LNOISE bit.

Does the HP_FILTER_CUTOFF setting LPF=1 and HPF=1 work as a low pass filter for regular sampling or only for pulse detection?

What is the best way to configure this device for reading just the acceleration due to the earth's gravity?

Thanks,

Ted

ラベル(1)
0 件の賞賛
1 解決策
739件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Ted,

The low pass filter can be enabled for the pulse detection by setting the pulse_lpf_en bit in the HP_FILTER_CUTOFF register. It is always enabled for all the other functions (landscape/portrait, transient, freefall/motion…). The low pass filter is a simple 1st order decimation filter, i.e. a moving average filter followed by a down-sampling. Its cut-off frequency depends on ODR and MODS settings.

The best way to configure the FXOS8700CQ for tilt sensing is using the lowest possible ODR (ideally 1.56 Hz), High Resolution mode (MODS[0:1] = 0b10) with the lnoise bit set. 

I hope it helps.

Regards,

Tomas

PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
739件の閲覧回数
tedhuntington1
Contributor II

Adding that- is a good strategy to lower the sample rate if only concerned about acceleration from the earth's gravity? Will that affect the quality of the sample at all?

0 件の賞賛
740件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Ted,

The low pass filter can be enabled for the pulse detection by setting the pulse_lpf_en bit in the HP_FILTER_CUTOFF register. It is always enabled for all the other functions (landscape/portrait, transient, freefall/motion…). The low pass filter is a simple 1st order decimation filter, i.e. a moving average filter followed by a down-sampling. Its cut-off frequency depends on ODR and MODS settings.

The best way to configure the FXOS8700CQ for tilt sensing is using the lowest possible ODR (ideally 1.56 Hz), High Resolution mode (MODS[0:1] = 0b10) with the lnoise bit set. 

I hope it helps.

Regards,

Tomas

PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.

0 件の賞賛