The controlled quantity is the maximum repulsive force in each tapping cycle. In PeakForce quantitative nanomechanical mapping, a vertical modulation below the cantilever resonance produces a force-distance cycle at each pixel. The optical lever measures deflection; the calibrated cantilever stiffness converts this to force. Subtract the measured peak force from the setpoint and use proportional-integral control to adjust the mean vertical scanner position. Excessive peak force makes the controller withdraw the sample or tip; insufficient force makes it approach. The scanner position required to maintain the setpoint supplies the topography signal. This controls the top of the repulsive branch in the preceding curve, rather than the oscillation amplitude used in conventional tapping mode.[ref]
Figure 1.
Peak-force feedback with an independent vertical modulation
. Source. Details.
PID controller 2026-10-14
An ideal PID controller combines proportional control, integral action, and a term proportional to the derivative of the tracking error. With , it gives proportional-integral control. The integral stores past error, while the derivative responds to its current rate of change. Practical implementations must account for measurement noise, which an ideal differentiator can amplify. [ref].
Proportional-integral control is the proportional and integral part of a PID controller, with the derivative term omitted. Proportional-integral control combines proportional control with integral action. For the ideal controlled plant, a constant reference signal, exact measurement and a constant control disturbance, the ordinary differential equations give
The characteristic polynomial is . Positive and imply asymptotic stability of the equilibrium point: real roots of a polynomial have negative sum and positive product, hence are both negative; a nonreal complex conjugate pair has real part . This is a short stability check for this ideal controlled plant, rather than a rule for every dynamical system.
At the equilibrium point, , , and . For and , the stored value supplies even though the tracking error is zero. This separates the eventual accuracy from the transient response: integral action cancels the lasting offset but can make the plant output pass beyond the goal. The authors discuss practical limits on integral action in Åström and Murray, Feedback Systems, Chapter 11.
For , , and , the characteristic polynomial is . The initial conditions are and , giving
The tracking error changes sign at . Since , the largest plant output occurs at and is , about above the reference signal.
For a separate comparison, start the control disturbance at . For , write . The exact responses are
The proportional control response tends to , while the proportional-integral control response returns to . At , the values are approximately and . The added term in the proportional-integral control response eventually vanishes, exposing how memory removes a constant control disturbance's lasting effect.
Figure 1.
Proportional control and integral action: arrival and disturbance rejection
. Left: the ideal controlled plant has reference signal and no control disturbance; proportional-integral control reaches a peak at . Right: a control disturbance begins at ; proportional control settles at , while proportional-integral control returns to . The generator uses the classical fourth-order Runge-Kutta method with step , splits the computation at , and checks both full responses and the stored memory against their exact formulas. All coordinates are dimensionless quantities. Details.
The steady-state tracking error is
when this finite limit exists. A finite steady-state tracking error does not require the reference signal, the plant output, or the control input to become constant: all can grow while their difference settles. If the tracking error grows without bound or keeps oscillating, report that behavior rather than assigning a finite steady-state tracking error. Eventual accuracy and asymptotic stability are different questions.
For the first-order low-pass filter introduced in reference signal, assume exact measurement, constant control disturbance , and no actuator saturation or feedback delay. Under proportional control with , a constant reference signal gives
The decaying homogeneous solution has rate , so this equilibrium point is approached from any finite initial condition. A nonzero tracking error is needed to maintain the control input that balances the model's tendency to relax toward . This differs from the accumulating controlled plant , for which proportional control already tracks a constant reference signal exactly when . The presence or absence of a step offset depends on both the controlled plant and the controller.
For a ramp reference signal , the same proportional control gives
Its long-time particular solution grows with slope when . Thus the controlled plant and homogeneous closed-loop response are stable, but the tracking error has no finite steady-state tracking error. A changing goal requires a different performance test from a fixed destination.
Now use proportional-integral control , , with . For the same controlled plant, differentiate the error equation on intervals where the inputs are smooth:
The characteristic polynomial has both roots of a polynomial in the open left half-plane: real roots have negative sum and positive product, and a nonreal complex conjugate pair has negative real part. This proves decay of the homogeneous error for this model. It does not prove stability of an arbitrary controlled plant controlled by positive gains. At a reference jump, use the original ordinary differential equations to set the new initial conditions, rather than treating the reference as smooth at that jump.
With a constant reference signal and constant control disturbance, proportional-integral control therefore gives . At its equilibrium point, , , and . The stored integral maintains the required command while the current tracking error vanishes. For a ramp reference signal, however, the forcing above is , and
The tracking error settles even though the accumulated integral and the required control input grow. This finite offset is the error needed to keep increasing that command. For with , the forcing is and even this proportional-integral control leaves a tracking error growing with slope . Integral action is therefore a precise mechanism for selected input classes, not a promise of perfect tracking for every reference signal. [ref]
Here are completely explicit synthetic examples with , , and no sensor bias. Choose , per percentage point, percentage point per degree, and percentage points per degree-second. Thus is dimensionless, and . In the following formulas, denotes the numerical time in seconds and denote numerical temperature rises in degrees. For the unit-step reference signal , proportional control and proportional-integral control respectively give
For the ramp reference signal , the corresponding solutions are
The control inputs here are numerical heater-command percentage points. Substitution into and into the controller equations checks these solutions without invoking an unverified limiting rule. The proportional control step offset is degrees; the proportional-integral control step offset is zero. The proportional control ramp error grows; the proportional-integral control ramp offset is degrees, exactly .
Figure 1.
Synthetic step and ramp tracking of one stable first-order low-pass filter
. Original analytical model curves, not measurements or fits to the temperature laboratory. Columns compare plant output with reference signal, signed tracking error, and control input; rows use a unit step and a ramp of degrees per second. Both designs have decaying homogeneous responses. Proportional-integral control removes the step offset but leaves the ramp offset degrees; proportional control has an increasing ramp error. Heater-command percentage points and output degrees use separate axes. Details.
The conclusions have specific limits. With constant sensor bias , stable proportional-integral control for a feasible constant reference signal drives the measured tracking error to zero but leaves the physical discrepancy . Under proportional control, the measured offset instead becomes . If actuator saturation prevents the required control input, zero step offset is not achievable by these formulas. A changing control disturbance contributes to the error equation, while feedback delay can change stability; neither is covered by the constant-disturbance result. These restrictions are what make steady-state tracking error useful: it identifies the input, measurement convention, and model for which an accuracy claim is actually justified.
Tracking error 2026-10-14
The tracking error used by the controller is the signed difference
between the reference signal and the measured output. A positive tracking error means the readout is below the desired value; a negative tracking error means it is above. With exact measurement , and give . For a positive-response controlled plant, positive feedback gain in proportional control then reduces the plant output. The sign of the controller must also account for the sign of the controlled plant's response: a positive command that reduces the plant output requires a different sign choice. Kantor uses the opposite tracking error convention, , together with a minus sign in his controller; translating both signs gives the convention here. [ref]
Distinguish the controller's tracking error from the physical plant output discrepancy . If the readout has constant sensor bias , then
All four quantities have the same units under dimensional analysis; a sensor bias is expressed in those units too. A readout that is too high by can make when the physical temperature is below the goal. Integral action integrates the tracking error it receives; it cannot infer this missing calibration information from that tracking error alone. Thermometer calibration against an independent reference addresses a different problem from tuning a feedback gain.
Figure 1. . Original signal diagram with a synthetic equilibrium point for proportional-integral control. All output coordinates are temperature rises above one fixed baseline; the control input is in heater-command percentage points. With and sensor bias , zero measured tracking error means , while the physical plant output is and its discrepancy is . No plotted laboratory measurements are implied. Details.
A motivating apparatus/model comparison is Park, Martin, Kelly and Hedengren's temperature-control laboratory: two TIP31C heaters with attached TMP36GZ sensors and heat sinks, an Arduino, a power supply, and a USB-connected computer. The readout converts sensor voltage to temperature; software records that measured output while specifying heater commands from to . For the single-heater test, one command changes in steps and the other heater stays off. Parameters are fitted to one run, then a different command sequence tests predictions without feeding measured temperatures into the simulation. The authors observe that their richer thermal model predicts the response better than the approximation with a single time constant and a delayed control input, especially after command changes. The real sensor has its own thermal lag. They also repeat the same command profile at different ambient temperatures and find changes in the response, motivating ambient-condition reporting. This experiment measures a command-to-readout response, not independently the exact heater temperature or delivered power. [ref]
The lesson for tracking error is to record three traces during a tracking test: the reference signal, the measured output, and the applied control input. Their first difference is the tracking error; a model prediction minus a readout is instead a model discrepancy. In a proposed comparison of proportional control and proportional-integral control, keep the initial temperature, ambient conditions, heater limits, and target changes fixed; run the second heater separately as a known control disturbance. Independent thermometer calibration is needed to assess physical accuracy. These are suggested controls, not additional experiments claimed for the paper. A sensor's lag, measurement noise, actuator saturation, and changed ambient conditions can all invalidate conclusions drawn from the ideal first-order model.