What is the computation formula for |XYZ| Modulus in Freescale Vibration Monitoring?

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

What is the computation formula for |XYZ| Modulus in Freescale Vibration Monitoring?

ソリューションへジャンプ
2,906件の閲覧回数
roberto70
Contributor I

I'm trying to use a FRDM-KL26Z as data reference for my own sensor (based on a FXOS8700 as well). I do need the vector magnitude of the acceleration. To get the data I use the Freescale Vibration Monitoring software. In that software there is a |XYZ| Modulus which according to the help file is giving the "magnitude of the combined channels". Why does the software still show negative values? Does anyone know based on which formula the values are computed?

0 件の賞賛
返信
1 解決策
2,692件の閲覧回数
JackITB
NXP Employee
NXP Employee

Hi Roberto,

Thanks for the picture, it's cristal clear and your understanding is correct: we run the DC notch in the MCU, just before the FFT and not at the sensor level. Rational is to remove the DC content of the waveform vs time (1g for |XYZ|) that would otherwise appear as a significant power in the 0Hz bin of the FFT plot, hidding the smaller frequency content nearby.

Regards,     Jacques.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,692件の閲覧回数
JackITB
NXP Employee
NXP Employee

Hi Roberto,

Formula is the classical "square root of the sum of square": |XYZ| = sqrt(X²+Y²+Z²)

Could you provide plot or screenshot of your observation.
Make sure you don't have the DC notch or similar HPF engaged.

Regards,     Jacques.

0 件の賞賛
返信
2,692件の閲覧回数
roberto70
Contributor I

Hi Jacques,

thanks for your prompt answer.

I've been expecting that formula but was wondering about the negative values I got. I do have the DC notch engaged (See attached picture). I assumed that this check box enables the HPF within the FXOS (as I do in my application). I understand that the Freescale Vibration Monitoring applies the DC correction after calculating the magnitude and is not using the build in HPF of the chip. Correct?

Thanks again,

Regards

Roberto

xyz_with_negative_values.PNG.png

0 件の賞賛
返信
2,693件の閲覧回数
JackITB
NXP Employee
NXP Employee

Hi Roberto,

Thanks for the picture, it's cristal clear and your understanding is correct: we run the DC notch in the MCU, just before the FFT and not at the sensor level. Rational is to remove the DC content of the waveform vs time (1g for |XYZ|) that would otherwise appear as a significant power in the 0Hz bin of the FFT plot, hidding the smaller frequency content nearby.

Regards,     Jacques.

0 件の賞賛
返信
2,692件の閲覧回数
roberto70
Contributor I

Jacques, thank you very much for your help.

Roberto

0 件の賞賛
返信