PID control: why does a joint stop short, and what does the integral cost?
PID 控制
The three-term controller from error, integral and derivative: steady-state error, the integral-gain stability bound on a robot joint, Ziegler–Nichols and relay tuning, derivative filtering, and integrator windup with anti-windup, checked on a synthetic joint simulation.
pid-controlA spring and a damper are not enough to hold a weight
A robot arm joint swings a link up from hanging straight down to horizontal. The controller pushes in proportion to how far the joint is from the target and brakes in proportion to its speed. The motion is smooth and has almost no overshoot, yet the link comes to rest well below horizontal and stays there. This is not a fault: the controller produces torque only while there is error, and holding the link against gravity needs torque. The joint stops where the remaining error produces exactly enough torque to balance gravity.
A PID controller forms its command from three parts of the control error: the present error (proportional, P), its accumulated past (integral, I) and its rate of change, a crude prediction of where it is heading (derivative, D). Åström and Murray note that these were originally called three-term controllers. Three terms The integral term is what removes the sag in the arm: it keeps growing while any error remains, until it supplies the holding torque on its own and the error can be zero.
PID is widely used at the lowest control layer. In hierarchical control systems, higher-level controllers send setpoints to PID loops that connect directly to sensors and actuators. Control hierarchy Åström and Murray cite two surveys to show how common it is. They report that a 2002 survey by Desborough and Miller of over eleven thousand controllers in refining, chemicals and pulp and paper found 97% of regulatory controllers using PID feedback. They also report that a survey of more than 100 boiler-turbine units in Guangdong, China found 94.4% PI, 3.7% PID and 1.9% advanced controllers. Survey figures as cited in Feedback Systems Those figures are second-hand here; the original surveys were not read for this article.
This article states the PID law, explains each term’s benefits and trade-offs, derives the error dynamics of a single robot joint, covers tuning and the practical additions (derivative filtering, setpoint weighting, anti-windup, discrete implementation). It then checks those claims on a synthetic joint simulation that uses the parameters of Lynch and Park’s textbook example.
Three terms, and what each one does
With control error e = r − y (reference minus measured output), the ideal PID law is
The second form uses the integral time Ti = kp/ki and the derivative time Td = kd/kp. PID law Both forms appear in practice; tuning rules are often stated in the second.
Proportional only. For a stable process with static gain P(0) and a unit step in the reference, a pure proportional controller leaves a steady-state error
Åström and Murray’s example process 1/(s + 1)³ gives errors of 0.5, 0.33 and 0.17 for kp = 1, 2 and 5, and the loop becomes unstable at kp = 8. Proportional error Raising the gain shrinks the error but never removes it, and stability caps how far it can be raised.
Integral action. If a closed loop with integral action reaches a steady state, the error must be zero: otherwise the integral would keep changing and the state would not be steady. The argument needs no linearity or time invariance, but it does assume that an equilibrium exists. Integral action Early controllers removed offset with a manually set reset value, a constant bias; one of the early implementations of integral action, called automatic reset, worked by feeding the controller output back positively through a first-order low-pass filter, which yields the PI transfer function. Automatic reset For a unit step load disturbance, the integrated error ∫e dt equals the required change in control signal divided by ki, so stronger integral action shrinks it; too large a ki produces oscillation, poor robustness or instability. Integrated error
Derivative action. The sum kp·e + kd·de/dt equals kp times a linear extrapolation of the error Td seconds ahead. Åström and Murray contrast this with an observer-based controller, which predicts the future state with a model; PI control predicts nothing. Derivative as prediction An ideal derivative has unbounded gain at high frequency and amplifies measurement noise, so practical controllers filter it:
Filtered derivative The same book gives two reasons why only about 4% of the controllers in the Guangdong survey use derivative action: prediction helps mainly in processes that permit high controller gains, and linear extrapolation amplifies measurement noise.
Setpoint changes. A step in the reference makes the derivative of the error an impulse, the so-called derivative kick. Letting the proportional and derivative terms act on the measured output, or on weighted references βr − y and γr − y, avoids it. β is typically between 0 and 1 and γ normally 0. The integral term must keep acting on the full error e = r − y, or zero steady-state error is no longer guaranteed. Setpoint weighting
PID on a robot joint
Lynch and Park model a single revolute joint with inertia M, a link of mass m whose centre of mass is at distance r, viscous friction b and gravity g, and write the PID torque in terms of the joint error θe = θd − θ:
Kp acts as a virtual spring, Kd as a virtual damper, and Ki reduces or removes steady-state error. Joint PID
PD in a horizontal plane. Without gravity and with a fixed setpoint, PD control gives second-order error dynamics:
Critical damping, ζ = 1, gives a fast response without overshoot. When ζ is below 1, the overshoot of the error response is
which Lynch and Park evaluate as 73% at ζ = 0.1, 16% at 0.5 and 1.5% at 0.8; the 2% settling time is about four time constants. Second-order error dynamics Kp cannot be raised without limit: actuator saturation, chattering torque, unmodelled flexibility and the finite servo rate all set practical bounds. Gain limits
PD under gravity. At rest PD produces Kp·θe, so it can supply holding torque only through a nonzero error. The joint settles where Kp·θe = mgr·cos θ. Gravity offset That is the sag described in the opening.
Adding the integral. Treating the gravity torque near the goal as a constant disturbance, the PID error dynamics become third order, with characteristic equation and stability condition
together with Kd > −b and Kp > 0. Third-order dynamics and Ki bounds The integral gain has an upper bound as well as a lower one. Lynch and Park’s root-locus figure shows two of the three roots leaving the real axis and entering the right half-plane at the bound. Our own derivation from the characteristic equation adds the consequence. All its coefficients are positive, so it has no positive real root, and any root in the right half-plane must belong to a complex pair; at the bound that pair is ±j√(Kp/M). Past the bound, the linearised error therefore oscillates with growing amplitude. Lynch and Park add that Ki is set to zero in many robot controllers because stability is paramount, and that anti-windup is used to limit how large the error integral may grow. Integral action also does not remove tracking error along an arbitrary moving trajectory; the robotics answer there is model-based feedforward such as computed torque, covered with robot dynamics. Limits of integral action
Tuning, windup and implementation
Ziegler–Nichols rules. According to Åström and Murray, Ziegler and Nichols published the first tuning rules in 1942. The step-response method draws the steepest tangent of the open-loop step response and reads two intercepts, a and τ. The frequency-response method raises a proportional gain until the loop oscillates steadily and records the critical gain kc and period Tc. Ziegler–Nichols methods The original settings are:
| Controller | Step response: kp | Ti | Td | Frequency response: kp | Ti | Td |
|---|---|---|---|---|---|---|
| P | 1/a | 0.5kc | ||||
| PI | 0.9/a | τ/0.3 | 0.45kc | Tc/1.2 | ||
| PID | 1.2/a | τ/0.5 | 0.5τ | 0.6kc | Tc/2 | Tc/8 |
Table of original settings The same book names two severe drawbacks: the rules use too little information about the process, and the resulting closed loops lack robustness. Its further-reading note adds that the rules came from experiments with pneumatic simulators and Vannevar Bush’s differential analyzer at MIT, and that O’Dwyer’s handbook lists more than 1730 tuning rules. Drawbacks and history as reported The values are starting points to refine, not optimal settings.
Relay autotuning. The oscillation experiment can be automated by putting a relay in the loop. It drives the process into an oscillation at the critical period, and a first-harmonic approximation gives kc = 4d/(πa) for relay amplitude d and output amplitude a. Many commercial controllers tune this way at the push of a button and then replace the relay with the tuned PID. Relay feedback
Integrator windup. When the actuator saturates, the loop is effectively open. The integral keeps growing while the error is nonzero, so after the error changes sign the output stays saturated until the integral unwinds, causing large overshoot. Windup One remedy, back-calculation, feeds the difference between the saturated actuator output and the controller’s requested output back into the integrator through a gain kaw: larger values reset the integrator faster, but too large lets noise trigger unwanted resets, and kaw is chosen as a multiple of ki. Back-calculation The simulation below also tries conditional integration, which stops integrating while the actuator is saturated and the error would push it further into saturation. This variant is the program’s own choice: neither book’s sections read for this article describe it, so the comparison does not rest on either source.
Discrete implementation. In software, the controller should send its output to the actuator as soon as it is computed and update its internal states afterwards, to cut latency. Åström and Murray’s discrete PID updates the integral with sampling period h and a back-calculation term:
Here u_a is the requested output and T_aw a constant that sets how quickly the integrator is reset. The filtered derivative uses a backward difference whose coefficient Tf/(Tf + h) lies between 0 and 1, so that difference equation is stable for every h > 0. Computer implementation Robot controllers typically sample and update at hundreds to a few thousand hertz, and often obtain velocity by differencing encoder positions and low-pass filtering. Servo rates
A simulated joint: gravity offset, the Ki bound and windup
The program simulates Lynch and Park’s single joint: M = 0.5 kg·m², m = 1 kg, r = 0.1 m, b = 0.1 N·m·s/rad, Kp = 2.205 N·m/rad and Kd = 2 N·m·s/rad, which make ζ = 1 without gravity. Example parameters The joint starts at θ = −π/2 (hanging down) and the goal is θ = 0 (horizontal). It is an original, synthetic simulation: semi-implicit Euler with a 0.1 ms step for 15 s, torque applied instantly, and the derivative taken from the true joint velocity. There is no sensor noise, no quantisation and no sampling delay.
Part 1 computes the Ki bound and the largest real part of the three closed-loop roots for several Ki. Part 2 compares PD and PID (Ki = 1) without a torque limit. Part 3 limits torque to 1.2 N·m and compares Ki = 2 without anti-windup, with back-calculation and with conditional integration. Overshoot is measured on the error response relative to the distance between the initial and final error; settling time uses a 2% band around the final error at 15 s.
# Synthetic, deterministic simulation of a single robot joint under gravity
# (parameters from Lynch & Park, Modern Robotics, Sec. 11.4.1). No hardware, no data.
import math
import numpy as np
M, m, r, b, g = 0.5, 1.0, 0.1, 0.1, 9.81 # kg m^2, kg, m, N m s/rad, m/s^2
KP, KD = 2.205, 2.0 # critical damping for g = 0: (b+KD)/(2*sqrt(KP*M)) = 1
DT, T_END = 1e-4, 15.0
THETA0, THETA_D = -math.pi / 2, 0.0
def simulate(ki, tau_max=None, kaw=0.0, clamp=False, gravity=True):
th, om, eint = THETA0, 0.0, 0.0
n = int(round(T_END / DT))
errs = np.empty(n + 1)
errs[0] = THETA_D - th
peak_int, sat_time = 0.0, 0.0
for k in range(n):
e = THETA_D - th
edot = -om
u = KP * e + KD * edot + ki * eint
tau = u if tau_max is None else max(-tau_max, min(tau_max, u))
if tau != u:
sat_time += DT
frozen = clamp and tau != u and e * u > 0 # conditional integration
if not frozen:
eint += DT * (e + kaw * (tau - u)) # back-calculation when kaw > 0
peak_int = max(peak_int, abs(eint))
grav = m * g * r * math.cos(th) if gravity else 0.0
om += DT * (tau - b * om - grav) / M # semi-implicit Euler
th += DT * om
errs[k + 1] = THETA_D - th
return errs, peak_int, sat_time
def metrics(errs):
e0, ess = errs[0], errs[-1]
overshoot = max(0.0, (ess - errs.min()) / (e0 - ess)) * 100.0
band = 0.02 * abs(e0 - ess)
outside = np.nonzero(np.abs(errs - ess) > band)[0]
t_settle = (outside[-1] + 1) * DT if outside.size else 0.0
return overshoot, t_settle, ess
print("1) Third-order characteristic polynomial s^3 + (b+Kd)/M s^2 + Kp/M s + Ki/M")
print(f" Ki upper bound (b+Kd)Kp/M = {(b + KD) * KP / M:.3f}")
for ki in (0.5, 1.0, 5.0, 9.0, 9.5):
roots = np.roots([1.0, (b + KD) / M, KP / M, ki / M])
print(f" Ki={ki:4.1f} max Re(root) = {roots.real.max():+.4f}")
print("2) Setpoint theta: -pi/2 -> 0, gravity on, no torque limit")
pd_err, _, _ = simulate(0.0)
pid_err, _, _ = simulate(1.0)
f = lambda x: KP * x - m * g * r * math.cos(x)
lo, hi = 0.0, 1.0
for _ in range(60):
mid = 0.5 * (lo + hi)
lo, hi = (mid, hi) if f(mid) < 0 else (lo, mid)
print(f" PD predicted steady error from Kp*e = mgr*cos(e): {lo:.4f} rad")
for name, errs in (("PD ", pd_err), ("PID", pid_err)):
os_, ts, ess = metrics(errs)
print(f" {name} final error {ess:+.4f} rad, overshoot {os_:5.1f}%, 2% settling {ts:5.2f} s")
print("3) Same task with |tau| <= 1.2 N m and Ki = 2")
for name, kw in (("no anti-windup ", dict()),
("back-calculation kaw=5", dict(kaw=5.0)),
("conditional integration", dict(clamp=True))):
errs, peak, sat = simulate(2.0, tau_max=1.2, **kw)
os_, ts, ess = metrics(errs)
print(f" {name}: overshoot {os_:5.1f}%, settling {ts:5.2f} s, "
f"final {ess:+.4f}, peak |int e| {peak:.3f}, saturated {sat:.2f} s")
Recorded output
1) Third-order characteristic polynomial s^3 + (b+Kd)/M s^2 + Kp/M s + Ki/M
Ki upper bound (b+Kd)Kp/M = 9.261
Ki= 0.5 max Re(root) = -0.3132
Ki= 1.0 max Re(root) = -0.6367
Ki= 5.0 max Re(root) = -0.2320
Ki= 9.0 max Re(root) = -0.0119
Ki= 9.5 max Re(root) = +0.0108
2) Setpoint theta: -pi/2 -> 0, gravity on, no torque limit
PD predicted steady error from Kp*e = mgr*cos(e): 0.4083 rad
PD final error +0.4083 rad, overshoot 0.1%, 2% settling 1.94 s
PID final error -0.0001 rad, overshoot 7.7%, 2% settling 5.89 s
3) Same task with |tau| <= 1.2 N m and Ki = 2
no anti-windup : overshoot 37.3%, settling 7.29 s, final -0.0014, peak |int e| 1.360, saturated 0.83 s
back-calculation kaw=5: overshoot 12.6%, settling 7.22 s, final -0.0002, peak |int e| 0.792, saturated 0.24 s
conditional integration: overshoot 16.8%, settling 7.21 s, final -0.0005, peak |int e| 0.890, saturated 0.42 sThe Ki bound. (b + Kd)Kp/M = 9.261. The largest real part of the roots is −0.3132 at Ki = 0.5, −0.6367 at Ki = 1, −0.2320 at Ki = 5, −0.0119 at Ki = 9 and +0.0108 at Ki = 9.5. Just below the bound the loop is barely stable; just above it, unstable. More integral is not more stable: decay is fastest near Ki = 1 among these values and slows on either side.
Gravity offset. Solving Kp·e = mgr·cos e gives a PD steady error of 0.4083 rad, and the simulated PD joint ends at +0.4083 rad with 0.1% overshoot and 1.94 s settling. It is quick and calm, and it still stops well short of horizontal. With Ki = 1 the final error is −0.0001 rad, but the overshoot rises to 7.7% and settling takes 5.89 s. This matches Lynch and Park’s remark that their relatively large Ki worsens the transient while removing the steady-state error. Transient versus offset
Windup. With |τ| ≤ 1.2 N·m the motor saturates at the start, since the initial error asks for far more. Without anti-windup the overshoot is 37.3%, the integral peaks at 1.360 and the actuator spends 0.83 s saturated. Back-calculation with kaw = 5 cuts the overshoot to 12.6%, the integral peak to 0.792 and saturation to 0.24 s. Conditional integration gives 16.8%, 0.890 and 0.42 s. The 2% settling times barely differ (7.29, 7.22 and 7.21 s), and final errors are −0.0014, −0.0002 and −0.0005 rad. In this toy the clear benefit of anti-windup is a smaller overshoot, not a faster settle. The holding torque at the goal, mgr = 0.981 N·m, is below the 1.2 N·m limit, so an equilibrium exists and integral action can reach zero error.
The program’s kaw multiplies (τ − u) inside the error integral, so its units differ from the kaw in Åström and Murray’s integrator-state form; the value 5 is not comparable with theirs. The whole program runs in well under a second.
What this does not show
The simulated derivative uses the true velocity, so the program cannot show why derivative filtering matters; with noisy, differenced encoder signals the unfiltered D term would amplify noise. The 0.1 ms step behaves almost like continuous time, so the discrete-time effects that limit gains on real servos (sampling delay, quantisation) are absent.
The anti-windup comparison covers one plant, one step size, one torque limit and one kaw. It does not rank back-calculation against conditional integration in general; with other limits or gains the order could change.
The joint is a single, rigid link with known parameters. Multi-joint arms have coupled, configuration-dependent inertia, and independent joint PID is then only an approximation; trajectory tracking needs feedforward. Integral action guarantees zero error only when a steady state exists, which fails when the loop is unstable or the actuator cannot supply the holding torque.
The industry-survey percentages and the Ziegler–Nichols history are reported as Åström and Murray give them; neither the surveys nor the 1942 paper was read for this article, and no claim is made here about who first invented PID control.
Exercises
-
Why does a PD-controlled joint in a vertical plane stop short of its target, and why does adding an integral term fix this?
Answer: At rest the joint needs a holding torque mgr·cos θ. PD produces Kp·θe + Kd·θ̇e, which at rest is Kp·θe, so torque exists only if θe ≠ 0. The joint settles where Kp·θe = mgr·cos θ. With Ki > 0 the integral can hold a nonzero value while θe = 0 and supply the holding torque itself. In the program PD stops 0.4083 rad short, while PID ends at −0.0001 rad.
-
(a) For M = 0.5, b = 0.1, Kd = 2 and Kp = 2.205, compute ζ and the upper bound on Ki. (b) A Ziegler–Nichols frequency test gives kc = 4 and Tc = 2 s. Find the PID settings kp, Ti, Td, and the gains ki and kd.
Answer: (a) ζ = (0.1 + 2)/(2√(2.205 × 0.5)) = 2.1/(2 × 1.05) = 1.0, and the bound is 2.1 × 2.205/0.5 = 9.261, so Ki = 9 is stable and 9.5 is not, matching the printed real parts −0.0119 and +0.0108. A small-angle estimate of the PD gravity offset gives θe ≈ mgr/Kp = 0.981/2.205 ≈ 0.445 rad, larger than the exact 0.4083 rad because cos θe is below 1. (b) kp = 0.6 × 4 = 2.4, Ti = 2/2 = 1 s, Td = 2/8 = 0.25 s, so ki = kp/Ti = 2.4 and kd = kp·Td = 0.6. These are starting values; the book warns the resulting loop may lack robustness.
-
“Integral action always gives zero steady-state error.” Give cases where it does not.
Answer: The argument requires a steady state to exist. (i) If Ki exceeds the bound, e.g. 9.5 here, the loop is unstable and never settles. (ii) If the actuator cannot supply the holding torque, e.g. |τ| ≤ 0.9 N·m while holding at θ = 0 needs 0.981 N·m, there is no equilibrium at the target and the integral winds up without limit. (iii) Along a general moving trajectory integral action does not remove tracking error.
-
A colleague reports that adding anti-windup “made the controller faster” because settling went from 7.29 s to 7.22 s. How would you judge this evidence?
Answer: A 0.07 s difference is small and depends on the 2% band definition. The robust effect in this toy is the overshoot (37.3% to 12.6%) and the integral peak (1.360 to 0.792). One synthetic plant and one step size cannot support a general claim about speed; test several setpoint sizes, torque limits and gains.
-
A six-joint arm must track fast trajectories with a well-known model while its payload changes a lot. Is independent joint PID enough?
Answer: PID without a model handles setpoints and slow disturbances, but integral action does not remove tracking error along arbitrary trajectories, and gains are limited by saturation, flexibility and servo rate. Add model-based feedforward or computed torque (robot dynamics) and keep PID as the feedback correction. If constraints matter, consider model predictive control; for coupled multivariable dynamics with a good linear model, LQR.
Where to go next
Åström and Murray’s chapter 11 is the core reference used here, from the basic law through windup and computer implementation. Feedback Systems, chapter 11 Lynch and Park’s chapter 11 places PID within robot motion control and leads to feedforward and computed-torque control. Modern Robotics, chapter 11 For the mathematics of the error dynamics, see differential equations and eigenvalues; for the history of feedback as an idea, see cybernetics and Norbert Wiener. Model-based alternatives are in optimal control, LQR and model predictive control, and the place of PID in the robotics stack is mapped in robot learning problems.
Make a prediction, then check
A single joint under PID has characteristic equation s³ + ((b+Kd)/M)s² + (Kp/M)s + Ki/M = 0. With M = 0.5, b = 0.1, Kd = 2, Kp = 2.205, which statement is correct?
Learning objectives
- Explain how the proportional, integral and derivative terms affect steady-state error, disturbance rejection and damping, and derive PD/PID error dynamics and the integral-gain stability bound for a single joint.
- Recognise integrator windup caused by actuator saturation, compare anti-windup schemes such as back-calculation and conditional integration, and state what Ziegler–Nichols tuning is good for and where it falls short.
Prerequisites & connections
Explore related knowledge →References
- Feedback Systems: An Introduction for Scientists and Engineers, 2nd ed. (electronic v3.1.5) — scoped
Karl Johan Åström; Richard M. Murray · 2020 - Modern Robotics: Mechanics, Planning, and Control — May 2017 preprint, scoped
Kevin M. Lynch; Frank C. Park · 2017
Version1 · Editorial status: Recorded technical checks completed
View technical check record (AI)
Claude · 2026-12-03 · Independent AI check (Claude subagent, not the author; not a human or expert review). Research was done by a separate research subagent (facts.md) and the prose by a writer subagent; before this check the main session applied style-only edits suggested by the Gemini app to the opening section, logged in gemini-edits-016a.json, and all five en and four zh edits for this topic were compared with their context: none changed a fact, hedge or attribution (the en 'workhorse' became 'widely used', so the zh '主力' was aligned to match). I ran example.py with the pinned CPython/numpy 1.26.4 interpreter and diffed it against example.stdout.txt (identical), confirmed the python and output blocks in both languages are byte-identical to the files, matched every number in the prose and exercises to the output, and recomputed with numpy the roots of the cubic at Ki = 9.261, 9.5, 20 and 100 (at the bound the pair is ±2.1j = ±j√(Kp/M); above it a complex pair has positive real part). I re-derived e_ss = 1/(1 + kp), the kp = 8 Routh limit for 1/(s + 1)³, ζ = 1, the bound 9.261, the 73/16/1.5% overshoots, the small-angle offset 0.445 rad and the Ziegler–Nichols exercise (2.4, 1 s, 0.25 s, ki = 2.4, kd = 0.6). I downloaded both PDFs myself and re-read with pdftotext: Feedback Systems 2e (v3.1.5) chapter 11 epigraph and §11.1 pp. 11-1–11-5, §11.3 Ziegler–Nichols text, Table 11.1 and relay feedback pp. 11-11–11-15, §11.4 windup and anti-windup pp. 11-15–11-18, §11.5 derivative filtering, setpoint weighting and computer implementation pp. 11-19–11-23, and §11.6 further reading; Modern Robotics §11.1 p. 404, the overshoot passage of §11.2 p. 413, and §11.4 opening and §11.4.1.1 pp. 422–426. I did not re-read FBS §1.6, §11.2 or the FOTD tuning text, MR §11.3.1, or any of the cited surveys or the 1942 paper. Equations, h2 anchors, source IDs, catalogue IDs and the quiz answer were checked and both files compile as MDX.
- Example re-run with the pinned interpreter matches; the Ki bound 9.261 and the Ki = 9.5 instability (max real part +0.0108) agree with the code and the characteristic equation.
- Three-term controllers, Ziegler–Nichols 1942 (as the book reports), Table 11.1, relay tuning kc = 4d/(πa), windup and back-calculation, discrete update (11.17) and the backward-difference coefficient match Feedback Systems chapter 11.
- Survey percentages (97%; 94.4/3.7/1.9%) match the book's citations and are labelled second-hand.
- The growing-oscillation statement past the bound is now phrased as our own derivation from the characteristic equation: all coefficients positive, so no positive real root, and right-half-plane roots must be a complex pair.
- Conditional integration is stated to be the program's own choice, not attributed to either source.
Source locations checked:
- Feedback Systems: An Introduction for Scientists and Engineers, 2nd ed. (electronic v3.1.5) — scoped · pdftotext of fbs-public_24Jul2020.pdf (v3.1.5): §1.6 pp. 1-18–1-19 (eqs. 1.1–1.4, on-off oscillation, linear range, windup mention); ch. 11 epigraph p. 11-1 (97% of >11,000 controllers, Desborough & Miller 2002); §11.1 pp. 11-1–11-7 (prediction vs observer; Guangdong 94.4/3.7/1.9%; hierarchy; eq. 11.1 and Ti, Td; three-term; eq. 11.2 with steady errors 0.5/0.33/0.17 and instability at kp = 8; reset value; magic of integral action; eq. 11.4; automatic reset Fig. 11.3a; IE ∝ 1/ki; Td prediction; filtered derivative eq. 11.5; derivative impulse; Example 11.1 skimmed); §11.3 pp. 11-11–11-12 (ZN 1942, Fig. 11.7, Table 11.1, two drawbacks, FOTD eq. 11.9 definition only) and pp. 11-14–11-15 relay feedback (kc = 4d/(πa), push-button autotuning); §11.4 pp. 11-15–11-19 (windup definition, Example 11.5/11.6, back-calculation kaw, Fig. 11.11, manual/tracking, general anti-windup skimmed); §11.5 pp. 11-19–11-23 (Tf = Td/N, N 5–20; eq. 11.13–11.15 setpoint weighting; op-amp skimmed; computer implementation eqs. 11.16–11.18 and pseudocode); §11.6 p. 11-24 (ZN pneumatic simulators and differential analyzer, O'Dwyer >1730 rules). NOT read: §11.2, FOTD-based and modified ZN tuning text on pp. 11-13–11-14, chapter exercises, any cited original (Desborough & Miller, Ziegler & Nichols 1942, Bennett). Noted inconsistency: Fig. 11.10 caption ki = 0.1 vs Example 11.6 text ki = 0.2.
- Modern Robotics: Mechanics, Planning, and Control — May 2017 preprint, scoped · pdftotext of MR.pdf (May 3, 2017 preprint): ch. 11 opening pp. 403–404; §11.1 p. 404 (sensors, hundreds to few thousand Hz update, differencing + low-pass, unmodelled effects out of scope); §11.2 pp. 405–413 (error dynamics definition, overshoot and 2% settling definitions, eqs. 11.8–11.10, three damping cases, overshoot e^{-πζ/√(1-ζ²)} with 73%/16%/1.5%); §11.3.1 pp. 414–416 (feedforward, P control with τ = 1/Kp and c/Kp ramp error, discrete-time gain limit, PI eq. 11.13–11.14); §11.4 opening and §11.4.1.1 pp. 420–427 (eqs. 11.19–11.30, M = 0.5, m = 1, r = 0.1, b = 0.1; PD ζ, ωn; Kp limits; gravity error; third-order dynamics; Ki bounds; Fig. 11.13 caption Kd = 2, Kp = 2.205, Ki = 1; Fig. 11.14 root locus caption; Ki = 0 in many robot controllers; anti-windup; Fig. 11.15 pseudocode; integral does not remove tracking error); start of §11.4.1.2 (eqs. 11.31–11.32). NOT read: rest of chapter 11 (§11.4.1.3 onward, force, hybrid, impedance control) and chapters 2–10, 12–13 beyond the chapter-1 preview.
Related topics