All learning experiments

THE DIRECTION

Derivative control, filtering and noise

Understand derivative kick, measurement mode and why an unfiltered derivative term amplifies sensor noise.

D(s)=KdsTfs+1D(s)=K_d\frac{s}{T_f s+1}

Derivative action reacts to how quickly its input changes. It can add damping and anticipate motion, but differentiation also magnifies high-frequency measurement noise.

01

Derivative on measurement

Differentiating the measured process instead of the error avoids a large derivative kick when the setpoint changes instantly. The disturbance response remains useful because process movement is still visible.

NOISE VIEW 01

Differentiation magnifies fast measurement changes

A small ripple on the measured process becomes a much larger high-frequency derivative contribution.

Differentiation magnifies fast measurement changesA small ripple on the measured process becomes a much larger high-frequency derivative contribution. Series shown: Measured PV, Raw derivative, Underlying trend. Key insight: A smooth-looking PV can still create actuator chatter.0255075100-0.8-0.30.30.81.3Normalized time →Normalized signal
READ THE PLOTA smooth-looking PV can still create actuator chatter
02

The filter time constant

A first-order filter limits the derivative gain at high frequency. Too little filtering allows chatter; too much filtering removes the damping benefit and adds lag.

FILTER VIEW 02

The derivative filter trades chatter for lag

Filtering reduces rapid output movement while preserving enough early derivative action to add damping.

The derivative filter trades chatter for lagFiltering reduces rapid output movement while preserving enough early derivative action to add damping. Series shown: Unfiltered, Light filter, Practical filter. Key insight: Filter enough to quiet noise—not enough to erase D.0255075100-0.7-0.20.20.71.1Normalized time →D contribution
READ THE PLOTFilter enough to quiet noise—not enough to erase D
03

Judge the actuator, not only the PV

A process value can look smooth while the controller output moves rapidly. RMS effort and total controller variation reveal noise amplification that a response plot can hide.

KICK VIEW 03

Derivative on measurement avoids setpoint kick

Differentiating error sees an ideal setpoint step as an enormous slope. Differentiating measurement responds only when the process actually begins moving.

Derivative on measurement avoids setpoint kickDifferentiating error sees an ideal setpoint step as an enormous slope. Differentiating measurement responds only when the process actually begins moving. Series shown: D on error, D on measurement. Key insight: Measurement mode separates setpoint commands from damping.0255075100-0.8-0.20.30.91.5kickNormalized time →D contribution
READ THE PLOTMeasurement mode separates setpoint commands from damping