![]() |
BLDC control on ATAVRMC303 with ATxMega128A1
|
Use of this program is subject to Atmel's End User License Agreement.
Please read file LICENSE.TXT for copyright notice.
This application drives a BLDC motor with trapezoidal waveforms
The motor runs in the sensored mode
It runs on an ATAVRMC303 board with an ATxMega128A1 part
The main source files are :
- main.c main loop - mc_control.c PI regulation - mc_drv.c hardware level of motor control - mc_interface.c interface routines to motor control - ushell_task.c command interpreter from an ascii chain - ascii.c ascii to binary conversion
All parameters are given for the motor included in the kit with no load.
They must be ajusted according to the application (motor, load ...)
The ramp-up sequence must be adjusted to the motor and load