Your other posts indicate problems with the camera calibration,
maybe it is also related to a detection problem with the
calibration fiducial.
> The machine is on ballscrews, with guaranteed backlash that is less than the pixel resolution of the cameras.
Ball-screws usually do have backlash when tuned for speed (as
they should be for PnP), because preloading them for reduction of
backlash increases friction a lot. AFAIK, preloading is therefore
only done for slow machining where load-bearing direction-changes
are involved while the tool is engaged (CNC mill).
Please send a screenshot of the backlash comp results, and/or the machine.xml
And yes, post some videos.
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/8d1c2f3f-346b-46a0-865e-c7e4a88300aen%40googlegroups.com.
> You can see very quickly we lose machine position, and by the time we get back to the fiducials, the machine is well out of position.
Like I said: backlash compensation relies on the calibration fiducial being detected reliably. I suspect this is not the case. Therefore, perhaps the backlash calibration obtained completely wrong results. Watching your videos, it should not find any backlash and propose to switch compensation off. But if the fiducial is detected wrong, all bets are off.
Another vague possibility: if your camera (or lens) can't take
the super-brutal and stiff accelerations you ball-screw guys are
famos for, it might slightly tilt the view axis. This will likely
result in an "artificial" backlash being detected. For instance:
my ELP camera has a single tiny set-screw to fixate the camera
lens thread, which is not really entirely wiggle free. Given
enough stiff acceleration I can imagine it would shift. Others
have reported that even the sensor inside the camera can
apparently shift. This might also be limited to the special short
distance direction reversing moves of the backlash calibration
cycle (causing resonant agitation in the camera/lens mechanics),
and not otherwise occur in normal longer distance moves.
If anything like this is the case, the backlash calibration would propose a misguided settings, it will position with a large offset depending on which side it comes from (per axis).
Note, it is almost impossible that this is a permanent machine offset. OpenPnP uses absolute coordinates. How could backlash compensation cause permanent offsets?
Send the log at TRACE logging level, then we see what G-code is
sent and what coordinates.
And I repeat: Please send a screenshot of the backlash comp results, and/or the machine.xml
> running a macro script in Duet, which just performs a 25mm diagonal move, back and forth
This is not a conclusive test. To test backlash you need to
position to the same position coming from two different sides (per
axis), and ideally also coming with different speeds (that's
exactly how the automatic calibration works, but again relying on
reliable calibration fiducial recognition).
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a040bfcb-cb22-4d50-98e3-7e23877ba18cn%40googlegroups.com.