Hi guys. I am attempting to accelerate a stepper motor back and forth at high velocities. However, the final project will need the motor to run reliably for three months straight. Therefore, I need help on how to code a stall detection system that can simply detect when the motor has stalled and count the amount of stalls. An encoder is NOT possible because in the final design there is no where to mount it, therefore coding a stall detection system is the best option. Thanks in advance!
Detecting a stalled stepper motor without some kind of position sensor is a really complicated task. Our AMIS30543 stepper motor driver has built-in back-EMF feedback that can be used to do something like that, but we have not done much with it, so we cannot offer any advice, and even with that I suspect getting a reliable indicator would be difficult.