UM1053 Advanced Developer's Guide for STM32F PMSM FOC Library

This manual describes the motor control software development kit (STSW-STM32100) designed for and to be used with STM32F MCUs microcontrollers.


UM1053 Advanced Developer's Guide for STM32F PMSM FOC Library - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
User Manual
Language
English
Pages
33
File format
PDF
File size
895 KB
Published
13 October, 2023
Updated
13 October, 2023
Model
STM32F
MD5 checksum
8FA3DC689304A229D6664979A386CAE0

About this manual

This document provides an advanced developer's guide for the STM32F PMSM single/dual FOC software library (STSW-STM32100). It focuses on the object-oriented programming (OOP) implementation used to develop the motor control library, detailing the architecture, classes, and relationships within the C language code.

The guide covers generic class structures, inheritance implementation, and derived classes for various functions such as current reading, speed feedback, and temperature sensing. It also describes the motor control tasks, interrupt handling, and how to create user-defined classes to customize the library for specific applications.

What's inside

  • About this document
  • Documentation architecture
  • Object-oriented programming (OOP)
  • Advantages of object-oriented programming
  • STM32 PMSM FOC FW library C implementation
  • How to create a user-defined class
  • STM32 PMSM FOC FW library class list
  • Motor control tasks

Frequently asked questions

What programming language is this motor control library written in?

The library is written in C language.

Which STM32F microcontrollers support simultaneous dual FOC of two different motors?

When deployed with STM32F103, STM32F2, STM32F303 or STM32F4 devices, the library allows simultaneous dual FOC.

What does the ST MC Workbench allow users to do?

The ST MC Workbench allows a complete and easy customization of the PMSM FOC library.

Download PDF (895 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →