|
Re: Stall detection
Under a stall condition, current will be relatively high after the motor has been free spinning for a while (if the motor is starting from stop, it will have a similar current as a stall, briefly). With CAN, you should be able to get the current output on the motors. Someone with more experience with CAN might be able to help you there.
If you're using an encoder, you should get a reading of # ticks / timeframe with a certain motor output. If you get near zero ticks / timeframe, the wheel isn't spinning and you could be in a stall condition.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
|