Matlab/Simulink, 2MHz frequency signal, real time
Matlab/Simulink, 2MHz frequency signal, real time
(OP)
hello
I am using a Matlab XPc Target real time system for a measurement application. A counter board by NI will be used to take measurements of linear encoders. The board will deliver a TTL signal of 2MHz frequency, which is now to be worked in Simulink.
Signal handling is Matlab could be a slow process. Is there a frequency limit of a signal that can be worked in Matlab/Simulink ? if Matlab would not be able to handle this high frequency signal in real time, what could be the system design strategy(real time)?
Perhaps buffering the signal on board and allowing Matlab to read the signal according to its ability in real time.
Any suggestion would be really appreciable?
Regards
Simasa
I am using a Matlab XPc Target real time system for a measurement application. A counter board by NI will be used to take measurements of linear encoders. The board will deliver a TTL signal of 2MHz frequency, which is now to be worked in Simulink.
Signal handling is Matlab could be a slow process. Is there a frequency limit of a signal that can be worked in Matlab/Simulink ? if Matlab would not be able to handle this high frequency signal in real time, what could be the system design strategy(real time)?
Perhaps buffering the signal on board and allowing Matlab to read the signal according to its ability in real time.
Any suggestion would be really appreciable?
Regards
Simasa





RE: Matlab/Simulink, 2MHz frequency signal, real time
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Matlab/Simulink, 2MHz frequency signal, real time
This would be a position signal, an actual measure of tool of a milling machine along x axis. Similarly there will be position measure for y and z axis. This would give the real trajectory measure of a milling tool.
A reference path would be generated from provided NC Code in Simulink. Now both reference and measured path would be compared to find the deviations through some algorithms. A new trajectory would be developed and the reference NC code would be modified according to it improving the accuracy of the milling (dynamic compensation of machine errors in real time).
Would there be problems (Matlab is a comparatively slow, position signal is of 2MHz etc) that may have to be faced?
Thanks