STMicroelectronics ST7MC AN1904 Application Note

This document describes a 3-phase induction motor control software library developed for the ST7MC. This 8-bit microcontroller contains a peripheral dedicated to 3- phase brushless motor control, making it suitable for AC induction motors and permanent magnet DC/AC motors (PMDC/PMAC also called BLDC). The library described here is made of several C modules that contain a set of convenient functions for the scalar control of AC induction motors and is compatible with COSMIC and METROWERKS compilers. The software allows users to quickly evaluate both the MCU and the available tools, and to have a motor running in a very short time when used together with the ST7MC starter kit (ST7MC-KIT/BLDC) and the demonstration AC motor (ST7MC-MOT/IND). It also eliminates the need for time consuming development of sine wave generation and speed regulation algorithms by providing ready-to-use functions that let the user concentrate on his application layer. The prerequisite for using this library is the basic knowledge of C programming, AC motor drives and power inverter hardware.


STMicroelectronics ST7MC AN1904 Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
102
File format
PDF
File size
1.1 MB
Published
07 August, 2012
Updated
28 September, 2023
Model
ST7MC
MD5 checksum
1064DDA30390252A40D5B7F382C89ECE

About this manual

This document describes a software library for controlling 3-phase AC induction motors and permanent magnet DC/AC motors using the ST7MC 8-bit microcontroller. The library provides C modules for scalar control, sine wave generation, and speed regulation, compatible with COSMIC and METROWERKS compilers. It allows users to quickly evaluate the MCU and tools using the ST7MC starter kit and demonstration motor, eliminating the need to develop sine wave generation and speed regulation algorithms from scratch.

What's inside

  • Features
  • Working environment set-up
  • Getting started with the library
  • Library functions per software module
  • Running the demo programs
  • Designing your application
  • Flowcharts
  • Motor characteristics
  • Revision history
  • Memory size metrics

Specifications

Stator Frequency Range0.2 Hz up to 680.0 Hz
Voltage Resolution8-bit modulation index
PWM Frequency1.95, 3.9, 7.8, 12.5 and 15.66 kHz
CPU Load (sine wave generation only)around 20%
CPU Load (including closed loop control)typically around 30%
ROM Size (Closed Loop, Cosmic)4943 bytes

Frequently asked questions

What microcontrollers is this library developed for?

The library is developed for the ST7MC 8-bit microcontroller.

What hardware kits are recommended for evaluation?

Users should use the ST7MC starter kit (ST7MC-KIT/BLDC) and the demonstration AC motor (ST7MC-MOT/IND).

Download PDF (1.1 MB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →