CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > WoodWorking Machines > DIY-CNC Router Table Machines > Open Source CNC Machine Designs


Open Source CNC Machine Designs Discuss Open Source CNC Machine Designs here.


This forum is sponsored by:

Reply
LinkBack Thread Tools Search this Thread Display Modes
  #121  
Old 07-09-2010, 03:01 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,251
RomanLini is on a distinguished road

I just don't believe that about mechanical micro switches being the most accurate. Here's my take, coming from an electronics background;

1. Optical interuptor sensors. Lousy accuracy, affected by ambient light, IR, even radiated IR (heat). The optical receiver is not temperature compensated and worst of all they age over time so the receiver properties change over time. Also a big problem with dust of any type.

2. Mechanical microswitches. Even if this was to have the initial repeatability of a "no moving parts" hall system, there are parts that will wear over time and change the home point. They usually incorporate a plastic lever and pivot, and plastic wears. It also has a high thermal expansion (much greater than metal) so if the inbuilt lever is 5mm in size and expands 2% over normal operating temps (quite typical) that would be an error of 0.1mm even before the wear starts to occur. Contact wear is also a given, and any mechanical interface may get some dust or swarf between the lever and actuating surface at any time.

Most of these error problems also apply to hall sensors that have a mechanical lever interface (like the type mentioned by CreviceReamer above) which is why I would avoid these type of hall sensor.

3. No moving parts hall switch. Using a "slide by" operation gives very high repeatability, probably as good or better than 0.01mm. There are no parts to snag or trap swarf. Obviously these are not suitable for cutting steel or ferrous metals as the magnet will attract steel swarf but wood, plastics, aluminium, brass etc are ok.

The hall switch has 4 sensors in a bridge so it self-cancels ageing effects of the silicon. Also some brands are temperature compensated for both the hall switch AND the magnet itself (see the datasheet) so even though temperature changes may affect the silicon and the magnet strength that is all compensated out.

When you crunch the numbers, the hall switches look miles ahead for accuracy and repeatability! I'm really looking forward to seeing Vladimir's (vsengineering) test results as his machine allows much finer testing than my machine results shown on page 1 of this thread (which are only in resolution of 0.01mm).
Reply With Quote

  #122   Ban this user!
Old 07-09-2010, 03:17 AM
 
Join Date: Jul 2010
Location: China
Posts: 2
Glennluo is on a distinguished road

I am Glenn from Shang Hai China.I am a design engineer in electronics field
Reply With Quote

  #123   Ban this user!
Old 07-09-2010, 03:19 PM
jke jke is offline
 
Join Date: Jul 2010
Location: Belgium
Posts: 5
jke is on a distinguished road

Hi, (just new here)

To make a hall switch fail-save or "normally closed" you can add a transistor in the housing.

Jurgen
Reply With Quote

  #124   Ban this user!
Old 07-16-2010, 09:36 AM
 
Join Date: Apr 2010
Location: Usa
Posts: 14
Dozer56 is on a distinguished road

Just going through and re-reading this thread again, Great info here!! Even though I don't understand alot of all the technical discussion I think I could make these sensors even with my limited (non existent) knowledge of electronics. I am about half way through my first CNC router. From reading I think I understand that mach3 with a g540 is going to have to have limit switches wired up for the system to run. I might be wrong about that. I thought I read a few threads where some only run on soft limits, but I think since I really have no idea what I am doing and think I should have protection against crashing though it's probably inevitable and probably part of the learning experience, at least it usually is for me....

Is the Hall sensor that CR posted a link to back in reply #107 & 108 http://parts.digikey.com/1/parts/948...0-3h-02-a.html basically the same as the home made one in this thread? I'm just thinking I like these better than the mechanical ones and if I could buy them it would save me time and probably much aggravation getting my machine started.

Thanks

Last edited by Dozer56; 07-16-2010 at 09:53 AM.
Reply With Quote

  #125   Ban this user!
Old 07-16-2010, 09:54 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Originally Posted by Dozer56 View Post
Just going through and re-reading this thread again, Great info here!! Even though I don't understand alot of all the technical discussion I think I could make these sensors even with my limited (non existent) knowledge of electronics. I am about half way through my first CNC router. From reading I think I understand that mach3 with a g540 is going to have to have limit switches wired up for the system to run. I might be wrong about that. I thought I read a few threads where some only run on soft limits, but I think since I really have no idea what I am doing and think I should have protection against crashing though it's probably inevitable and probably part of the learning experience, at least it usually is for me....

Is the Hall sensor that CR posted a link to back in reply #107 & 108 http://parts.digikey.com/1/parts/948...0-3h-02-a.html basically the same as the home made one in this thread? I'm just thinking I like these better than the mechanical ones and if I could buy them it would save me time and probably much aggravation getting my machine started.

Thanks
Your link doesn't work. If you mean THIS switch:
http://search.digikey.com/scripts/Dk...me=480-1993-ND

Then yes. The output is digital, which is what the G540 expects. Just connect the Red wire to +30V or less, the black wire to negative and the Green wire to any G540 input.

In my G0602 lathe project, I'm using these with G540 as a spindle speed threading sensor and as the Z home switch:
http://cnczone.com/forums/showthread...=106312&page=6

And a Voltage divider that converts the 48V from PSU into 24V For sensor power:
http://cnczone.com/forums/showthread...312&page=7.#78

I don't use limit switches with steppers, just soft limits:

http://syilamerica.com/docs/Homing_V...%20Limits.html

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

Sponsored Links
  #126   Ban this user!
Old 07-16-2010, 10:08 AM
 
Join Date: Apr 2010
Location: Usa
Posts: 14
Dozer56 is on a distinguished road

My link wasn't correct, fixed it now. I was thinking about that type too, but I was thinking these might work better for me with the magnet .
Attached Thumbnails
Click image for larger version

Name:	55110-3H-02-A.jpg‎
Views:	160
Size:	95.4 KB
ID:	111044  
Reply With Quote

  #127   Ban this user!
Old 07-16-2010, 10:10 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Ok. I see you fixed the link. THAT switch will also work with G540, but you will need a magnet south pole to operate it. The switch I linked to above has the magnet already mounted internally and operates when a ferrous metal vane passes through its slot.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #128   Ban this user!
Old 07-19-2010, 01:11 AM
 
Join Date: Mar 2008
Location: USA
Posts: 9
KenoSlim is on a distinguished road
What about 12v with a relay?

Nice job with the hall switch idea RomanLini. Sure has a lot of folks working on it.

Here's my problem... Any time I stay with 5V for limits or home switches I get line noise. I have shielded wire, capacitors, grounds everywhere, just can't get rid of the noise with 5V. I use 12V through the switches with a relay to signal Mach 3.

I hooked everything up according to the diagram and everything works fine till I add the relay. When the relay is added, the output from the hall switch sinks to about 2V and the LED turns on. I also lose the switching effect of the hall switch. The magnet makes no difference.

Would anyone have a suggestion as what I should try? I don't want to give it up and I have already cut the mounts for the hall and LED.
Reply With Quote

  #129   Ban this user!
Old 07-19-2010, 02:58 AM
jke jke is offline
 
Join Date: Jul 2010
Location: Belgium
Posts: 5
jke is on a distinguished road

Hey,

You can not drive a relais directly from the hall sensor, you need at least a transistor.

Jurgen
Reply With Quote

  #130   Ban this user!
Old 07-19-2010, 03:16 AM
 
Join Date: Jul 2010
Location: Canada
Posts: 18
kineticstep is on a distinguished road

Originally Posted by KenoSlim View Post
Would anyone have a suggestion as what I should try?
How big is your relay? Remember it has to be driven by less than 20mA if you aren't using an extra transistor to drive it.

If you use this approach with a relay you might consider including a diode to protect against the back EMF when the relay shuts off.
Reply With Quote

Sponsored Links
  #131   Ban this user!
Old 07-19-2010, 07:46 PM
 
Join Date: Mar 2008
Location: USA
Posts: 9
KenoSlim is on a distinguished road

Thanks for the responses guys!

I'm using Omron G5V-1-DC12 relays. I also have some G5LE-1A4-DC12 available. I'm using a diode with some other relays at the moment, using contact switches.

I found on the Honeywell site a schematic using a transistor with the hall sensor. It calls for a PNP type. Shows a basic part number of 2N3638 but it is no longer available as far as I can find at Mouser. There is a truck load of PNP transistors available so I'm not sure which to order.
Reply With Quote

  #132   Ban this user!
Old 07-19-2010, 08:43 PM
 
Join Date: Jul 2010
Location: Canada
Posts: 18
kineticstep is on a distinguished road

NTE129 is supposedly very similar, but almost any general purpose transistor is going to work. If you have a bunch of junk circuit boards you could pluck a few off of them.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stepper Phase Current Made Easy Rube Stepper Motors and Drives 1 08-30-2007 01:02 PM
The relationship of limit switches to home switches. MikeAber General Electronics Discussion 4 11-04-2004 01:28 PM
Limit switches and home switches viktorcnc TurboCNC 2 08-03-2004 06:11 AM
Home switches and limit switches. ynneb General Electronics Discussion 5 04-08-2004 05:32 PM
Home made CNC mill (and some products made by it) gcamlibel DIY-CNC Router Table Machines 23 04-05-2004 05:54 PM




All times are GMT -5. The time now is 05:03 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361