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 > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-20-2009, 11:55 PM
 
Join Date: Jun 2009
Location: USA
Posts: 13
Alaska Bob is on a distinguished road
Thoughts on Servo driver accell settings with Mach2

Anyone have experience (or know of a thread) with the best method to use the acceleration options on the servo driver itself when using Mach2?

I am using Emerson servo drives with step/direction inputs from Mach2. Currently it is setup as 2048 pulses per rev on the servo driver and I have some arbitrary acceleration constant input into the servo driver itself. As I understand it, it will move each 'step' with an acceleration and deceleration.

So If I put an infinite accelleration on the servo driver, then it will try to 'step' as fast as it can every time Mach tells it to step. ( I am not home now and cannot try things so I figured I would ask here) Mach will ramp up the stepping, but the driver is going to do all it can to get each step completed ASAP. I would be afraid that it will be too aggressive and cause excess heating.

I plan on upgrading to Mach3 and then increasing the pulse rate and change the pulse per rev to 4096 or 8192 which would make jumps smaller and maybe smoother. But if the servo driver circuit is fast enough it may have same issue.

Any thoughts or experience with this would be appreciated.
Thanks!
--bob
Reply With Quote

  #2   Ban this user!
Old 06-23-2009, 09:45 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

Bob: I doubt the acceleration (which is torque over time) is per step. I may be closer to a defined following error or a form of position feedback, but that is just a guess. At 2048 pulses per rev and 3000 RPM you have 50 RPS so it amounts the over 100,000 PPS. Putting accel and decel on each one would take some fancy circuitry. MACH has acceleration values that are over time (possibly thousands of pulses) They are in Units per second/sec. Acceleration has a time element. Perhaps the settings are to provide for control situations where the control does not offer acceleration or deceleration settings. Emerson builds drives for use in all kinds of applications.

TOM Caudle
www.CandCNC.com
Reply With Quote

  #3   Ban this user!
Old 06-24-2009, 10:29 PM
 
Join Date: Jun 2009
Location: USA
Posts: 13
Alaska Bob is on a distinguished road

Tom,
Thanks for the reply. After researching some more in the manual, I believe you are correct in that it does not have a true 'accell' 'decell' for each step. The specific tab where I input the acell/decell is only for analog input commands it seems. It does use a state-space algorithm.
It does also have specific decell limits that will trump the inputs if they are slower depending on if it is a limit switch or fault etc. I evidently need to study the tuning variables some more.

I am trying to get a handle on the frequency response also. It will accept a 2MHz pulse train for input, yet the encoder outputs 250kHz per channel. I imagine it counts the input train, yet runs it through some averaging algorithms to determine the appropriate velocity.


Thanks again for the reply.
--bob
Reply With Quote

  #4   Ban this user!
Old 06-25-2009, 03:06 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

Bob: Are you trying build a CNC machine or study to be a CNC engineer? Normally the default settings on most of that stuff will work fine for 99% of installs.

You are getting stuck on max specs and not what the unit will actually see. You won't get 250KHZ unless the motors will spin fast enough to output that from the encoders. Once again that is a MAX spec ont he encoders saying they COULD output that if you spin them fast enough. Even if they can you probably can't get there with most pulse engines. Then you have to ask your self: Is the motor rated to spin that fast and if it is can you use that much speed? Example: Hook a servo to a pinion 1" in diameter and let ti move a load down a rack spinning at 3000 RPM and you get rapids of 9,000 IPM . Gear it down with belts 10:1 and you STILL have 900 IPM rapids and gobs of torque and resolution.

What I am saying is I doubt you need anything close to 2 MHZ pulse freq or 250KHZ of encoder PPS unless you are building molecular centrifuges!

Never sacrifice speed you can't use for torque and resolution you can.

TOM Caudle
www.CandCNC.com
Reply With Quote

  #5   Ban this user!
Old 06-25-2009, 10:05 PM
 
Join Date: Jun 2009
Location: USA
Posts: 13
Alaska Bob is on a distinguished road

Tom,
A little bit of both. I'm an engineer who wants to understand it all. Got the NC machine running and just trying to dig a little deeper and understand the true potential.

My Mitsubishi drives/servos have 131072 pulses per rev and spin at 4500 rpm. That works out to 9,830,400 pulses per second. I need to pick up the book on encoders and do a little reading.

I completely agree it is all way more than I need for my old Tree knee mill, but I do have thoughts of a small precise and very quick machine even if it is just to see how fast it'll go.

Thanks for the replies, I appreciate the discussion.
--bob
Reply With Quote

Sponsored Links
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
4030 Kellinger driver settings Paul R Automation Technology Products 1 09-10-2008 12:37 PM
Trinamic Driver IC's - thoughts on using them with external FETs Eclipze Open Source Controller Boards 14 12-19-2007 06:48 PM
Mach2 settings?? Mike Boarman Mach Mill 4 11-19-2006 08:16 PM
Need a little help with Current settings on driver... giblets Stepper Motors and Drives 1 08-23-2006 09:19 PM
Why Do Mach2' Settings Change? TheNigerian Machines running Mach Software 4 06-27-2006 11:05 AM




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