Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

MSPM0G3519-Q1: Sensored FOC

Part Number: MSPM0G3519-Q1

Hi!

I asked about using the MSPM0 Universal FOC codebase with an optical encoder in this thread: https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1640785/mspm0g3519-q1-sensored-foc/6326461

I was told that that the feature was scheduled for development in "2H26 (maybe 4Q)" so I'm writing now to follow up on that.  Is this work still in the pipeline?  I just looked and didn't find it at https://dev.ti.com yet.  Would you like an early tester?

In the meantime, I'd like any tips you might have to use the MSPM0 Universal TI FOC application using "Closed Loop Torque Control Mode" while providing the rotor electrical angle from my optical encoder.

To start, I'd like to skip the motor align and other motor startup steps somehow.  How can I jump from MOTOR_IDLE directly to a running state?

I noticed there is a "FORCED_ALIGN_ANGLE" register, but I can't see how to use it in the MSPM0 Universal FOC Tuning documentation.  Is there any documentation for that feature?  Is that helpful for my problem?

It would be best if there was a way to do this just using the register interface to the existing code, but I'm okay changing the TI applciation code, specially with any clues you might be able to provide.  

Thanks for all your support!

 

  • Hello Michael,

    Our motor control expert Sal is out of office, I will let him know your ongoing questions. And when he come back, I will discuss with him about this and give help to you.

    BR,

    Janz Bai

  • Hi Michael,

    The original schedule is delayed, I will check with internal team on the latest schedule and update to you.

    To start, I'd like to skip the motor align and other motor startup steps somehow.  How can I jump from MOTOR_IDLE directly to a running state?

    I haven't done it in the past.

    You need check the state machine and set it to CLOSE LOOP state directly instead of ALIGN state. Additionally, the foc angle need use the encoder one, instead of estimator.

    I noticed there is a "FORCED_ALIGN_ANGLE" register, but I can't see how to use it in the MSPM0 Universal FOC Tuning documentation.  Is there any documentation for that feature?  Is that helpful for my problem?

    This is used to set align angle (default is 0 degree) in force_align_mode only.

    B.R.

    Sal