Skip to main content
NewEpisode 8a is out: Two state machines 1: rising edgeWatch →
Robotics · Course

ServoHub From Zero

Read an open-source robot-joint servo drive line by line: the interrupts and loops, current sampling, encoders, state machines, identification and safety.

22 parts out3.4 h of video37 episodes plannedEN · 中文
What you get
  • A video for each part, with chapters
  • Slides to read at your own pace (PDF)
  • A code index with every file:line shown, linked to the source
  • Practice questions answered from real runs
Good fit
  • Motor-control engineers moving to robot joint motors
  • Embedded engineers who will work on a drive's firmware
  • Teams deciding whether to build on ServoHub
Not for
  • Learning FOC or PID from scratch: the course assumes them
  • Board wiring or PCB design
  • The inside of CANopen or EtherCAT stacks: they are treated as black boxes

Syllabus

FreeFree with accountMembersPlanned

Current loop

Planned
9The current-loop pipeline: Clarke → Park → PI → inverse Park → SVPWM
10Current-loop details: tuning, limits, dead-time compensation

Control loops

Planned
13Where speed comes from: the PLL observer
14The position loop, speed loop and feedforward
15The disturbance observer
16Resonance and notch filters
17Input shaping

Identification

Planned
18Power-up alignment: direction, pole pairs, electrical zero
19Electrical and mechanical identification: R, L, J
20Torque constant, friction identification and compensation

Safety

Planned
21Protection, self-test and fault handling
22The brake
23The CiA402 state machine

Motion modes

Planned
24Trajectory planning
25PP / PV / PT and homing
26CSP / CSV / CST synchronous modes
27MIT mode: a joint that acts like a spring

Data & comms

Planned
28The parameter database and flash storage
29The product contract
30CANopen: the path of one 0x607A write
31EtherCAT: aligning the sync signal with the position loop
32The debug channel: MAVLink and the software scope

Engineering

Planned
33The Simulink project and the code-generation flow
34The Y01 board, the Keil project and the bootloader
35The factory test service