TY - JOUR N2 - In order to guarantee the accuracy of turntable angle measurement, a real-time compensation method for turntable positioning precision based on harmonic analysis is proposed in this paper. Firstly, the principle and feasibility of the real-time compensation method are analysed, and a detailed description of harmonic compensation is provided herein. Secondly, we analyse the relationships between the surface number of the polygon with the compensation order of the harmonic function and its corresponding compensation accuracy. The effects of the iterations number and the data width on calculation accuracy in the coordinate rotation digital computer (CORDIC) algorithm are analysed and the quantization models of the approximation error and rounding error of the CORDIC algorithm are established. Then, the calculation of the harmonic error function and real-time compensation processes are implemented on a field programmable gate array (FPGA) chip. The resource occupation and time delay of the phase angle calculation and the harmonic component calculation are discussed separately. Finally, the validity of the harmonic compensation method is proven through comparing the compensation effect with that of linear interpolation and the polynomial compensation method. The influences of the compensation order, the iterations number and the data width on the compensation results are demonstrated by simulation. A test platform with a laboratory-made FPGA circuit is built to evaluate the effect of real-time compensation with the harmonic function and the positioning error compensation can be performed within 760 ns. The results confirmed the effectiveness of the harmonic compensation method, revealing an improvement of the positioning precision from 54.21″ to 1.63″, equivalent to 96.99% reduction in positioning error. L1 - http://www.czasopisma.pan.pl/Content/124549/PDF/art08-01289_int.pdf L2 - http://www.czasopisma.pan.pl/Content/124549 PY - 2022 IS - No 3 EP - 571 DO - 10.24425/mms.2022.142269 KW - harmonic function KW - positioning error KW - compensation KW - real-time KW - CORDIC A1 - Zhou, Yi A1 - Zhu, Weibin A1 - Shu, Yi A1 - Huang, Yao A1 - Zou, Wei A1 - Xue, Zi PB - Polish Academy of Sciences Committee on Metrology and Scientific Instrumentation VL - vol. 29 DA - 2022.09.30 T1 - Analysis and application of real-time compensation of positioning precision of the turntable with a harmonic function SP - 553 UR - http://www.czasopisma.pan.pl/dlibra/publication/edition/124549 T2 - Metrology and Measurement Systems ER -