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.

TMS320F28069: SOLAR 3 Phase SPLL Lock Phase Problem

Part Number: TMS320F28069

Hello All,

I am trying to use SOLAR Library V1.2 SPLL_3ph_SRF with ABC_DQ0_POS with Control-Law Accelerator.
ABC/DQ0 Transforms's Q value is fed to the SPLL_3ph_SRF and the Theta Output of the SPLL is used to calculate the sin/cos values as shown in the library user guide.

Three-Phase Input Voltage is coming from the grid as follows;
Line1  Vsin(wt)
Line2: Vsin(wt-120)
Line3: Vsin(wt+120)

For the variable " ABC_DQ0_POS_CLA     V_Frame "

V_Frame.a = Line1
V_Frame.b = Line2
V_Frame.c = Line3


With this configuration of "A-B-C  == L1-L2-L3" , SPLL Locks to Line2(theta output is between 0-2pi and following the L2)
If I change the Configuration as  "C-A-B == L1-L2-L3" now it Locks to L3 and for  "B-C-A == L1-L2-L3" SPLL locks to L1. (Seems like SPLL Locks whichever B holds)

After the SPLL, there are some control-loops controlling D,Q and Z Components of the Current that is also subjected to ABC/DQ0 Transform which uses the theta information obtained from above.

So I was wondering if it is Okay to use  the A-B-C Configuration for the Currents and use the theta obtained from the SPLL with B-C-A Configuration ? And if thats not a valid solution What Should I be doing here ?

Also, I have tried to use ABC_DQ0_POS_CLA_MACRO  to transform the input voltages  and then DQ0_ABC_CLA_MACRO to obtain the initially given input voltages back from the transformation. I observed a Phase Difference between the Input Voltages and the Output of the DQ0/ABC Transform, I was thinking they should be matching.

Any help would be appreciated, Thanks in Advance, İlker.