This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F280039C: Simulink Sensorless FOC Motor Example for LAUNCHXL-F280039C and BOOSTXL-DRV8323RS

Part Number: LAUNCHXL-F280039C
Other Parts Discussed in Thread: BOOSTXL-DRV8323RS, C2000WARE, BOOSTXL-DRV8323RH

Tool/software:

I have purchased the following boards:

  • LAUNCHXL-F280039C
  • BOOSTXL-DRV8323RS

I am looking for a Simulink example for Sensorless FOC Motor control (the motors are actually BLDC, not PMSM).

I have found the example mcb_pmsm_foc_sensorless_f28069MLaunchPad.slx but this is for a different launchpad so does not build.

How can I get Sensorless FOC Motor control running on the boards I have using Simulink ?

  • Referring to the mathworks help site, https://www.mathworks.com/help/ti-c2000/ug/sensorless-foc-example.html 

    The F28003x does not appear to have a built-in example project. However, the F28004x does. If you wish to implement your own, I would branch from the F28004x project and replace any relevant blocks as needed.

    Please note that e2e is unfortunately not a help forum for Simulink, and we are not guaranteed to be able to help you with any issues you may face. I will certainly try, though.

    Alternatively, the F28003x and BOOSTXL-DRV8323RS is a valid combination for the Universal Motor Control Lab via the C2000Ware Motor Control SDK. This is not in Simulink, but it is a functional example project.

    Regards,
    Jason Osborn

  • Thanks Jason

    I tried the F28004x example project and managed to get it to build and download.

    I then opened the host model to try and control the motor, but nothing happens.

    I've put the following post on the mathworks forum, any advice would be greatly appreciated...

    https://uk.mathworks.com/matlabcentral/answers/2155140-simulink-sensorless-foc-motor-example-for-launchxl-f280039c-and-boostxl-drv8323rs

    Also, which headers do I use to connect the BOOSTXL to the F280039C ?  Is the setup shown in the picture below correct ?


    I would also like to be able to use the TI InstaSPIN tool to charactertise the motor, is this possible with the example simulink models ? Or will InstaSPIN only work with CCS example code ?

  • Unfortunately I do not know whether or not InstaSPIN is available by default in Simulink.

    For the connection, refer to the Universal Motor Control Lab User's Guide https://www.ti.com/lit/ug/spruj26a/spruj26a.pdf section 3.2.2 for LAUNCHXL-F280039C setup and section 3.2.9 for BOOSTXL-DRV8323RH setup.

    For the F28004x project, as I mentioned, I believe alterations will be required to get it to work with the F28003x, as that is a different core. I'm less familiar with the Simulink tool, so I do not know offhand what those alterations would necessarily be.

    Regards,
    Jason Osborn