The invention discloses a
motion error dynamic compensation method applied to a surgical mechanical arm, and belongs to the technical field of surgical mechanical arm control and medical
automation. The method comprises the following steps: firstly, acquiring position data of each joint
encoder of the surgical mechanical arm, a motor current
signal, a position feedback
signal of an end
effector, load change information and accumulative operation duration in real time;
processing the data, fusing the data through adaptive Kalman filtering to estimate a joint dynamic error, inputting a load change rate and an accumulated
operation time length into a pre-training error prediction model to output a compensation basic quantity, and fusing the load change rate and the accumulated
operation time length to generate a real-
time error compensation quantity; and then the compensation amount is superposed to a joint original control instruction to correct motion parameters, and finally the compensated
tail end position deviation is analyzed, and a precision identifier or an adjustment prompt is generated and fed back to a
control system. According to the method, real-
time error compensation is achieved, the compensation precision and working condition adaptability are improved, it is guaranteed that the mechanical arm is stably positioned, and the
surgical operation risk is reduced.