User manual for STM32F series 32-bit Flash microcontrollers Motor Control Software Development Kit

This manual describes the Motor Control Software Development Kit (generically called software library) designed for and to be used with STM32F05xx/100xx/103xx/STM2F2xx/4xx microcontrollers. The software library implements the Field Oriented Control (FOC) drive of 3-phase Permanent Magnet Synchronous Motors (PMSM), both Surface Mounted (SM-PMSM) and Internal (I-PMSM). The control of an AC induction motor equipped with encoder or tacho generator is described in the UM0483 user manual.


User manual for STM32F series 32-bit Flash microcontrollers Motor Control Software Development Kit - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
User Manual
Language
English
Pages
42
File format
PDF
File size
795 KB
Published
29 December, 2022
Updated
28 September, 2023
MD5 checksum
B8CDF762A828D93875335C7A011C03D2

About this manual

This document provides an advanced developer's guide for the STM32 PMSM FOC (Field Oriented Control) software library version 3.3. It focuses on the library's implementation using object-oriented programming (OOP) in C, detailing the architecture, classes, and their relationships. The library is designed for use with STM32F05xx, STM32F100xx, STM32F103xx, STM32F2xx, and STM32F4xx microcontrollers to control 3-phase Permanent Magnet Synchronous Motors (PMSM).

What's inside

  • Object-oriented programming
  • Generic classes source files
  • Motor control library related interrupt handling
  • Current reading and PWM generation
  • Speed and position feedback
  • Field-oriented control drive
  • Bus voltage sensor
  • Temperature sensor
  • Encoder Alignment Controller
  • State machine class

Frequently asked questions

What motors does this library control?

The library implements Field Oriented Control for 3-phase Permanent Magnet Synchronous Motors, covering both Surface Mounted and Internal types.

Which microcontrollers are supported?

This manual covers the STM32F05xx, STM32F100xx, STM32F103xx, STM32F2xx, and STM32F4xx microcontrollers.

What programming language is used?

The PMSM FOC library is written in C language.

Download PDF (795 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →