6-step algorithm library for STM32 motor control

6-step algorithm library, suitable for STM32 series microcontrollers, can control three-phase permanent magnet synchronous motor or brushless DC motor, realize rotor position reconstruction, read motor sensor signals, decode sensor signals, and write motor control algorithms


6-step algorithm library for STM32 motor control - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
User Manual
Language
English
Pages
30
File format
PDF
File size
2 MB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
B16BC208CC7DA5F0ABFA788F7E9C03EF

About this manual

The UM3042 manual details the software library implementing the 6-step (trapezoidal) algorithm for controlling 3-phase permanent magnet synchronous motors (PMSM) or brushless direct current motors (BLDC). Designed for use with STM32 microcontrollers, the library is part of the X-CUBE-MCSDK and X-CUBE-MCSDK-FUL SDKs and is written in C language. It provides core motor control algorithms, sensor reading/decoding, and sensorless rotor position reconstruction algorithms.

What's inside

  • Introduction
  • Acronyms and abbreviations
  • 6-step firmware algorithms
  • Algorithm overview
  • Voltage driving mode
  • Current driving mode
  • Sensor-less algorithm
  • Hall sensors algorithm
  • STM32 MC firmware
  • User interface library

Frequently asked questions

What is the UM3042 library used for?

It implements the 6-step algorithm to control 3-phase PMSM or BLDC motors.

Download PDF (2 MB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →