u=u0+Kp·[e1+Tv·(e1−e0)/Δt]
The proportional part evaluates current error; the derivative part also responds to how quickly that error changes.
The proportional part evaluates current error; the derivative part also responds to how quickly that error changes.
Select a target and calculate.
The error rises linearly from e₀ to e₁ (orange). The derivative share Kp·Tv·(e₁−e₀)/Δt is constant during the ramp and lifts u immediately; the proportional share follows the ramp.
The proportional part evaluates current error; the derivative part also responds to how quickly that error changes.
Kp=2, Tv=0.5 s, e0=2, e1=4, Δt=1 s and u0=9 give u=19: proportional contribution 8, derivative contribution 2.
Ideal continuous PD controller and linear error between two samples; no filter time constant, saturation or noise suppression. Real derivative action usually requires a low-pass filter.
Calculate the output of a proportional-derivative (PD) controller from two error readings and their sampling interval.
The proportional part evaluates current error; the derivative part also responds to how quickly that error changes. This calculator represents a clearly bounded technical relationship between the displayed quantities. The definition helps put inputs into the same reference state before interpreting the result.
u=u0+Kp·[e1+Tv·(e1−e0)/Δt]
| Symbol / input | Meaning |
|---|---|
| Controller output u | PD-controller output at the end of the sampling interval. Check it against actuator minimum and maximum before use. |
| Proportional gain Kp | Gain applied to the complete bracketed expression. Obtain it from controller design or a controlled tuning test. |
| Derivative time Tv | Weighting of error rate. A larger Tv strengthens anticipatory action but also amplifies measurement noise. |
| Error at interval start e0 | Setpoint minus measured value at the first timestamp. Take it from the control log or data acquisition. |
| Current error e1 | Setpoint minus measured value at the end of the interval; this value forms the proportional contribution. |
| Sampling interval Δt | Time between e0 and e1. Both readings must come from equally scaled signals. |
| Bias u0 | Output for error-free steady operation; obtain it from plant operation or use 0. |
Controller output u: PD-controller output at the end of the sampling interval. Check it against actuator minimum and maximum before use. Proportional gain Kp: Gain applied to the complete bracketed expression. Obtain it from controller design or a controlled tuning test. Derivative time Tv: Weighting of error rate. A larger Tv strengthens anticipatory action but also amplifies measurement noise. Error at interval start e0: Setpoint minus measured value at the first timestamp. Take it from the control log or data acquisition. Current error e1: Setpoint minus measured value at the end of the interval; this value forms the proportional contribution. Sampling interval Δt: Time between e0 and e1. Both readings must come from equally scaled signals. Bias u0: Output for error-free steady operation; obtain it from plant operation or use 0.
Select the target quantity, enter the other known values with units, then check the result against the worked example and model limits.
Kp=2, Tv=0.5 s, e0=2, e1=4, Δt=1 s and u0=9 give u=19: proportional contribution 8, derivative contribution 2.
The proportional part evaluates current error; the derivative part also responds to how quickly that error changes. Read the result as a model value for the selected operating point and check units, sign, order of magnitude and application boundary conditions.
Use the displayed units and convert afterwards. Prefixes such as k-, m- and µ- are common sources of mistakes.
PD Controller Output Calculator for an Error Ramp: Such basic calculations support plausibility checks, early component selection and preparation of a complete verification.
Ideal continuous PD controller and linear error between two samples; no filter time constant, saturation or noise suppression. Real derivative action usually requires a low-pass filter.
Common mistake: A formally correct result can still be unsuitable when load case, reference state or units do not match the application.
Compare unit and order of magnitude with a second calculation and vary inputs one at a time.
No. The calculator exposes a model; real boundary conditions require separate review.
Only when the calculator converts within the same physical quantity type.