Difference between revisions of "PID Control"

From FBSwiki
Jump to: navigation, search
(Chapter Summary)
Line 5: Line 5:
 
{{chaptertable left}}
 
{{chaptertable left}}
 
== Textbook Contents ==
 
== Textbook Contents ==
{{am05pdf|am08-pid|19Jul11|PID Control|}}
+
{{am05pdf|am08-pid|28Sep12|PID Control|}}
 
* 1. Basic Control Functions
 
* 1. Basic Control Functions
 
* 2. Simple Controllers for Complex Systems
 
* 2. Simple Controllers for Complex Systems
Line 70: Line 70:
 
<ncl>PID Control FAQ</ncl>
 
<ncl>PID Control FAQ</ncl>
 
== Errata ==
 
== Errata ==
<ncl>PID Control errata v2.10d</ncl>
+
<ncl>PID Control errata v2.11b</ncl>
 
* [[:Category:PID Control errata|Full list of errata starting from first printing]]
 
* [[:Category:PID Control errata|Full list of errata starting from first printing]]
 
* {{submitbug}}
 
* {{submitbug}}
 
== Additional Information ==
 
== Additional Information ==
 
* [http://www.calerga.com/contrib/1/index.html Interactive Learning Modules for PID Control] (Calerga)
 
* [http://www.calerga.com/contrib/1/index.html Interactive Learning Modules for PID Control] (Calerga)

Revision as of 06:35, 29 September 2012

Prev: Frequency Domain Analysis Chapter 10 - PID Control Next: Frequency Domain Design

This chapter describes the use of proportional integral derivative (PID) feedback for control systems design. We discuss the basic concepts behind PID control and the methods for choosing the PID gains.

Textbook Contents

PID Control (pdf, 28Sep12)

  • 1. Basic Control Functions
  • 2. Simple Controllers for Complex Systems
  • 3. PID Tuning (Ziegler Nichols)
  • 4. Integrator Windup
  • 5. Implementation
  • 6. Further Reading
  • 7. Exercises

Lecture Materials

Supplemental Information

Chapter Summary

This chapter describes the design and use of PID (proportional-integral-derivative) control:

  1. The basic PID controller has the form

    math

    where is the control signal and is the control error. The control signal is thus a sum of three terms: a proportional term that is proportional to the error, an integral term that is proportional to the integral of the error, and a derivative term that is proportional to the derivative of the error.

    Pid.png

  2. Integral action guarantees that the process output agrees with the reference in steady state and provides an alternative to including a feedforward term for tracking a constant reference input. Integral action can be implemented using automatic reset, where the output of a proportional controller is fed back to its input through a low pass filter:

    math

  3. Derivative action provides a method for predictive action. The input-output relation of a controller with proportional and derivative action is

    math

    where is the derivative time constant. The action of a controller with proportional and derivative action can be interpreted as if the control is made proportional to the predicted process output, where the prediction is made by extrapolating the error time units into the future using the tangent to the error curve.

  4. PID gains can be determined using Ziegler-Nichols tuning rules. The step response method characterizes the open loop response by the parameters and illustrated below (left):

    Pid-tuning.png

    The frequency response method characterizes the process dynamics by the point where the Nyquist curve of the process transfer function first intersects the negative real axis and the frequency where this occurs (above, right). The corresponding PID gains are given in the following table:

    Pid-zntable.png

  5. Integral windup can occur in a controller with integral action when actuator saturation is present. In this situation, the system runs open loop when the actuator is saturated and the integral error builds up, requiring the system to overshoot in order to remove the integrated error. Anti-windup compensation can be used to minimize the effects of integral windup by feeding back the difference between the commanded input and the actual input, as illustrated below:

    Pid-antiwindup.png

  6. A number of variations of PID controllers are useful in implementation. These include filtering the derivative, setpoint weighting and other variations in how the derivative and integral actions are formulated. PID controllers can be implemented using analog hardware, such as operational amplifiers, or via digital implementations on a computer.

Exercises

Frequently Asked Questions

Errata

Additional Information