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.

CCS/TMS320F280049C: Block Commutation with DRV8302

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE, DRV8320

Tool/software: Code Composer Studio

Hello everyone,

I am using the TMS320F280049C with a BLDC motor and it is working well with the sensorless FOC lab. 

However, I would like to control my BLDC with block commutation method but I don't see any lab which could apply to. 

Does someone know if there is any lab allowing the block commutation control? 

If not is there any help to code a C/C++ program to realize this control? 

Thank you in advance for your answer.

Best regards.

  • All the reference examples for motor control based F28004x are included in motorControlSDK. You have to design the control codes by yourself if you want to implement other algorithms/methods.

     http://www.ti.com/tool/C2000WARE-MOTORCONTROL-SDK

    You might find the device-specific drivers, libraries, and peripheral examples in C2000Ware that could minimize your development time.

    http://www.ti.com/tool/C2000WARE

  • user5202859 said:
    I would like to control my BLDC with block commutation method

    Are you referring to 6 step commutation? I was wondering why there was no 6 step code written too and hesitate to convert my ARM Cortex FOC code. Yet ST and other vendors have ARM cortex code for both methods as to contrast motor speed/torque controls. At least 6 step (FOC) could verify GPIO ports are connected correctly and contrast ePWM module features are superior in some way.

    Several points to contrast could include startup speed observer, motor speed, DC voltage/current consumption. 

  • Hi ,

    Just wanted to check in and see if there is any update from your side, I haven’t heard from you for about two weeks, so I’m assuming you were able to resolve your issue. Please let me know if you have any questions. We would like to close this thread if no any further questions. Thanks.

  • Hello,

    No, I did not find what I needed. 

    I would like to know if it exists a document which explains how to develop a trapezoidal commutation with the drv8320RS. 

    Thank you in advance. 

  • Right, both software don't have such documents about a trapezoidal control of the BLDC. You have to refer to the examples and document in controlSUITE as below link.

    CONTROLSUITE
    http://www.ti.com/tool/CONTROLSUITE

    There are two methods to implement trapezoidal control of the BLDC in the below folder of controlSUITE, Trapezoidal Control of BLDC Motors Using Hall Effect Sensors, and Sensorless Trapezoidal Control of BLDC.

    :\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1

    More information can be also found in the following link.

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/864875

    All the above examples are not based on F28004x+DRV8320, but you can still use the control algorithm, and just need to modify the device configuration codes for different C2000 device and inverter.