FFT / Frequency Identification Real-Time compile capability

2 views (last 30 days)
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 Comments
Kaustubha Govind
Kaustubha Govind on 7 Jun 2011
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
Ivan van der Kroon on 7 Jun 2011
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.

Sign in to comment.

Accepted Answer

Doug Hull
Doug Hull on 17 Sep 2012
answered in comments

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!