The ο¬nal element of PID control is the βDβ term, which stands for derivative. This is a calculus concept like integral, except most people consider it easier to understand. Simply put, derivative is the expression of a variableβs rate-of-change with respect to another variable.
Finding the derivative of a function (diο¬erentiation) is the inverse operation of integration. With integration, we calculated accumulated value of some variableβs product with time.
With derivative, we calculate the ratio of a variableβs change per unit of time. Whereas integration is fundamentally a multiplicative operation (products), diο¬erentiation always involves division (ratios).
A controller with derivative (or rate) action looks at how fast the process variable changes per unit of time, and takes action proportional to that rate of change. In contrast to integral (reset) action which represents the βimpatienceβ of the controller, derivative (rate) action represents the βcautionβ of the controller.
If the process variable starts to change at a high rate of speed, the job of derivative action is to move the ο¬nal control element in such a direction as to counteract this rapid change, and thereby moderate the speed at which the process variable changes. In simple terms, derivative action works to limit how fast the error can change.
What this will do is make the controller βcautiousβ with regard to rapid changes in process variable. If the process variable is headed toward the setpoint value at a rapid rate, the derivative term of the equation will diminish the output signal, thus tempering the controllerβs response and slowing the process variableβs approach toward setpoint. This is analogous to a truck driver preemptively applying the brakes to slow the approach to an intersection, knowing that the heavy truck doesnβt βstop on a dime.β The heavier the truckβs load, the sooner a cautious driver will apply the brakes, to avoid βovershootβ beyond the stop sign and into the intersection. For this reason, derivative control action is also called pre-act in addition to being called rate, because it acts βahead of timeβ to avoid overshoot.
If we modify the controller equation to incorporate diο¬erentiation, it will look something like this:
Where,
m = Controller output
e = Error (diο¬erence between PV and SP)
Kp = Proportional gain
Ti= Integral time constant (minutes)
Td = Derivative time constant (minutes)
t = Time
b = Bias
The de/dt term of the equation expresses the rate of change of error (e) over time (t). The lower-case letter βdβ symbols represent the calculus concept of diο¬erentials which may be thought of in this context as very tiny increments of the following variables. In other words, de/dt refers to the ratio of a very small change in error (de) over a very small increment of time (dt). On a graph, this is interpreted as the slope of a curve at a speciο¬c point (slope being deο¬ned as rise over run).
It is also possible to build a controller with proportional and derivative actions, but lacking integral action. These are most commonly used in applications prone to wind-up , and where the elimination of oο¬set is not critical:
Many PID controllers oο¬er the option of calculating derivative response based on rates of change for the process variable (PV) only, rather than the error (PV β SP or SP β PV). This avoids huge βspikesβ in the output of the controller if ever a human operator makes a sudden change in setpoint . The mathematical expression for such a controller would look like this:
Even when derivative control action is calculated on PV alone (rather than on error), it is still useful for controlling processes dominated by large lag times. The presence of derivative control action in a PID controller generally means the proportional (P) and integral (I) terms may be adjusted more aggressively than before, since derivative (D) will act to limit overshoot. In other words, the judicious presence of derivative action in a PID controller lets us βget awayβ with using a bit more P and I action than we ordinarily could, resulting in faster approach to setpoint with minimal overshoot.
It should be mentioned that derivative mode should be used with caution. Since it acts on rates of change, derivative action will βgo crazyβ if it sees substantial noise in the PV signal. Even small amounts of noise possess extremely large rates of change (deο¬ned as percent PV change per minute of time) owing to the relatively high frequency of noise compared to the timescale of physical process changes.
The latest control eο¬ect made its appearance under the trade name βPre-Act.β On some control applications, the addition of pre-act response made such a remarkable improvement that it appeared to be in embodiment of mythical βanticipatoryβ controllers. On other applications it appeared to be worse than useless. Only the diο¬culty of predicting the usefulness and adjustment of this response has kept it from being more widely used.



You guys are adding much value to the competency and knowledge base of many of us.
Thanks so much for this platform.