Simulink Embedded Coder Support Package for Texas Instruments C2000 Processors package: Sensorless Motor Parameter Estimation using LAUNCHXL-F28069M MCU

8 views (last 30 days)
I'm using LAUNCHXL-F28069M and BOOSTX-DRV8301 to run the PMSM motor with 21 poles.
In order to get the motor parameters, I have tried to follow the example ( Estimate PMSM Parameters Using Recommended Hardware ).
However, their example only supports other MCUs with motor drivers
1. F28069M control card with DRV8312-69M-KIT inverter
2. LAUNCHXL-F28379D controller BOOSTXL-DRV8305 inverter
Can I apply this Simulink example to my hardware? (I tried but It seems that serial communication processes are different.)
Thank you!

Accepted Answer

KrishnaKumar on 9 Nov 2022
You can check Estimate PMSM Parameters Using Custom Hardware - MATLAB & Simulink Example ( for using parameter estimation with custom hardware.
Gu-Cheol Jeong
Gu-Cheol Jeong on 19 May 2023
Edited: Gu-Cheol Jeong on 19 May 2023
Hi Kumar,
Currently, I use the "mcb_open_loop_control_f28069MLaunchPad.slx" to run the PMSM motor and used "Estimate PMSM Parameters Using Custom Hardware" algorithm that you linked above
I have two questions for this. ON Estimate PMSM Parameter Using Custom Hardware page,
They build the C code and integrate this for the Custom Hardware Driver.
  1. I made the parameter_estimation_step function. I wonder where should I integrate this to the ADC Code. I found the ADC_conversion code in motor control code(the second screenshot). What kind of information I need to take a look at and is there anything I can refer the sample code?
2. I just added the parameter estimation code to the ADC motor control code like the thrid screenshot.
In parameter estimation function, the "estimateMotorParamAlgoExpo.m" function file is missing. Do you know how to find this?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!