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.

TIDA-00961: TMS320F280049 peripheral setting questions !

Part Number: TIDA-00961

Hi

I want to develop 3 phase CRM PFC controller via TMS320F280049 and I have some peripheral questions to ask you.

My questions are as following

1.Could the single PWM be triggered by the CMPSS comparator while peak current greater than the sinusoidal command from DAC ?

2.Could the single PWM be tripped by the CMPSS comparator while peak current less than the zero command from DAC ?

3.Could the CMPSS comparator output be inverted by setting ?  The alternative current command from DAC & inductor peak current feedback be level-shifted 1,65Vdc, it means the PWM must be tripped while negative peak current less than negative current command. In other words, the output of CMPSS comparator must be inverted when AC transfer from Positive cycle to negative cycle.

Sincerely

Jack Chung  from Delta Electronics, Inc. Taiwan

  • Hello Jack,

    Please see my responses below.

    1.Could the single PWM be triggered by the CMPSS comparator while peak current greater than the sinusoidal command from DAC ?

    HN: Answered below.

    2.Could the single PWM be tripped by the CMPSS comparator while peak current less than the zero command from DAC ?

    HN: I believe with 1 and 2 what you are asking for is a windowed comparator behavior. Typically this means that when the feedback current hits the high-side DAC threshold the PWM should turn-OFF/Reset and when the comparator hits the low-side trip threshold the PWM should turn-ON/Set.

    Yes this is possible with CMPSS (windowed comparators) and type-4 PWMs on TMS320F280049 devices.

    Please note that CMPSS windowed comparators are used in TIDA-00961 to implement over-current protection in positive and negative cycles of the AC input. Note that these are not used in this way to achieve ZVS based on inductor current sensing on this design.

    3.Could the CMPSS comparator output be inverted by setting ?  The alternative current command from DAC & inductor peak current feedback be level-shifted 1,65Vdc, it means the PWM must be tripped while negative peak current less than negative current command. In other words, the output of CMPSS comparator must be inverted when AC transfer from Positive cycle to negative cycle.

    HN: CMPSS comparator output can be inverted if desired. As explained in the answer for 2, the windowed comparator is used to implement over-current protection in positive and negative cycles of the AC input. The level shifting must be done externally.  

    I hope this helps. Please let me know if I have misunderstood your questions.

    Hrishi

     

  • Hi Hrishi
    Excellent! Your answer is very helpful to me. thank you!
    I can't find the CMPSS setting process in general datasheet of 280049.
    Would you please to give me some link of TI website which are related with my 3 questions?

    Best Regards
    Jack Chung
  • Hi Hrishi
    The switching frequency of CRM controller will be very high during light load.
    Adding a delay time in PWM trigger, the switching frequency be reduced and the controller transfer to DCM.
    Could the PWM be triggered by CMPSS comparator with a delay time ?
    Could the delay time be set up by firmware?
    If TMS280049 could support this function, please give me the link of TI.
    Thanks!

    Best Regards
    Jack Chung
  • Hi Jack,

    Yes this is possible. The CMPSS-PWM mechanism used to do this is similar to what is used in peak current mode control of converters. You can configure CMPSS output event as T1 or T2 action qualifier event for the PWM. You can then configure an action for this action qualifier event, let's say, PWM output is SET at this T1/T2 event. You should also configure the dead-band module to then provide a delay before this 'SET' event propagates to the PWM output pin. This DBRED (dead-band rising edge delay) delay will provide you with required programmable delay (in hardware). 

    You can refer to my following post on peak current mode control using this mechanism to help you visualize this better.

     

    You might also find the following post useful

     

    Hrishi

  • Hi Hrishi
    So many thanks for your reply, it's very helpful to me!
    I am aware of adding rising edge delay in PWM A to turn off PWM B and delay turn on PWM A simultaneously. This is a DCM I want.
    CMPSS is so powerful! but I have another PWM issue need to ask you.
    The two phase of boost MOSFET of 3 phase CRM controller must be synchronized for switching frequency limitation and good peak current waveform.
    Could the output event(T1/T2) trigger 2 PWM turn on simultaneously?

    Sincerely
    Jack Chung
  • Hi Jack,

    Yes, this is possible. Each PWM has independent resources and independent T1/T2 events that can be sourced from the same event external to the PWM modules.

    Hrishi

  • Hi Hrishi
    I read datasheet found the Dead Band be located in the front of Trip Zone , so I have a question to consult you.
    When ePWM1A and ePWM1B be set as high active, complementary and with Dead Band.
    If ePWM1B be tripped to low by Trip Zone, then ePWM1A be inverted to high or not? with or without Dead band in this pair of PWM?

    Best Regards
    Jack Chung
  • Jack,

    Please use T1/T2 AQ actions along with TZ actions. ePWM1A will be inverted to high by the T1/T2 actions and that rising edge can be delayed using the DBRED register to provide required dead-band.

    Hrishi

  • Hi Hrishi
    Thank you for your suggestion! I will try my best to figure out the relationship between the T1/T2 AQ and TZ.

    Jack