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
