In this paper, eddy current sensors and thermocouple sensors were employed to measure the thermal field and thermal deformation of a spindle of a telescopic CNC boring-milling machine tool, respectively. A linear regression method was proposed to establish the thermal error model. Furthermore, two compensation methods were implemented based on the SIEMENS 840D system by using the feed shaft of z direction and telescopic spindle respectively. Experimental results showed that the thermal error could be reduced by 73.79% when using the second compensation method, and the thermal error could be eliminated by using the two compensation methods effectively.
展开▼