Download UM1080 - STMicroelectronics
Transcript
Contents UM1080 Contents 1 Motor control library features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 2 3 User project and interface features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Documentation architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1 Where to find the information you need . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Motor profiler and One Touch Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.1 Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 On-the-fly Sensorless startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5 Working environment and its customization . . . . . . . . . . . . . . . . . . . . 17 5.1 Motor control workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.2 MC SDK customization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6 How to download the full LCD user interface . . . . . . . . . . . . . . . . . . . . 24 7 Full LCD user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1 Running the motor control firmware using the full LCD interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.2 LCD User interface structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.2.1 Welcome message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.2.2 Configuration and debug page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.2.3 Dual control panel page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.2.4 Speed controller page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.2.5 Current controllers page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 8 Introduction to the PMSM FOC drive . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9 Current sensing and protection with embedded analog (STM32F3x) 41 2/53 9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 9.2 Current sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.3 Overcurrent protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 DocID018802 Rev 6