Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TMS320F28377D: BLDC/PMSM options for Delfino

Part Number: TMS320F28377D
Other Parts Discussed in Thread: CONTROLSUITE, INSTASPIN-BLDC, DESIGNDRIVE, TMS320F28379D, BOOSTXL-3PHGANINV, C2000WARE

We have an application requiring speed control of two 24V, 300W brushless (BLDC or PMSM) motors with sensors (hall and quadrature encoder). We've already looked at instaspin-FOC with the piccolo parts and found that instaspin-FOC was fairly easy to get up and running using the lab projects included in MotorControl SDK. But we may need additional CPU resources and are thus looking at Delfino devices (F28377S or F28377D) as well. Searching for motor control solutions for Delfino parts has left me pretty confused. I'll try to start with a few broad questions:

1. I wanted to clarify whether Instaspin-FOC can be ported to Delfino devices. I am aware that Delfinos do not include the code in its ROM. But from what I understand, the source code for instaspin-FOC is available with the exception of the FAST estimator, which we can live with since we have hall sensors and encoders. I vaguely recall seeing e2e posts discussing implementing instaspin-FOC on Delfino parts, but can't find them now.

2. I'm aware there's instaspin-BLDC, but it seems to not get discussed much anymore. As far as I can tell, it supports sensorless control of BLDC (not PMSM) motors on older Delfinos without FPU support. I don't see any reference to it in C2000 ware or MotorControl SDK. Seems like it was last present in ControlSuite. Not sure whether instaspin-BLDC is worth pursuing.

3. Then there's DesignDrive, which supports sensored FOC control for Delfino. My issue with DesignDrive is that it seems the only hardware platform it supports is the IDDK, which is not a great fit for us (tons of options for different sensors, but not easily expandable to two motors). Also doesn't seem to have a nice set of lab projects like instaspin-FOC does. The code seems very different from instaspin-FOC, and I'm unsure how one would expand it to support two motors.

4. Finally there's the Dual-Axis Motor Control Using FCL and SFRA On a Single C2000 MCU, specifically the project "dual_axis_servo_drive_fcl_qep_f2837x". From a high level it seems to be exactly what I'm looking for, as it implements sensored foc control of two motors using a TMS320F28379D LaunchPad and two BOOSTXL-3PHGANINV daughter boards, much like lab 11 for instaspin-FOC. But its documentation doesn't refer to DesignDrive or Instaspin. Its source code reminds me a lot of the instaspin labs, looks like they make similar use of HAL structures.

Just hoping to make sense of the landscape before picking an option.

Regards,

Mike

  • 1. I wanted to clarify whether Instaspin-FOC can be ported to Delfino devices. I am aware that Delfinos do not include the code in its ROM. But from what I understand, the source code for instaspin-FOC is available with the exception of the FAST estimator, which we can live with since we have hall sensors and encoders. I vaguely recall seeing e2e posts discussing implementing instaspin-FOC on Delfino parts, but can't find them now.

    Do you want to run the motor with hall sensor/encoder based sensored-FOC, or sensorless-FOC?

    4. Finally there's the Dual-Axis Motor Control Using FCL and SFRA On a Single C2000 MCU, specifically the project "dual_axis_servo_drive_fcl_qep_f2837x". From a high level it seems to be exactly what I'm looking for, as it implements sensored foc control of two motors using a TMS320F28379D LaunchPad and two BOOSTXL-3PHGANINV daughter boards, much like lab 11 for instaspin-FOC. But its documentation doesn't refer to DesignDrive or Instaspin. Its source code reminds me a lot of the instaspin labs, looks like they make similar use of HAL structures.

    Yes, it uses the HAL structures. You might refer to this lab project for dual motor control with encoder based sensoed-FOC.

  • Hi Yanming,

    Do you want to run the motor with hall sensor/encoder based sensored-FOC, or sensorless-FOC?

    I have the sensors so I intend to make use of them. But I'd be fine starting with code meant for sensorless FOC and adapting it to use sensors.

    Yes, it uses the HAL structures. You might refer to this lab project for dual motor control with encoder based sensoed-FOC

    But what framework does this example fall under? DesignDrive, Instaspin, or some other flavor? I can't actually find any clear documentation on DesignDrive (user guide, technical reference, etc), so I'm not even sure what DesignDrive is supposed to encompass.

  • OK. You might refer to the dual-motor example, it's non-InstaSPIN example and similar as the Design Drive, but change the initialization codes for using the C2000 driverlib.

    You can find the example project and supporting documentation in the folder below if you installed the motorControlSDK.

    C:\ti\c2000\C2000Ware_MotorControl_SDK_3_03_00_00\solutions\boostxl_3phganinv\f2837x\ccs\sensored_foc

    C:\ti\c2000\C2000Ware_MotorControl_SDK_3_03_00_00\solutions\boostxl_3phganinv\docs