Motor control is a complicated and advanced topic, with a wide range of intricacies and pitfalls
that depend on the number of motors, motor type and sensored or sensorless motor drivers.
NXP has a number of ready-to-use motor control algorithms (middleware), and the best way to get
started is with the FreeMaster examples included in the MCUXpresso SDK. These examples utilize
Run-Time Debugging Tool, a
user-friendly real-time debug monitor and data
visualization tool that enables runtime configuration and tuning of embedded software
FreeMASTER supports non-intrusive monitoring of variables on a running system and can display
multiple variables on oscilloscope-like displays as standard widgets (gauges, sliders and more)
or as data in text form, offering simple-to-use data recorders. It can link with HTML, MATLAB®
or Excel to other scriptable frameworks or even popular visual programming tools like Node-RED.
|Documents and Videos
|Get Your Motor
Spinning with i.MX RT
||This presentation covers the MCU requirements, motor control basics and
framework to spin a BLDC, PMSM or ACIM motor and how to implement motor control
on the i.MX RT.
PMSM Field-Oriented Control on MIMXRT10xx EVK
||Describes the implementation of the sensor and sensorless speed and position
motor control software for 3-phase Permanent Magnet Synchronous Motors (PMSM).
Field-Oriented Control on MIMXRT10xx EVK User’s Guide
||Step-by-step guide on how to open, compile, debug, and run Permanent Magnet
Synchronous Motor (PMSM) projects in most common IDEs, as well as how to turn
the NXP Freedom PMSM power stage and the i.MX RT10xx evaluation kit into a
complete motor control reference design.
NXP quad motor-control development platform HW overview
||Describes the NXP quad motor-control development platform modular architecture
and provides a detailed hardware description of the different components.
Dual FOC Servo Motor Control on i.MX RT
||Describes the dual servo demo with the NXP i.MX RT1020 processor. You can use it
as a reference for motor control application developing based on other i.MX RT
||A starting guide for engineers using FreeMASTER tool.
||This article will walk you through the installation process of FreeMASTER 3.0.
Four-Part Webinar Series
||On-demand training provides an overview of the FreeMASTER software, its
features, capabilities, available examples, application use cases and how to
easily get started.
MCUXpresso SDK Examples
Several examples, demos and drivers are available within the SDK to help you get started.
Some common example related to motor control are listed below.
AC induction motor middleware.
Brushless DC electric motor middleware.
Freemaster middleware for motor control examples.
Permanent magnet synchronous motor middleware.
Tools and References
A group of algorithms ranging from basic mathematics operations to advanced transformations
and observers, which can be easily incorporated into complex real-time control applications and
used in our motor control reference designs.
AMCLIB User’s Guide
Describes the Advanced Motor Control Library (AMCLIB) and optimized functions for the family of
ARM Cortex M7F core-based microcontrollers.
Quad Motor Control
Shows how a single i.MX RT1050 Crossover MCU can control up to four different motors, while
managing wired or wireless connectivity and an HMI interface.