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
  #1   Ban this user!
Old 10-15-2009, 02:27 PM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 744
TXFred is on a distinguished road
Electronics advice needed for G540 spindle control.

I'm working on a way to run the X2's spindle from the Gecko G540's VFD drive.

It looks like the motor control will work just by hooking it up to the G540. The part that is tricky is the switch that's built into the potentiometer. This is used to reset a spindle fault on the mill.

The easy solution is to just have a switch to activate the spindle. But I'm after more. I've designed this simple circuit which will trigger an emergency stop on the G540 whenever there is a spindle fault. That way, if the spindle stalls, the stepper motors won't keep moving and cause more damage.



When the spindle stalls, the Spindle Fault line goes to +110VDC. This activates the relay or opto isolator, which opens and triggers an emergency stop on the G540.

The momentary switch is to reset the spindle fault. The resistor is to limit the current through the relay, so that the relay side of the circuit won't reset the fault. This is similar to what is on the mill now. I've just swapped out the orange light for the relay/opto.

It should be noted that this circuit maintains the isolation of the G540 from the X2 spindle control so long as a mechanical relay or an opto-isolator is used. A solid state relay would eliminate this isolation.

The problem I see is this. I haven't found a good relay or opto that can handle the 110v that the X2's board is putting out. At least, I haven't found a cheap and small one.

Does anyone know of a relay or opto that will work here?

Alternately, what's a good way to take that 110v and reduce it to 12 volts so I can use a regular automotive relay?

Cheers,
Fred
Attached Thumbnails
Click image for larger version

Name:	SPINDLE WIRING.GIF‎
Views:	749
Size:	4.9 KB
ID:	91154  
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-15-2009, 03:41 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,057
HimyKabibble is on a distinguished road

Originally Posted by TXFred View Post
I'm working on a way to run the X2's spindle from the Gecko G540's VFD drive.

It looks like the motor control will work just by hooking it up to the G540. The part that is tricky is the switch that's built into the potentiometer. This is used to reset a spindle fault on the mill.

The easy solution is to just have a switch to activate the spindle. But I'm after more. I've designed this simple circuit which will trigger an emergency stop on the G540 whenever there is a spindle fault. That way, if the spindle stalls, the stepper motors won't keep moving and cause more damage.



When the spindle stalls, the Spindle Fault line goes to +110VDC. This activates the relay or opto isolator, which opens and triggers an emergency stop on the G540.

The momentary switch is to reset the spindle fault. The resistor is to limit the current through the relay, so that the relay side of the circuit won't reset the fault. This is similar to what is on the mill now. I've just swapped out the orange light for the relay/opto.

It should be noted that this circuit maintains the isolation of the G540 from the X2 spindle control so long as a mechanical relay or an opto-isolator is used. A solid state relay would eliminate this isolation.

The problem I see is this. I haven't found a good relay or opto that can handle the 110v that the X2's board is putting out. At least, I haven't found a cheap and small one.

Does anyone know of a relay or opto that will work here?

Alternately, what's a good way to take that 110v and reduce it to 12 volts so I can use a regular automotive relay?

Cheers,
Fred
The LED on any opto, and the "coil" on any SSR, can operate from pretty much any voltage, as long as it has a suitable series resistor to limit the voltage the LED sees. Figure out what current you need in the LED, and divide the input voltage by that current to get the required series resistor value. The problem will be the required power rating of that resistor, due to the large voltage across it. The phototransistor side is more voltage sensitive, since it will see the full supply voltage when the opto is turned "off". That shouldn't be a problem in this case.

Regards,
Ray L.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-15-2009, 03:52 PM
jalessi's Avatar  
Join Date: Feb 2007
Location: U.S.A.
Posts: 3,099
jalessi is on a distinguished road
Post

These are cheap.

http://skycraftsurplus.com/110vdcrelaydpdt10amp1.aspx

http://tinyurl.com/yf5pggq
__________________
Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 10-15-2009, 04:27 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

If I understand correctly the logic is opposite of the run of the mill opto, the output requires on when the input is off?
A 4N35 would require about a 2.7k res. at about 5w, (a power waster!)
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-15-2009, 05:47 PM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 744
TXFred is on a distinguished road

Originally Posted by Al_The_Man View Post
If I understand correctly the logic is opposite of the run of the mill opto, the output requires on when the input is off?
A 4N35 would require about a 2.7k res. at about 5w, (a power waster!)
Al.
That's correct, if I used an opto I'd need to add additional circuitry to invert the signal. This is tricky, since both sides of the circuit have issues with being grounded. The mill side cannot have a clear path to ground since that will prevent the spindle fault from ever being set in the first place. That's bad if the mill motor does stall.

The G540 side of things has its own problems. The G540 sees an open circuit as an emergency stop. If there is an additional circuit that's doing the inversion, it's got to be grounded. That ground may prevent the G540 from seeing an emergency stop signal.

So if I went with an opto, I'd have to have an intermediate circuit with its own independent power supply and ground to do the inversion. I was hoping to find an inverting opto, but so far I've found nothing.

All in all, the relay looks simpler, although it will not operate quite as fast as an opto.

Fred
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-19-2009, 07:43 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Hi Fred. I don't know what you consider cheap, but here's a relay that will work:

https://www.surpluscenter.com/item.a...tname=electric

CR.
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 10-19-2009, 07:59 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by Crevice Reamer View Post
Hi Fred. I don't know what you consider cheap, but here's a relay that will work:

CR.
The only thing is that has an AC coil. He needs DC.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-19-2009, 08:35 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Originally Posted by Al_The_Man View Post
The only thing is that has an AC coil. He needs DC.
Al.
It's just a coil. Volts is Volts. DC can energize an AC coil. It should work fine.

CR.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 10-19-2009, 08:43 PM
jalessi's Avatar  
Join Date: Feb 2007
Location: U.S.A.
Posts: 3,099
jalessi is on a distinguished road
Post

Crevice Reamer,

Often, a DC relay will have a 'flywheel rectifier' [FR] placed reverse-biased across the input terminals, so as to prevent a high back-EMF as the magnetic field collapses upon de-energizing.

Plugging a DC relay with a FR into an AC circuit may cause an overload as half the AC cycle could be passing through the FR as a short-circuit. Incorrectly connecting the DC supply will cause a similar effect. Sometimes a second rectifier is installed in the casing of the relay so as to overcome the problem of reverse polarity.

An AC relay will be wound with different wire as the inductance of the wire will offer some limitation to the current that the relay draws when energized. Instead of an FR it may be possible to place a small capacitor or a neon indicator across the terminals of the relay to minimize any back-EMF effects as the magnetic field collapses, should the need arise, if indeed the relay does not already have these components fitted inside its casing.

So, in summary, they are two different animals. While one may get away with interchanging DC and AC relays on occasions, it is a practice that involves risk to the relays themselves and to the equipment being controlled by their contacts, so it is a practice best avoided.

Jeff...
__________________
Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-19-2009, 09:20 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,057
HimyKabibble is on a distinguished road

Originally Posted by Crevice Reamer View Post
It's just a coil. Volts is Volts. DC can energize an AC coil. It should work fine.

CR.
Driving an AC relay with DC of the same voltage will burn up the coil due to rapid over-heating. The current when driver with DC will be considerably higher, and constant (the coil will be always saturated), rather than cycling as with AC, so the average power (current sqaured times resistance) will be MUCH higher, with a resultant increase in self-heating.

Regards,
Ray L.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 10-19-2009, 10:13 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by Crevice Reamer View Post
It's just a coil. Volts is Volts. DC can energize an AC coil. It should work fine.

CR.
No, the DC resistance of an AC coil is too low to use it on DC, the AC coil relies on inductive reactance to limit the current.
This is why a AC solenoid or relay will burn up quickly if the armature does not move over, due to the decrease in inductance, just leaving a very low resistance.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Last edited by Al_The_Man; 10-25-2009 at 11:01 AM. Reason: spelling
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-20-2009, 09:20 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Okay, then this would seem to be your best bet:

http://parts.digikey.com/1/parts/752...-11dg-110.html

CR.
Tweet this Post!Share on Facebook
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
Is it possible? (G540 spindle control) fretsman Gecko Drives 6 10-13-2009 07:27 PM
Spindle Control Through G540 john1285 Gecko Drives 1 09-30-2009 11:26 AM
Newbie- Advice needed for spindle, milling brass autophile JGRO Router Table Design 0 09-16-2009 01:43 PM
Has Anyone used G540 to control spindle speed on the X2? Waldermac Benchtop Machines 3 07-01-2009 02:27 PM
Complete Electronics Control Unit with Steppers needed! widgitmaster Employment Opportunity 6 08-25-2006 12:49 AM




All times are GMT -5. The time now is 03:15 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