The invention relates to a method for improving the precision of an
encoder, relates to the technical field of circuit systems, and aims to solve the technical problem that an
effective method which is simple and reliable in operation and high in real-time performance does not exist in phase calibration of two paths of sine and cosine signals in the prior art. The method comprises the following steps: collecting the amplitude of an
analog signal; gains of sine / cosine signals are calculated and amplified to ideal amplitudes; revising the sinusoidal
signal again; equally dividing the fine code
signal into a specific number of parts; and respectively calibrating a long period and a short period, and carrying out
software algorithm compensation on an error fitting curve. According to the method for improving the precision of the
encoder, on the basis of an MR3 + DSP28335 technology, two paths of sine / cosine original analog signals are subjected to hardware adjustment, and then the amplitude, the
direct current and the phase are revised again by adopting a
software algorithm, so that the two paths of analog signals entering a
subdivision program have good orthogonality and symmetry, and the
subdivision precision is improved.