Dear Technical Support Team,
I am using a TI C2000 TMS320F28069 controller together with an RT Box 3. The controller and the RT Box are connected through the corresponding interface board.
The model is a cascaded H-bridge SVG system. During normal operation, the grid-side current should be approximately in phase with the grid voltage, indicating that the SVG compensation function and control system are operating correctly.
The current parameter settings are as follows:
-
Offline simulation solver step size: 1 µs
-
RT Box power-circuit discretization step size: 2 µs
-
F28069 controller discretization step size: 100 µs
-
Controller timer frequency: 10 kHz
-
CHB PWM carrier frequency: 5 kHz
-
F28069 system clock frequency: 90 MHz
The model operates correctly during offline simulation. The three-phase voltage and current waveforms are stable and approximately in phase, as shown in the normal-result figure.
However, during the online HIL test using the F28069, RT Box 3, and interface board, the voltage and current waveforms become severely distorted and diverge to unrealistically large values.
Could you please help us determine the most likely cause of this problem?
In particular, could it be related to either of the following issues?
-
A step-size or task-synchronization problem among the RT Box circuit model, the F28069 controller task, the 10 kHz timer, and the 5 kHz PWM carrier.
-
A startup-sequence problem. For example, the power-circuit model on the RT Box may begin running before the F28069 program has been fully programmed and initialized, resulting in missing, invalid, or uncontrolled PWM signals during startup.
The attached figures show:
-
The abnormal waveforms obtained during the online HIL test.( grid-side voltage and current)
-
The correct waveforms obtained during offline simulation.( grid-side voltage and current)
We would appreciate your assistance in identifying the most likely cause and recommending an appropriate troubleshooting procedure.
Best regards,
Renju Gong
model.plecs (465.9 KB)

