Implementation of PID and Deadbeat Controllers with the TMS320 Family

59
Implementation of PID and Deadbeat Controllers with the TMS320 Family APPLICATION REPORT: SPRA083 Irfan Ahmed Digital Signal Processor Products Semiconductor Group Texas Instruments Digital Signal Processing Solutions

description

Implementation of PIDand DeadbeatControllers with theTMS320 Family

Transcript of Implementation of PID and Deadbeat Controllers with the TMS320 Family

  • Implementation of PIDand DeadbeatControllers with theTMS320 FamilyAPPLICATION REPORT: SPRA083

    Irfan AhmedDigital Signal Processor ProductsSemiconductor GroupTexas Instruments

    Digital Signal Processing Solutions

  • IMPORTANT NOTICE

    Texas Instruments (TI) reserves the right to make changes to its products or to discontinue anysemiconductor product or service without notice, and advises its customers to obtain the latest version ofrelevant information to verify, before placing orders, that the information being relied on is current.

    TI warrants performance of its semiconductor products and related software to the specifications applicableat the time of sale in accordance with TIs standard warranty. Testing and other quality control techniquesare utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters ofeach device is not necessarily performed, except those mandated by government requirements.

    Certain application using semiconductor products may involve potential risks of death, personal injury, orsevere property or environmental damage (Critical Applications).

    TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED, OR WARRANTEDTO BE SUITABLE FOR USE IN LIFE-SUPPORT APPLICATIONS, DEVICES OR SYSTEMS OR OTHERCRITICAL APPLICATIONS.

    Inclusion of TI products in such applications is understood to be fully at the risk of the customer. Use of TIproducts in such applications requires the written approval of an appropriate TI officer. Questions concerningpotential risk applications should be directed to TI through a local SC sales office.

    In order to minimize risks associated with the customers applications, adequate design and operatingsafeguards should be provided by the customer to minimize inherent or procedural hazards.

    TI assumes no liability for applications assistance, customer product design, software performance, orinfringement of patents or services described herein. Nor does TI warrant or represent that any license,either express or implied, is granted under any patent right, copyright, mask work right, or other intellectualproperty right of TI covering or relating to any combination, machine, or process in which suchsemiconductor products or services might be or are used.

    Copyright 1997, Texas Instruments Incorporated

  • TRADEMARKS

    TI is a trademark of Texas Instruments Incorporated.

    Other brands and names are the property of their respective owners.

  • CONTACT INFORMATION

    US TMS320 HOTLINE (281) 274-2320

    US TMS320 FAX (281) 274-2324

    US TMS320 BBS (281) 274-2323

    US TMS320 email [email protected]

  • Implementation of PID and DeadbeatControllers with the TMS320 Family

    Abstract This report discusses implementation of the PID and deadbeatcontrollers with the TMS320 family of DSPs. These application-specific processors are designed to process signals, includingcontrol signals, very efficiently.

    The report covers the following topics:

    q Control Systems

    n Analog Controllers

    n Digital Controllers

    n Analog versus Digital Controllers

    q Processor Selection Issues

    n DSP Architectures

    q Design of Digital Control Systems

    n Discretization of Analog Systems

    n Plant Modeling

    n Digital Controller design

    n Design and Implementation of PID Controllers

    n Deadbeat

  • SPRA083

    6 Implementation of PID and Deadbeat Controllers with the TMS320 Family

    q Implementing Digital Controllers

    n Finite Wordlength Effects

    n Fixed-Point versus Floating-Point Arithmetic Processors

    n Sampling Rate Selection

    n Controller Design Tools

    n Hardware Design

    q Applications

    n Computer Peripherals

    n Power Electronics

    n Automotive

    q Summary and References

    The report also includes the following appendixes:

    q Appendix A Plant Modeling

    q Appendix B PID Controller

    q Appendix C Deadbeat Controller

    q Appendix D PC-Matlab Design and Display Programs

    q Appendix E TMS320C15 Assembly Code

  • SPRA083

    Implementation of PID and Deadbeat Controllers with the TMS320 Family 7

    Product Support

    World Wide WebOur World Wide Web site at www.ti.com contains the most up todate product information, revisions, and additions. New usersmust register with TI&ME before they can access the data sheetarchive. TI&ME allows users to build custom information pagesand receive new product updates automatically via email.

    EmailFor technical issues or clarification on switching products, pleasesend a detailed email to [email protected]. Questions receive promptattention and are usually answered within one business day.