Microchip Technology AN857
This application note discusses the steps of developing several controllers for brushless motors. The code in this application note was developed with the Microchip PIC16F877 PICmicro® Microcontroller, in conjuction with the In-C ircuit D ebugger (ICD).AN857 Brushless DC Motor Control Made Easy Author: Ward Brown Microchip Technology Inc. get d evice an d e xercise the co de directly from th e MPLAB® env ironment. The fin al co de ca n the n be ported to one of the smaller, less expensive, PICmicro m icrocontrollers. T he porting t akes m inimal effort because the instruction set is identical for all PICmicro 14-bit core devices. It should also be noted that the code was bench tested and optimized for a Pittman N2311A011 brushless DC motor. Other motors were also tested to assure that the code was generally useful. INTRODUCTION We cover sensored, sensorless, open loop, and closed loop design. There is even a controller with independent voltage and speed controls so you can discover your motor’s characteristics empirically. Thi s combination was chosen because the ICD is inexpensive, and code can be debugged in the prototype hardware w ithout ne ed fo r an ex tra pro grammer or emulator. As the design develops, we program the tar- Anatomy of a BLDC Figure 1 is a simplified illustration of BLDC motor construction.