When the Simulink file "mcb_pmsm_foc_sensorless_dyno_f28379d.slx" from the official MATLAB website is downloaded to the motor, the motor fails to start.
2 次查看(过去 30 天)
显示 更早的评论
The Simulink file "mcb_pmsm_foc_sensorless_dyno_f28379d.slx" from the official MATLAB website can be compiled and downloaded to the motor successfully, and the simulation results are satisfactory. However, when attempting to start the motor via the host computer using the "mcb_pmsm_foc_host_model_dyno_f28379d.slx" file (by clicking the "Run" and "Start" buttons), the motor does not respond.
2 个评论
Walter Roberson
2025-6-9
I wonder if you were affected by temporary file disruptions because of the ransomware attack ?
回答(1 个)
Aabha
2025-6-9
编辑:Aabha
2025-6-9
Since this is a hardware related problem, it is hard to pinpoint the exact reason you might be facing this issue. But here are a few different ways you can try to troubleshoot.
Make sure that you have correctly configured the hardware for this model, by following the steps mentioned in the following documentation link: https://www.mathworks.com/help/releases/r2025a/ti-c2000/ug/dual-motor-dyno-example.html
Additionally, ensure that the code is correctly deployed to both the cores of the ‘F28379D’ processor, and the peripherals are configured correctly. Make sure the heartbeat LED (red) is blinking, which indicates that the deployed code is running on hardware as expected. Simulating the host model, and then toggling the 'Motor 1' slider switch to the 'start' position should start spinning the motor. If it does not run, try resetting the hardware using the following steps:
- Build and deploy the code of the target model.
- Keep the DC supply powered on, and reset the hardware using the reset switch (yellow push button) on the launchpad.
- Update the correct comport in the host model and simulate the host model. Then, try and run the motor again using the slider switch.
Please refer to the following documentation link for instructions to identify and debug common problems that can occur when you run the model on the target hardware: https://www.mathworks.com/help/releases/r2025a/mcb/gs/create-validate-model-for-motor-control-system.html
I hope this helps.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!