{"id":121850,"date":"2024-03-12T05:03:13","date_gmt":"2024-03-12T05:03:13","guid":{"rendered":"https:\/\/www.controleng.com\/articles\/pid-spotlight-part-2-know-these-13-terms-interactions\/"},"modified":"2025-04-23T19:02:58","modified_gmt":"2025-04-24T00:02:58","slug":"pid-spotlight-part-2-know-these-13-terms-interactions","status":"publish","type":"post","link":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/","title":{"rendered":"PID spotlight, part 2: Know these 13 terms, interactions"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div class=\"learn-obj\">\n<div class=\"top-one\"><\/div>\n<div class=\"top-two\"><\/div>\n<h4>Learning Objectives<\/h4>\n<ul>\n<li>Understand proportional-integral-derivative (PID) controller terms and definitions.<\/li>\n<li>Learn PID controller equation classical and parallel forms.<\/li>\n<li>See PID examples of how gain, integral, and derivative function independently and separate from a process. In short, what do they do?<\/li>\n<\/ul>\n<div class=\"bottom\"><\/div>\n<\/div>\n<h2><strong>PID controller basics insights<\/strong><\/h2>\n<ul>\n<li>Gain responds proportionally to error; it responds to how the process is currently acting.<\/li>\n<li>Integral continues to respond to error as long as the error persists; it responds to how the process has acted in the immediate past.<\/li>\n<li>Derivative responds to the slope of the process variable; it attempts to guess where the process is going.<\/li>\n<li>Proper PID controller tuning requires blending Gain, Integral and (sometimes) Derivative together to get the response you need. This is a blend of responding to the present, past and, if appropriate, the best guess of the future.<\/li>\n<\/ul>\n<hr \/>\n<p>With this proportional-integral-derivative (PID) controller refresher course, getting on the same page with PID definitions is important.<\/p>\n<h2>PID: 10 critical definitions<\/h2>\n<p>Controller basics:<\/p>\n<ul>\n<li>\n<h3>Process variable (PV) \u2013 What is measured (flow, pressure, etc.)<\/h3>\n<\/li>\n<li>\n<h3>Setpoint (SP) \u2013 The target, or where we want to be<\/h3>\n<\/li>\n<li>\n<h3>Output (OP) \u2013 The knob used to affect the process variable, commonly a valve position, much less frequently, a motor speed.<\/h3>\n<\/li>\n<\/ul>\n<p>Controller modes:<\/p>\n<ul>\n<li>\n<h3>Manual \u2013 The control logic is turned off; the operator sets the output (OP) manually.<\/h3>\n<\/li>\n<li>\n<h3>Automatic (Auto for short) \u2013 The control logic is turned on; the output is calculated by logic.<\/h3>\n<\/li>\n<li>\n<h3>Cascade \u2013 The control logic is turned on and the setpoint comes from another controller.<\/h3>\n<\/li>\n<\/ul>\n<p>Proportional-integral-derivative (PID) controller terms:<\/p>\n<ul>\n<li>\n<h3>Error = Process variable (PV) \u2013 Setpoint (SP)<\/h3>\n<\/li>\n<li>\n<h3>(Controller) Gain (Proportional)<sup>1<\/sup><\/h3>\n<ul>\n<li>\n<h3>\u0394 Output (OP)\/ \u0394 Error (%\/%)<sup>2<\/sup><\/h3>\n<\/li>\n<li>\n<h3>\u0394 Output (OP)\/ \u0394 PV (%\/%)<\/h3>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<h3>Integral (Reset)<\/h3>\n<ul>\n<li>\n<h3>o \u222bError<\/h3>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<h3>Derivative<sup>3<\/sup><\/h3>\n<ul>\n<li>\n<h3>d(PV)\/dt<\/h3>\n<\/li>\n<li>\n<h3>d(Error)\/dt<\/h3>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><em>Note 1<\/em>: Not to be confused with Process Gain.<\/p>\n<p><em>Note 2<\/em>: Most control systems PID controllers use % of range internally, however, some control systems work in engineering units. Consult the manual before tuning a controller you are not familiar with.<\/p>\n<p><em>Note 3<\/em>: Derivative on change in PV is preferred and will be assumed in these articles. Derivative on Error is available and is often the default. Avoid it as it will produce large OP spikes on SP changes.<\/p>\n<h2>Advice for a prospective loop tuner<\/h2>\n<p>Read the manual before tuning a controller on any system you have not used before. Better yet, set up a simulated loop and test all the PID controller settings.<\/p>\n<p>Three common implementations of the PID algorithm are classical, parallel and series. The most common is classical, followed by parallel and the least common is series. Each control system has its own implementation of its chosen PID algorithm, and some allow you to select among multiple algorithms. Each system also has its own implementation quirks.<\/p>\n<p>I have worked on multiple systems using the Classical and Parallel PID algorithms. Each system was a little different, and each new system made me feel a little stupid all over again. (Note: If you are on a new system, the PID controller is acting strange, and you feel a little confused; don\u2019t worry, it\u2019s happened to everybody.)<\/p>\n<p>These articles focus on the classical PID algorithm because it is far more common and is the algorithm generally referenced in textbooks, articles and tuning guides. I will use and reference the parallel algorithm occasionally to illustrate important points.<\/p>\n<h2>Proportional, integral and derivative contributions:<\/h2>\n<p>To develop a feel for how a PID controller works, you need to have a feel for how each element of the PID controller contributes to the controller response.<\/p>\n<p>The Classical PID control algorithm is:<\/p>\n<p><em>OP = K *(Error + 1\/T<sub>i<\/sub> * \u222bError + T<sub>d<\/sub> * d(PV)\/dt) + OP<sub>(t=0)<\/sub><\/em><\/p>\n<p>Where:<\/p>\n<p><em>K = Controller Gain (\u0394OP\/ \u0394Error %\/%)<\/em><\/p>\n<p><em>T<sub>i<\/sub> = Integral (Minutes\/Repeat)<\/em><\/p>\n<p><em>T<sub>d<\/sub> = Derivative (Minutes)<\/em><\/p>\n<p><em>OP<sub>(t=0)<\/sub> = Controller output when the controller first gets placed in Auto.<\/em> (Some call this a bias.)<\/p>\n<p>One thing that can confuse people when tuning a classical PID algorithm is a bigger gain = faster control response, a bigger derivative = faster control response, but a bigger Integral = slower control response.<\/p>\n<p>Following is a discussion of how proportional, integral, and derivative contribute to the overall controller response. These are for a PID controller that is disconnected from the process. Types of processes are discussed in the next article. After that we will connect the PID controller to the different types of processes to see how it all works together.<\/p>\n<h2>Gain (proportional) contribution in PID control<\/h2>\n<p>Figure 1 illustrates how the Gain element of a PID controller works.<\/p>\n<figure id=\"attachment_540907\" aria-describedby=\"caption-attachment-540907\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540907\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain.jpg\" alt=\"Figure 1: The response of controller Gain to changes in SP and PV (Gain = 1), showing how the Gain element of a PID controller works. \" width=\"1024\" height=\"721\" \/><figcaption id=\"caption-attachment-540907\" class=\"wp-caption-text\">Figure 1: The response of controller Gain to changes in SP and PV (Gain = 1), showing how the Gain element of a PID controller works. Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Gain is also called Proportional because it moves in proportion to the error between the SP (orange in the figure) and PV (blue). In this controller the Gain is 1.0 (and Integral and Derivative are turned off), which means that the OP (gray) of the controller will move in a 1:1 proportion to the change in the error between the SP and the PV (as seen in Figure 1). The Gain contribution (gold) moves up 10% when the SP is moved up 10% @ the <u>1-minute<\/u> mark. Since the Integral and Derivative are turned off the Gain is the only action moving the controller OP, therefore the OP also moves 10% up from 70 to 80%.<\/p>\n<p>When the PV moves up 5% at the <u>5-minute<\/u> mark, the error dropped to 5%, the Gain contribution, and thus the OP, also dropped 5% (the OP dropping from 80 to 75%).<\/p>\n<p>Finally, when the SP is dropped 10% at the 10-minute mark the error dropped to -5%, and the Gain contribution dropped 10% to -5%, and the OP dropped 10% from 75 to 65%.<\/p>\n<p>If we change the gain of the controller to 0.5, we will see the OP of the controller move in a 0.5:1 proportion to the error (Figure 2).<\/p>\n<figure id=\"attachment_540908\" aria-describedby=\"caption-attachment-540908\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540908\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig2-Commented-Gain.jpg\" alt=\"Figure 2, Commented Gain: The response of a lower controller Gain to changes in SP and PV (Gain = 0.5) is shown. \" width=\"1024\" height=\"727\" \/><figcaption id=\"caption-attachment-540908\" class=\"wp-caption-text\">Figure 2, Commented Gain: The response of a lower controller Gain to changes in SP and PV (Gain = 0.5) is shown. Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Relative to Figure 1 we see that the Gain contribution (gold) moves up 5% when the SP is moved up 10% @ the 1-minute mark, reflecting the new gain of 0.5. As expected, the OP moves 5% up from 70 to 75%. When the PV moves up 5% at the 5-minute mark, the error dropped to 5%, the Gain contribution, and thus the OP, dropped 2.5% (the OP dropping from 75 to 72.5%). Finally, when the SP is dropped 10% at the 10-minute mark the error dropped to -5%, and the Gain contribution dropped 5% to -2.5%, and the OP dropped 5% from 72.5 to 67.5%.<\/p>\n<p>Each change was proportional to the change in the controller error.<\/p>\n<p>Another thing to realize about Gain is it is only concerned with the present. It knows nothing of the past and makes no predictions about the future.<\/p>\n<h2>Integral (Reset) contribution in PID control<\/h2>\n<p>Figure 3 illustrates how the Integral element of a PID controller works. This uses the Parallel PID equation to separate the Integral contribution from Gain.<\/p>\n<figure id=\"attachment_540909\" aria-describedby=\"caption-attachment-540909\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540909\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig3-Commented-Integral-Parallel.jpg\" alt=\"Figure 3, Commented Integral Parallel: The response of controller Integral to a change in SP (Parallel algorithm, Integral = 1 Minute\/Repeat) is shown. \" width=\"1024\" height=\"735\" \/><figcaption id=\"caption-attachment-540909\" class=\"wp-caption-text\">Figure 3, Commented Integral Parallel: The response of controller Integral to a change in SP (Parallel algorithm, Integral = 1 Minute\/Repeat) is shown. Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Integral works by adding up the error between the SP and the PV over time (it \u201cintegrates\u201d the error). Integral keeps working and moving the controller OP until the error drops to zero. It is also called \u201cReset\u201d because it resets the controller OP to eliminate error, which Gain cannot do.<\/p>\n<p>In Figure 3, the SP is moved 10% up at 1 minute. As soon as the Integral part of the controller sees the error it starts ramping and continues to ramp until the SP is dropped back to 50% at the 3-minute mark. If the SP hadn\u2019t been dropped the Integral would have continued to ramp forever (this is called windup).<\/p>\n<p>Another thing to realize about Integral is it is only concerned with the past. It is indifferent to the present and makes no predictions about the future.<\/p>\n<h2>What are \u201cRepeats\u201d exactly in PID? Classical PID Repeats<\/h2>\n<p>When we talk about Integral, we give the units as minutes per repeat. One of the things I am going to talk about incessantly in this series is developing an intuitive feel for how the PID algorithm works. One of the questions we need to answer is \u201cwhat is a Repeat?\u201d<\/p>\n<p>In the Classical PID algorithm minutes\/repeat means it takes X minutes to repeat the gain action (Figure 4).<\/p>\n<figure id=\"attachment_540910\" aria-describedby=\"caption-attachment-540910\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540910\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig4-Commented-Integral-Classical-.jpg\" alt=\"Figure 4, Commented Integral Classical: Explanation of \u201crepeats\u201d for a Classical PID algorithm (Gain = 1, Integral = 1 Minute\/Repeat). \" width=\"1024\" height=\"724\" \/><figcaption id=\"caption-attachment-540910\" class=\"wp-caption-text\">Figure 4, Commented Integral Classical: Explanation of \u201crepeats\u201d for a Classical PID algorithm (Gain = 1, Integral = 1 Minute\/Repeat). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>In Figure 4 when the SP is changed 10% at the <u>1-minute<\/u> mark, we can see that the Gain contribution (and the OP) jumps 10%, tracking the 10% error. The Integral, because it is set to <u>1-minute<\/u>\/repeat, then repeats that same 10% change once every minute. Note that the controller OP is the sum of the Gain and Integral contributions; they work together to drive the OP.<\/p>\n<p>To provide more explanation, Figures 5 and 6 display:<\/p>\n<ul>\n<li>\n<h3>Figure 5: Changing the Gain to 0.5 (from 1.0)<\/h3>\n<\/li>\n<li>\n<h3>Figure 6: Changing the Integral to 2 minutes\/repeat<\/h3>\n<\/li>\n<\/ul>\n<p>Figure 5 shows that when the Gain is changed the effective Integral action is also changed (the ratio between Gain and Integral is locked). You should expect this based on the form of the PID equation, but it is easy to forget. From a practical standpoint if you were to (for example) reduce Gain, you may find that you have to increase Integral to restore proper control action (the ratio between the two needed to be changed).<\/p>\n<figure id=\"attachment_540911\" aria-describedby=\"caption-attachment-540911\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540911\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig5-Commented-Integral-Classical-.jpg\" alt=\"Figure 5: Explanation of \u201crepeats\u201d for a Classical PID algorithm at lower Gain (Gain = 0.5, Integral = 1 Minute\/Repeat). \" width=\"1024\" height=\"717\" \/><figcaption id=\"caption-attachment-540911\" class=\"wp-caption-text\">Figure 5: Explanation of \u201crepeats\u201d for a Classical PID algorithm at lower Gain (Gain = 0.5, Integral = 1 Minute\/Repeat). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Figure 6 shows that for Integral bigger is slower.<\/p>\n<figure id=\"attachment_540912\" aria-describedby=\"caption-attachment-540912\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540912\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig6-Commented-Integral-Classical-.jpg\" alt=\"Figure 6, for integral, bigger is slower: Explanation of \u201crepeats\u201d for a Classical PID algorithm at slower Integral (Gain = 1, Integral = 2 Minute\/Repeat). \" width=\"1024\" height=\"731\" \/><figcaption id=\"caption-attachment-540912\" class=\"wp-caption-text\">Figure 6, for integral, bigger is slower: Explanation of \u201crepeats\u201d for a Classical PID algorithm at slower Integral (Gain = 1, Integral = 2 Minute\/Repeat). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<h2>Parallel PID repeats<\/h2>\n<p>The Parallel PID control algorithm is:<\/p>\n<p><em>OP = K *Error + T<sub>i<\/sub> * \u222bError + T<sub>d<\/sub> * d(PV)\/dt + OP<sub>(t=0)<\/sub><\/em><\/p>\n<p>Where:<\/p>\n<p><em>K = Controller Gain (\u0394 OP\/ \u0394 Error %\/%)<\/em><\/p>\n<p><em>T<sub>i<\/sub> = Integral (Repeats\/Minute)<\/em><\/p>\n<p><em>T<sub>d<\/sub> = Derivative (Minutes)<\/em><\/p>\n<p><em>OP<sub>(t=0)<\/sub> = Controller Output when the controller first gets placed in Auto.<\/em> (Some call this a bias.)<\/p>\n<h2>Small change, large effect on Parallel PID algorithm<\/h2>\n<p>All that has really changed is we\u2019ve removed the parenthesis that group the error, Integral, and Derivative terms for multiplication by Gain. This seems like a small change, but it has a profound effect on how the Parallel PID algorithm functions and is tuned relative to the Classical PID algorithm.<\/p>\n<p>Unlike the Classical algorithm the Parallel PID algorithm features a bigger Gain = faster control response, a bigger Derivative = faster control response and a bigger Integral = <em>faster<\/em> control response.<\/p>\n<p>Because Integral is not tied to Gain and the units are reversed, we need to think about Integral differently. In a Parallel PID controller Integral action is repeating a fraction of the <em>Error<\/em> every minute.<\/p>\n<figure id=\"attachment_540913\" aria-describedby=\"caption-attachment-540913\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540913\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig7-Commented-Integral-Parallel.jpg\" alt=\"Figure 7: Explanation of \u201crepeats\u201d for a Parallel PID algorithm (Integral = 1 Repeat\/Minute). \" width=\"1024\" height=\"749\" \/><figcaption id=\"caption-attachment-540913\" class=\"wp-caption-text\">Figure 7: Explanation of \u201crepeats\u201d for a Parallel PID algorithm (Integral = 1 Repeat\/Minute). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>In Figure 7 an Integral of 1 is repeating the error from a 10% SP change every minute.<\/p>\n<p>To repeat for emphasis, Figures 8 and 9 display:<\/p>\n<ul>\n<li>\n<h3>Figure 8: Changing the SP 5% instead of 10%<\/h3>\n<\/li>\n<li>\n<h3>Figure 9: Changing the Integral to 0.25 repeats\/minute<\/h3>\n<\/li>\n<\/ul>\n<p>Figure 8 shows that when the SP change is halved the Integral action is also halved.<\/p>\n<figure id=\"attachment_540914\" aria-describedby=\"caption-attachment-540914\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540914\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig8-Commented-Integral-Parallel.jpg\" alt=\"Figure 8: Explanation of \u201crepeats\u201d for a Parallel PID algorithm with a smaller SP change (Integral = 1 Repeat\/Minute). \" width=\"1024\" height=\"734\" \/><figcaption id=\"caption-attachment-540914\" class=\"wp-caption-text\">Figure 8: Explanation of \u201crepeats\u201d for a Parallel PID algorithm with a smaller SP change (Integral = 1 Repeat\/Minute). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Figure 9 shows that for Integral smaller is slower (and by extension bigger is faster).<\/p>\n<figure id=\"attachment_540915\" aria-describedby=\"caption-attachment-540915\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540915\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig9-Commented-Integral-Parallel.jpg\" alt=\"Figure 9: Explanation of \u201crepeats\u201d for a Parallel PID algorithm at slower Integral (Integral = 0.25 Repeat\/Minute). \" width=\"1024\" height=\"720\" \/><figcaption id=\"caption-attachment-540915\" class=\"wp-caption-text\">Figure 9: Explanation of \u201crepeats\u201d for a Parallel PID algorithm at slower Integral (Integral = 0.25 Repeat\/Minute). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Unlike the Classical PID algorithm changing Gain does not affect Integral (there is no relationship between Gain and Integral). The problem you can experience here is when you lower Gain you may end up with a controller that has too much Integral for the provided Gain (a mismatch between Gain and Integral can promote instability).<\/p>\n<p>People who switch from a system that uses one algorithm to the other often find that they lose their intuitive feel for how a change in tuning constants should behave. This is expected (and I certainly experienced this.)<\/p>\n<h2>Derivative (Pre-act) contribution in PID control<\/h2>\n<figure id=\"attachment_540916\" aria-describedby=\"caption-attachment-540916\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540916\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig10-Commented-Derivative-Parallel.jpg\" alt=\"Figure 10: The response of controller Derivative to SP and PV changes (Parallel algorithm, Derivative = 1 Minute). \" width=\"1024\" height=\"729\" \/><figcaption id=\"caption-attachment-540916\" class=\"wp-caption-text\">Figure 10: The response of controller Derivative to SP and PV changes (Parallel algorithm, Derivative = 1 Minute). Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>Derivative is also sometimes referred to as \u201cPre-act\u201d because, by looking at the slope of the PV curve it gives a look ahead at what the process is doing. In Figure 10 Derivative does not respond to the SP change at 1 minute; Derivative is looking only at changes in the PV. Shortly after the 5-minute mark a disturbance comes through; the Derivative responds to the inverse of the slope of the PV, jumping up to about 13% at the steepest part of the PV slope.<\/p>\n<p>Derivative is trying to guess the future. It is indifferent to the past or the present.<\/p>\n<h2>Putting it all together: Gain, Integral and Derivative in PID control<\/h2>\n<figure id=\"attachment_540917\" aria-describedby=\"caption-attachment-540917\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-540917\" src=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig11-Commented-A-Tuned-Loop.jpg\" alt=\"Figure 11: A tuned PID controller showing how Gain, Integral, and Derivative work together to keep the PV on SP after a SP change and process disturbance. \" width=\"1024\" height=\"725\" \/><figcaption id=\"caption-attachment-540917\" class=\"wp-caption-text\">Figure 11: A tuned PID controller showing how Gain, Integral, and Derivative work together to keep the PV on SP after a SP change and process disturbance. Courtesy: Ed Bullerdiek, process control engineer, retired<\/figcaption><\/figure>\n<p>In Figure 11 we can see Gain, Integral and Derivative working together to keep a self-limiting process on SP through a SP change and a process disturbance; the OP is the sum of the Gain, Integral and Derivative contributions. I will discuss this in much more detail when we talk about tuning self-limiting processes, but it doesn\u2019t hurt to take a little look ahead. The key takeaway here is that good loop tuning requires blending Gain, Integral, and (sometimes) Derivative together to get the response you need. Understanding how each works individually and also how they complement each other is key to the control practitioners art. And no, two out of three is not good enough.<\/p>\n<p><strong>Ed Bullerdiek<\/strong> is a retired control engineer with 37 years of process control experience in petroleum refining and oil production; Edited by Mark T. Hoske, content manager, <em>Control Engineering, <\/em>CFE Media and Technology<em>,<\/em> <a href=\"mailto:mhoske@cfemedia.com\">mhoske@cfemedia.com<\/a>.<\/p>\n<p>KEYWORDS: Proportional-integral-derivative, PID tutorial<\/p>\n<p><strong>CONSIDER THIS<\/strong><\/p>\n<p><strong>Do you understand<\/strong> how a PID controller works?<\/p>\n<p>ONLINE<\/p>\n<p>PID series from Ed Bullerdiek, retired control engineer<\/p>\n<p>Part 1: Three reasons to tune control loops: Safety, profit, energy efficiency<\/p>\n<p><a href=\"https:\/\/www.controleng.com\/articles\/three-reasons-to-tune-control-loops-safety-profit-energy-efficiency\/\">https:\/\/www.controleng.com\/articles\/three-reasons-to-tune-control-loops-safety-profit-energy-efficiency\/<\/a><\/p>\n<p>PID spotlight, part 2: Know these 13 terms, interactions (this article)<\/p>\n<p>PID spotlight, part 3: How to select one of four process responses (April)<\/p>\n<p>Aug. 1 RCEP webcast: How to automate series: The mechanics of loop tuning<\/p>\n<p><a href=\"https:\/\/www.controleng.com\/control-systems\/pid-apc\/\">https:\/\/www.controleng.com\/control-systems\/pid-apc\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learning proportional-integral-derivative (PID) controller tuning begins with the basics: Definition of terms, the PID equation (multiple forms) and seeing how each of the PID terms functions independently from each other and separated from a process.<\/p>\n","protected":false},"author":4742,"featured_media":121862,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[104038],"tags":[],"tracking-metrics":[],"display-location":[],"class_list":{"2":"type-post"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PID spotlight, part 2: Know these 13 terms, interactions - Control Engineering<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PID spotlight, part 2: Know these 13 terms, interactions - Control Engineering\" \/>\n<meta property=\"og:description\" content=\"Learning proportional-integral-derivative (PID) controller tuning begins with the basics: Definition of terms, the PID equation (multiple forms) and seeing how each of the PID terms functions independently from each other and separated from a process.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\" \/>\n<meta property=\"og:site_name\" content=\"Control Engineering\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ControlEngineeringMagazine\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-12T05:03:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-24T00:02:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ed Bullerdiek\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@controlengtips\" \/>\n<meta name=\"twitter:site\" content=\"@controlengtips\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ed Bullerdiek\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\"},\"author\":{\"name\":\"Ed Bullerdiek\",\"@id\":\"https:\/\/www.controleng.com\/#\/schema\/person\/ea92424310f76dc1a5495d7beb68ab28\"},\"headline\":\"PID spotlight, part 2: Know these 13 terms, interactions\",\"datePublished\":\"2024-03-12T05:03:13+00:00\",\"dateModified\":\"2025-04-24T00:02:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\"},\"wordCount\":2487,\"publisher\":{\"@id\":\"https:\/\/www.controleng.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg\",\"articleSection\":[\"PID, APC\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\",\"url\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\",\"name\":\"PID spotlight, part 2: Know these 13 terms, interactions - Control Engineering\",\"isPartOf\":{\"@id\":\"https:\/\/www.controleng.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg\",\"datePublished\":\"2024-03-12T05:03:13+00:00\",\"dateModified\":\"2025-04-24T00:02:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage\",\"url\":\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg\",\"contentUrl\":\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg\",\"width\":1200,\"height\":800,\"caption\":\"Courtesy: Ed Bullerdiek, process control engineer, retired\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.controleng.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PID spotlight, part 2: Know these 13 terms, interactions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.controleng.com\/#website\",\"url\":\"https:\/\/www.controleng.com\/\",\"name\":\"Control Engineering\",\"description\":\"Control Engineering covers and educates about automation, control and instrumentation technologies\",\"publisher\":{\"@id\":\"https:\/\/www.controleng.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.controleng.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.controleng.com\/#organization\",\"name\":\"Control Engineering\",\"url\":\"https:\/\/www.controleng.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.controleng.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/12\/ce_logo.png\",\"contentUrl\":\"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/12\/ce_logo.png\",\"width\":300,\"height\":93,\"caption\":\"Control Engineering\"},\"image\":{\"@id\":\"https:\/\/www.controleng.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ControlEngineeringMagazine\",\"https:\/\/x.com\/controlengtips\",\"https:\/\/www.linkedin.com\/company\/control-engineering-magazine\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.controleng.com\/#\/schema\/person\/ea92424310f76dc1a5495d7beb68ab28\",\"name\":\"Ed Bullerdiek\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.controleng.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2a786bf161b1180325bc01f291e992905af760aba308a364e3a20ba4b102798a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2a786bf161b1180325bc01f291e992905af760aba308a364e3a20ba4b102798a?s=96&d=mm&r=g\",\"caption\":\"Ed Bullerdiek\"},\"url\":\"https:\/\/www.controleng.com\/author\/ed-bullerdiek\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PID spotlight, part 2: Know these 13 terms, interactions - Control Engineering","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/","og_locale":"en_US","og_type":"article","og_title":"PID spotlight, part 2: Know these 13 terms, interactions - Control Engineering","og_description":"Learning proportional-integral-derivative (PID) controller tuning begins with the basics: Definition of terms, the PID equation (multiple forms) and seeing how each of the PID terms functions independently from each other and separated from a process.","og_url":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/","og_site_name":"Control Engineering","article_publisher":"https:\/\/www.facebook.com\/ControlEngineeringMagazine","article_published_time":"2024-03-12T05:03:13+00:00","article_modified_time":"2025-04-24T00:02:58+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg","type":"image\/jpeg"}],"author":"Ed Bullerdiek","twitter_card":"summary_large_image","twitter_creator":"@controlengtips","twitter_site":"@controlengtips","twitter_misc":{"Written by":"Ed Bullerdiek","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#article","isPartOf":{"@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/"},"author":{"name":"Ed Bullerdiek","@id":"https:\/\/www.controleng.com\/#\/schema\/person\/ea92424310f76dc1a5495d7beb68ab28"},"headline":"PID spotlight, part 2: Know these 13 terms, interactions","datePublished":"2024-03-12T05:03:13+00:00","dateModified":"2025-04-24T00:02:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/"},"wordCount":2487,"publisher":{"@id":"https:\/\/www.controleng.com\/#organization"},"image":{"@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg","articleSection":["PID, APC"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/","url":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/","name":"PID spotlight, part 2: Know these 13 terms, interactions - Control Engineering","isPartOf":{"@id":"https:\/\/www.controleng.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage"},"image":{"@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg","datePublished":"2024-03-12T05:03:13+00:00","dateModified":"2025-04-24T00:02:58+00:00","breadcrumb":{"@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#primaryimage","url":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg","contentUrl":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/11\/CTL2403_WEB2_PID-EB-2-Fig1-Commented-Gain-Slider.jpg","width":1200,"height":800,"caption":"Courtesy: Ed Bullerdiek, process control engineer, retired"},{"@type":"BreadcrumbList","@id":"https:\/\/www.controleng.com\/pid-spotlight-part-2-know-these-13-terms-interactions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.controleng.com\/"},{"@type":"ListItem","position":2,"name":"PID spotlight, part 2: Know these 13 terms, interactions"}]},{"@type":"WebSite","@id":"https:\/\/www.controleng.com\/#website","url":"https:\/\/www.controleng.com\/","name":"Control Engineering","description":"Control Engineering covers and educates about automation, control and instrumentation technologies","publisher":{"@id":"https:\/\/www.controleng.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.controleng.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.controleng.com\/#organization","name":"Control Engineering","url":"https:\/\/www.controleng.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.controleng.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/12\/ce_logo.png","contentUrl":"https:\/\/www.controleng.com\/wp-content\/uploads\/2024\/12\/ce_logo.png","width":300,"height":93,"caption":"Control Engineering"},"image":{"@id":"https:\/\/www.controleng.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ControlEngineeringMagazine","https:\/\/x.com\/controlengtips","https:\/\/www.linkedin.com\/company\/control-engineering-magazine\/"]},{"@type":"Person","@id":"https:\/\/www.controleng.com\/#\/schema\/person\/ea92424310f76dc1a5495d7beb68ab28","name":"Ed Bullerdiek","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.controleng.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2a786bf161b1180325bc01f291e992905af760aba308a364e3a20ba4b102798a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2a786bf161b1180325bc01f291e992905af760aba308a364e3a20ba4b102798a?s=96&d=mm&r=g","caption":"Ed Bullerdiek"},"url":"https:\/\/www.controleng.com\/author\/ed-bullerdiek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/posts\/121850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/users\/4742"}],"replies":[{"embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/comments?post=121850"}],"version-history":[{"count":0,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/posts\/121850\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/media\/121862"}],"wp:attachment":[{"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/media?parent=121850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/categories?post=121850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/tags?post=121850"},{"taxonomy":"tracking-metric","embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/tracking-metrics?post=121850"},{"taxonomy":"display-location","embeddable":true,"href":"https:\/\/www.controleng.com\/wp-json\/wp\/v2\/display-location?post=121850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}