Request for Assistance with Duty-Cycle Transmission and PWM Generation for a Cascaded H-Bridge Model

Dear Technical Support Engineer,

We are building a three-phase cascaded H-bridge simulation model using a TI C2000 controller and an RT Box. Figures 1–2 in the attachment show our original setup, while Figures 3–5 show a new setup intended to support more cascaded units. Could you please review the implementation of the new setup and help us identify the cause of its current behavior?

In the original setup (Figures 1–2), the TI C2000 generates the phase-shifted PWM signals required for two cascaded H-bridge units from the three-phase modulation signals. The pulses are sent to the RT Box digital inputs, received through PWM Capture, and then applied to the power circuit. This setup works as expected with two cascaded units and achieves the intended compensation effect. However, adding more units would require additional independent PWM outputs from the C2000, and its available ePWM resources are insufficient for the planned expansion.

In the new setup (Figures 3–5), we intend to transmit three phase duty-cycle values instead of generating every switching pulse on the C2000. The proposed signal path is as follows:

  1. The C2000 converts the three-phase modulation signals into duty cycles ((d_A,d_B,d_C)), scales the values, converts their data types, and sends them via SPI.
  2. The RT Box receives the SPI data, reconstructs the three duty-cycle values, and distributes each phase value to the corresponding cascaded units.
  3. PWM Out on the RT Box generates phase-shifted PWM signals by assigning different carrier phases to the units.
  4. PWM Capture receives the pulses, which are then applied to the H-bridge power model. Figure 5 also shows how complementary switching signals are generated from the received signals.

We expected the two setups to produce similar results in the same power circuit if the duty cycles, carrier phases, and final switching sequences were equivalent. At present, however, the new setup does not operate correctly: the modulation signal diverges, the duty cycle reported by PWM Capture remains 1 or 0, and the power circuit does not reproduce the compensation performance of the original setup.

We suspect an issue with the numerical range, channel configuration, or signal connections, but have not yet located it. Could you please inspect our Setup 2 project files and advise us on the specific problem and how to correct it? We would be grateful for your assistance.
base.plecs (437.2 KB)
Scheme 2.plecs (493.3 KB)