This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SFRA: SFRA GUI response

Part Number: SFRA
Other Parts Discussed in Thread: C2000WARE, TIDM-1007

Hi support,

I am using the SFRA tool to obtain the plant and open loop frequency response of CLLLC converter(referred to the tidm_02002 demo).According to the SFRA  User ‘s Guide,I have added the necessary codes and function.Now ,I found that occasionally the magnitude vs frequency keep zero, but the phase vs frequency keep normal. This malfunction can only be recovery by downloading the same code. Could you please provide me with an assist about how to resolve it? thanks.

the normal response is as bellow:

the alnomal response and csv data are as bellow:

  • 1. I will recommend unchecking the "Save SFRA data as CSVs", in which case an excel file will pop up with the data. Does the data look weird in excel as well?

    2. You can alternatively look at the data in the CCS watch window as well with OL_magVect added to the expressions view, how does the data look there ? 

    3. Also, how are you invoking the GUI? The snapshot you have shared if of the Motor Control GUI, where we plot the closed loop tf  gain , for CLLLC we use the SFRA_GUI not the SFRA_GUI_MC.exe, can you try again with SFRA_GUI.exe and see if the issue repeats there?? 

  • Thanks for your replies. I take these tests according to your guides,see below:

    1. I have uncheck the "save SFRA data as csv",and the magnitude data in excel are  also kept zero.

    2. I aslo tried to debug code with CCS, and add  CLLLC_plantMagVect[100], CLLLC_plantPhaseVect[100], CLLLC_olMagVect[100], CLLLC_olPhaseVect[100] to watch window, but found that with CCS debug mode, the alnormal cannot occur. So i transmit these magnitudes and phases to PC via another SCI communication, and see that, with CCS debug mode, the magnitudes and phases on PC are consistent with the values on watch window. But run code without CCS, the alnormal occurs occasionally,and the magnitudes are kept zeo, the phases are kept non-zero.

    3. I test the above steps with SFRA_GUI.exe, the issue still repeats.

    So I am curious:

    a.why the alnormal is lost with CCS debug mode? 

    b.under what conditions the magnitudes were reset to zero?

    c. If the converter works with load, it is neccesary to run without CCS dedug mode for safty, So how can i do?

    Look forward to your help, thanks!

  • Thanks for your checks, 

    Can you please repeat the check with v2_00_01_00

    C:\ti\c2000\C2000Ware_DigitalPower_SDK_2_00_01_00

    That is a coff version of the same project, i think the issue is differences between EABI and Coff, can you confirm if you see the same issue with the older version of the code?

    Regards

    Manish 

  • Hi Manish,

    The above tests were done with C2000Ware_DigitalPower_SDK_2_00_01_00, and I try to replace the sfra_f32_tmu_coff.lib with sfra_f32_coff.lib, the issue repeats.

    I have taken an another test: import the C:\ti\c2000\C2000Ware_DigitalPower_SDK_2_00_01_00\libraries\sfra\examples\example1_stb, and the issue still exists without CCS, and the issue disappears with CCS debug. So what's the defference between running code in CCS mode and running code without CCS mode?

    Thanks for you help.

  • Hi, 

    Typically it is the tables and how they are loaded for the math functions, let me try to run the example1_stb and see if i can repeat the issue. 

    We have tested SFRA standalone, but we may be missing some project settings required for that example.

    -Manish 

  • I just made the following edits to the *.cmd file

    FPUmathTables : > FLASH_BANK1_SEC0, PAGE =0

    moving the tables to flash and i was able to run the STB example easily, please verify that this works on your side. I see a similar issue with TIDM-1007 code. 

  • Hi Manish,

    I have checked the issue, change the cmd file as your advice, and the issue was resloved.perfectly!

    Thanks for your continuous help!

    Best regards