Datasheet
ENABLEMENT TOOLS
Development Hardware:
3-phase low-voltage power stage DEVKIT-MOTORGD based
on SMARTMOS GD3000 pre-driver up to 18 Volts
S32K144EVB: S32K144 Evaluation Board
3-phase permanent magnet low-voltage motor
12 V / 5 A power supply
Runtime Software:
Sensorless control of the PMSM motor with Field Weakening
Software example contains routine for encoder signal
processing
Single-shunt and dual-shunt current sensing
Software example created in the S32 Design Studio for Arm
built on S32 Software Development Kit (SDK)
MCU peripherals initialization generated by Processor Expert
FreeMASTER project part of software package
Motor Control Application Tuning (MCAT) tool 1.1 available
www.nxp.com/AutoMCDevKits, www.nxp.com/DEVKIT-MOTORGD and www.nxp.com/S32K144EVB
NXP and the NXP logo are trademarks of NXP B.V. All other product or service names are the property of their respective owners.
© 2019 NXP B.V.
Document Number: MTRDEVKSPNK144FS REV 1
3-PHASE PMSM DEVELOPMENT KIT WITH THE S32K144 MCU
MOTOR CONTROL ALGORITHM CONCEPT
S32K144
Automotive Math and
Motor Control Library
Set for S32K14x
FreeMASTER
LPUART
SDK Driver
Application Control
Speed Loop & FW Current Loop
Speed
Controller
Field
Awakening
PWM
Modulation
Angle
Tracking
Observer
Back-EM & Angle
Tracking Observer
SW SWITCH
sin
cos
Speed_Req
Omega_actual_mech
Switch sensor
Is_d_req
Is_q_lim
Udc bus
Idc bus
ls_aIdc bus ls_b Theta_enc
U_dc
Duty Cycle a
Duty Cycle b
Duty Cycle c
Us_alpha_comp
Us_alpha
Us_beta
Us_beta_comp
lsblsa lsc Enc_a Enc_b
12 Vdc
U_Dc bus
Is_q_req
Is_q
Is_q
Us_d
Us_q
Is_d
Is_beta
Theta
Theta_est
Omega_est
Theta_enc_filt
Omega_enc_filt
Is_a
Is_b
Is_c
Is_alpha
GPIO
3-Phase Low-Voltage Power Stage
S32 SDK Driver
LPSPI
Overprotection
Current
S32 SDK Driver
FTM (PWM)
S32 SDK Driver
PMSM
Current d
PI Controller
Current
Sensing
Processing
Inverse Park
Transformation
d, q alpha, beta
DC_bus
Ripple
Compensation
Current q
PI Controller
Forward Park
Transformation
alpha, beta d, q
Forward Clark
Transformation
a, b, c alpha, beta
Fault
MC34GD3000
TRGMUX
S32 SDK
Driver
FTM (QUAD)
S32 SDK
Driver
PDB
S32 SDK
Driver
ADC
S32 SDK Driver
Start/Stop
+ -