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! > OpenSource CNC Design Center > Open Source Controller Boards


Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-18-2009, 12:16 PM
 
Join Date: Apr 2009
Location: USA
Age: 42
Posts: 48
bad bearings is on a distinguished road
Question Mach EMC Maximum Encoder Count Closed Loop Servo EMC/MACH3

I have a shop-made 5 axis CNC based on some surplus stages that are very accurate and have high count linear encoders--roughly 250,000 counts per inch and 20,000 counts per degree--rotary. Is is possible to use Mach3 or EMC to control these stages in closed loop mode and still take advantage of their high accuracy? With their old controller the stages can be moved at 100 IPM. It seems as though EMC and Mach will only allow much lower feedrates. Any advice would be appreciated.
Reply With Quote

  #2   Ban this user!
Old 05-18-2009, 12:28 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

Look at mesa or pico hardware.

http://wiki.linuxcnc.org/cgi-bin/emc...orted_Hardware

You will be able to count into the mhz range and close the loop within emc.

What are you going to use for servo drives? what do they take for input? +/-10v? or pwm? or

sam
Reply With Quote

  #3   Ban this user!
Old 05-19-2009, 11:21 AM
 
Join Date: Apr 2009
Location: USA
Age: 42
Posts: 48
bad bearings is on a distinguished road

I did some research into the controller, breakout board and amplifier cards. The whole set up seems expensive considering the value of the little CNC: <$2500. I think I'll make do with what I have for the time being. Perhaps writing some more code for the existing controller so that it can accept at least, line, arc and maybe nurbs as G-Code. Thanks for the advice. This way maybe I can find some freeware that will generate the G-Code from dxf or stl or something. Thanks for the info.
Reply With Quote

  #4   Ban this user!
Old 05-20-2009, 12:14 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road
Arrow Cost for EMC

I would think that you could re-use almost all the existing control.

A mesa 7i43, an opto card and maybe the digital to +/- 10v card is about all you should need. ( You may need more I/O for a tool changer.)

Total cost should be under $350 and could well be under $200.

Reply With Quote

  #5   Ban this user!
Old 05-20-2009, 02:37 PM
 
Join Date: Apr 2009
Location: USA
Age: 42
Posts: 48
bad bearings is on a distinguished road

Thanks for the info. I took a look at the mesa thing. The old controller has a power supply and eight amplifiers as well as eight LM628 based controller cards. If I understand you right I would bypass the LM628 cards and the existing optically isolated bus and connect through the breakout board and this USB mesa board to the amplifier cards. Is that right? I guess I could still use the power supply. This would be a way to use EMC to control the machine?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-20-2009, 02:56 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

Sounds right - looks like the lm628 has a DAC. The servo amps must then be analog input. Analog what would be the question (+/-10v or what)

Sounds like a fun project. (so for the mesa you would also need the digital to +/- 10v card as skullworks mentioned) well - actually 2 as each one only has 4.
Reply With Quote

  #7   Ban this user!
Old 05-20-2009, 11:32 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road
Smile

Basically you got the idea - Except NO USB - you will either use a 5i20 PCI card or the 7i43 card via a EPP Parallel port. The required number of I/O lines will decide. 7i33 will give 4 channels of digital to +/-10v and to be safe misc I/O would be routed thru a 7i37 for isolation as needed.
Reply With Quote

  #8   Ban this user!
Old 05-21-2009, 02:01 PM
 
Join Date: Apr 2009
Location: USA
Age: 42
Posts: 48
bad bearings is on a distinguished road

Thanks "No USB" that's too bad. I thought USB was the connector of the future.

I took a look at the EMC Integrater's guide and they mention that it is optimistic to assume 50Khz quadrature encoder signal processing--Page 87 http://www.linuxcnc.org/docs/EMC2_Integrator_Manual.pdf -- I don't think the old copley amps in the controller can accept "electronic gearing" 50KHz implies a maximum feedrate of 2.5 degrees per second on the rotary table and .2 IPS on the linear stages.

You mentioned being able to control the stages to the "MHz range" -- can you give any suggestions for compatible hardware ie. CPU speeds and interface cards? My guess is that I would need about 250KHz per each of the five axes to get equivalent performances out of the stages as can be achieved with the old controller.

Thanks
Reply With Quote

  #9   Ban this user!
Old 05-21-2009, 02:24 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

That is if you are using the software hal encoder module. (encoder hooked directly to the printer port.) The mesa hardware (like the 7I43(parallel) or 5i20 (pci)) counts the encoder within the card itself and can count into the mhz range. The card keeps track of the count and sends the info to emc every ms or so.

USB doesn't work well with emc. Emc wants to be in control. USB isn't realtime enough to send out and read back info consistantly enough. Realtime ethernet will probably be first before any usb device. (for it to work decent you would really have to off-load motion onto the usb device. - not a good match for emc)

sam
Reply With Quote

  #10   Ban this user!
Old 05-21-2009, 02:32 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

What copleys are they? Do they take the industry standard +/-10? if so - you should be golden. Emc - mesa hardware (pico also might be an option) would get you a nice closed loop servo machine.

Off the top of my head - the 5i20 + 2 7I33 (analog servo interface for +/-10v) and 7I37 isolate i/o card would give you 8 axis servo + 8 output 16 input. (plus you can use the unused servo i/o)

Do your research

sam
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-21-2009, 02:40 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road

Sam's right, and also don't get caught up in "step rates" as your amps are velocity based using the +/-10V control signal. The Mesa hardware can sample encoder counts up to 1MHz and (IIRC) there are some new improvements in tracking velocity by encoder counts to make up for not having actual tach voltage feedback (which your existing setup may have).

Reply With Quote

  #12   Ban this user!
Old 05-28-2009, 11:44 AM
 
Join Date: Apr 2009
Location: USA
Age: 42
Posts: 48
bad bearings is on a distinguished road

Thanks for all the information.

I have been looking at the UBUNTU live EMC2 disk. It would definitely be an improvement over my interface--especially if someone adds crash detection.

Does the mesa 5i20 card have built in contouring commands? I have only read about trapezoidal profiles in their literature. Does EMC2 produce contours--splines etc...--by periodically updating the trajectories on the mesa board? Will this allow for the continuous motion of the stages while executing spline or circular contours?
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
MACH3 closed loop encoder interface RomaxxCNC Product Announcements & Manufacturer News 1 05-28-2010 05:59 PM
Servo Encoder Count in Mach3 thosj Automation Technology Products 4 05-21-2010 03:44 AM
Mach closed loop? HBFixedGear Mach Software (ArtSoft software) 3 04-21-2009 01:40 AM
question on closed loop vs open loop (servo systems) boonie Servo Motors and Drives 20 11-09-2007 12:30 PM
Mach 3 closed loop ? efrem Mach Mill 5 12-06-2006 07:01 PM




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