Accelerometer orientation detection

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

Accelerometer orientation detection

ソリューションへジャンプ
1,612件の閲覧回数
bergo
Contributor III

Hello Freescalers,

I'm using MMA8453q accelerometer in an embedded project,

I would like to know when the device is facing down (Z axis facing down),

After reading the relevant application note (AN4068) I'm still in the dark about this issue, and was hoping I could get some help here.

Just reading positive acceleration on Z axis is not enough (positive Z axis -> g force when device is upside down), as this can be happening when device is on it's side and in a car (for example).

Thanks a lot in advance,

タグ(1)
0 件の賞賛
返信
1 解決策
1,406件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Bergo,


Accelerometers generally measure both gravity and linear acceleration. Advanced accelerometers usually use either a low-pass filter or a debounce counter to filter out fast transitions.

The MMA8453Q is a smart accelerometer that uses the debounce counter to eliminate the effects of high frequency motion for orientation detection. Chapter 3.6.2 in the AN4068 describes it in detail.

Note that the MMA8453Q has a fixed back/front trip angle (±75°). Only the MMA8451Q allows to choose between four different trip angles.


Regards,

Tomas

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,407件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Bergo,


Accelerometers generally measure both gravity and linear acceleration. Advanced accelerometers usually use either a low-pass filter or a debounce counter to filter out fast transitions.

The MMA8453Q is a smart accelerometer that uses the debounce counter to eliminate the effects of high frequency motion for orientation detection. Chapter 3.6.2 in the AN4068 describes it in detail.

Note that the MMA8453Q has a fixed back/front trip angle (±75°). Only the MMA8451Q allows to choose between four different trip angles.


Regards,

Tomas

0 件の賞賛
返信