I am currently developing a Cascaded H-Bridge (CHB) inverter model and would like to evaluate the multi-channel PWM generation and synchronization capabilities using the two TI F28379D DSP boards.
I have attached two PLECS models, CHB_PWM_option1 and CHB_PWM_option2, which demonstrate the issues I am currently facing.
CHB_PWM_OPTION1.plecs (304.0 KB)
CHB_PWM_OPTION2.plecs (293.8 KB)
1. CHB_PWM_option1 – PWM synchronization using the standard PWM blocks
For Phase A and B, I am able to synchronize the PWM signals for the two cascaded modules correctly, and the resulting CHB output waveform is as expected when i ran simulation.
However, when I use two DSP boards to independently generate the PWM signals for Phase A and Phase B, I am unable to maintain the required 120° phase shift between the two phases. The relative phase between Phase A and Phase B keeps drifting when I was running the real-time of HIL+DSP operation modes.
I was using the C2000 PWM blocksets and try to configure the synchronization input to External. However, after selecting External synchronization, the Synchronization Output option which is not available. After reading the related thread and found which can be alternatively use the PWM variable blocksets.
2. CHB_PWM_option2 – PWM synchronization using PWM Variable blocks
I found the following discussion on the PLECS User Forum regarding synchronization between two LAUNCHXL-F28069M boards Two LAUNCHXL-F28069M Synchronize issue - Coder / TI C2000 - PLECS User Forum. I tried to follow the same procedure to form a two DSP board PWM synchronization method.
For the CHB_PWM_option2 PLECS model,:
Based on that forum discussion, I attempted to implement a similar synchronization method using the PWM Variable blocks and an External Sync signal for the two DSP boards.
However, after applying the same PWM phase settings, the resulting Phase A waveform is different from the waveform obtained with CHB_PWM_option1. Therefore, I am not sure whether my PWM Variable configuration, synchronization source, or phase-shift settings are correct.
Thanks, i am looking forward to hearing from the technical support.
Regards,
MHz





















