English
Language : 

AN1947 Datasheet, PDF (1/36 Pages) STMicroelectronics – ST7MC PMAC SINE WAVE MOTOR CONTROL SOFTWARE LIBRARY
AN1947
APPLICATION NOTE
ST7MC PMAC SINE WAVE MOTOR CONTROL
SOFTWARE LIBRARY
INTRODUCTION
This application note describes a 3-phase synchronous permanent magnet motor control soft-
ware library developed for the ST7MC drive with sinusoidal waveform. The ST7MC microcon-
troller 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 func-
tions for the generation of the sinusoidal waveform, the synchronization mechanism and
closed loop control of PMAC induction motors and is compatible with both COSMIC
(www.cosmic-software.com) and METROWERKS (www.metrowerks.com) compilers.
The control of a Permanent magnet motor in six-step mode is detailed in application note
AN1905. The control of an AC induction motor is detailed in application note AN1904.
This 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 AMETEK BLDC motor. 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. In-depth know-how of ST7MC functions is only required
for customizing existing modules and when adding new ones for complete application devel-
opment.
AN1947
Rev. 2
1/36
1