FFT / Frequency Identification Real-Time compile capability

7 次查看(过去 30 天)
Hello Everyone.
I have been using MATLAB for quite some time now but have just started getting into the realtime environment. I essentiall am creating a simulink model that is compiled and used to control our equipment in real time. Know I have designed a conroller but I need to be able have the controller update on the fly but in order to do so I need to be able to pass to it the main frequencys of vibration from the error signal; . My question is wheter FFT block can be used in real time and if not what can i use instead?
Shane
  2 个评论
Kaustubha Govind
Kaustubha Govind 2011-6-7
How are you achieving the interface between your controller model and the hardware? Also, do you use Simulink directly, or are you using either Real-Time Windows Target or xPC Target?
Ivan van der Kroon
An fft always needs an interval to be performed on. You can store (part of) the time signal and do an fft of this signal continuously as the data changes/increases.
You can also get a bandpass filter in the range of the expected frequencies and measure the ac-signal.

请先登录,再进行评论。

采纳的回答

Doug Hull
Doug Hull 2012-9-17
answered in comments

更多回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by