I'm interesting in Solar Inverter Development Kits
If i want to know more about the Solar Liberary Function of C2000™ Solar Inverter Development Kits
where can find more about Solar Liberary Function's information ?
Jim,
All the information is in controlSUITE v2.8.0,
Please update and you will find it under,
controlSUITE\libs\app_libs\solar
regards
Manish Bhardwaj
Hi Manish,
I have some problem want to ask .
I find those data in controlSUITE, but when I want to open the project
It shows this error
what should I do
jHi,
There is an error in the Controlsuite Desktop,we do not have any template projects for the solar library, it's being used only by the development kits.
Please try to open it from the Kits-> Solar Explorer -> PV Inverter F2803x project, (currently the description reads PV emulator, This should read PV inverter, we will fix this in the next update)
Or alternatively you can follow the user guide that describes how to open the projects,
,controlSUITE\development_kits\SolarExplorer_v1.0\SolarExplorer_PVInverter_F2803x\~Docs
Regards
HI
I saw the SolarLib_float.pdf,
but I have some question about the content
first, i couldn't understand the section explains how to use this module
it's means I need to ceate a new project then add the new "Main.c" file??
The solar library documentation is to be used in conjunction with the sample project in this case the sample projects are found here,
controlSUITE\development_kits\SolarExplorer_v1.0
Adequate documentation is provided in the library document to explain the module algorithm and software interface,
the library documentation does not include steps on starting a new project, that is not the objective of the document.
HI, Manish:
About the spll provided by TI , I have ported the algorithm to my pv inverter project, and it works well.
But I want to know if the calculation of theta[0] in the algorithm is OK? is the range of theta[0] between 0 to 2PI?
TKS!
Are you online? I need your help.
Any body can help me ?
Wei,
The PLL code does not directly use the theta value as it uses DCO for the sine and the cos values,
The PLL code has the following snippet:
if(spll_obj->sin[0]>(0.0) && spll_obj->sin[1]<=(0.0)) { spll_obj->theta[0]=(0.0); }
As the condition is applied to sin value going from negative to positive, the theta range is from zero to 2*pi,
Regards,
dear Manish Bhardwaj,
(1) in the pll code has the following snippet:
v.theta[0]=v.theta[1]+SPLL_Qmpy(v.wn,SPLL_Q(0.00001591549));
so, the range of theta[0] is from 0 to 2, not 2*pi, right ?
(2) for above code, why not v.theta[0]=v.theta[1]+SPLL_Qmpy(v.wo,SPLL_Q(0.00005));
if write like this, i think that is the real time angle of grid voltage, and the range is from zero to 2*pi, right?
Ok,
Well i had modelled the PLL in matlab first so in that the range was kept from o to 2 * pi,
when using fixed point maths it's better to scale everything from 0 -> 1 , so to keep this you multiply the delta theta by 1/2*pi,
Now initially the PLL calling frequency was 10Khz and hence the 0.0000159, this should be replaced with delta_T/(2*pi) or something,
Sorry for the confusion, it will be corrected in the next release of the software,
Dear Manish Bhardwaj:
I really understand you.
so, do you think my code "v.theta[0]=v.theta[1]+SPLL_Qmpy(v.wo,SPLL_Q(0.00005));" right or not ?
in my practical test, v.theta[0] is not the real time grid voltage angle if computing based on the above equation.
I suspect that in your spll algorithm, we can get sin[0] and cos[0], but we can not get theta[0], maybe this is
relevant to the algorithm.
I look forward to your reply and new software release.
Wei the correct one is
spll_obj->theta[0]=spll_obj->theta[1]+(spll_obj->wn*(0.00000795));
or you can do
spll_obj->theta[0]=spll_obj->theta[1]+(50*(0.00005));
i will recommend the latter,
Note as wo is 2*pi*f the delta in the first equation is 0.00005/(2*pi)
OK, you recommend the equation :
for the frequency equals to 50Hz, it is maybe OK,
but if grid frequency changes to 48Hz, 49Hz,51Hz, 52Hz,
the theta[0] does not equal to the angle of grid.
You are right,
Use this then, wo is the frequency feeding the VCO and shall adapt to the grid conditions,
spll_obj->theta[0]=spll_obj->theta[1]+(spll_obj->wo*(0.00000795));