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.

TMS320F280040C-Q1: How to detect stall condition in online.

Part Number: TMS320F280040C-Q1

Hello, I'm Alex .

I have developed a pump item with tms320f28004xC for my customer.

While developing diagnosis mode to protect a motor, I was stuck in the problem.

1. I wasn't able to detect stall condition with instaSpin(FAST).

 

2. If my motor is running with high load under 50~100rpm, How can I recognize whether it is stall or high load?

Thank you.

  • Instaspin-foc (fast) doesn't include this function, it's a detailed engineering topic. You might try to use the torque, current, and feedback speed to check if the motor is stall. The motor should be stall if the speed and torque are very low, but the phase current is very high.

  • Hello Yanming Luo.

    From your response, I have one more question.

    Could you show me an example between low speed with full load and stall condition?

    Because I tested some cases in my test bench like below,

    (Our motor limit current is 40A at user.h file.)

    1. low speed and full load

       - target rpm 100, actual rpm 100, iq current 40A 

    2. stalled motor intentionally

       - target rpm 100, actual rpm 100, iq current 40A

    (Test result is also same when target rpm is 500. only difference thing is the time that actual rpm reaches target rpm.)

    in my consequences, I hadn't been able to distinguish between them.

    Thank you.

  • You might add a function to calculate the phase current of the motor. The feedback speed should be different also if the motor is stalled.

  • To be honest, I can't understand what function calculating current is. As I know, I can get information from InstaSpin (call updateGlobalVariables(estHandle)).

    And I think, I don't need additional function for phase current. Feedback speed is also same in my test bench.

    I will check it based on several factor from instaSpin again. (After testing, I'm going to share my result with you.)

    Lastly If there is an experience to recognize a motor stalled with InstaSpin, Please reply or email me.

    Thank you.

  • No such function for calculating the RMS value of the phase current, you have to design such function by yourself.

    As mentioned above, the instaspin-foc is just focused on the sensorless-foc of the motor with FAST estimator, that doesn't include the stall detection feature, you have to add a function to check if the motor is stalled by using the phase current, feedback speed, and torque value according to your motor and system. 

    In general, the phase current should be very high and the feedback speed should be much lower than the target speed.