The present application relates to the field of ultra-precision measurement, and particularly relates to a measurement error control method based on sampling frequency and installation eccentric error, a medium and equipment. The method is used for suppressing the error caused by the installation eccentricity of the standard ball in the synchronous
rotation error measurement of the main shaft. The method establishes a displacement
signal model containing the installation eccentricity, the
radius of the standard ball and the rotation angle of the main shaft, obtains a discrete sequence through equiangular discrete sampling, performs 2-50 order
harmonic decomposition on the discrete sequence to represent the eccentric error, and according to the change law of the
harmonic amplitude with the eccentricity, the ball
radius and the sampling point number, configures the
system parameters to make the high-order error within the
target range. The advantages of the method are as follows: the 2-50 order
harmonic error distribution is accurately revealed, and the evaluation
distortion is avoided; the error is actively controlled by optimizing the ball
radius and the sampling point number, and the dependence on the installation precision is reduced; the mechanism of the sampling point number for suppressing the spectral
aliasing is clear, and the measurement robustness and
repeatability are improved.