Skip to main content
Visitor II
April 29, 2021
Question

Disable high pass filter when using FFT for predictive maintenance

  • April 29, 2021
  • 1 reply
  • 995 views

I am using accelerometer IIS3DWB and use MotionSP middleware to write the code for predictive maintenance. I have a 1400 RPM (23 Hz) speed of motor. Could I disable High pass filter (min. cut-off frequency is 33Hz) when using FFT to make frequency domain data? Any concern? Please advise. Thanks 

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 29, 2021

    Hi @JTam.1​ ,

    for my better understanding, do you want to avoid the computation made by the function below?

    //
     // @brief High Pass Filter to delete Accelerometer Offset
     //
     // @param pDstArr: pointer to Accelero Array without offset
     // @param pSrcArr: pointer to Accelero Array with offset
     // @param Smooth: smoothing factor
     // @param Restart: flag to Re-Init internal value
    //
     
    void MotionSP_accDelOffset(SensorVal_f_t *pDstArr, SensorVal_f_t *pSrcArr, float Smooth, uint16_t Restart)

    In this case, you could bypass this function and take the raw data (with offset) from the pDstArr buffer.

    You can then apply the FFT process to these unfiltered data.

    Is this your case?

    -Eleon

    JTam.1Author
    Visitor II
    April 30, 2021

    Hi Eleon,

    Would the output of vibration speed data or acceleration data after FFT has DC offset if disable HPF? If I use HPF, that mean I need to change the motor speed to 2800 RPM (46Hz), Right? Thanks!

    ST Employee
    April 30, 2021

    Hi @JTam.1​ ,

    could you be more specific about the FW packages and the hardware you are using?

    So that we can be more helpful also in relation to your other post.

    -Eleon