Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

signal processing

Status
Not open for further replies.

chbrk

Computer
May 22, 2010
2
thread576-86842

hi, i have same problem. I am preparing signal A to D -> D to A proccesing line. But I restoring samples faster than I sampling analog signal. I would like to collect for example 10 samples and then start reconstruction of orignal signal. I was trying to use memory stored data ( read, write ) blocks.
I delay execution of memory read block but with this method i am still able to read, only present samples( the samples which were collected via memory write block before execution of memory read block are unaccesible).Please advise.
 
Replies continue below

Recommended for you

More usefully, with a fixed step size of 0.01 s , and a transport delay block set at 0.1 seconds, you get a 10 step delay.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
thank you Greg for quick answer.

I appreciate your idea, but my converter is asynchronous and I am not able to predict the delay.

This is my problem:

In DA part of my converter when I need access to second sample after proccesing first one, the second sample is unavaible because AD part doesn't complete producing this sample.

I am a little bit desparte so i try to save all samples to untitled.mat file and in the second instance of simulink restoring this data, but in this case restored data have different resolution.

I am about to exhaustion.

Any other sugestion?

 
I'd be inclined to do your delay process as an m file.

Simulink is very clever at some things, but ultimately it makes some easy things tricky.



Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
I get 10 memory blocks in a row working as I'd expect.

Bear in mind you need to do the same with the clock signal otherwise you'll be using the wrong timebase.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor