User guide
AVR1607: Brushless DC Motor (BLDC) Control
in Sensor mode using ATxmega128A
1 and
ATAVRMC323
Features
• BLDC Motor Basics
• Hardware Implementation
• Code Example
References
[1] ATxmega128A1 Data sheet
[2] AVR430: MC300 Hardware User Guide
[3] AVR1014: MC303 Hardware User Guide
[4] AVR601: Atmel Modular Evaluation Kits for Motor Control Applications
Glossary
BLDC : Brushless DC
PWM : Pulsed Width Modulation
IGBT : Insulated Gate Bipolar Transistor
AWEX : Advanced Waveform Extension
1 Introduction
This application note describes how to implement a control of Brushless DC motor
(BLDC) in sensor mode using the ATxmega128A1, Atmel
®
AVR
®
microcontroller
and the ATAVRMC323 development kit.
This application note deals only with BLDC motor control application using Hall
effect position sensors to control commutation sequence.
In this document, we will give a short description of brushless DC motor theory of
operations. We will detail how to control a brushless DC motor in sensor mode and
we will also provide a short description of the ATAVRMC303 and ATAVRMC300
boards used in this application note.
Software implementation is also discussed with software control loop using a PID
filter.
8-bit
Microcontrollers
Application Note
Rev. 8311A-AVR-07/10