Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- i try this solution simulating it in simulink but it doesn't work https://www.alteraforum.com/forum/attachment.php?attachmentid=9140 it works if i put a fir filter after a decimator with FS=50K, Fcut=100 and Fstop=400 but it has 500 taps in order to work correctly... One last thing that i ommitted: i need to obtain not real demodulation (0 and 1) but also the magnitude of output signal to understand if my input signal is @ full dynamic or not.... Could you check my design and eventually make your corrections? Thanks i've applied your advise of previous post and it works!!! Great!!! --- Quote End --- Does it work or not? and what do you mean by work or not work? how do you assess that? To convert two frequencies to zeros and ones you need to get phase, unwrap it and convert to delay (difference of phase). Each tone will have its unique delay as you can see in the phase response of your filter. square Magnitude = i^2+Q^2 and I don't think you need to square root it and I don't see why you need it at all.