Lecture 6: interactive elements

Servo systems, controllers, encoders and motor sizing. Back to the notes.

Closed-loop servo simulator

Control the speed or position of the Lecture 3 motor with P, PI or PID control and compare it with open loop (grey). A load step arrives halfway through.

Quadrature encoder

Spin the shaft either way and watch channels A, B and Z, the quadcount, the direction and the measured speed.

Gray code versus binary

Two absolute encoders with slightly misaligned read heads: see why plain binary can glitch and Gray code cannot.

Flywheel motor sizing

Size a motor to spin up a flywheel; the defaults are the lecture example.