The invention discloses a method for separating and handling the thermal error,
roundness error and turning error of a main shaft of a
machine tool. The method comprises the steps of circumferentially uniformly distributing four temperature sensors and four electrical vortex sensors in the radial direction of the main shaft; setting the sampling time of the sensors according to the rotating speed of the main shaft, and acquiring the temperature and
radial displacement signals of the main shaft of the
machine tool; performing equivalent-cycle truncation for the
radial displacement signals of the main shaft, and then carrying out differentiating to obtain the radial
thermal displacement error of the main shaft, building a thermal error model through a least-square method, and then separating out the thermal error from the
radial displacement error; performing weighted summation for the radial displacement signals of the main shaft, acquired by the four electric vortex sensors, so as to build a function relational expression, and then separating out the
roundness error of the main shaft through
discrete Fourier transform; subtracting the
roundness error and the thermal error from the measured data, so as to separate out the turning error of the main shaft. The method achieves the separating of the radial thermal error, the roundness error and the turning error of the main shaft of the
machine tool. Compared with the common three-point error separating method, the method has the
advantage that the separating precision is improved.