views:

1264

answers:

4

Hello

Does anyone know of anywhere I can find actual code examples of Software Phase Locked Loops (SPLLs) ?

I need an SPLL that can track a PSK modulated signal that is somewhere between 1.1 KHz and 1.3 KHz. A Google search brings up plenty of academic papers and patents but nothing usable. Even a trip to the University library that contains a shelf full of books on hardware PLL's there was only a single chapter in one book on SPLLs and that was more theoretical than practical.

Thanks for your time.

Ian

+1  A: 

Have Matlab with Simulink? There are PLL demo files available at Matlab Central here. Matlab's code generation capabilities might get you from there to a PLL written in C.

Adam Hollidge
A: 

Thanks Adam I do have Matlab available to me (but I'm not sure about Simulink) so I shall give that a try.

Ian

IanW
+1  A: 

This is an interactive design package for designing digital (i.e. software) phase locked loops (PLLs). Fill in the form and press the ``Submit'' button, and a PLL will be designed for you.

Interactive Digital Phase Locked Loop Design

This will get you started, but you really need to understand the fundamentals of PLL design well enough to build it yourself in order to troubleshoot it later - This is the realm of digital signal processing, and while not black magic it will certainly give you a run for your money during debugging.

Adam Davis
A: 

Many thanks for that as well Adam. I actually used that site sometime around 2000 when I was coding a low pass filter and found that it did all the hard work for me. But I had no idea it had a section for SPLL design as well.

IanW