As the graph shows, I have slightly over 0.01 milliseconds delay introduced by transfer function for a simple low-pass ASK filter at the demodulation part. I need to get rid of this delay by any means. Scope Results
- I tried to increase the frequency at the denominator coefficient of the transfer function, but still with the same delay.
- In the last attempts, I tried to create a subsystem that outputs binary 1 at interval or 0.5 milliseconds if it is bigger than 0.5e-6 as threshold, and hold the value until the coming 1.5 millisecond where it should outputs 0 if it is less than 0.05e-6 and so on. I tried to follow this here, but it didn't work on my scenario. I also tried this here, but my attempts failed.
Here is an overall implementation for the demodulation part using simulink.
And the following is the transfer function for a simple low-pass ASK filter:
Help here is much appreciated.