How to choose the right timing constant for RMS (in ms) using FFT (MotionSP library)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 9:08 PM
There are many options for choosing the timing constant for RMS when using FFT. How to choose the right one? Why is the purpose of the timing constant for RMS? Please advise. Thanks!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 11:54 PM
Hi @JTam.1​ ,
uhm... that looks like a Hanning time window for FFT: if so, this defines the time frame for which the FFT is calculated, and not the time base. So basically for calculating the FFT you take the number of point (in the time buffer) that are contained in T, and calculate the FFT on these points.
A time constant for RMS is usually the timeframe containing the points for which the RMS is calculated (but always in time, no FFT).
By the way, could you link the source of your picture?
-Eleon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-30 3:26 AM
Hi @JTam.1​ ,
In general, the timing constant for RMS defines the time base for the processed signal, in the sense that in this interval a number of samples determined by RMS_time* 1/ODR is submitted to the RMS calculation.
So, the FFT df -or resolution- of the output of this calculation will be, for Nyquist, 2/RMS_time.
Not sure I have answered to your question, however...
I'll ask internally to our experts and come back to you, in case.
-Eleon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-03 6:16 PM
Hi Eleon, If I use 50ms of RMS time constant, the number of samples will be 1.87 x 10^-6 (50ms * 1/26667Hz). Is it right? Please advise. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 2:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 2:55 AM
Hi Eleon, I still don't know how to set it (Timing constant for RMS). Please help to describe it by example. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 2:56 AM
Timing constant for RMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 8:30 PM
Does the time constant for RMS mean below T? Please advise. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 11:54 PM
Hi @JTam.1​ ,
uhm... that looks like a Hanning time window for FFT: if so, this defines the time frame for which the FFT is calculated, and not the time base. So basically for calculating the FFT you take the number of point (in the time buffer) that are contained in T, and calculate the FFT on these points.
A time constant for RMS is usually the timeframe containing the points for which the RMS is calculated (but always in time, no FFT).
By the way, could you link the source of your picture?
-Eleon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-06 2:31 AM
Source: Capacitive MEMS accelerometer for condition monitoring_White paper (st.com) (Figure 7)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-06 3:00 AM
Ok so my previous comment was correct.
I believe that the RMS calculation, and the relative time base, should be tuned on your application: if you need to detect low frequencies, you can afford to use a lot of samples for averaging and cleaning the noise effect. Otherwise, you could only use few samples to keep the resolution in frequency high.
-Eleon
