English
Language : 

AN1905 Datasheet, PDF (1/77 Pages) STMicroelectronics – ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
AN1905
APPLICATION NOTE
ST7MC THREE-PHASE BLDC MOTOR CONTROL
SOFTWARE LIBRARY
INTRODUCTION
This application note describes one of the software libraries available for the ST7MC MCU.
The ST7MC microcontroller comes with a dedicated motor control cell (MTC) and can drive
both permanent magnet DC/AC motors (PMDC/PMAC also called BLDC) and induction AC
motors. This application note describes the ST7MC software library required to control a
BLDC motor with a trapezoidal 6-step drive in sensor or sensorless mode, open or closed
loop, and in current or voltage mode. The control of a PMAC motor in Sinewave mode with
sensors is detailed in application note AN1947. The control of an AC induction motor in Sine-
wave mode is detailed in application note AN1904.
The library is made of different C modules, compatible with both COSMIC
(www.cosmic-software.com) and METROWERKS (www.metrowerks.com) toolchains. The
functions are grouped into several families, making this library an easy way to go through any
BLDC project development. Used in conjunction with the ST7MC starter kit
(ST7MC-BLDC-KIT), evaluation can be achieved in a very short time, as the library eliminates
the need to study the MCU in detail.
A basic knowledge of C Language, PMDC motor drives and power inverter hardware is re-
quired.
AN1905
Rev 2
1/77
1