• 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 » Resoanant converter PID coefficients
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?
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • Resoanant converter PID coefficients

    Resoanant converter PID coefficients

    This question is answered
    sunil barot
    Posted by sunil barot
    on Jun 25 2010 07:56 AM
    Intellectual580 points

    I think the coefficient b1 derived on page 25 in ResonantConv.pdf part of the resonant converter kit has an error. It should be

    b1 = -Kp-2Kd

    The integral term is not suppose to be there.

    PID Resonant DC/DC
    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 Jun 25 2010 08:50 AM
      Expert7390 points
      DiscretePIDcontroller.pdf

      Sunil,

       

      The difference b/w the two (the approximation you reached at and the one we use ) is that we use two different types of approximations while transferring from s domain to Z domain, we use Euler for differential term and integral for the trapezoidal,

      Using which one gets,

      B2=Kp+Ki+Kd

      B1=Ki-Kp-2Kd

      B2= Kd

      Now when you apply Euler’s only you would get

      B2=Kp+Ki+Kd

      B1=-Kp-2Kd < note no Ki component>

      B2= Kd

       

      There is nothing conceptually wrong in using two different approximations, both are correct,


      I am attaching a paper, written by Richard Poley, describing the conversion method we use,


      Hope this helps

      Regards

      Manish Bhardwaj

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • sunil barot
      Posted by sunil barot
      on Jun 25 2010 09:13 AM
      Intellectual580 points

      Manish,

      Will they not produce two different results ?

      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 Jun 25 2010 09:22 AM
      Verified Answer
      Verified by sunil barot
      Expert7390 points

      Yes they would give you slightly different results, but as whe you are transferring from s to z or vice versa your results are dependent on the approximation you use,

      None is incorrect, but some approximations are better while tuning for different attributes,

      In our experience we have found the approximation we use to be better for the power supplies tuning,

      Note: for best results you may want to tune all the 2p2z parameters, it just depends on the plant and how tight control you want to achieve,

      Regards

      Manish Bhardwaj

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • peter shi
      Posted by peter shi
      on Mar 20 2012 21:45 PM
      Prodigy50 points

      how can i tune the 2p2z coefficients?

      what's means of below code?

       

       fs=100000; //100Khz
          fz1=2000;
       fz2=(fs/3.14);
       fp2=(fs/3.14);
       fp1=0;
       Kdc=6000;
       pi=3.14;wz1 = 2*pi*fz1;
       wz2 = 2*pi*fz2;
       wp1 = 0; //Integrator pole at f=0
       wp2 = 2*pi*fp2;
       


       wr = sqrt(wz1*wz2);
       Q = wz1*wz2/((wz1+wz2)*wr);
       
       c2 = Kdc/(wr*wr);
       c1 = Kdc/(Q*wr);
       c0 = Kdc;
       
       d2 = 1/wp2;
       d1 = 1;
       d0 = 0;
       
       den =  4*d2*fs*fs + 2*d1*fs + d0;
       
       B0_I = (4*c2*fs*fs + 2*c1*fs + c0)/den;
       B1_I = (-8*c2*fs*fs           + 2*c0)/den;
       B2_I = (4*c2*fs*fs - 2*c1*fs + c0)/den;
       
       A1_I = ((-8*d2*fs*fs           + 2*d0)/den)*-1.0;
       A2_I = ((4*d2*fs*fs - 2*d1*fs + d0)/den)*-1.0;

      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:26 AM
      Expert7390 points

      The code maps the analog compensators poles and zeroes to the coefficients for the digital 2p2z structure.

      This is handy when one is trying to tune the system using poles and zeroes

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    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