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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
372 Views
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 Kudos
1 Solution
158 Views
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.

View solution in original post

0 Kudos
4 Replies
158 Views
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 Kudos
158 Views
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 Kudos
159 Views
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.

View solution in original post

0 Kudos
158 Views
roberto70
Contributor I

Jacques, thank you very much for your help.

Roberto

0 Kudos