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.

TMS320F28335: Data overflow problem in ESMO

Part Number: TMS320F28335


Hi Team,

I ask this question for our customer:

Recently, I developed a position sensorless algorithm for permanent magnet synchronous motors on my own inverter platform. I send the calculated , , , into the open source SMO module can get the estimated angle. 

But after I transplanted the ESMO algorithm to the program, I sent the same , , , , runspeed, and cmdspeed into the ESMO according to the given routine. The observation angle is always -IQ(0.5). After checking the running variables, I found that IαlphaError and IbetaError have data overflow as _IQ (127.5), and Zαlpha, Zbeta and kslf are always 0.

This is still the case after the IF open-loop running speed is increased. May I ask where is the problem?

--

Thanks & Regards

Yale

  • Can you provide more details about this question? Or can you debug your own code by using step by step run within CCS? It's difficult to tell you where is the problem since this problem is related to both sensing signals on hardware board and software algorithm code you designed.

    Recommend that you may use the motor control reference code with TI EVM kits first to tune the motor, and then migrate the reference code to your own board.

  • Hi Yanming,

    Thanks for your reply.

    Iα and Iβ are obtained by sampling the two-phase current and performing Clark transformation. Uα, Uβ are obtained through the output of the current loop PI. Because there is no DC bus voltage sampling circuit on my hardware.

    Iα, Iβ, Uα, Uβ input to the SMO module can get the output angle, but input to the ESMO module can not get the angle, even if the running speed and command speed are also input into the ESMO module.

    --

    Thanks & Regards

    Yale

  • As mentioned above, Check the current sampling signals and the code you designed. Are you using any TI reference code or your own code? It's difficult to answer your question per the information you provided. Please share more information if you have any further questions.