Clear accounts of what was tried and learned.

Explanations, tutorials, build notes, and essays grounded in work that can be examined. Explore a concept, try an experiment, and follow the reasoning behind it.

Start with the interactive foundations

Showing 49–60 of 151 posts

12 min read

Control bandwidth: tracking speed and physical limits

Calculate closed-loop bandwidth relative to DC gain, then compare sinusoidal tracking with the torque it requires. Separate bandwidth from loop crossover and account for resonance, delay, sampling, and noise.

11 min read

Controller discretization: sample, compute, and hold

Explore controller discretization with exact held-input dynamics. Compare immediate and delayed commands, calculate discrete poles, and connect sample timing to control stability.

11 min read

Derivative kick and filtering: choose what D responds to

Explain derivative kick and filtering with a target step and measured noise. Compare derivative on error with derivative on measurement, calculate filtered command peaks, and weigh noise gain against lag.

12 min read

Feedforward control: predict torque, then correct error

Calculate model-based torque from a smooth speed reference, then add feedback correction. Compare feedforward, proportional feedback, and their combination under inertia error, drag error, and unknown external torque.

13 min read

PID tuning: calculate gains, then test the response

Tune a PID controller against explicit response and effort targets. Convert Ziegler–Nichols settings into parallel gains, understand relay auto-tuning, and compare manual adjustments.