Safety stop on loss of Serial Connection
-
- Posts: 32
- Joined: Fri Jan 29, 2016 4:00 pm
Safety stop on loss of Serial Connection
Some controllers I've used have a watchdog timer you can set to something like 1 second. If the controller receives no Serial command for that duration, it will stop the motors. This safety feature is to prevent runaway motors in the event of a connection failure between the roboclaw and the MCu controlling it. I'm not seeing anything like this on the roboclaw. Am I missing it somewhere? I see the packet timeout, but that doesn't seem to stop the motors in the event of serial com failure.
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Safety stop on loss of Serial Connection
Correct, there is currently no automatic motor stop on a timeout in packet serial mode.
-
- Posts: 32
- Joined: Fri Jan 29, 2016 4:00 pm
Re: Safety stop on loss of Serial Connection
Ok, thanks. That might be something to consider in future firmwares...
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Safety stop on loss of Serial Connection
Yes,we are already considering it.
Re: Safety stop on loss of Serial Connection
Isn't it possible to use the "drive distance at velocity" command?there is currently no automatic motor stop on a timeout in packet serial mode
If you make the distance slightly further than you intend to go in the next command interval, and then overwrite that buffered command with a new command before you get to the target distance, then the motor will keep running, until you don't send more commands, and then it will stop at that distance.
Edit: Fixed "position" -> "distance"
Last edited by jwatte on Thu Feb 25, 2016 6:24 pm, edited 1 time in total.
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Safety stop on loss of Serial Connection
I think you meant the Velocity commands with Distance, not Position. Yes, with the Distance commands you could do as you suggest. Then if no new command was given the motor would just stop at the end of the distance.
-
- Posts: 10
- Joined: Sun Oct 08, 2017 3:41 am
Re: Safety stop on loss of Serial Connection
Hello,
I was wondering if you had finished considering this yet?
I was quite surprised and disappointed to find that the RoboClaw controllers don't have this safety feature.
Given that these drives also don't have any gross error limit setting, then all of the closed-loop commands, including 'distance' are not very safe either, because a loss of feedback will cause the motor to run away!
I was wondering if you had finished considering this yet?
I was quite surprised and disappointed to find that the RoboClaw controllers don't have this safety feature.
Given that these drives also don't have any gross error limit setting, then all of the closed-loop commands, including 'distance' are not very safe either, because a loss of feedback will cause the motor to run away!
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Safety stop on loss of Serial Connection
Sorry about the delay in getting your post approve. Some of the recent posts have not show up in our control panel and didnt show in the forums to the admins even though they should have.
We did add this in our todo list for the controllers shortl after our last post. Unfortunately time has been in short supply. We will be adding this as well as a number of other updates soon. We estimate by the end of the year(about 2 months).
We did add this in our todo list for the controllers shortl after our last post. Unfortunately time has been in short supply. We will be adding this as well as a number of other updates soon. We estimate by the end of the year(about 2 months).
-
- Posts: 10
- Joined: Sun Oct 08, 2017 3:41 am
Re: Safety stop on loss of Serial Connection
Hello again
Any update on this?
Any update on this?
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Safety stop on loss of Serial Connection
None yet. It is still in our todo.