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.

TMS320F280049C: TIDM-02002 Doubts

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Customer asks:

1. Have you test discharge mode? It is seems that there isn’t source code for discharge mode in this project.

2.  For synchronous rectification(Function CLLLC_HAL_setupSynchronousRectificationAction()), where enable the Trip-Zone?

3. Line 193 in CLLLC.C file, the calculation of “CLLLC_vSecSensed_Volts” is base on “CLLLC_VSEC_OPTIMAL_RANGE_VOLTS”,

why is not “CLLLC_VSEC_MAX_SENSE_VOLTS”?

4.  Two current scaling calculation results in schematic(“77.7mV/1A” and “20mV/1A” in the red circle), are they correct? How 

  • 1. Yes, we have tested discharge mode, please see http://www.ti.com/lit/ug/tidueg2b/tidueg2b.pdf , see the complete list of labs on Pg 32

    2. Please see fig 32 in the document above, it is in the main.c file, all protections are programmed as part of  

    //
    // clear any spurious flags
    // setup protection and trips for the board
    //
    CLLLC_HAL_setupBoardProtection();

    3.Floating point calculations can result in errors while multiplying etc and hence it is best to use the full pu range 0-1, in cases where sensing is overdesigned one can get some benefit by scaling using software as it is done for the Vsec range. I do not have quantitative benefit for that multiply, but in general is good practice for the reason metioned in the preceding sentence. 

    4. Please see C:\ti\C2000Ware_DigitalPower_SDK_1_03_00_00\solutions\tidm_02002\hardware

    calculation.xlsx, 77.1mV/1A is correct , that is used for ISEC

    20mV/1Amps looks incorrect to me , it should be 60mV/Amp

    I have asked my colleague to comment further.  

  • Hi Manish,

    Thanks for your support.

    1. The  content of file tidueg2b.pdf are different from TIDM02002 guide version of mine use. For TIDM02002's source code, Maybe my version(C2000Ware_DigitalPower_SDK_1_03_00_00) is different form your version too, Do I need update latest version?

    2. In function CLLLC_HAL_setupSynchronousRectificationAction(), the Trip-Zone signal is  EVT2 , but  I don't find EVT2 is enable anywhere(includes CLLLC_HAL_setupBoardProtection()).

    4. About the scaling of PRIM_SHUT, it should be 30mV/A.

       About ISEC calculation, I still don't understand why is 77mv/A. In this circuit, there are two gains, one is 41  from MAC1302, another is 0.7606 from OPAMP. Assume the voltage is 1.2mV at MAC1302 input end, then the output voltage of OPAMP is 1.2*41*0.7606=37.42mV. is that not right?

  • I confirmed for the PRIM_TANK_SHUNT, as per caluclations.xlsx file the range is 55 Amps and hence 1.65/55 the gain is 30mV/A.