industry news
Subscribe Now

New STM32 Software Development Kit from STMicroelectronics Makes Motor-Control Design Faster and Easier

Geneva, March 13, 2018 — STMicroelectronics has further simplified development of advanced, energy-efficient motor drives on STM32* microcontrollers by harmonizing the latest STM32 PMSM FOC Software Development Kit (SDK) with the STM32Cube ecosystem (order code: X-CUBE-MCSDK). The move extends opportunities for engineers to build sophisticated drives for equipment such as air conditioners, home appliances, drones, building automation, industrial machinery, medical devices, e-bikes, and many others, without needing specialized experience.
Building on previous generations of ST’s Field-Oriented Control (FOC) of Permanent Magnet Synchronous Motors (PMSM) SDK, the new version 5.0 firmware libraries align with the STM32Cube Hardware Abstraction Layer (HAL) and Low Level (LL) architectures, which eases development, customization, and debugging. In addition, free access to source code gives developers extra flexibility, control, and customizability.
New with MC-Workbench version 5.0, the Graphical User Interface (GUI) leverages the STM32CubeMX workflow to set up the project, configure microcontroller peripherals, and generate initialization code automatically. It also lets users monitor and change control loop parameters in real time, as they develop or debug their projects.
A rich selection of algorithms are included implementing popular PMSM-control techniques such as Maximum Torque Per Ampere (MTPA) to maximize efficiency and handle varying load conditions. Flux-Weakening control for extended speed range and feed-forward control for enhanced stability at high speeds are also included. Further features include “start-on-the-fly” to ensure smooth drive insertion when the rotor is already turning, which is often needed for outdoor fans such as in air conditioners or smoke extractors.
Users can take advantage of proven, powerful SDK features including the Motor Profiler, which helps characterize most aspects of a motor quickly by automatically detecting the electrical parameters (stator resistance (Rs), inductance (Ls), and motor-voltage constant (Ke)), as well as mechanical friction and inertia. A variety of flexible motor-control strategies are also supported, including current sensing with single- or triple-shunt or isolated current sensors (ICS), rotor-position detection using encoder or Hall sensors, or sensorless control. The SDK also supports dual-motor applications, leveraging the rich analog features and multiple motor-control timers integrated in many STM32 variants.
The latest STM32 PMSM FOC SDK is available free of charge from

Leave a Reply

featured blogs
Mar 19, 2018
Occasionally I come across a mishmash of headlines that warrant mention, and these were all reported within the last week! Uber'€™s Autonomous Fail And so it begins. A self-driving Uber car has struck a pedestrian last night, causing the first pedestrian fatality caused by ...
Mar 19, 2018
This is another in my occasional series of postings, where I give a few little tips that may be of benefit to the embedded software developer. I endeavor to address all aspects of embedded software: general programming, C, C++, system design and operating systems. Questions a...
Mar 16, 2018
MICRO RUGGED CONNECTORS Most designers think the smaller the connector, the more fragile and delicate it is.  We don'€™t usually think of micro pitch connectors as being rugged, as being able to handle high mating cycles, or as having robust mechanical strength on the PCB,...
Mar 5, 2018
Next-generation networking solutions are pushing processing out of the cloud and towards the network'€™s edge. At the same time, processing structures architected around programmable logic provide the ability to make computing much more data-centric. Programmable logic make...