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.

TM4C123GE6PM: Synchronous Motor Control support for TIVA

Part Number: TM4C123GE6PM

Hi,

The customer drives asynchronous motor with using TM4C123GE6PM. Now, they want to drive synchronous motor with using the same MCU. 

As far as I know, Instaspin-FOC library supports this application, but it is only for some C2000 MCUs and it comes in the ROM. 

So, is there any library support for TIVA to drive synchronous motor?

Thanks,

Mete

  • Hello Mete,

    There is no library support available for TM4C to do this. Your customer may be able to port the InstaSpin-FOC from C2000 to TM4C, but that will be a very large challenge and not likely to be something we would be able to offer any guidance on as well. Not sure if the ROM portion would be required as I am not familiar with how InstaSpin works - but if so then I suppose even that wouldn't be an option.
  • My tech firm provides much, "MCU based, Motor Control Design" work - may be able to offer (some) guidance.     A link to the NEW (candidate) motor's spec would prove a good "starting point" for such assistance.

    Should fortune "smile" (and motor power requirements remain similar) - it (may) be possible to "Re-Use" much of, "Customer's existing design!"     (link to the Async Motor's spec (their existing motor) then (also) required)

    As always, "Devil lurks w/in such (yet to arrive) details..."

  • Hello Ralph,

    many thanks for your confirmation. So, it seems that the only choise is C2000 with InstaspinFOC (TMS320F2806xF). 

    The problem is competition, the customer evaluates STM32Fxxxx devices with FOC motor drive SDK support and the prices are pretty lower than our solutions. 

    I know that C2000 is better optimized for motor driving, but the customer confirms there is not such a hard work which can be done with only C2000, STM can also do it. 

  • Cb1 cocks - then raises pistol (slowly) to head level... (where IS the DisLIKE button?)
  • My TV keeps saying it's not how fast you mow ,,, It's how fast you mow well!

    Point being C2000 Delfino FCL adds new life for synchronous motors with COS/QEP encoders via built in 488 interface. Bonus is the FCL rotor position code in an external library. Not yet clear if the FCL library functions only work with Delfino though suspect might access hardware specific design of ADC for FCL to work. Several internet articles suggest FCL is and extended EMF FOC and the module block Ld/Lq appears very similar to FAST design.

    One might consider the external FCL library a blessing for high speed synchronous servos, replaces FOC functions embedded InstaSpin FAST ROM. If only QEP index pulse required for PI complex speed controller were a bit more flexible as to the source of signal. 

    ST might have to take back seat with Delfino 200Mhz Dual core MCU, as much TI-RTOS kernel tasks handle library directives an added bonus to (Ld/Lq) rotor torque with inline FCL current monitoring. Claims are made that FCL can double motor speed via 1us or less PWM cycles, that part has me wondering how to fake simulate the QEP index for PI complex speed controller.

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