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.

TMDSHVMTRPFCKIT enable PFC

Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE

How to enable PFC on TMDSHVMTRPFCKIT.  I have added the PWM_Number_4 to the following functions. and i have connectetd

[Main]-J2 is PFC out (jumper)

BS1 (dc-bus) to BS3 (pfc-in) and

BS4 (pfc_out) to BS5 (Inv-bus)

static inline void HAL_disablePwm(HAL_Handle handle)
{
  HAL_Obj *obj = (HAL_Obj *)handle;

  PWM_setOneShotTrip(obj->pwmHandle[PWM_Number_1]);
  PWM_setOneShotTrip(obj->pwmHandle[PWM_Number_2]);
  PWM_setOneShotTrip(obj->pwmHandle[PWM_Number_3]);
  PWM_setOneShotTrip(obj->pwmHandle[PWM_Number_4]);

  return;
}

static inline void HAL_enablePwm(HAL_Handle handle)
{
  HAL_Obj *obj = (HAL_Obj *)handle;

  PWM_clearOneShotTrip(obj->pwmHandle[PWM_Number_1]);
  PWM_clearOneShotTrip(obj->pwmHandle[PWM_Number_2]);
  PWM_clearOneShotTrip(obj->pwmHandle[PWM_Number_3]);
  PWM_clearOneShotTrip(obj->pwmHandle[PWM_Number_4]);
  return;
}

  • none none,

    from your code it looks like you are trying to use MotorWare. Are you using InstaSPIN-FOC or -MOTION?

    We don't support (or haven't release a SW project) that shows PFC with the MotorWare / InstaSPIN solutions yet.  We do have customers / FAEs who have added this themselves, so it is possible, we just don't have an example for you to re-use.

    We do support motor + PFC on the controlSUITE examples:

    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVACI_Sensorless_PFC_F2803x

     

    BTW - enabling PFC is not as simple as turning on a PWM. This is digital PFC with closed loop control, meaning you are taking ADC inputs, running a control algorithm, and then updating PWM duty cycles.