This application note describes a 3-phase synchronous permanent magnet motor control software library developed for the ST7MC drive with sinusoidal waveform. The ST7MC 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 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.
This document details a software library for the ST7MC microcontroller designed to control 3-phase synchronous permanent magnet motors (PMAC) with sinusoidal waveforms. The library provides functions for waveform generation, synchronization, and closed-loop control, compatible with COSMIC and Metrowerks compilers. It is intended for use with the ST7MC starter kit and demonstration AMETEK BLDC motor.
The library is designed for 3-phase synchronous permanent magnet motors, including AC induction motors and permanent magnet DC/AC motors (PMDC/PMAC, also called BLDC).
The library supports a stator frequency range from 0.2 Hz up to 680.0 Hz.
The PWM frequency can be set by default to 1.95, 3.9, 7.8, 12.5 and 15.66 kHz.