How would you filter this data?

1 回表示 (過去 30 日間)
Matthew
Matthew 2012 年 11 月 28 日
I have a set of data which is sampled from a motor. My goal is to get the values of motion parameters (velocity, acceleration, torque) vs. machine cycle.
In an ideal world, I would be able to sample 1 rotation of the motor at a high resolution and be done with it. However, due to the low coarse update rate (I don't have a DATAQ logger), I have to instead take a longer sample set of data and then sort the data by position to get the resolution that I need.
The photo below shows what my data looks like @ 60, 30, 15, and 5 seconds of trends. As you can see, the fundamental waveform looks good, but there is a lot of noise and junk due to measurement error, etc.
My question to you all is, what is the best* way to process these data sets to get the fundamental signal with very little error? I have dabbled with butterworth filters but there is still some error between filtered and actual.
Looking forward to a discussion on this topic!
  2 件のコメント
Matthew
Matthew 2012 年 11 月 28 日
Just wanted to show what filter could do (I was trying to filter the 5 second trend). It's close but how much better could I theoretically get?
Matthew
Matthew 2012 年 11 月 28 日
xlabel should be Degrees, not seconds. My apologies!

サインインしてコメントする。

回答 (2 件)

Wayne King
Wayne King 2012 年 11 月 28 日
I think a wavelet technique would work well in this instance.

John Petersen
John Petersen 2012 年 11 月 28 日
Your 'noise' seems systematic in the sense that it is appears to always be approximately the same amplitude and is not random. In cases like these, you may want to try something more ad hoc, such as testing each point with several samples ahead and behind the point and replacing it with the mean if it is more than 2 or 3 stds away. This is very easy to try without requiring any toolboxes or learning new theories.
Will you always be able to post process the data or will you need to provide a solution in real-time?

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by