In this video, we’ll explore how to read magnetic encoder data, calibrate for misalignment and eccentricity, and implement it all on STM32 for Field-Oriented Control (FOC). Whether you’re building a high-performance robot, gimbal, or motor controller, these techniques will help you achieve rock-solid position and speed accuracy.
Hardware & Firmware:
https://github.com/sirojudinMunir/stm32-FOCMusic track: Atmospheric Guitar by Pufino
Source:
https://freetouse.com/musicRoyalty Free Background Music
Music track: Extreme Force by Aylex
Source:
https://freetouse.com/musicFree To Use Music for Videos
Chapters:
00:00 - 00:40 - Intro
00:41 - 01:44 - How the AS5047P works
01:45 - 02:36 - How to Read AS5047P using SPI
02:37 - 03:13 - Low-Pass Filter
03:14 - 04:32 - Misalignment Calibration
04:33 - 06:41 - Eccentricity Calibration
06:42 - 08:12 - Why is Current Control Needed?