![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Servo Motors and Drives Discuss servo motors, drivers and other related topics here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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 |
|
#2
| |||
| |||
| 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)? |
|
#3
| |||
| |||
| 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 . . . |
|
#4
| |||
| |||
| 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? |
|
#5
| ||||
| ||||
| 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. |
| Sponsored Links |
|
#7
| |||
| |||
| 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. |
|
#8
| |||
| |||
| 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. |
|
#9
| |||
| |||
| 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. |
|
#10
| |||
| |||
| 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.... |
| Sponsored Links |
|
#11
| |||
| |||
| 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 |
|
#12
| |||
| |||
| 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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |