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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #25   Ban this user!
Old 02-26-2009, 01:10 PM
 
Join Date: Feb 2008
Location: Atlantis
Posts: 81
MetalBlade is on a distinguished road

Originally Posted by The Blight View Post
How about all the other I/Os on the bob? Might be a good idea to isolate those from the parallel port.
Yes that makes since if you are interfacing anything other then a stepper controller that doesn't have isolated inputs already, but not as the first components the weak signal sees as it enters the bob.

If Mach 3 had more support for USB chips made by http://www.ftdichip.com/ then USB would be easier to implement, and we wouldn't even have to worry about this type of problem in the first place.
Reply With Quote

Sponsored Links
  #26   Ban this user!
Old 02-26-2009, 01:46 PM
 
Join Date: Feb 2008
Location: Atlantis
Posts: 81
MetalBlade is on a distinguished road

On another thought, there is no reason to have opto isolation before a relay either. I mean think about it, you already have isolation because the relay uses a small signal to charge a coil, which is isolated from the higher voltage by magnetism instead of light in opto isolation. So people who shell out extra for these boards that have opto isolation are really just throwing their money away on redundancy.
Reply With Quote

  #27   Ban this user!
Old 02-26-2009, 01:51 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,373
HimyKabibble is on a distinguished road

Originally Posted by MetalBlade View Post
There is really no need for opto isolation of the bob if you're using geckos. The geckos already have isolated inputs. All you're doing is just adding to the total slew rate of the components on the bob and increasing the "time of flight" for the signal from the PC to the stepper controller. Just can't be good if you're going for higher rpm.

As soon as I finish my breakout board, I plan to make a youtube video proving that all this crap added to the input of the bob, plus incorrect gluing of the logic families TTL and CMOS is the cause of "bad bob behavior". Hey that rhymes.

There is no reason a properly designed board shouldn't be able to interface with a laptop without sinking too much current, pulling down the voltage, and causing missed steppes which makes the stepper motors stall out.
There IS a reason to have opto-isolation on all the OTHER inputs and outputs, like limit/home switches, motor controls, E-stop buttons, etc., etc. Also, there is no reason whatsoever a properly designed opto-isolation circuit should in any way impact the operation of the machine, even when driving Geckos. It is entirely possible to design opto-isolators that will run much faster than any machine will require, with low-enough signal skew as to be irrelevent. The problem is it seems many BOBs are NOT well designed, and mangle the signals. This is NOT a problem with opto-isolation in general, but simply a problem with those specific BOBs. My BOB is a perfect example. As I received it, it completely filtered out the step signals above about 40kHz. By simply re-biasing the optos, it is now quite happy at 250kHz. Few machines will ever need to go that fast. And, it is driving my G320s just fine at those speeds, despite the double opto-isolation. I'm also absolutely certain I could make it go at least 2X faster, probably faster, if I ever needed to.

Regards,
Ray L.
Reply With Quote

  #28   Ban this user!
Old 02-26-2009, 02:12 PM
 
Join Date: Feb 2008
Location: Atlantis
Posts: 81
MetalBlade is on a distinguished road

Originally Posted by HimyKabibble View Post
There IS a reason to have opto-isolation on all the OTHER inputs and outputs, like limit/home switches, motor controls, E-stop buttons, etc., etc.
So you're worried about a little 5V signal from a switch messing up your computer? Interesting. I would think most people aren't using their brand new top of the line computers that they just bought for their milling work anyway, so all this talk about how it's going to destroy your computer is pointless when used computers are practically through away these days.
Reply With Quote

  #29   Ban this user!
Old 02-26-2009, 03:29 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,373
HimyKabibble is on a distinguished road

Originally Posted by MetalBlade View Post
So you're worried about a little 5V signal from a switch messing up your computer? Interesting. I would think most people aren't using their brand new top of the line computers that they just bought for their milling work anyway, so all this talk about how it's going to destroy your computer is pointless when used computers are practically through away these days.
First of all, many of us do not use 5V for switches. We use 12-24V, for better noise immunity. This is *necessary* and common practice on large machines (mine is a 9x49 knee mill). Not everyione here is running a little benchtop machine. Second, my computer, which I paid $100 for, is a 6 month old HP 3.6GHz pentium. And, no, I don't want it blown up, because I can't get another one at that price. Relay drivers are a *perfect* place for optos, because if the coil driver transistor fails, the relay can inject a voltage spike into the BOB, which could possibly propogate back to the PC. I'd much rather be able to replace a socketed 50 cent chip on my BOB, than have to buy a new $150 SmoothStepper or find another PC.

You could also have an accidental short in your motor drivers or power supply that ties your 5V bus to your 70V motor supply - S**t happens. Or short an AC line to a signal line. Anything like that will wipe out pretty much anything in it's path, up to the optos. Your PC will be spared. The whole idea is to protect against unplanned events, which DO occur, at least to the rest of us.

Opto isolation is insurance. Most people will never need it, but if you do, it's really nice to have it there. For me, it's a good trade-off. For you, perhaps not, but that's no reason to dismiss the entire concept. It's VERY widely used in industrial machines, and for good reason.

Regards,
Ray L.
Reply With Quote

  #30   Ban this user!
Old 02-26-2009, 03:37 PM
 
Join Date: Feb 2008
Location: Atlantis
Posts: 81
MetalBlade is on a distinguished road

Originally Posted by HimyKabibble View Post
Opto isolation is insurance. Most people will never need it

Regards,
Ray L.
Do you worry a lot?
Reply With Quote

Sponsored Links
  #31   Ban this user!
Old 02-26-2009, 03:58 PM
 
Join Date: Feb 2008
Location: Atlantis
Posts: 81
MetalBlade is on a distinguished road

Originally Posted by HimyKabibble View Post
First of all, many of us do not use 5V for switches. We use 12-24V, for better noise immunity. This is *necessary* and common practice on large machines (mine is a 9x49 knee mill). Not everyione here is running a little benchtop machine. Second, my computer, which I paid $100 for, is a 6 month old HP 3.6GHz pentium. And, no, I don't want it blown up, because I can't get another one at that price. Relay drivers are a *perfect* place for optos, because if the coil driver transistor fails, the relay can inject a voltage spike into the BOB, which could possibly propogate back to the PC. I'd much rather be able to replace a socketed 50 cent chip on my BOB, than have to buy a new $150 SmoothStepper or find another PC.

You could also have an accidental short in your motor drivers or power supply that ties your 5V bus to your 70V motor supply - S**t happens. Or short an AC line to a signal line. Anything like that will wipe out pretty much anything in it's path, up to the optos. Your PC will be spared. The whole idea is to protect against unplanned events, which DO occur, at least to the rest of us.

Opto isolation is insurance. Most people will never need it, but if you do, it's really nice to have it there. For me, it's a good trade-off. For you, perhaps not, but that's no reason to dismiss the entire concept. It's VERY widely used in industrial machines, and for good reason.

Regards,
Ray L.
So, what is this magnificent break out board that you're using? Does it have an on board relay? What voltages are required for its operation? If it has an on board rely, what voltage/current does the relay’s coil require?
Reply With Quote

  #32   Ban this user!
Old 02-26-2009, 04:14 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,875
Torchhead is on a distinguished road

Step & Dir into the Geckos are isolated with high speed (2 mhz) optos. (except for the 250 series). The buffering on a BOB is to improve the noise immunity of the parallel port. The outputs of a PP are logic level MOS. The pins are not designed to source over a few mills or sink more than about 10ma. The challenge of moving signals across cables over distance is that the higher the driving impedance the better antenna it makes. If you give some attention to proper design and buffer the step & dir signals you can clean them up, logic shift to full 5 V and provide a low impedance drive that will allow the use of 5 meter cables with no problems. The world of industrial electronics is a lot more challenging than logic control. Running logic level signals mixed in with high current PWM and other sources of EMI requires an understanding of grounding, isolation. shielding and differential signaling techniques that honestly baffles even some Electrical Enginners.

The opto isolation of inputs breaks ground loops, conducted noise and potentially destructive voltages. To be truly isolated the two circuits must NOT share the same ground (E.g. separate Power Supplies with separate common (grounds).

Inputs can typically be a lot slower than is needed for the step & dir signals.

All of our cards from day one have had full buffering on all step & dir, Double buffering on relay outputs and opto isolation on all inputs. We have always offered a dual power supply to drive the cards to give the isolated input power.

You can get by with ignoring the rules on smaller systems or where three is only one machine in the mix and distances are short. Toss in something like plamsa cutting or other machines and the gremlins of EMI and RFI will make you pay.

Maybe some other motor drives with straight TTL inputs need external isolation but it needs to be the right kind. Conventional optos have poor bandwidth. High speed optos are readily available but $$ compared to lower speed.

Proper documentation is always important. You should not have to take night courses in electronics to build a CNC machine!

TOM CAUDLE
www.CandCNC.com
Totally Modular CNC Electronics

Universal Breakout Board manual at www.CandCNC.com/PDF/UBOB_Manual.pdf
Reply With Quote

  #33   Ban this user!
Old 02-26-2009, 04:40 PM
 
Join Date: Feb 2008
Location: Atlantis
Posts: 81
MetalBlade is on a distinguished road

Originally Posted by Torchhead View Post
Step & Dir into the Geckos are isolated with high speed (2 mhz) optos. (except for the 250 series). The buffering on a BOB is to improve the noise immunity of the parallel port. The outputs of a PP are logic level MOS. The pins are not designed to source over a few mills or sink more than about 10ma. The challenge of moving signals across cables over distance is that the higher the driving impedance the better antenna it makes. If you give some attention to proper design and buffer the step & dir signals you can clean them up, logic shift to full 5 V and provide a low impedance drive that will allow the use of 5 meter cables with no problems. The world of industrial electronics is a lot more challenging than logic control. Running logic level signals mixed in with high current PWM and other sources of EMI requires an understanding of grounding, isolation. shielding and differential signaling techniques that honestly baffles even some Electrical Enginners.

The opto isolation of inputs breaks ground loops, conducted noise and potentially destructive voltages. To be truly isolated the two circuits must NOT share the same ground (E.g. separate Power Supplies with separate common (grounds).

Inputs can typically be a lot slower than is needed for the step & dir signals.

All of our cards from day one have had full buffering on all step & dir, Double buffering on relay outputs and opto isolation on all inputs. We have always offered a dual power supply to drive the cards to give the isolated input power.

You can get by with ignoring the rules on smaller systems or where three is only one machine in the mix and distances are short. Toss in something like plamsa cutting or other machines and the gremlins of EMI and RFI will make you pay.

Maybe some other motor drives with straight TTL inputs need external isolation but it needs to be the right kind. Conventional optos have poor bandwidth. High speed optos are readily available but $$ compared to lower speed.

Proper documentation is always important. You should not have to take night courses in electronics to build a CNC machine!

TOM CAUDLE
www.CandCNC.com
Totally Modular CNC Electronics

Universal Breakout Board manual at www.CandCNC.com/PDF/UBOB_Manual.pdf
Wow, great response to the thread. Well, I'll concede that any person deciding on their breakout board, should consider environment, cost of quality components, and considerations for EMI/RFI.

I'll change my opinion to simple hobby CNC mills like the X3 don't need any more isolation other then which is provided by the geckos and relays. As Torchhead points out, good isolation does have it’s place though.
Reply With Quote

  #34  
Old 02-26-2009, 04:50 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

I always get a kick out of this search for super isolation.
I developed a personal strategy many years ago that although in the use of isolation components such as SSR and interfaces such as OPTO offer, I still referenced all the different systems to Earth ground, which essentially ends up at some point, to each other, including the PC power supply.
Looking through my records, I first started installing PC based systems in the late 1980's.
This has been in some the harshest industrial environments imaginable. These systems are still successfully in operation today.
Also I did not succumb to the credo that 'You must use a Industrial PC', I figured for $8,000 I could get alot of metalwork done.
The answer to the question on whether to isolate or not is personal preference, but the bottom line is, either method has to be done with due diligence.
I believe that many of the sellers of BOB's, stress the isolation method as it may be easier for many of those that use their product, may not have a background or experience to implement a uni-potential bonding system.
Some of the regular complaints of spurious switch trips etc, I swear are due to not adopting the common ground method.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
On the CNC 4 PC breakout board seanreit General Metal Working Machines 8 11-30-2008 03:10 AM
what USB Breakout Board to by ?? dbss General Electronics Discussion 5 01-19-2008 07:54 AM
Is necessary to use a breakout board? rolveram Stepper Motors and Drives 15 08-28-2007 10:28 AM
Breakout board, Relays on board? Cooper Open Source Controller Boards 11 06-09-2007 07:55 PM
Breakout Board bkkpool General Electronics Discussion 2 07-28-2006 01:15 PM




All times are GMT -5. The time now is 09:54 PM.





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