EasyManua.ls Logo

Renesas V850 Series - Table of Contents

Renesas V850 Series
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9
Application Note U17209EJ1V0AN
CONTENTS
CHAPTER 1 CONTROL METHOD..........................................................................................................12
1.1 Outline of Brushless DC Motor Control.................................................................................. 12
CHAPTER 2 HARDWARE CONFIGURATION.......................................................................................17
2.1 Configuration ............................................................................................................................ 17
2.2 Circuit Diagram ......................................................................................................................... 19
CHAPTER 3 SOFTWARE CONFIGURATION........................................................................................31
3.1 Control Block ............................................................................................................................ 31
3.2 Peripheral I/O............................................................................................................................. 32
3.3 Software Processing Structure ............................................................................................... 34
3.4 Flowchart................................................................................................................................... 36
3.4.1 Main processing...........................................................................................................................36
3.4.2 Motor control processing ..............................................................................................................45
3.4.3 U zero-cross point interrupt processing........................................................................................50
3.4.4 V zero-cross point interrupt processing........................................................................................51
3.4.5 W zero-cross point interrupt processing.......................................................................................52
3.4.6 10 mSEC interval interrupt processing.........................................................................................53
3.4.7 A/D converter channel 0 interrupt processing ..............................................................................54
3.4.8 A/D converter channel 1 interrupt processing ..............................................................................55
3.4.9 Hardware initialization ..................................................................................................................56
3.4.10 Common area initialization ...........................................................................................................57
3.4.11 Revolution start initialization.........................................................................................................57
3.4.12 LED display..................................................................................................................................58
3.5 Common Areas ......................................................................................................................... 59
3.6 Tables......................................................................................................................................... 60
3.7 Constant Definitions................................................................................................................. 62
CHAPTER 4 PROGRAM LIST ................................................................................................................63
4.1 Program List (V850E/IA1)......................................................................................................... 63
4.1.1 Symbol definition..........................................................................................................................63
4.1.2 Constant definition........................................................................................................................64
4.1.3 Interrupt handler setting ...............................................................................................................67
4.1.4 Startup routine setting ..................................................................................................................69
4.1.5 Main processing function..............................................................................................................72
4.1.6 LED display function.....................................................................................................................76
4.1.7 Motor control interrupt processing function ..................................................................................77
4.1.8 Zero-cross interrupt processing function ......................................................................................81
4.1.9 10 mSEC interval interrupt processing function ...........................................................................83
4.1.10 A/D converter interrupt processing function .................................................................................84
4.1.11 Hardware initialization processing function ..................................................................................84
4.1.12 Common area initialization processing function ...........................................................................86
4.1.13 Revolution start initialization processing function.........................................................................86
4.1.14 Link directive file for V850E/IA1....................................................................................................87
4.2 Program List (V850E/IA2)......................................................................................................... 89

Table of Contents