· Module 08

BLDC Position Control with SimpleFOC and ESP32 | Lecture 08

Dr. Redmond R. Shamshiri
Assistant Professor of Robotics · University of Southern Denmark (SDU)

Study BLDC Position Control with SimpleFOC and ESP32 | Lecture 08. 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.

Lecture video: https://www.youtube.com/watch?v=_VDx6vjQMKs

Learning Objectives

  • Explain the role of bldc electrical angle and drive modes 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: BLDC Position Control with SimpleFOC and ESP32 | Lecture 08

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

BLDC electrical angle and drive modes

A brushless motor needs electronic commutation. An ESC may accept a throttle-like command while a field-oriented drive can regulate torque, speed or position using additional sensing. Never interpret a command percentage as measured thrust, torque or speed.

Model, units and assumptions

\[\theta_e=p\theta_m,\qquad P_{mech}=\tau\omega\]

p is pole-pair count, θe is electrical angle and θm mechanical angle. Mechanical output power is torque times angular speed. Correct sensor alignment and drive mode are required for the intended closed loop.

Worked engineering example

A motor with seven pole pairs advances through seven electrical revolutions per mechanical revolution. At 0.2 N·m and 100 rad/s, mechanical output is 20 W, before electrical and mechanical losses.

Practical task and evidence

Apply the following procedure to the topic of this lesson: BLDC Position Control with SimpleFOC and ESP32 | Lecture 08.

  • Document pole pairs, motor/drive ratings and selected control mode.
  • Secure the motor and remove attached hazardous tooling or propellers during initial bench checks.
  • Verify sensor direction and alignment at low energy before demanding torque or position.

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. With five pole pairs, how many electrical turns correspond to two mechanical turns?

Show worked answer

Ten electrical turns.

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

Summary

BLDC electrical angle and drive modes: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Practical Motor Control for Robotics | ESP32 & PLC · Dr. Redmond R. Shamshiri · University of Southern Denmark (SDU)