This invention discloses an in-
machine measurement and error compensation
system and method for a five-axis form
grinding machine, belonging to the field of CNC
machining and precision measurement technology. The
system includes a five-axis form
grinding machine, a rotary table, a contact probe, a
data acquisition and
processing module, and a CNC controller, integrated into a hardware
system for closed-
loop control. The corresponding method includes: first, calibrating the probe's pre-
stroke error by comparing in-machine and offline measurement data; then, after
machining, controlling the probe to perform in-machine measurement along the surface normal, accurately calculating the normal deviation through
vector projection; next, correcting the data using calibration parameters, and generating complete surface deviation compensation data through coarse and fine registration and surface comparison analysis; finally, driving the
machine tool to perform iterative compensation
machining until the accuracy meets the standard. This invention achieves one-time high-precision forming and inspection of complex curved surface workpieces on a machining tool, significantly improving the machining efficiency and consistency of parts such as aero-engine blades.