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! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-13-2011, 03:31 PM
 
Join Date: Apr 2004
Location: Perth WesternAustralia
Posts: 18
pk7639 is on a distinguished road
Reality check please

Hi, I've just bought a 6DOF robot arm that I intend to drive with EMC.
I have a reasonable background in small machine conversions and fabrication (My CNC Adventures), have done a lot with Mach3, and am comfortable building the PWM amplifiers.

This will, however be my first implementation using EMC so there are some things I'm unsure of.

Can anyone
A. Confirm that a Mesa 5i20 card can generate 6 pwm outputs, read 6 encoders and have some IO left over?

B. Suggest what level of PC processing power would be appropriate for closed loop control of 6 axii?

Many thanks in advance

PK
Reply With Quote

  #2   Ban this user!
Old 09-14-2011, 12:27 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

A 5i20 ( with firmware SVST8_4 down-loadable) can have 8 encoders and 8 pwm and will have 24 I/O points still available.
Since you are probably not going to use the 7i33 card ( DAC and encoder filtering )
you could set this same firmware to have 6 encoders and 6 pwm with 36 I/0 points.
but don't you need an encoder for MPG jogging?
Other combinations are possible - Mesa stuff is very configurable.

I assume you mean processor speed. More important is latency.
Not all computers have good latency you really need to check the actually equipment you want to use. there is a latency test that comes with EMC.
Here is a user made list of equipment with latency figures:
EMC Documentation Wiki: Latency-Test
Now after latency is good then more processor speed may help the response to non realtime stuff like the screen controls etc.

There are some videos of robot arms with EMC:
EMC Documentation Wiki: Videos

Welcome to EMC.

Chris
Reply With Quote

  #3   Ban this user!
Old 09-14-2011, 12:46 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

I might add about latency figures.
The number to compare is the max jitter of the base thread (25us)
Most of the docs talk about this number in respect to software stepping.
You using a hardware card so can get away with more latency.
Under 100Us of jitter is usable but well under 50 should be quite possible.
Note there are tricks to fix some latency problems. read the page i posted link to.
Reply With Quote

  #4   Ban this user!
Old 09-14-2011, 03:11 AM
 
Join Date: Apr 2004
Location: Perth WesternAustralia
Posts: 18
pk7639 is on a distinguished road

Thanks, but that only seems to relate to generating accurate step and direction signals.

In my setup the mesa board will just be getting it's PWM registers updated and it's encoder registers read. Most, low end, servo drives update their PWM output at aout 1-2 KHz. Surely all EMC has to do for me is update 6 PID loops at aout that rate?
PK
Reply With Quote

  #5   Ban this user!
Old 09-14-2011, 08:30 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

Latency is important either way. Just less so for servos.
EMC reads the encoders from the Mesa card calculates the trajectory calculates the PID and then outputs to the Mesa card for pwm.
This must be done in a regular, consistent cycle.

Thats why I said the latency numbers could be _much_ higher then what is recommended for software stepping.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-20-2011, 05:09 AM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 237
Zig is on a distinguished road

I have just upgraded the CPU ( Athlon XP ) from 2000+ to 2500+ on an EMC /Mesa 5i20 combination.

It is driving a gantry system with linear motors ( iron cored and coggy).

The difference in performance of the motors is noticeable. Their motion is quiter and smoother ( at 8000mm/min and 3000mm/s/s)

The faster cpu is giving me an improved latency figure and the screen is much more responsive.

SO You do need good latencyfigure and good numbercrunching performance.

I have just acquired a HP xw6000 dual Xeon 3GHz machine ( second hand for under $200.00 ) whihc is giving exceptional altency typically under 5000 ns with odd excursion up to 15000ns. Hope to see some improvement in linear motor performance.
Reply With Quote

  #7   Ban this user!
Old 10-05-2011, 09:01 PM
 
Join Date: Feb 2006
Location: Australia
Posts: 90
ftkalcevic is on a distinguished road

I'm using emc to control my lathe - 3 axis servo, 5i20, 7i33, 7i37. I'm using an intel D945GSEJT, which has a 1.6GHz atom processor, in an M350 case.

It all runs fine.

I'm in the process of upgrading my router (6 axis - x, y1,y2, z1,z2, a) using a similar set up - same board and case, with 5i20, 7i33, 7i37, 2x7i40 (each axis has a different type/brand of motor). I've only got one axis moving at the moment, but I expect (hope) it will be fine.
Reply With Quote

  #8   Ban this user!
Old 10-05-2011, 09:07 PM
 
Join Date: Apr 2004
Location: Perth WesternAustralia
Posts: 18
pk7639 is on a distinguished road

Thanks for the feedback. I'm on the way to getting it going:
I have the 5i20, a shuttle PC (latency counters both run around 9000nS)
I've done a design for the PWM amp based on the SA57 driver IC, parts should be here tomorrow.

Don't suppose anyone could point me at the doc that has the pinouts for the 50pin connectors on the 5i20 when running the 8 servo, 4 step/dir firmware???

TA

PK
Reply With Quote

  #9   Ban this user!
Old 10-06-2011, 12:47 AM
 
Join Date: Feb 2006
Location: Australia
Posts: 90
ftkalcevic is on a distinguished road

On the mesa website, Mesa Electronics, you can look at their hardware manuals to see that.

The manual for the 7i33, http://www.mesanet.com/pdf/motion/7i33man.pdf, shows the 50 pin connector when used for a servo (4 servos - pwm + encoder + enable)

The manual for the 7i32 (stepper card), http://www.mesanet.com/pdf/motion/7i32man.pdf, shows the same pin out, so I don't know how the connector maps for a stepper driver.
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
Newbie- How check PTC Antonio Arguijo CNC-Zone 0 05-16-2011 02:41 PM
DIY ATC automatic tool changer for cnc router.. Mythical or reality? rodjava DIY-CNC Router Table Machines 9 07-27-2010 08:58 PM
Newbie- Control Software / hardware Reality check DaveODonnell Controller & Computer Solutions 2 01-16-2010 10:05 PM
Spell check it out!!! I just noticed CNCzone now has spell check! HayTay CNCzone Club House 3 01-19-2007 07:59 AM
Reality check, materials checklist for electronics Darren_T DIY-CNC Router Table Machines 10 12-04-2003 08:36 PM




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