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! > Electronics > Servo Motors and Drives


Servo Motors and Drives Discuss servo motors, drivers and other related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-01-2011, 02:56 PM
 
Join Date: Jul 2008
Location: USA
Posts: 33
Scott Kelley is on a distinguished road
Axis' don't return to zero - accumulating error

I've got an error with a servo system that I have not been able to figure out. Everything works properly, except that the axis' slowly accumulate errors. I can run a routine that includes multiple movements of the axis', and when I return to 0,0,0 the spindle is no longer over the 0,0 position, but has moved by tens of thousandths, always in the positive direction.

Here is the system info:

Bridgeport Boss mill.
OEM DC servo motors.
AMT-102 Encoders (same problem occurred with the OEM BEI encoders)
CNC4PC C11 Break-out board
CNCDRIVE Mammut Servo Drives
Mach 3


I recently tested the problem using the test described below, I find that the table consistently moves 3" in the positive direction when instructed, and it consistently moves about 4 thousandths shy of the 3" called for when traveling back to zero in the negative direction (backlash is taken out of measurement as described below).

I believe that smaller movements result in smaller errors.

Problem persisted after changing encoders from the original BEI encoders and cables to AMT encoders with different cables.

Movements directed to the servos via USB using the manufacturer's "servoconfigurator" application result in very accurate movement in both directions with no error accumulation.

So it would seem that the problem must be one of the following:
* Erroneous / Extraneous data sent from Mach3.
* Erroneous data received by servo drive from parallel input line (noise).
* Internal error in servo drive.
* Erroneous data sent by encoders (unlikely - same problem with different encoders).
* Erroneous data received from encoders (unlikely - shielded OEM cables with OEM encoders / twisted pair cables with new encoders - no ground loop).

Questions:

1. Am I overlooking any possible source of the problem?

2. Does this problem sound familiar to anyone?

3. What tools are readily available to test the outputs of the various components (to actually see where the erroneous count is occurring)?

4. Any thoughts as to additional tests that I may perform to narrow down the problem?


Test procedure used:
To measure error while table moves in X+ direction; Set up dial indicator to measure X position of spindle relative to table using precision gauge blocks. Move spindle to X.9, insert 1" gauge block, move spindle to x1, zero indicator, move to X4, insert 4" gauge block, read indicator.

To measure error while table moves in -X direction; Move spindle to X4.1, insert 4" gauge block, move spindle to X4.0, zero indicator, move to X1, insert 1" gauge block, read indicator.


Thanks,
Scott Kelley
Reply With Quote

  #2   Ban this user!
Old 05-01-2011, 05:28 PM
 
Join Date: Sep 2010
Location: usa
Posts: 839
mike_Kilroy is on a distinguished road
Buy me a Beer?

good test running the 'mfgr servoconfigurator' getting commands via USB to help isolate the problem..... tell us who the mfgr is and what the device is that uses this servoconfigurator program. I assume it is the drive amplifier software but that is just a guess...... if you reply tonight I will use that to make a prediction of where you may want to look.....

2 additional questions: the encoders feedback is using differential sigs (a,a-,b,b-)?

and same question on parallel output from printer port; I assume it is step & dir commands to the drive - so u have step.step-, dir, & dir- hooked up?

3rd question: what is cable from par port to interface card - ribbon cable? shielded twisted pairs? how long? and is it near ANY other wires?

couple more hit me: u sure motor coupling is not loose? something else in drivetrain mechanically loose/slipping?

does the the servoconfig program uses a slower accel rated than the mach3 so it didnt mech slip?

is there a spindle drive on this machine? did u try test with it off (they often cause noise problems)?
Reply With Quote

  #3   Ban this user!
Old 05-02-2011, 12:00 AM
 
Join Date: Jul 2008
Location: USA
Posts: 33
Scott Kelley is on a distinguished road

My OP has a listing of the major components.

These encoders do NOT have differential outputs.

Cable from computer to BOB is about 2.5' long, shielded.

Definitely not anything slipping in the drive (as confirmed by the direct test of the servo drives, which test is done at a much higher acceleration rate than the Mach3 signals).

There is a VFD - it is ON, but not running during the test. I have not tested with it Off.

Subsequent to my OP, I have moved all signal wires away from high current lines of any sort, and away from the VFD. Re-ran the same test and got the same results. I am really having a hard time believing that it is a noise problem at this point - it is TOO CONSISTENT . . .
Reply With Quote

  #4   Ban this user!
Old 05-02-2011, 09:42 AM
 
Join Date: Sep 2010
Location: usa
Posts: 839
mike_Kilroy is on a distinguished road
Buy me a Beer?

yes, try with the vfd off - worth the test.

I understand your saying it is too consistent and so prob not noise - I am not there so cannot say but noise does this kind of thing on no differential encoder feedback systems- hence, why I asked about differential sigs or not. I've been sent all across the USA (they want me to go to Spain now and I am resisting!) to help solve this kind of servo noise problem; my experience says having home position drift is typical of non differential encoder feedbacks. Yes, it normally continues to drift with time and running so it gets worse and worse, but it can drift one way then the other also so just get off and stay off and not continue to get worse, just drift around the right spot. anyway, most anyone can usually get away with non-differential enc feedback is about 8 feet length.... and then it is a crap shoot still. If your enc has A- and B- outputs, can you hook them up to your breakout board? It may solve the issue. But if the driveconfig program thing u mentioned runs the drive itself and it does not drift and it uses the encoder also, this sorta says it aint the encoder huh?

That is why I asked if step/dir were differential: unless the encoder is NOT used during that other program test u did, it sounds like non diff step/dir lines may be picking up the noise.

so does the other test that did not drift use the same encoder or not?
Reply With Quote

  #5  
Old 05-02-2011, 10:04 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

If your tuning software commands the drives and there is no error, only when you are running Mach,.
Your encoders go back to the drive, so if they were reading incorrectly it would show up in the tuning also.
You also need to run a measuring test in both directions to confirm whether it is a unidirectional error.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-02-2011, 12:36 PM
 
Join Date: Jul 2008
Location: USA
Posts: 33
Scott Kelley is on a distinguished road

Originally Posted by mike_Kilroy View Post
so does the other test that did not drift use the same encoder or not?
Yes, it does use the same encoder
Reply With Quote

  #7   Ban this user!
Old 05-02-2011, 12:44 PM
 
Join Date: Jul 2008
Location: USA
Posts: 33
Scott Kelley is on a distinguished road

Originally Posted by Al_The_Man View Post
You also need to run a measuring test in both directions to confirm whether it is a unidirectional error.
Al.
My measuring test (described in the OP) indicated that it is wholly or substantially a unidirectional error.

I posted to the Mach forum to see if anyone has, or knows of a piece of communication code that would emulate the Mach3 output, in order to eliminate (or implicate) Mach as the problem source.
Reply With Quote

  #8   Ban this user!
Old 05-02-2011, 12:58 PM
 
Join Date: Sep 2010
Location: usa
Posts: 839
mike_Kilroy is on a distinguished road
Buy me a Beer?

so it is not your encoders causing the drift, no?

so, again, is your mach3 to drive connection step/dir DIFFERENTIAL? If not, I would bet a case of beer from your description that that is the problem. make it differential. hook up the missing 2 wires.
Reply With Quote

  #9   Ban this user!
Old 05-02-2011, 02:14 PM
 
Join Date: Jul 2008
Location: USA
Posts: 33
Scott Kelley is on a distinguished road

Originally Posted by mike_Kilroy View Post
so, again, is your mach3 to drive connection step/dir DIFFERENTIAL? If not, I would bet a case of beer from your description that that is the problem. make it differential. hook up the missing 2 wires.
It is not differential. This is a parallel port output from a PC. Connections are made via the breakout board and a secondary board that connects to the drives via short ethernet cables.

PC to CNC4PC C-11 break-out board via parallel cable.
C-11 board to "Simple LPT port breakout board" (CNCdrive - Servodrives and CNC components).
"Simple LPT port breakout board" to drives via Ethernet cables.
Reply With Quote

  #10   Ban this user!
Old 05-02-2011, 05:53 PM
 
Join Date: Sep 2010
Location: usa
Posts: 839
mike_Kilroy is on a distinguished road
Buy me a Beer?

ok. looked at board and see simple step and dir. so. next questions:

1) did this USED to work? Usually we do something that causes it to stop working.... can u think of a change around the time it started to creep?
2) your shielded cable 2.5' is from computer par port to breakout brd.... away from noisey other wires no doubt. how about the rj45s to the drives? they are NOT shielded since they are office style ethernet cables right? how long? can you make shorter ones? shield them? (for a test wrap tin foil around them from board to drive and clip lead this to ground?) but how long are they?
3) only 1 axis creeping? can u change rj45 cable? drive location? anything to switch a good and bad axis one part at a time?
4) did u run with vfd unpowered? did it still creep? if not, it is time to consider changing motor leads from vfd to motor to 4 conductor shielded cable.
5) breakout says u can usually set step to be active hi or lo on mach3 & drive (to match) - urs match? worth changing from hi to lo or lo to hi on both and see if your creep reverses direction - would help confirm it is noise on the step line of this axis....
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-03-2011, 07:49 AM
 
Join Date: Oct 2004
Location: United States
Age: 47
Posts: 118
arturod is on a distinguished road

Scott,

I received your support ticket. Thanks for the links.
I know double optoisolation can be very tricky, and we have had problems with this in the past. I can assure you this has nothing to do with the problem you are experiencing now. Depending on the board, some can optoisolated at 100khz and others at 1Mhz.

I presume this is the board you bought back in 2008. Are you just setting this up now, or was it working ok and then it started having problems?

The problem you are describing makes me think that the board is underpowered. Possible causes for this are:
- Problems with the power supply.
- External short draining power from the system.
- Damaged chip on the board, which can create an internal short, leaving other chips underpowered.

I suggest you take a look at this guide for trouble shooting this with your board:

Please let me know how it goes.

Arturo Duncan
:: CNC4PC :: iNtRo
Reply With Quote

  #12   Ban this user!
Old 05-03-2011, 12:25 PM
 
Join Date: Jul 2008
Location: USA
Posts: 33
Scott Kelley is on a distinguished road

Hi Arturo, thanks for the reply.

Yes, this is that same board/project, and yes, I am just finally getting around to getting it working right (procrastination is one of my strengths). I have used it a little bit for things where high accuracy is not important, but those other items that do require accuracy are piling up and it's time to fix the problem .

I will plan to check out the items you mention this evening. When you refer to "this guide", did you mean the 3 items listed, or did you mean to attach a link to something?

Also, it would help me a lot if you could provide me a schematic of the board so that I can follow the signals in and out of the board without having to trace them out (normally no biggie, but in this case the board and all wires are tied down to a mounting plate).

Thanks for the help,
Scott Kelley
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Y axis over travel during zero return kirby Fanuc 7 04-06-2011 11:26 AM
Need Help!- Refernce return error samiahmed Fanuc 1 02-22-2010 05:26 PM
Position Accumulating lokey Mach Mill 2 04-22-2009 07:24 AM
Problem- VF-0E Z axis does Zero return towards table. skullworks Haas Mills 2 11-29-2008 07:53 PM
Z return margin error Shotout Haas Mills 3 10-15-2006 10:05 AM




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