• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Analog IC Tips

Analog IC Design, Products, Tools Layout

  • Products
    • Amplifiers
    • Clocks & Timing
    • Data Converters
    • EMI/RFI
    • Interface & Isolation
    • MEMS & Sensors
  • Applications
    • Audio
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • FAQs
    • EE Learning Center
    • EE Training Days
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • LEAP Awards
    • Podcasts
    • White Papers
    • DesignFast
  • Video
    • EE Videos
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

What is Proportional (PID) Control and why is it used? (Part 1)

January 18, 2017 By Bill Schweber

Closed-loop control is the foundation of our modern automated world. In simplest terms, this approach applies negative feedback to a system to achieve a desired result.

Consider the control of temperature, the most widely measured and controlled real-world physical parameter. If the measured value of this process variable is above the desired setpoint value, we instruct the system to cut off or reduce the heat source; if the value is below the setpoint, we increase or turn on the heat source, Figure 1. This simple closed-loop approach is used not only for temperature, but for motion, position, direction, flow, level, pressure;  in fact, it is used for just about anything that needs to be at a desire value.

Figure 1: The idea of closed-loop control is to use an error signal derived from a comparison of the desired setpoint versus the actual measured process variable to provide negative feedback and thus correct for any differences (from National Instruments).

It’s a very powerful concept, because not only does it maintain control, but it allows the system to adapt to changes (called upsets), such as the addition of more raw material to the vat being heated. In contrast, a simple “set and forget” control approach, where you turn the heat source to what you hope will be the right value, will almost always have a difference between the desired setpoint and actual achieved value, and also cannot accommodate upsets.

There are several ways to implement closed-loop, negative-feedback control. The simplest way is with on/off control, sometimes called “bang-bang” control. Here, the heat source is simply turned fully on or off, Figure 2. While this does work in a general sense, the observed values of the process variable will range above and below the desired setpoint by an amount determined by the system settings.

Figure 2: Simple on/off control accomplishes the basic control task, but the performance is often inadequate; is the simplest closed-loop control strategy as this representative oven response to on/off cycling of a heater shows (from Coulton Instrumentation Ltd).

If a tight bound is desired, with the turn on/turn off thresholds set very close to the desired setpoint, the system will be constantly chattering” as the heat source rapidly cycles on and off. This is often mechanically undesirable, since the heater valve may soon wear out (and it may be noisy, too). If the thresholds are made wide with respect to the setpoint, the on/off action will be reduced, but the actual temperature will vary widely from the setpoint.

On/off control is low cost and easy to implement, and is still used in many applications such as home ovens or air conditioners. However, the swings around the setpoint are fairly wide (such as ±25⁰F for the oven, and ±2 to ±3⁰F for the A/C). Ironically, despite these errors, it is often used in some types of electronic amplifiers due to its high electrical efficiency, with the resultant error “smoothed out” by filtering.

PID Proportional control

A widely used alternative to on/off control is by using a proportional approach. This technique is somewhat intuitive: if the temperature is much too low (due to initial error, start-up mode, or more material being added), simply turn up the heat by a large amount; if the difference (or error) is small, apply just enough heat to keep it close to the setpoint. This is called proportional (P) control.

In fact, this works fairly well, but has limitations, as it has some long-term cumulative sources of error buildup and poorly controlled reaction to upsets, and is also prone to oscillation around the setpoint. To enhance the performance of a proportional controller, two other factors called the integral and derivative terms are added to the closed-loop control approach. The result is the complete, three-term PID algorithm, Figure 3.

Figure 3: PID control combines three independent factors: proportional error (top), integral (middle), and derivative (bottom) to provide low-error, smooth control and response (from National Instruments).

The integral term (also called “anti-reset windup” in industrial-control literature) is based on the accumulated error over some past time period, and accounts for unavoidable error buildup due to imperfections in the entire system or steady disturbances, such as a heat escaping from the vat. The derivative term has a very different role: it is related to the rate of change of error and attempts to work with the system’s dynamics.

The next FAQ will look at basics of PID analysis and tuning of the PID coefficients.

References

  1. http://www.ni.com/white-paper/3782/en/
  2. https://en.wikipedia.org/wiki/PID_controller

 

Filed Under: FAQ, Featured, Industry Experts Tagged With: basics, FAQ

Primary Sidebar

Featured Contributions

Design a circuit for ultra-low power sensor applications

Active baluns bridge the microwave and digital worlds

Managing design complexity and global collaboration with IP-centric design

PCB design best practices for ECAD/MCAD collaboration

Open RAN networks pass the time

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE LEARNING CENTER

EE Learning Center
“analog
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

EE ENGINEERING TRAINING DAYS

engineering

RSS Current EDABoard.com discussions

  • Right Half Plane Zero
  • dc-dc converter in series
  • Single ended measuring ports and balanced antenna
  • Thermal modelling of repetitive power pulse
  • Permittivity and Permealibility in CST

RSS Current Electro-Tech-Online.com Discussions

  • FFC connector white
  • Is AI making embedded software developers more productive?
  • Can I make two inputs from one??
  • Kawai KDP 80 Electronic Piano Dead
  • Fun with AI and swordfish basic
“bills

Design Fast

Component Selection Made Simple.

Try it Today
design fast globle

Footer

Analog IC Tips

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

ANALOG IC TIPS

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy