Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Practical Motor Control for Robotics | ESP32 & PLCModule 06

Stepper Motors Losing Steps? Fix Acceleration and Homing | Lecture 06

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Watch & study

Lecture video

Open on YouTube ↗

Video unavailable here? Watch on YouTube. Captions and playback speed are available in the player.

Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study Stepper Motors Losing Steps? Fix Acceleration and Homing | Lecture 06. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of stepper resolution and lost steps in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Stepper Motors Losing Steps? Fix Acceleration and Homing | Lecture 06

Define the input, measured output, units and pass/fail condition before running the experiment.

Stepper resolution and lost steps

A stepper command specifies electrical increments; it does not guarantee physical motion. Available torque falls with speed and depends on the drive and supply. Acceleration ramps and a repeatable homing reference are essential when position feedback is absent.

Model, units and assumptions

\[f_{step}=\frac{n_{rpm}}{60}N_{full}\mu\]

Nfull is full steps per revolution, μ is microstep setting and fstep is command pulse rate. Microstep resolution is not equivalent to absolute angular accuracy under load.

Worked engineering example

For 200 full steps/revolution and 16 microsteps, 60 rpm requires 3,200 pulses/s. A missed group of pulses leaves an open-loop position estimate wrong until a reference or independent measurement detects it.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Stepper Motors Losing Steps? Fix Acceleration and Homing | Lecture 06.

  • Verify coil wiring and driver current settings from the device manual.
  • Increase acceleration and speed separately while measuring final position.
  • Home repeatedly and report the spread of the recovered reference.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. At 120 rpm, 200 steps/revolution and 8 microsteps, what pulse frequency is required?

Show worked answer

3,200 Hz.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Stepper resolution and lost steps: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    Espressif ESP-IDF programming guide

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗