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.

TMS320F28069: ADC signal conditioning_average inductor current

Part Number: TMS320F28069


Hi TI experts,

I am using TMS320F28069 MCU for dc-dc converter application.
I have to sense average current through inductor.
For that ,I need to sample the inductor current exactly at peak & valley points in order to take average of it.
Pls let me know if any application note/example methods available from TI.

- Ramesh P

  • Hello,
    I am writing to let you know that a C2000 team member has been assigned to this post and should be answering shortly.

    Regards
    Baskaran
  • Ramesh,

    I don;t have a document i can point to you but largely will involve the following process:

    Typically the peak will occur when the active switch turns off, and the min will occur when active switch turns on.

    If you are in up count mode, you can use SOCA and SOCB to trigger at zero and CMPA to achieve this.

    If you are in up-down count mode, you can use SOCA and SOCB at CMPAD and CMPAU events..

    Specific might change based on your exact system.
  • Hi Manish,

    sorry for the delayed reply.

    I am trying with the method what you have suggested.

    Pls give some suggestions for my below requirement.

    I have to generate two sets of PWMs;  ePWM1A-1B with 25 kHz & ePWM 2A-2B with 50 kHz.

    Here,the ePWM 1A and ePWM 2A should be synchronised (i,e) both have to be started at same instant as per my timing requirement.

    I tried but not synchronized each other.is it allowed  to sync two sets of PWM with two different PERIOD values using piccolo MCU 28069 ?

    Pls mention the necessary code segment indicating SYNCOSEL bit.

    regards,

    Ramesh P

  • Ramesh,

    If the PWM periods only need to be set once, you can use TBCLKSYNC to synchronize them per the Initialization Procedure in the TRM. The EPWMs will only count when TBCLKSYNC=1.

    -Tommy