Application Note
Sensorless Brushless DC Motor
Control with the Z16FMC MCU
AN031102-0311
Abstract
This application note discusses the closed loop control of a 3-phase brushless direct cur-
rent (BLDC) motor using the Z16FMC Family of Microcontrollers (MCUs). The
Z16FMC product family is designed specifically for motor control applications, featuring
an on-chip integrated array of application-specific analog and digital modules. The result
is fast and precise fault control, high system efficiency, on-the-fly speed/torque and direc-
tion control, as well as ease of firmware development for customized applications.
This document further discusses ways in which to implement a sensorless feedback con-
trol system using a Phase Locked Loop along with back EMF sensing. Test results are
based on using the Z16FMC Modular Development System (MDS) module, a 3-phase
motor control (MC) application board and a 3-phase 24VDC, 30W, 3200RPM BLDC
motor with internal Hall sensors.
Note: The source code files associated with this application note, AN0311-SC01 and AN0311-
SC02, were tested with version 4.12 of ZDSII for ZNEO MCUs. Subsequent releases of
ZDSII may require you to modify the code supplied with this application note.
The sample project included in ZDSII v4.12 and the firmware in the Rev D (or earlier) ver-
sion of the Z16F28200KITG Development Kit were preprogrammed with AN0311-SC01.
The source code files contained in AN0226-SC02 are enhanced versions of AN0311-SC01
that allow users to easily change parameters to accommodate differing motor types.
Revision History
Each instance in the following table reflects a change to this document from its previous version.
For more details, refer to the corresponding pages or appropriate links provided in the table.
Revision
Level
Page
Number
Date
Description
Mar 2011
05
AN0311-SC02 source code added to encompass
multiple motor types; correction to TimerPrescale
data in PLL flow, Figure 17.
1, 22
Dec 2010
01
Original issue.
All
AN031102-0311
Page 1 of 26