PMSM Motor is not responding using TI F28379d LaunchPad with a BOOSTXL-3PhGaNInv booster pack

조회 수: 11 (최근 30일)
Motor not responding after dumping and run the code in TI F28379d LaunchPad using BOOSTXL-3PhGaNInv booster pack also chacked the PMW pin no 37-40 but did not get any signal. Is there any way to observe the PWM signal from Lunchpad without using the motor to validate the code generation is working.

답변 (1개)

Shivam Gothi
Shivam Gothi 2024년 12월 24일
Hello @MD SYFUR,
I am assuming that you are referring to the following shipped examples:
Based on my experience, I can give some of the suggestions that you might find usefull.
case-1: if you are using the same motor as suggested in the above example:
  • Calibrate the offset of the encoder by executing the below example: https://www.mathworks.com/help/mcb/gs/hall-offset-calibration-pmsm-motor.html
  • Update the eQEP offset in the script "mcb_pmsm_foc_sensorless_f28379d_datascript.m". It can be found in the directory: "MATLAB\Examples\R2024b\mcb\SensorlessFocFOSMOExample". This is highlighted in below figure.
  • Please identify the COM port connected to the F28379D launch pad by checking the Device Manager. Update this COM port number in the script "mcb_pmsm_foc_sensorless_f28379d_datascript.m".This is highlighted in below figure.
  • Connect the motor to the three phase output of the inverter, following the correct phase sequence.
  • Open the simulink model "mcb_pmsm_foc_sensorless_f28379d.slx" found in the directory: "MATLAB\Examples\R2024b\mcb\SensorlessFocFOSMOExample". Note: the above directory is automaticall created in the current working directory if you run the command: openExample('mcb/SensorlessFocFOSMOExample')
  • Deploy the code by pressing the button as shown below:
  • After the code is successfully deployed, open the host model by clicking the hyperlink as shown in the below attached image.
  • The host model communicates with the motor and gives the command to start/stop the motor. You can also vary the reference speed by the host model. Note: After deploying the Simulink model "mcb_pmsm_foc_sensorless_f28379d.slx", the ePWM is disabled due to a forced one-shot trigger event. The one-shot trigger flag is cleared when you toggle the "start" button in the host model. Once the one-shot event is cleared, you will be able to observe the PWM pulses on oscilloscope. Therefore, the host model is essential in running the motor.
  • Press the run button in the host model.
  • You can start the motor by toggling the "start/stop" switch. Set the reference speed to the desired value before starting the motor.
  • In order to monitor the motor currents, speeds and other signals, you can use the scope found in the host model.
Case-2: If you are using a different motor:
Trouble shooting:
You can also try to first run the motor in open loop using the following shipped example:
Additionally, you may refer to the examples given under the motor control blockset:
I hope you find the information useful !
  댓글 수: 4
MD SYFUR
MD SYFUR 2025년 1월 29일
Yes i built and deploy the code before run the host model. But still not working.
Bhagyesh
Bhagyesh 2025년 3월 20일
@Shivam Gothi: You mentioned "the ePWM is disabled due to a forced one-shot trigger event."
Why it is diabled? Where can we find this configuration? How to enable it?
Thanks.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by