Hello Guest it is April 19, 2024, 03:31:12 AM

Author Topic: Accuracy of Homing Devices? Pro's and Con's of Different Sensors  (Read 38511 times)

0 Members and 1 Guest are viewing this topic.

Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #40 on: October 18, 2012, 02:55:37 PM »
Hi Dickybird, I've an Orac and use an opto sensor like the one MC showed one the page before. On the Orac X slide at the rear on the right side there is a hole with grubscrew that had a rod which travelled with the axis and pressed on a switch located just above the stepper motor. I replaced the rod with a flat sided bar with a slot cut in it and replaced the switch with the opto sensor. My X axis rapid is 2000mm/sec and I home the axis at 80% and it is accurate to less that 0.01mm.

John 
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #41 on: October 18, 2012, 03:56:00 PM »
Hi John, nice to see a fellow ORAC user here; I may have to pick your brain later!;D

Yep, I'm familiar with the switch actuator rod you're referring to.  Mine didn't come with one and I figured if I had to make something I might as well use a manual switch on that rod and add the indexing disc/opto sensor to the stepper to get even more accuracy.  I have double shaft motors so it shouldn't be too hard to do.
Milton from Tennessee ya'll.

Offline mc

*
  •  382 382
    • View Profile
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #42 on: October 18, 2012, 05:09:56 PM »
Ahh, OK thanks.  I figured I'd have to play around with it to get it to work.  Hopefully the sensor electronics don't do anything weird on power up but come to think about I could leave it powered up and just switch the signal?
It's not very clear from the ebay listing as to how the signal functions in regard to the sensor being blocked/clear, but your suggestion is doable.

If you arrange things so once the switch closes it connects the sensor signal to the BOB then it will work. You'd just to need to make sure the BOB input is set to pull-up/down to match whatever the blocked (or unblocked if using an index tap instead of an index cut-out) state of the sensor is.
For example, if using an index cut-out and the blocked sensor signal is 5V, then set the BOB to pull-up.
That way with the index switch untriggered/open circuit, the BOB input sees 5V. Then when the switch is triggered, the BOB input still sees 5V, until the sensor becomes unblocked and switchess the BOB input to ground.
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #43 on: October 18, 2012, 06:57:56 PM »
Thanks mc!  You explain things so clearly even I should be able to get it working without letting any smoke out!
Milton from Tennessee ya'll.
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #44 on: November 07, 2012, 11:42:52 AM »
Hi ya’ll, is nice Mr. mc still on board??  I’m trying to make sure I don’t do something really stoopid with this pull-up/pull-down thing.  My latest grandson isn’t quite ready for pull-ups yet so I better get busy.  The other 3 figured it out for themselves so I reckon they’ll all be electronics whizzes.;D

I now have the hardware mounted solidly with a NO micro-switch adjusted to close about 3 turns of the stepper motor before the axis bottoms out and I mounted the opto on the motor with a half-circle disc on the motor shaft.  The opto is powered up with 5V and gnd from the C11 B.O.B.  The micro-switch is connected in series with the SIG wire from the opto and I stand ready to connect it to the B.O.B., pin #12.

I verified that the opto operates as shown in the spec sheet ie: sensor blocked .16v, sensor open 4.9v which is backward from the example given above by mc.

What’s the preferred method of hookup re: sensor/disc block/unblock, pull up/pull down.  I know, I know it’s real simple but my almost 65 yr. old brain confuses itself very easily.



Milton from Tennessee ya'll.

Offline mc

*
  •  382 382
    • View Profile
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #45 on: November 07, 2012, 08:20:44 PM »
Whether you use pull-up or pull-down won't make that much of a difference in terms of operation, the main thing is syncing the microswitch to ensure it switches well before the opto switches. Personally I'd aim to have the microswitch switch when the opto is about quarter (1/8th of a turn) of the way into it's untriggered half of the disc. That way the switch should be firmly activated by the time the opto triggers.

If you use pull-down on the BOB, you need to ensure the microswitch closes when the opto is blocked (at near 0V), so that when the opto is unblocked, it pulls the BOB pin up to near 5V.
Or if you use pull-up on the BOB, you need to ensure the microswitch closes when the opto is unblocked (at 5V), so the opto can pull the BOB pin down when it becomes blocked.

Either way will work, it's just that the microswitch trigger point/adjustment may make one way easier than the other.
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #46 on: November 08, 2012, 09:47:25 AM »
Thanks for the clarification mc, much appreciated!
Milton from Tennessee ya'll.

Offline mc

*
  •  382 382
    • View Profile
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #47 on: November 09, 2012, 06:46:27 AM »
No problem.
I'm glad it clarified things, as the only thing it done was confuse me when typing it!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #48 on: November 09, 2012, 05:09:15 PM »
Maybe I am missing something but is there a reason using this method would be more accurate than just using an opto alone?
Index homing from an encoder and captured in hardware I can see being more accurate but doing it this way I cant.
Hood
Re: Accuracy of Homing Devices? Pro's and Con's of Different Sensors
« Reply #49 on: November 09, 2012, 05:40:06 PM »
Maybe I am missing something but is there a reason using this method would be more accurate than just using an opto alone?
I hope it does Hood.  Lotta wasted effort if not.  A "normal" homing opto reads the axis movement directly and would be pretty accurate depending on how good it is I suppose but I want to try it at the stepper to take advantage of the the reduction.

The way I'm looking at it, a lathe's X axis homing should be as perfect and repeatable as possible.  I figured with the ballscrew pitch, the belt reduction and motor/controller's half stepping the resolution should be very good.  The microswitch is adjusted to switch the opto in just before the end of the axis' travel and the opto will switch the B.O.B. then.  

Admittedly, I haven't set up the Mach homing config on any machine yet and there may be a land mine in the software that prevents it but I was thinking this should work OK, yes?
Milton from Tennessee ya'll.