LAUNCHXL F28379D + BOOSTXL-DRV8305EVM + PMSM not working in closed loop

12 views (last 30 days)
Hello, I am using simulink and f28379D launchpad to control PMSM motor for MATLAB examples. hardware description: LAUNCHXL F28379D+ BOOSTXL-DRV8305EVM+Teknic 2310P SPMSM+ 24V,10A Regulated DC Power Supply software description: matlab2020b+simulink+CCS v7.4+Controlsuite3.4.9+Embedded Coder Support Package for Texas Instruments C2000 Processors et.al program description: mcb_pmsm_foc_qep_f28379d and mcb_param_est_f28379D_DRV8305 et.al When I try to run my simulink model on TI launchpad F28379D, it is built into lauchpad sucessfully. but when I try to control the motor by the host model(serial communication between lauchpad and PC), the following is the result.
The host is running and motor starts rotating when the switch is on No feedback signals are coming to host. I think that the motor is running in openLoop and not shifting to closed loop What should be done? And what may be the reason?
  6 Comments
S Saha
S Saha on 24 Feb 2022
Edited: S Saha on 24 Feb 2022
The following Figure shows the default mask parametrs of "mcb_pmsm_foc_host_model_f28379d/Rx/Host Serial Receive/Data_Type_Float/Host Serial Receive" (for floating datatype) as suggested by you.
S Saha
S Saha on 24 Feb 2022
Edited: S Saha on 25 Feb 2022
I have checked the setup according to your suggestion but the SCOPE of the host model is not giving "4" rather it is giving zero signal.
This time I have used f28069M launchpad to control the same PMSM motor and everything is ok and signals are coming to host model as desired.
But the same problem persist with f28379D launchpad.

Sign in to comment.

Answers (1)

Mao Rothdamrong
Mao Rothdamrong on 12 May 2023
I went to get this simulation form you.

Community Treasure Hunt

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

Start Hunting!