Menu

PLL API documentation

Developers
2015-04-07
2015-04-09
  • Sameer Grover

    Sameer Grover - 2015-04-07

    Is there any documentation available for the PLL part of the firmware (MK3-PLL)? I have mostly figured it out by looking at the available code but the role of some variables (eg. memI_phase, errorPI_Phase, errorPI_Amp) is not clear to me. The current gxsm firmware is set to run at 75 kHz. Can the PLL functions be used at 150 kHz also?

    I'd also like to know if the code for the PLL part is open source or not and whether it has been written by the gxsm team or by SoftDB? If it is the latter, does SoftDB divulge details of the API?

    Thanks.

     
  • Sameer Grover

    Sameer Grover - 2015-04-08

    Thanks for the reply. I do not appear to have a PLL_API.zip file in my windows installation. I had already looked at all the other files you have mentioned and as I said before, most of the API is already figured out. However, some questions still remain and that is why I asked if there was any documentation available.

    Some of the questions I had, for example are -

    1. currently, PI_Phase_Out = round (CPN(29)2.pi*freq/150000.). This is valid for Analog810 operation at 75 kHz. Will this also hold for operation at 150 kHz?

    2. Filter64Out follows the order excitation frequency, resonator phase, resonator amplitude and excitation amplitude. But ClipMin and ClipMax have a different order, namely excitation frequency, resonator phase, excitation amplitude and resonator amplitude. Is this change in order intentional or a bug in gxsm?

    3. What is the role of ClipMin and ClipMax? From the windows program supplied by softdb, it appears that they are only necessary if one wants the signals on some other output (as a standalone PLL). But the PAC scope in gxsm also has a tab for the clip min/max range.

    and so on. Since the PLL code itself is not under GPL, I had thought some sort of API documentation would exist.

     
  • Sameer Grover

    Sameer Grover - 2015-04-09

    That is very helpful. Thank you very much.

     

Log in to post a comment.