Problem with homing repeatability. Possible digital noise
- AppleAssassin
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
07 May 2018 12:03 #110322
by AppleAssassin
Hey guys.
So the other day I switched out my mechanical switch for a hall effect sensor to see if that would fix my homing repeatability issues, but it didn't. It's consistently ~0.1-0.3mm out each time I home it.
I've also tried changing the home search speed and that doesn't seem to make a difference. However I opened up the halscope to check the axis.0.home-sw-in and when it's within ~0.5mm or so it'll toggle between True and False. The closer to 0mm it is the less it seems to bounce between the two states.
Would debouncing help solve this problem? If it does, how do I go about implementing that on pin15 on my BoB.
I looked up the Doc for debounce but it doesn't seem very helpful.
Cheers
So the other day I switched out my mechanical switch for a hall effect sensor to see if that would fix my homing repeatability issues, but it didn't. It's consistently ~0.1-0.3mm out each time I home it.
I've also tried changing the home search speed and that doesn't seem to make a difference. However I opened up the halscope to check the axis.0.home-sw-in and when it's within ~0.5mm or so it'll toggle between True and False. The closer to 0mm it is the less it seems to bounce between the two states.
Would debouncing help solve this problem? If it does, how do I go about implementing that on pin15 on my BoB.
I looked up the Doc for debounce but it doesn't seem very helpful.
Cheers
Please Log in or Create an account to join the conversation.
- AppleAssassin
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
07 May 2018 13:16 #110326
by AppleAssassin
Replied by AppleAssassin on topic Problem with homing repeatability. Possible digital noise
Update:
I've managed to add debounce to the input pin, however it doesn't seem to be helping. around 80% of the homing attempts it'll go back to 0.
Is there any way to increase that repeatability?
I've managed to add debounce to the input pin, however it doesn't seem to be helping. around 80% of the homing attempts it'll go back to 0.
Is there any way to increase that repeatability?
Please Log in or Create an account to join the conversation.
07 May 2018 17:42 #110332
by emcPT
Replied by emcPT on topic Problem with homing repeatability. Possible digital noise
Can you describe the hardware/mechanics of the machine. Can it be possible that are the mechanics and not the software part?
Please Log in or Create an account to join the conversation.
07 May 2018 21:26 #110344
by rodw
Replied by rodw on topic Problem with homing repeatability. Possible digital noise
I'm not sure if it will help, but you could try slowing down your homing accelerations, particularly the second and final one to prevent overshoot.
Settings are in the INI file.
Settings are in the INI file.
Please Log in or Create an account to join the conversation.
- AppleAssassin
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
07 May 2018 22:30 #110348
by AppleAssassin
Replied by AppleAssassin on topic Problem with homing repeatability. Possible digital noise
When incremental jogging back and forth it'll generally be accurate to around 0.03mm which is more than fine for my needs. But when homing it could be 10 times out. Up to 0.3mm so I believe it could be the home switch.
Please Log in or Create an account to join the conversation.
- AppleAssassin
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
07 May 2018 22:31 #110349
by AppleAssassin
Replied by AppleAssassin on topic Problem with homing repeatability. Possible digital noise
I've tried setting it to a dead slow search and even then it might be out. Sometimes (Not always) it'll say "home switch inactive before start of backoff move"
Please Log in or Create an account to join the conversation.
07 May 2018 22:38 #110350
by rodw
The error message sounds like your home switch is not staying engaged for the full duration of the homing sequence. I did experience that. Are the actuators you are using long enough to stay engaged while it coasts to a stop?
Replied by rodw on topic Problem with homing repeatability. Possible digital noise
I've tried setting it to a dead slow search and even then it might be out. Sometimes (Not always) it'll say "home switch inactive before start of backoff move"
The error message sounds like your home switch is not staying engaged for the full duration of the homing sequence. I did experience that. Are the actuators you are using long enough to stay engaged while it coasts to a stop?
Please Log in or Create an account to join the conversation.
- AppleAssassin
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
07 May 2018 22:40 #110351
by AppleAssassin
Well I've tried using both Mechanical switches. The relatively cheap lever arm roller type and a hall effect sensor. Both show the same problem
Thanks
Replied by AppleAssassin on topic Problem with homing repeatability. Possible digital noise
I've tried setting it to a dead slow search and even then it might be out. Sometimes (Not always) it'll say "home switch inactive before start of backoff move"
The error message sounds like your home switch is not staying engaged for the full duration of the homing sequence. I did experience that. Are the actuators you are using long enough to stay engaged while it coasts to a stop?
Well I've tried using both Mechanical switches. The relatively cheap lever arm roller type and a hall effect sensor. Both show the same problem
Thanks
Please Log in or Create an account to join the conversation.
07 May 2018 23:09 #110355
by rodw
Replied by rodw on topic Problem with homing repeatability. Possible digital noise
But you have not answered my question.
Please Log in or Create an account to join the conversation.
- AppleAssassin
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
08 May 2018 00:22 #110358
by AppleAssassin
Replied by AppleAssassin on topic Problem with homing repeatability. Possible digital noise
I've switched back to a mechanical switch, this time rather than wiring it for Normally Open, instead wiring it for Normally Closed.
I'm not sure why this made a difference, however now I'm within 0.01mm repeatability for every homing operation.
I'm not sure whether the first switch I used was faulty, and whether there was too much noise / wrong resistor value used for the Hall sensor. Whatever it was. Switching out the switch fixed the issue
I'm not sure why this made a difference, however now I'm within 0.01mm repeatability for every homing operation.
I'm not sure whether the first switch I used was faulty, and whether there was too much noise / wrong resistor value used for the Hall sensor. Whatever it was. Switching out the switch fixed the issue
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds