×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Matlab/Simulink, 2MHz frequency signal, real time

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
 

RE: Matlab/Simulink, 2MHz frequency signal, real time

What do you mean by "handle?"  You say nothing about what you're doing to this signal, and you expect an intelligent answer?

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

RE: Matlab/Simulink, 2MHz frequency signal, real time

(OP)
Hello,
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
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close