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! > Other Machines > Laser Engraving & Cutting Machines


Laser Engraving & Cutting Machines Discuss CNC Laser cutting machines here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-24-2004, 10:18 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road
Motor controller development for laser

Greetings,

I'm working on a CNC controlled laser table. I've recently completed the electronics to control the laser and motors so I thought I'd document my activities here.

Enjoy
Reply With Quote

  #2   Ban this user!
Old 06-24-2004, 10:19 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Controller Process I/O

Couldn't have got this together without mapping out all the components first.

Development of the whole system required an exhaustive identification of all processes of the laser controller. I started with this diagram which outlines the major physical components that will be used for the cnc laser. The laser has a power supply, a db-25 connector which reports various states of the laser, gas lines which are controlled by solenoids, water flow and cooling systems, a servo driven CNC table, and a computer system for the central controlling unit. The servos are driven by Gecko drives, the Geckos are controlled by Jon Elson's Universal Stepper Controller (USC).

There are an intimidating 50 or so I/O lines going into the control unit, so it was time to make another block diagram of all the internal electronic components. This picture was generated, which still leaves out items like indicator lights, power switches as well as the power supply that eventually was added to the circuit, but it was a good start. The blocks marked JAM buzzer and PWM module were eventually combined into the custom circuit that was part of the project. Digi-key part numbers of most of the connectors were included in the drawing to help with intelligent ordering. Ordering parts occurred over several iterations and while it'd be nice to put together a final BOM, one does not exist.

The original controller and process diagrams were generated in AutoCAD (dxf formats).

View pic...
Attached Thumbnails
Click image for larger version

Name:	block_diagram_sm.jpg‎
Views:	824
Size:	6.5 KB
ID:	2621  

Last edited by owhite; 06-24-2004 at 10:29 AM.
Reply With Quote

  #3   Ban this user!
Old 06-24-2004, 10:31 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Custom circuit schematic

Blessed are those that use Eagle Schematic software.

The Gecko drives and the USC board are nice, but the laser controller also has some custom electronics that measure the states of laser itself, generate a pulse width modulated signal, and report an E-stop to the Unversal Stepper Controller. The schematic of the custom electronics was generated using Eagle schematic software. The Eagle-formatted schematic can be downloaded here. You can try loading this big picture as well.

The laser measurement was based on circuitry specified by the laser manufacturer (see figures 4-2 and 4-4). These circuits use differential line recievers and drivers.

The states of the laser were fed into a "Just A Minute" or JAM circuit (original schematic). The JAM circuit was originally designed for a game show situation, where multiple contestants can hit a switch, when the switch is thrown a light goes on indicating who hit the button, and the rest of the contestants are locked out. Perfect for my application, because if any of multiple states go low I want to register which system went low, lock out other inputs, and then flip the E-stop toggle of the USC board. The custom board also has a PWM circuit which is based on a 4541 programmable timer that feed into a binary counter and magnitude comparator combination.

There's also a section on the circuit that debounces the push of a button and then toggles a D-type flip flop. This receives power from an unswitched power supply, when the user hits the pushbutton it turns on a solid state relay that powers up the remaining circuit.

The schematic epitomizes the I/O problem posed by the laser controller. There are over 120 different lines from connectors going to limit switches, encoders, geckos and the USC board. All lines were led into one of four 30 pin female headers. This was good way to go because it reduced any soldering or other types of direct connections between components -- basically all connections between components were handled by linking between header pins using wire wrap.

This has several advantages: 1) it is an overall reduction in soldering -- soldering is fine but its harder to disconnect -- connections are made by crimping wires onto pins and then inserted into the header 2) The "logic" of how lines are linked is managed in software as described in the next section -- this avoids mechanically looking at a header block from the geckos and deciding which wires have to be soldered to the pins leading to the encoders. 3) Overall, it reduces the spagetti of the circuit. Dont get me wrong, the spagetti is still there, but its centralized into four main headers. Readers may not want to go with this strategy, but one thing I strongly recommend is to avoid making hardwired connections between components. Be sure everything is connected by easily disconnected plug ends -- hardwired leads soldered directly between components make it really hard to pull the components out of the box when problems arise.

View circuit...
Attached Thumbnails
Click image for larger version

Name:	circuit_sm.jpg‎
Views:	783
Size:	4.2 KB
ID:	2622  
Reply With Quote

  #4   Ban this user!
Old 06-24-2004, 10:33 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Custom circuit board

Wire wrap is a beatiful thing.

Eagle supports exporting the schematic as a net list and a pin list. These files were used as input to a perl program which was also given the locations of all the parts on a wire wrap board, which then listed all the wire wrap connections required to make the board. The program also creates a drawing that showing the location of the chips on the wire wrap board.

There are significant advantages to mapping out the entire network of connections in a file. The main thing is that its faster. You arent looking at much except the names of the pins on the wirewrap board, wiring those pins together, and then checking for continuity with a audible tester. This is in contrast to a situation where you have your components on one side of the board, you're looking at those, looking at a circuit diagram, then flipping the board over, picturing the location of the IC pins in your mind that are now on the other side of the board, and then connecting things together. I've now gotten into the habit of always translating the circuit I'm working on into pin to pin connections. The other advantage I see with having a listing of wire wrap connections is if I experience problems with the circuit in the future -- imagine just having a circuit diagram and a completed wire wrap board in your hands. Debugging the circuit -- looking for breaks, testing chips -- is very time consuming. With a list of wire wrap connections you can order the list to give all the connections for one single IC, and rapidly check those connections.

The wire wrap was performed using a slit-n-wrap tool purchased from Digi-key; a few points about this process:
  • If you havent done slit-n-wrap, dont compare it to other methods. Slit-n-wrap takes a little getting used to, but you can end up making a pretty high quality product. Frankly I thought it was fun.
  • Dont use pre-stripped wire wrap tools because they only allow you to make two connections. Slit-n-wraps let you make as many connections as you want on one wire.
  • Get an audible continuity checker. You must check for continuity -- when it works wirewrap is a very solid connection but around 10 percent of the connections will fail and have to be redone. The audible continuity checker is a lot faster.
  • Being able to rapidly unwrap wirewrap is essential. Radio shack part number 276-1570 is a cheap wire wrap tool that absolutely should not be used do wire wrap with slit-n-wrap wire, however; it is a great device for unwrapping. Digikey also sells unwrap tools but they are over-priced. Unwrapping using the radio shack tool is a matter of pushing the tool over the wirewrap post, bearing down on the wrapped wire, and turning in the opposite direction. This loosens the wire enough to then be pulled off with your fingers.
  • I purchased my wire wrap boards on ebay by searching on "AUGAT" "WIREWRAP" and or "WIRE WRAP". Augat wire wrap boards are absolutely the best. Their original cost is astronomical but fortunately many have been appearing on ebay for garage-sale prices.

My board had over 400 connection points and I would definitely use wire-wrap if I had do it again. On the other hand, now that I debugged my circuit I could just have a board shop make a PCB for around $100. :-) The Eagle website has links to places that make PCBs.

View board...
Attached Thumbnails
Click image for larger version

Name:	108_0814sm.jpg‎
Views:	657
Size:	8.5 KB
ID:	2623  

Last edited by owhite; 06-24-2004 at 11:23 AM.
Reply With Quote

  #5   Ban this user!
Old 06-24-2004, 10:35 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Component layout

Thinking outside of the box included thinking how to work outside of the box.

Previous motor controllers that I've made have had one serious flaw -- all the components were mounted directly into their enclosure. This made circuit repair, as well as installation and removal of all components very inconvenient. For this controller, I started by mounting all the components on a plywood board. The board has rubber feet and makes it much easier to service all the parts on my bench. The board sits inside a recycled computer case, which also has a hole on the side for a fan. The fan points directly over the gecko motor drivers.

This laser cut connector plate was made by first designing the plate using dimensions of connectors found in documentation obtained from digikey.

The resulting DXF file was sent to Laser Arts who produced the plate by laser cutting 1/8 inch thick plywood. Ironic that I am out-sourcing to other laser shops to do something I hope to eventually do in my own basement. The wires leading to the connector plate form something that I refer to as the neural network, an extensive collection of wires and connectors that hook to all the internal components. Once the neural net is connected to the internal components the plate faces outside of the enclosure, and is slightly recessed to allow all the cabling connectors to be protected from getting banged around.

Assembled system...
Attached Thumbnails
Click image for larger version

Name:	108_0810sm.jpg‎
Views:	650
Size:	9.4 KB
ID:	2624  

Last edited by owhite; 06-24-2004 at 11:24 AM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-24-2004, 10:36 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Okay gang, that's what I have so far. What remains is a lot more testing. The issue will be getting the USC to interact faithfully with the parallel port, which means plunging into the internals of a software system known as EMC. Wish me luck.



Owen
Reply With Quote

  #7  
Old 06-24-2004, 10:37 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 234
marvinstov is on a distinguished road

owhite,
You "click for larger image" is smaller than the ones in the post.

Marv
Reply With Quote

  #8  
Old 06-24-2004, 10:38 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 234
marvinstov is on a distinguished road

owhite,
The "View Pic" works fine though.
Thanks,
Marv
Reply With Quote

  #9  
Old 06-24-2004, 10:40 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,460
CNCadmin has disabled reputation
Buy me a Beer?

Nice layout, what are you using for a laser? How many watts will it be?
__________________
Thank You,
Paul G
Site Owner-Webmaster-
Administrator
www.rfqwork.com
www.cnczone.com
www.welderzone.com
Reply With Quote

  #10  
Old 06-24-2004, 10:54 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 234
marvinstov is on a distinguished road

Very Impressive. Nice work.

Marv
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-24-2004, 11:20 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Originally posted by CNCadmin
Nice layout, what are you using for a laser? How many watts will it be?
The laser is 100 watts. Its a coherent G100 and its beam quality is sufficient to cut 16ga sheet metal.

Owen
Reply With Quote

  #12   Ban this user!
Old 06-24-2004, 11:49 AM
 
Join Date: Jan 2004
Location: United States
Posts: 231
owhite is on a distinguished road

Picture summary

Perhaps this will also be helpful...
Coherent G100 laser, 77k

CNC table, 192k

Board layout, top view, 100k

Board layout, close up of power supply, 146k

Board layout, closeup of geckos, 106k

Board layout, front view, 119k

Wire wrap board, top view, 110k

Wire wrap board, bottom view, 137k

Connector plate, 65k

Connector plate and neural network, 82k

Computer cabinet, 51k

Computer cabinet, inside, bare, 80k

Computer cabinet, inside, w/ components, 80k

Computer cabinet, connector plate, 62k
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PIC Open source Servo Driver Schematics development? Rossz Open Source Controller Boards 90 10-26-2011 03:37 PM
CNC Painter Development Update vacpress Printing, Scanners, Vinyl cutting and Plotters 130 07-12-2007 09:06 PM
Electronics development going well owhite General Electronics Discussion 2 03-25-2004 04:06 PM




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