FFT / Frequency Identification Real-Time compile capability

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

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?
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일

0 개 추천

answered in comments

추가 답변 (0개)

카테고리

제품

질문:

2011년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by