cancel
Showing results for 
Search instead for 
Did you mean: 

Random Speed feedback errors

Mostafa_Soliman
Associate

Hello,

I am trying to control the speed of a PMSM with hall sensors. We are getting many random speed feedback errors that causes the drive to stop.

When I looked at the code (hall_speed_pos_fdbk.c), I was surprised to find that the parameter bMaximumSpeedErrorsNumber is pretty much useless. Whenever the fault will occur, the count is set to the maximum value and the drive trips. This makes the code extremely fragile in noisy environments. Is there any way to fix this?

else

{

bReliability = false;

pHandle->_Super.bSpeedErrorNumber = pHandle->_Super.bMaximumSpeedErrorsNumber;

/* If speed is not reliable the El and Mec speed is set to 0 */

pHandle->_Super.hElSpeedDpp = 0;

*hMecSpeedUnit = 0;

}

Thanks

0 REPLIES 0