The invention relates to the technical field of
numerical control machining, in particular to a
CAM post-optimization method and
system for
geometric error compensation of a multi-axis linkage
numerical control machine tool. The method comprises the following steps: firstly, carrying out
kinematics analysis and
geometric error modeling on a target
machine tool, and deploying the target
machine tool in a
CAM post-optimization module; then actual state parameters of the target
machine tool in the
machining process are collected in real time through a
laser interferometer; a motion instruction of a target
machine tool and a detection result of a
laser interferometer are synchronously obtained through a
CAM post-optimization module, and then geometric errors of a linear axis and a rotating axis in the operation process of the target
machine tool are calculated in real time through a kinematic model and a
geometric error model. According to the method, different linear axis compensation
modes are adopted for different instructions; and a cutter shaft attitude vector error and a cutter
cutting point
position error are calculated in combination with
inverse kinematics, and are corrected step by step. The problem that the error compensation precision of a controller in an existing
numerical control machine tool is insufficient can be solved.