Connection issue with host model to target Texas instruments c2000 F28069 launch pad drv8035 inverter.
4 次查看(过去 30 天)
显示 更早的评论
I have an issue with an example project provided with the c2000 embedded coder support package. Field oriented control of PMSM using quadrature encoder. I can not get the motor to spin at all. The hardware setup works well for TI software Instaspin motion software. I believe the reason is because the host model cannot connect or is not sending the speedref at all to the other model.
Hardware:
f28069m launchpad
BOOSTXL-DRV8305 inverter
Teknic m2310p - motor
Example project:
open_system('mcb_pmsm_foc_qep_f28069LaunchPad')
Host Model:
open_system('mcb_host_model_f28069m')
Steps:
- I have followed https://www.youtube.com/watch?v=rsZtoBFCeMo Which gets you to blink an LED(Works)
- Opened example project and host models listed above
- build and run project and then host model
Upon no results also com was not found, I assumed the host model was not communicating
- Follow the steps in the following link. https://www.mathworks.com/help/mcb/gs/communication-between-host-and-target.html?searchHighlight=connect%20host%20motor%20blockset&s_tid=srchtitle . The com ports did not show at first until XSD100 class auxillary port load VCP option was enabled
- upon no results with QEP model I ran the sensorless model open_system('mcb_pmsm_foc_sensorless_f28069MLaunchPad.slx')
- The model will start to slowly spin the motor but there is no control with the host model. Also motor begins to heat even though the motor settings are correct.
Not sure what to do just to get simple motor control through the example projects.
0 个评论
采纳的回答
Sharat Yadav
2021-9-26
Hello Anderson,
Given the TI Instaspin based example working well, I am assuming that the kit is in working condtion.
the document Host Target Communication explains in detail about the Host Target Communication Configuration.
Kindly take a note of the COM Port number, this needs to be configured in the block parameter "Port Name" under the "Serial 1" tab of the "Host Serial Setup" block in the Host Model.
Kindly ensure that the Baud Rate is 5.625e6 the default value unless you have changed the same in the target model.
Also, you may want to use the Open Loop Control Example to ensure hardware sanity and ensure serial communications.
Thanks
Sharat
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!