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

3 Ansichten (letzte 30 Tage)
Hello,
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
or
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!

Akzeptierte Antwort

KrishnaKumar
KrishnaKumar am 9 Nov. 2022
You can check Estimate PMSM Parameters Using Custom Hardware - MATLAB & Simulink Example (mathworks.com) for using parameter estimation with custom hardware.
  3 Kommentare
KrishnaKumar
KrishnaKumar am 8 Mai 2023
Bearbeitet: KrishnaKumar am 8 Mai 2023
I can see that there is information on the function interfaces in generated code and how to integrate with driver code. Could you be more specific on what information is missing?
F28069M is a supported controller and blocks for the same should be available in the c2000 library, you can modify the matlab project in https://www.mathworks.com/help/mcb/gs/estimate-pmsm-parameters-using-custom-hardware.html using these blocks to deploy on the target.
Gu-Cheol Jeong
Gu-Cheol Jeong am 19 Mai 2023
Bearbeitet: Gu-Cheol Jeong am 19 Mai 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 https://www.mathworks.com/help/mcb/gs/estimate-pmsm-parameters-using-custom-hardware.html.
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?
Thanks!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by