
Chapter 1
Introduction
This user's guide describes the implementation of the sensorless motor-control software for 3-phase Permanent Magnet
Synchronous Motors (PMSM), including the motor parameters identification algorithm, on the NXP i.MX RT series crossover
processors. The sensorless control software and the PMSM control theory in general are described in design reference manual
DRM148
Sensorless PMSM Field-Oriented Control (FOC)
. The NXP Freedom (FRDM-MC-LVPMSM) is used as the hardware
platform for the PMSM control reference solution. The hardware-dependent part of the sensorless and sensored control software,
including a detailed peripheral setup and the Motor Control (MC) peripheral drivers, are addressed as well. The motor parameters
identification theory and algorithms are presented in this document. The last part of the document introduces and explains the
user interface represented by the Motor Control Application Tuning (MCAT) page based on the FreeMASTER run-time debugging
tool. These tools provide a simple and user-friendly way for the motor parameter identification, algorithm tuning, software control,
debugging, and diagnostics.
This document describes how to run and control the Permanent Magnet Synchronous Motor (PMSM) project using i.MX RT
Series Crossover Processors with the Freedom development board. The software provides sensorless/sensored field-oriented
vector position, speed, torque, and scalar control. You can control the application using the board buttons or via FreeMASTER.
The motor identification and application tuning is done using the MCAT tool integrated in the FreeMASTER page. The required
software, hardware setup, jumper settings, project arrangement, and user interface are described in the following sections. For
more information, visit www.nxp.com/motorcontrol_pmsm.
Table 1. Supported devices and control methodes
Possible control methods in SDK example
Device Default motor Scal
ar
Volt
age
Current FOC
(Torque)
Sensorless
Speed FOC
Sensored
Speed FOC
Sensored Position
FOC (Servo)
MIMXRT1170-EVK Teknic M-2310P
motor (with ENC) ✓ ✓ ✓ ✓ ✓ ✓
NXP Semiconductors
MCUXpresso SDK Field-Oriented Control (FOC) of 3-Phase PMSM and BLDC motors, Rev. 0, 01/2022
User Guide 3 / 50