• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » C2000™ Microcontrollers » C2000 32-bit Microcontrollers Forum » About the Solar Liberary Function of C2000™ Solar Inverter Development Kits
Share
C2000™ Microcontrollers
  • Forums
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
C2000 Resources
  • Product Folder
  • C2000 Training Portal
  • C2000 Technical Training Catalog
  • C2000 Datasheets, App Notes, User Guides
  • C2000 Hardware Design Kits
  • controlSUITE for C2000 Software Library


  • InstaSPIN Resources
  • What is InstaSPIN?
  • Videos and Support


  • InstaSPIN-FOC and InstaSPIN-MOTION Resources
  • What is InstaSPIN-FOC?
  • What is InstaSPIN-MOTION?
  • InstaSPIN Simulation Tool
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • Forums

    About the Solar Liberary Function of C2000™ Solar Inverter Development Kits

    This question is not answered
    jim kuo
    Posted by jim kuo
    on Feb 09 2012 23:50 PM
    Prodigy30 points

    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 ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Feb 10 2012 10:20 AM
      Expert7515 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jim kuo
      Posted by jim kuo
      on Feb 13 2012 04:53 AM
      Prodigy30 points

      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 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Feb 13 2012 09:37 AM
      Expert7515 points

      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

      Manish Bhardwaj

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jim kuo
      Posted by jim kuo
      on Feb 19 2012 20:29 PM
      Prodigy30 points

      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??

      Regards 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Feb 20 2012 09:28 AM
      Expert7515 points

      Jim,

      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.

      Regards

      Manish Bhardwaj

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • qiu wei
      Posted by qiu wei
      on Mar 12 2012 22:21 PM
      Prodigy75 points

      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!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • qiu wei
      Posted by qiu wei
      on Mar 14 2012 00:31 AM
      Prodigy75 points

      HI, Manish:

      Are you online? I need your help.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • qiu wei
      Posted by qiu wei
      on Mar 14 2012 11:07 AM
      Prodigy75 points

      Any body can help me ?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Apr 09 2012 08:18 AM
      Expert7515 points

      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,

      Manish Bhardwaj

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • qiu wei
      Posted by qiu wei
      on Apr 24 2012 11:28 AM
      Prodigy75 points

      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?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Apr 25 2012 09:24 AM
      Expert7515 points

      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,

      Regards

      Manish Bhardwaj

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • qiu wei
      Posted by qiu wei
      on Apr 26 2012 20:28 PM
      Prodigy75 points

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Apr 27 2012 14:07 PM
      Expert7515 points

      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)

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • qiu wei
      Posted by qiu wei
      on Apr 27 2012 19:59 PM
      Prodigy75 points

      OK, you recommend the equation :

      spll_obj->theta[0]=spll_obj->theta[1]+(50*(0.00005));

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Manish Bhardwaj
      Posted by Manish Bhardwaj
      on Apr 30 2012 14:34 PM
      Expert7515 points

      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));

      regards

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use