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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-15-2010, 06:07 PM
 
Join Date: Sep 2010
Location: United States
Posts: 3
klk64 is on a distinguished road
Debugging axis drift

Hi all, been lurking on and off for several months now. Finally got around to building my first machine with the "just do it already" method (resulting in the machine having little idea about what it wants to be), and have gotten to the point of cutting some 1/8" to 1/2" plastic.

My problem is that I have noticeable drift in my X axis (but basically none in Y or Z) and I can't quite figure out why. For example, with 1/64" passes, after cutting to the bottom of a 3/16" piece of plastic, it's typically off 2-3 mm, not exactly repeatable. Can't remember a time when the drift wasn't there, either, although it hasn't always been in the same direction, and sometimes it wasn't consistently in one direction during a single build.

Some info about my machine if it helps:
- X axis, as with Y and Z, runs on bushings on unsupported hardened steel shafts. Specifically, the X axis has 2 bushings on each side on a 3/4" dia. by 24" long case hardened shaft.
- The stepper motors on all axes are Keling KL23H276-30-8B, with 282 oz/in torque, wired in the series bipolar configuration
- The leadscrews are black-oxide coated 1/2-10 Acme from McMaster. The leadnuts are the matching ones from DumpsterCNC.
- The motor is attached to the leadscrew by a helical shaft coupler. There are thrust bearings and radial bearings involved (one on each side of the leadscrew)
- The motor drivers and controller are custom hardware and software (for the learning experience, I'm an EE/CS student), Y/Z driven by A3982 chips, X was also but now has a A3977 based driver (no difference in drift)
- Here's a pic of the whole thing, I can take more pictures if needed


I've already done a few quick tests:
- I switched up the X and Y axes in software - that is, the logical X was the physical Y and vice versa - drift was still only in X
- I've loosened and tightened the shaft collars that push up against the thrust bearings and guard against backlash. Drift was basically the same.
- I've loosened the bolts that hold down the rails and the bushings to check if it was an alignment problem, with no change that I could see.
- Turning up the current on the motor drivers, switching out the motor drivers, neither changed anything.
- Running it without cutting anything gives pretty much the same amount of drift as far as I can tell

So where I am now is: I know of several tests that I could do, but rather than run around like a headless chicken trying to interpret a handful of data points, I figured I ought to ask some people who know what they're talking about. So, what kinds of tests would you suggest I run (or re-run) first?
Reply With Quote

  #2  
Old 09-17-2010, 09:12 AM
wendtmk's Avatar
Moderator
 
Join Date: Dec 2005
Location: USA
Posts: 234
wendtmk is on a distinguished road

From just a quick gander, I would suggest maybe racking is taking place. Your gantry doesn't have much in the way of cross bracing to stiffen it up and may be twisting as you move it along the X axis.

Mark
Reply With Quote

  #3   Ban this user!
Old 09-22-2010, 06:12 PM
 
Join Date: Sep 2010
Location: United States
Posts: 3
klk64 is on a distinguished road

I rebuilt the machine last night as a fixed gantry, moving X machine, and the problem still manifests in the same way.

I've further narrowed it down to some sort of mechanical issue related to the segmentation of motion into steps: gcode to draw a square of side length 1" drifts 4 times slower than if the side length is 0.25". I was under the impression that backlash wouldn't cause this; am I wrong?
Reply With Quote

  #4   Ban this user!
Old 09-22-2010, 09:00 PM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

No, backlash should not cause drift. I'm not totally clear on your last comment. It makes me think that your axes are not calibrated correctly, but I don't think that's what you mean... Can you verify that a commanded move of 1" repeatably moves 1"?

To check backlash you could move 1", then back to zero. Before the move zero a dial indicator and see what value it returns to. If you don't return to zero, that is typically backlash, but it will be repeatable. If you go past zero and then return to zero in the same direction, you should end up exactly at zero. Anyway, go back and forth for a while and see if you drift away from zero or keep the same amount of backlash. Then do the same thing but travel a larger distance and see if things change. From what you're saying, the results would change?

Also, if you only changed the pin assignments in software to swap axes, try trouble shooting that more. Swap the cables to the x and y motor drives and see if drift stays on the x axis. Then try swapping motors. Trouble shooting problems like these is generally best accomplished by dividing the system into halves, figuring out which half is causing the problem, and then breaking that system into halves, etc. You'll keep narrowing in on what the problem is if you do it right. Although a lot of the time you trick yourself into thinking something is fine when it's not...
Reply With Quote

  #5   Ban this user!
Old 09-22-2010, 09:12 PM
 
Join Date: Sep 2010
Location: United States
Posts: 3
klk64 is on a distinguished road

The axes could probably be aligned better but moving things around doesn't seem to change the magnitude of the effect.

I'm not in a position to properly measure backlash (don't have a dial indicator or calipers that are at all accurate), I'm certain that there is some and I am not correcting for it at all. I doubt that backlash itself is really the problem.

I've done the back and forth test in the X axis, and it doesn't seem to be missing steps over the duration of the distance - the drift is the same (to the naked eye) after the same number of iterations whether the distance is 1" or 0.1".

I'll try switching the motors and/or cables when I find the time.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-24-2010, 11:53 AM
 
Join Date: Jan 2008
Location: canada
Posts: 572
PaulRowntree is on a distinguished road

The X drive is also the one pushing the greatest mass about. Is it possible that the acceleration is too great on this axis? What happens if you slow it all down?
IMHO a dial indicator is absolutely required for this type of problem solving.
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
Z Axis Drift...... bbristow DIY-CNC Router Table Machines 9 07-10-2010 06:56 AM
Need Help!- X, Y and Z Axis drift from Zero while running ATRepair DIY-CNC Router Table Machines 29 07-08-2010 03:56 PM
Compensation for axis drift? justrack LinuxCNC (formerly EMC2) 2 12-11-2008 05:05 PM
V2XT Y axis drift Spin Bridgeport and Hardinge Mills 2 12-23-2006 03:37 PM
Z axis drift IainLGrant Benchtop Machines 1 03-12-2006 07:56 AM




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