Issue with step servo setup - x-axis cutting skewd
I would almost think a loose coupling could do this but it seems so repeatable which makes this not too likely.
Since this is always on the X axis, maybe it would be worth the trouble to bring the X axis encoder into EMC and see how well the step/dir drives are following the commanded position. Also what is the value of the following error limit in the drives?
Dynamic (acceleration dependent for example) errors could be tuning related. Any amount of integral term in the drives control loop will zero out static errors (and thats all you measure manually), but the drives PID loop must be properly tuned for dynamic performance. Monitoring some x axis moves in HALScope, looking at commanded position and encoder position (scaled so they are the same) would allow checking the dynamic drive performance.
Could this be the result of a tilted Z Axis and slightly different heights for the various cuts?
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
We applied the correct backlash compensation to each axis but the results are still offset.
If you stop the g-code after the bottom-left hole and after the top-right hole, and compare the X-axis positions (in machine coordinates, ie press # to toggle the DRO view) do the numbers look right?
Once we work out if it is a command error or a response error then the problem is half as difficult.
(there is no chance that the work is moving?)
Please Log in or Create an account to join the conversation.
As for our original problem - we think we've solved it by finding all the mechanical bug-a-boos that were hiding in the axis - and she's purring now - no more squaking, knocking, banging, etc. 7 of 9 bearings in the drive system (it's a centrally mounted drive that turns drive shafts to each side of the machine) were bad. We are planning on test cutting monday.
Please Log in or Create an account to join the conversation.
Does anyone have an example configuration using encoders for position feedback when driving with step/dir signals?
I don't know of one, but you can probably assemble one from parts of other configs.
If you take your stepper config and paste in just the encoders from a servo config that should be close.
Basically the motor-pos-fb pins need to be driven by the encoder-position pins, rather than the stepgen-position pins as they are now.
Please Log in or Create an account to join the conversation.
Unfortunately the forum search does not work for me or I might be able to find it
(first page is OK all subsequent pages are blank)
I think the trick was setting up the hardware stepgen in velocity mode. and using a PID loop with FF1 = 1
and a small P term to correct timebase and DIR setup/hold delays.
Please Log in or Create an account to join the conversation.
I suspect it is linked to the problem that many search results come up with spammy-titles.
Please Log in or Create an account to join the conversation.
stuff to search for site:http://www.linuxcnc.org
John
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.