Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Hi Sir/Madam,
Each line cycle , 50Hz AC input voltage .I am having zero crossover signal , at 20ms(50Hz), which is interrupt to DSP. For first 20ms ,I want to keep phase sequence PWM1,PWM2,PWM3,PWM4. For next 20ms I want to keep PWM2,PWM3,PWM4,PWM1. For next 20ms I want to keep PWM3,PWM4,PWM1,PWM2. For next 20ms PWM4,PWM1,PWM2,PWM3. Like this 4 intervals will continue in DSP firmware.
In up-down count mode with 6250 (1milli second) as period, I tried phase shifts 4167(333 uS), 6250 (500 uS),8333 (666 uS), 10416 (833 uS) in rotation mode. I am observing correct amount of phase lead on oscilloscope between PWMs. But while doing that ,I am gettting duty cycle extended for one switching cycle,every 80ms.
While searching the solution I came across Allison Nguyen's solution/workaround.
TMS320F28379D: PWM Duty extending in multi-phase variable frequency operation
She has provided solution in epwm_ex3_synchronization_MODIFIED.c file . But seems it is not working for me.
What could be the reason? or do you have some other work around.
Thanks and Regards,
Prashant Gugle