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.

TMS320F2800137: SPLL_1PH_SOGI_run does not work

Part Number: TMS320F2800137
Other Parts Discussed in Thread: PMP23338

Tool/software:

Hi, 

I am now working on the PFC software for a 1.3kW GaN Totem Pole PFC + motor inverter reference design, DSP is F2800137.

When I try to run AC closed current loop (applied 55VAC/50HZ), I found SPLL_1PH_SOGI_run() cannot calculate correct FC1PHTTPL_spll1, so PFC1PHTTPL_acSine cannot be updated, since PFC1PHTTPL_acSine is the key data for PFC software to change status machine PFC1PHTTPL_pwm_SwState.enum_pwmSwState, so I can’t get AC closed current loop run. 

See below codes and screen shot for expressions.

    PFC1PHTTPL_HAL_toggleProfilingGPIO2();

    SPLL_1PH_SOGI_run(&PFC1PHTTPL_spll1,PFC1PHTTPL_vACMeas_pu);

    PFC1PHTTPL_spll_sine=PFC1PHTTPL_spll1.sine;

    PFC1PHTTPL_spll_cosine=PFC1PHTTPL_spll1.cosine

Could you help to review and check the reason?

Thanks

Regards

Hely

  • Hello Hely

    Apology for the late response. 

    I do not have access to the code as I cannot find the reference design TADA-010282. What I can suggest is to follow the pmp23338. This design use SPLL_1PH_SOGI_run function to determine the angle of AC input. 

    Thank you

    Amir Hussain