- Posts: 38
- Thank you received: 0
Constantly check encoder index signal ?
- guymalpass
- Topic Author
- Offline
- Junior Member
-
Less
More
8 years 7 months ago #107750
by guymalpass
Constantly check encoder index signal ? was created by guymalpass
Hi,
I had an encoder that when it got hot would stop pulsing correctly. The problem was the missing pulses were so brief it fell within my following error so the motor just compensated resulting in a large undetected error after a while. I have since solved this by keeping the encoder cooler but would be happier with a more comprehensive solution.
Is there any way of constantly monitoring the index channel to check if it occurs when expected?
Thanks,
Guy
I had an encoder that when it got hot would stop pulsing correctly. The problem was the missing pulses were so brief it fell within my following error so the motor just compensated resulting in a large undetected error after a while. I have since solved this by keeping the encoder cooler but would be happier with a more comprehensive solution.
Is there any way of constantly monitoring the index channel to check if it occurs when expected?
Thanks,
Guy
Please Log in to join the conversation.
8 years 7 months ago #107756
by PCW
Replied by PCW on topic Constantly check encoder index signal ?
Yes, this is something I've though about for a while
At least with Mesa hardware and the software encoder component (not sure about others)
Its theoretically possible to always have the low level index enabled in the driver
and to check:
1. That index occurs every turn
2. That the raw encoder count at index mod counts/turn is ~=0 (to verify that no counts have been gained/lost)
Unfortunately this needs to be done in the driver (mesa or other hardware encoders) or the encoder component
rather than a simple hal change
At least with Mesa hardware and the software encoder component (not sure about others)
Its theoretically possible to always have the low level index enabled in the driver
and to check:
1. That index occurs every turn
2. That the raw encoder count at index mod counts/turn is ~=0 (to verify that no counts have been gained/lost)
Unfortunately this needs to be done in the driver (mesa or other hardware encoders) or the encoder component
rather than a simple hal change
Please Log in to join the conversation.
- guymalpass
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 0
8 years 7 months ago #107757
by guymalpass
Replied by guymalpass on topic Constantly check encoder index signal ?
Hi PCW,
I am using a 5i25 with 7i76_7i77 for the encoders, how much trouble do you think it would be to build into the driver ?
I am using a 5i25 with 7i76_7i77 for the encoders, how much trouble do you think it would be to build into the driver ?
Please Log in to join the conversation.
Time to create page: 0.271 seconds
