This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: DCL Reference generator initial conditions

Part Number: TMS320F28335

Tool/software:

Dear Sirs,

I am working with the measurement of three-phase signals. I am generating a three-phase system of voltages and currents with the DCL Reference Generator REFGEN_3PHASE.

My question is, I need to shift the current in phase to simulate non-zero reactive power. How do I delay the phase of the three-phase generator REFGEN_3PHASE?

DCL_REFGEN rgen = DCL_REFGEN_DEFAULTS;

After DCL_resetRefgen(&rgen), I tried to initialize the structure -rgen.theta = -(15/360), I understand that it takes phase values ​​normalized to 1, but I cannot obtain the delay of the currents by 15°. It seems that at some point in the algorithm it resets. Is there any way to modify the phase of the three-phase system REFGEN_3PHASE?

Thanks and regards

Juan