ST STM8Sxxx three-phase BLDC motor control software library User Manual

This user manual describes the brushless direct current motor (BLDC) vector software library, a vector control firmware library for 3-phase permanent-magnet (PM) motors developed for the STM8Sxxx microcontrollers.


ST STM8Sxxx three-phase BLDC motor control software library User Manual - cover page
Brand
S&T
Category
Motor
Document type
User Manual
Language
English
Pages
85
File format
PDF
File size
1.6 MB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
7FCF78376B87A57DE3653188B7CF1B83

About this manual

This user manual describes the brushless direct current (BLDC) scalar software library for STM8Sxxx microcontrollers, designed for three-phase permanent-magnet motors. It supports both open-loop and speed control modes, with options for Hall sensor or sensorless operation. The library includes multiple C modules and an STVD workspace for rapid MCU and tool evaluation. It also provides ready-to-use functions to eliminate low-level algorithm development, enabling users to focus on application-specific tasks.

The manual covers BLDC theory, rotor speed measurement, commutation, BEMF detection, and startup strategies. It details library architecture, including virtual registers, I/Os, and drive structure. It also explains how to customize parameters, configure the system with a brake resistor, and use high- and low-level control functions for motor operation.

What's inside

  • Features
  • Introduction to STM8S BLDC Control
  • Running the Demonstration Program
  • Getting Started with the STM8S BLDC Firmware
  • Designing an Application Using the BLDC Software Library
  • Library Functions
  • Appendix A: Additional Information

Specifications

CPU Frequency16 MHz
Flash Memoryup to 128 Kbytes
Operating Voltage2.95 to 5.5 V
Interrupts32 interrupts
ADC10-bit, up to 16 multiplexed channels
I/Osup to 68 I/Os

Frequently asked questions

What is the BLDC software library used for?

It is a scalar control firmware library for 3-phase permanent-magnet motors, supporting both open-loop and speed control modes with Hall sensor or sensorless operation.

How does sensorless operation work?

It uses a sensorless algorithm for rotor position reconstruction based on BEMF detection, eliminating the need for speed sensors.

What is the minimum knowledge required to use this library?

Basic knowledge of C programming, PM motor drives, and power inverter hardware is required; in-depth STM8Sxxx knowledge is only needed for customization.

Download PDF (1.6 MB)

More S&T Manuals


View all S&T manuals →