Hello Nxp developers,
i'm trying to follow AN13902 for the "3-Phase Sensorless PMSM Motor Control
Kit with S32K344 using MBDT Blocks". as of Jan 2025, the toolbox version progressed to 1.60 from 1.30 when the AN was created. As i'm trying to find the alternative in the latest release but could not locate the equivalent example.
can you comment on the availability and if there is a downloadable example sw kit that can be accessed?
thank you
leong
thank you Irina.. the model name under the 1.60 mbdt contains _S32k312, is there a migration guide to fit it to the original app note for the S32K344 ?
a follow up question: these models shown in the toolbox are "code gen models", is there a "simulation model" version to explore?
thanks
regards
leonggz
Hello @leonggz
You could find the s32k344 model, the updated version of the one presented in the AN you are referring, inside the following path, as illustrated below.
<toolbox_installation_folder>/S32K3_Examples/mc/PMSM
Indeed the models are designed to be deployed on the hardware reference design that we have used for development and testing, but you can modify the model for simulating the algorithm with respect to various scenarios.
For performing such an action, you could isolate the algorithm (hardware independent part) and, instead of feeding it with inputs acquired from the hardware, which is achieved using our MBDT blocks that allow peripherals interaction, you could define your own test inputs and connect them to the algorithm. In a similar manner, the MBDT blocks that are used to output the signals to the hardware could be replaced by scopes or other data visualization generic Simulink blocks. Please feel free to check our webinars on the NXP MBDT Community to find out more about simulation modes, like MIL, SIL and PIL, and how these can be implemented using our toolbox.
Hope this helps,
Irina
Hello @leonggz
The example is still available in MBDT for S32K3 1.6.0, and you can access it by opening the examples library browser from Simulink, go to Motor Control, and then double click on either the Motor Control PMSM Dual Shunt EBT ot S32CT.
We deliver models supporting both EB tresos and S32 Configuration Tools. Please note that in case you would like to use the EB tresos option, you would need to install separately the tool. In the S32CT case, the configuration tool is delivered directly with our toolbox.
Hope this helps,
Irina