The invention belongs to the technical field of
robot track control and
machining process measurement and control, and particularly relates to a
robot spiral path on-line measurement compensation method, a
robot working method and a robot. The robot spiral path on-line measurement compensation method comprises the steps that the
radius, the lead, the number of turns, the number of sampling points and the feeding speed of spiral motion are set, and a nominal
cutter location point sequence is generated; when the robot executes a spiral track,
radius error and attitude angle data are synchronously collected, and time-angle alignment is completed; measuring shaft rotation calculation is completed by combining attitude information, a
displacement error is projected to an actual measuring shaft direction, a compensation vector is calculated in a target plane, and smooth transition of feeding and retracting is achieved; the nominal
cutter location point sequence is corrected through a compensation vector, and equal-arc-length
resampling is carried out based on the accumulated
arc length; and finally, outputting the compensated control program, and issuing the compensated control program to a
robot controller to realize online compensation. According to the invention, the roundness and lead error of the spiral path can be effectively reduced, and the geometric accuracy and
machining consistency of the workpiece are improved.