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.

C2000WARE-MOTORCONTROL-SDK: Instaspin FOC Inquiry

Genius 14799 points
Part Number: C2000WARE-MOTORCONTROL-SDK
Other Parts Discussed in Thread: C2000WARE

Hi Experts,

Seeking your assistance as we have some points that need to clarify.

[1] As I understand it's a kind of firmware embedded inside some devices correctly? I am speaking here about FAST.

[2] I need to know what devices exactly include FAST.

[3] Are there Dependencies between InstaSpin and CLA existence?

[4] I need to confirm that to adapt my project with instaspin solution I will need to measure the phase volts also as input to the SW from ADC , or there is some workaround that allows me to pass the Volt by some SW function if I was able to get the volt from the current already measured?

[5] Also, would you please also confirm with me is there any way to use "C2000WARE-MOTORCONTROL-SDK" to control sensorless motors using FOC without usage of instaSPIN Approach?

Hope to hear an update from experts for us in order to decide microcontroller to be used and the impact on our HW design.

Regards,
Archie A.

  • Hi ArTzy, our Instaspin FOC expert Yanming Luo will be back in the office tomorrow to answer your question, thank you for your patience.

    Luke

  • Hello Luke,

    Thanks for letting us know. Would love to hear updates from Yanming.

    Regards,
    Archie A.

  • [1] As I understand it's a kind of firmware embedded inside some devices correctly? I am speaking here about FAST.

    Currently, we provided a software FAST library that is not embedded inside devices, it can be used on any newer C2000 devices with FPU&TMU.

    [2] I need to know what devices exactly include FAST.

    As mentioned above. Some devices have the FAST in ROM including F2802xF, F2805xF, F2805xM, F2806xF, F2806xM, F28004xC.

    [3] Are there Dependencies between InstaSpin and CLA existence?

    The current FAST library can be only used on CPU, doesn't support CLA.

    [4] I need to confirm that to adapt my project with instaspin solution I will need to measure the phase volts also as input to the SW from ADC , or there is some workaround that allows me to pass the Volt by some SW function if I was able to get the volt from the current already measured?

    The 3-phase voltage sensing signals are necessary for InstaSPIN-FOC with FAST.

    [5] Also, would you please also confirm with me is there any way to use "C2000WARE-MOTORCONTROL-SDK" to control sensorless motors using FOC without usage of instaSPIN Approach?

    The universal motor control lab is available in the current MCSDK, which can support a set of hardware kits and control algorithms for BLDC/PMSM drive. The kits include LAUNCHXL-F280025C with BOOSTXL-DRV8323RS, or BOOSTXL-DRV8323RH, or DRV8353Rx-EVM, or BOOSTXL-3PHGANINV, or DRV8316REVM. The control algorithms include sensorless InstaSPIN-FOC with FAST, Sensorless-FOC with eSMO, Sensored-FOC with incremental encoder, Sensored-FOC with hall sensor. C2000WARE-MOTORCONTROL-SDK: https://www.ti.com/tool/C2000WARE-MOTORCONTROL-SDK

    Universal Project and Lab User’s Guide: https://www.ti.com/lit/spruj26

    Example lab project at the folder: C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f28002x

    The sensorless-FOC with eSMO doesn't need three-phase voltage sensing, but it doesn't support motor identification.

  • Hi Yanming,

    What about F28003xC does it have FAST embedded? If not embedded, can we use CCS with REX to download fastlib.c or some other web link?

    Thanks Smiley

  • No, it uses the software FAST library as F28002x in motor control SDK.

    It's a library released in Motor Control SDK for C2000 devices, not C source files.

  • It's a library released in Motor Control SDK for C2000 devices, not C source files.

    I checked to find the FAST library was not part of C:\ti\C2000Ware_MotorControl_SDK_4_00_00_00\solutions\universal_motorcontrol_lab\f28002x. There are no other F28002x directories in this latest SDK downloaded. Can you share the CCS install path?

  • The Universal motor control is using the FAST software library, you can find it in the project and the folder as below in the motor control SDK for the library.

    C:\ti\c2000\C2000Ware_MotorControl_SDK_4_00_00_00\libraries\observers\est_lib\lib\fast_full_lib.lib

  • I see several others too and wonder might the execution times be any faster in Flash memory than embedded ROM?  I have reviewed parts of MCSDK directly supports x25c MCU and launch pad. So x39c peripherals would have to be crossed over from x25c to properly function with MCSDK? 

    It would seem the main difference being the FAST library added to a project asserts function calls using same header files as embedded ROM calls. Since the symbols are the same CCS linker knows where to find the functions in Flash memory?

  • It's a classic software library, is only related to the C2000 MCUs with FPU and is not related to which C2000 device.

    To use the similar header file for keeping compatible with ROM version.

  • Yanming thanks for confirming header files with MCSDK labs are linked to existing symbols on other MCU classes, with FPU & TMU.

    BTW: Yellows can't be changed to greens as to give some more answered points. It was answered previously by the poster though anyone authenticated should be able to give more answered points.  

  • No. Just C2000 with FPU and TMU devices.