Atmel AVR675: Configurable Three Phase BLDC Fan [APPLICATION NOTE]
42016B−AVR−12/2012
2
Table of Contents
1.Theory of Operation ............................................................................. 3
1.1Overview ........................................................................................................... 3
1.2Hardware .......................................................................................................... 3
1.3Firmware ........................................................................................................... 3
1.4Motor Control Configuration Utility .................................................................... 3
2.System Details
..................................................................................... 4
2.1Hardware .......................................................................................................... 4
2.1.1Three Phase BLDC Fan ...................................................................... 4
2.1.2Configurable BLDC Fan Board ........................................................... 5
2.1.3USB to UART Bridge Cable ................................................................ 5
2.1.4Universal Power Adapter .................................................................... 6
2.2Firmware ........................................................................................................... 6
2.2.1Control structure ................................................................................. 6
2.2.2ISR routines ........................................................................................ 7
2.2.3Communication ................................................................................. 10
2.3Motor Control Configuration Utility .................................................................. 11
2.3.1Layout of utility .................................................................................. 11
2.3.2Variables ........................................................................................... 11
2.3.3Variable plot ...................................................................................... 12
2.3.4Parameters ....................................................................................... 12
2.3.5File functions ..................................................................................... 12
3.Running the System
........................................................................... 13
3.1Hardware ........................................................................................................ 13
3.2Firmware ......................................................................................................... 13
3.3Motor Control Configuration Utility .................................................................. 15
3.3.1Running the Motor Control Configuration Utility ................................ 15
3.3.2Motor variables and variable plot ...................................................... 16
3.3.3Motor parameters ............................................................................. 18
3.3.4Enable voltage .................................................................................. 21
3.3.5Oscillator calibration.......................................................................... 21
3.3.6mode and input_cmd ........................................................................ 22
3.3.7Tuning the back EMF sensing PLL ................................................... 23
3.3.8Fine tuning startup ............................................................................ 24
3.3.9Recovery from stall ........................................................................... 26
3.3.10Speed control tuning ......................................................................... 26
3.3.11Mapping Speed Command ............................................................... 27
3.3.12Stand Alone Fan Operation .............................................................. 28
4.Conclusion ......................................................................................... 29
Appendix A.Schematics .................................................................... 30
Appendix B.Kit Parts List .................................................................. 32
Appendix C.Revision History ............................................................ 33