Part # Technical Note STM32F103C6 STM32F103C8 STM32F103CB STM32F103R6 STM32F103R8 STM32F103RB STM32F103T6 STM32F103T8 STM32F103VB STM32 datasheet

Part Manufacturer: ST Microelectronics

ST Microelectronics

Part Description: Overview of the STM32F103xx ACIM and PMSM motor control software libraries release 2.0


Part Details:

TN0063 Technical note Overview of the STM32F103xx ACIM and PMSM motor control software libraries release 2.0 Introduction The purpose of this technical note is to provide an overview of the main features and performance metrics of the STM32F103xx motor control firmware libraries release 2.0. For the complete documentation, please refer to the two following user manuals: UM0483: STM32F103xx AC induction motor IFOC software library V2.0 UM0492: STM32F103xx permanent-magnet synchronous motor FOC software library V2.0 These documents are available for free upon request to your nearest STMicroelectronics sales office or distributor. For a complete list of ST offices and distributors, refer to the ST website www.st.com. New features in this motor control firmware library package release 2.0 patented single, common DC link shunt-resistor current-sampling method optimized IPMSM (internal permanent-magnet synchronous motor) maximum-torque- per-ampere strategy redesigned closed-loop flux weakening algorithm for PMSMs optional rotor prepositioning before each motor startup in the PMSM sensorless mode optional feed-forward current regulation for PMSM more robust hall-sensor module for PMSM redesigned PID regulation module maximum-modulation-index configuration tool for the single-shunt and three-shunt current-sampling methods supports all members of the STM32F103xx performance line family workspaces for IAR EWARM 5.20, KEIL RVMDK 3.22, Green Hills MULTI 5.03 Companion parameter file generation tool for PMSM (FOCGUI) September 2008 Rev 3 1/7 www.st.com Presentation of the STM32F103xx AC induction motor IFOC software library V2.0 TN0063 1 Presentation of the STM32F103xx AC induction motor IFOC software library V2.0 The UM0483 user manual describes the AC induction motor IFOC software library, an indirect field oriented control (IFOC) firmware library for 3-phase induction motors developed for the STM32F103xx microcontrollers. These 32-bit, ARM CortexTM-M3 cored ST microcontrollers (STM32F103xx) come with a set of peripherals which makes it suitable for performing both permanent magnet and AC induction motors FOC. In particular, this manual describes the STM32F103xx software library developed to control AC induction motors equipped with an encoder or tachogenerator, in both torque and speed control modes. The control of a permanent magnet (PM) motor in sinewave mode with encoder/hall sensors or sensorless is described in the UM0492 user manual. The AC IM IFOC software library is made of several C modules and is fitted out with IAR EWARM 5.20, KEIL RealView MDK 3.22a and Green Hills MULTI 5.03 workspaces. It is used to quickly evaluate both the MCU and the available tools. In addition, when used together with the STM32F103xx motor control starter kit (STM3210B-MCKIT) and an AC induction motor, a motor can be made to run in a very short time. It also eliminates the need for time-consuming development of IFOC and speed regulation algorithms by providing ready-to-use functions that let the user concentrate on the application layer. A prerequisite for using this library is basic knowledge of C programming, AC motor drives and power inverter hardware. In-depth know-how of STM32F103xx functions is only required for customizing existing modules and for adding new ones for a complete application development. Figure 2 shows the architecture of the firmware. It uses the STM32F103xx standard library extensively but it also acts directly on hardware peripherals when optimizations in terms of execution speed or code size are required. Figure 1. ACIM firmware architecture Application layer Speed, flux and STM32F103xx IFOC drive torque PIDs User standard interface Speed Current library feedback feedback SVPWM


Please click the following link to download the datasheet:

Technical Note STM32F103C6 STM32F103C8 STM32F103CB STM32F103R6 STM32F103R8 STM32F103RB STM32F103T6 STM32F103T8 STM32F103VB STM32.pdf Datasheet