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.

TMS320F28377S: Details of SFRA modules

Part Number: TMS320F28377S
Other Parts Discussed in Thread: TIDM-HV-1PH-DCAC, SFRA

I am trying to adopt TI Designs: TIDM-HV-1PH-DCAC Voltage Source Inverter Reference Design.  The code uses SFRA.  I went through the SFRA User guide - "C2000™ Software Frequency Response
Analyzer (SFRA) Library and Compensation Designer ".   The user guide describes how to integrate the code, but not describing what is the function of the modules like SFRA_INJECT etc.   Is there any other literature which provides these info?

Regards,

Ramesh

  • Ramesh,

    The exact implementation of the lib is protected for IP reasons.

    I do believe that it does document the usage and application very well, as described in the document the SFRA is responsible for doing a small signal injection and then observing the variable.

    the SFRA inject function generates/injects this small signal injection into the point where you call it at and the SFRA collect reads the value of the feedback and control output to compute certain internal calculations.

    the SFRA background then periodically uses this data to compute the SFRA response information.

    regards
    Manish Bhardwaj

  • Dear Manish,
    Thank you very much for the clarification. I will go through the code further and come back if I have any questions.

    Regards,
    Ramesh
  • Dear Manish,

    I understood SFRA is used to get the frequency response from the implementation. So I selected the Build3 ( Voltage loop and current loop) and run the code as per the instruction in application note. It is working fine. However I tried to connect the SFRA. It throws an error when tried to connect - Error: Please load a valid .a00 file


    Further I have another question in the following code snippet

    #elif SFRA_TYPE==1 && DC_CHECK == 0
    invVoRefInst=SFRA_F_INJECT(invVoRef*invSine);
    #endif

    Here invVoRefInst is calculated using SFRA_F_INJECT. Does the code work without this function? say invVoRefInst=(invVoRef*invSine);?


    Regards,
    Ramesh
  • 1. The issue you are refrring to is with the SFRA GUI, it's a separate component than the core SFRA which can run without the GUI as well. Now , that error will pop up if in the connection settings you have the Boot on Connect selected. Uncheck that box and this error should go away.

    2. If you do not intend to use SFRA , yes invVoRefInst=(invVoRef*invSine) will work.