Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHello Mr Kazem,
I did the test you suggested... maybe results are disappointing. These are all with a single tone input. With a small amount of scaling... loop takes some time: http://www.alteraforum.com/forum/attachment.php?attachmentid=10470&stc=1 Without scaling: http://www.alteraforum.com/forum/attachment.php?attachmentid=10471&stc=1 http://www.alteraforum.com/forum/attachment.php?attachmentid=10472&stc=1 I don't know if the latter gonna lock eventually. What to do now? By the way, I found a bug in my code... the loop filter is clocked by a 50 MHz, and its input is the phase detector (multiplier) which in turn has RRCs as input, the RRCs produce a sample every several clock cycles of the 50 MHz... I thought it would be the problem. I made an enable port for the Loop Filter so it only works when a new sample comes out of the RRCs. However, nothing changed... but I think this is how it should be. ** UPDATE ** This is the output of the loop filter for 1 ms. http://www.alteraforum.com/forum/attachment.php?attachmentid=10473&stc=1 I and Q are sinusoidal signals!! This never gonna lock!! :'(