The invention relates to a method for curved surface thermal-error compensation of the whole
workbench of a precise numerical-controlled
machine tool. The method includes acquiring the temperature information of key positions of main shafts of the
machine tool and Z-axis coordinate information of representative position point of a
workbench, screening
temperature sensitive points, establishing a thermal-error model of all measuring points in a
workbench scope, embedding the established thermal-error model of all measuring points in a compensator, calculating a predicted
thermal deflection of all measuring points at the current temperature and current moment, carrying out curved surface modeling for predicted
thermal deflection of all measuring points at the current temperature and current moment, establishing a whole workbench curved surface thermal-error compensation model, calculating the thermal error compensation value of the
machine tool at the coordinate position, inputting the obtained compensation value to the
machine tool, and realizing Z-axis axial thermal error real-time compensation in the whole workbench scope of the
machine tool by combining true origin offset. Modeling and predicting Z-axis axial thermal error of the whole workbench scope are carried out, so that accurate Z-axis axial thermal error compensation value in the whole workbench scope is obtained.