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
Overview
3 parts · 16 min36One instruction end to end
37The big recap: what changes for a new motor
Foundations
7 parts · 69 minSkeleton
8 parts · 71 min8bTwo state machines 2: the application layer's table and five states
8cTwo state machines 3: switching both, and why the motor will not move
Current loop
Planned9The current-loop pipeline: Clarke → Park → PI → inverse Park → SVPWM
10Current-loop details: tuning, limits, dead-time compensation
Sensors
4 parts · 50 min12Multi-turn counting, gear ratio and the load-side encoder
Control loops
Planned13Where speed comes from: the PLL observer
14The position loop, speed loop and feedforward
15The disturbance observer
16Resonance and notch filters
17Input shaping
Identification
Planned18Power-up alignment: direction, pole pairs, electrical zero
19Electrical and mechanical identification: R, L, J
20Torque constant, friction identification and compensation
Safety
Planned21Protection, self-test and fault handling
22The brake
23The CiA402 state machine
Motion modes
Planned24Trajectory planning
25PP / PV / PT and homing
26CSP / CSV / CST synchronous modes
27MIT mode: a joint that acts like a spring
Data & comms
Planned28The 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
Planned33The Simulink project and the code-generation flow
34The Y01 board, the Keil project and the bootloader
35The factory test service