Aiming at the problem of low control accuracy of traditional 51 MCU for servos,a motion control experiment on a six-degree-of-freedom robot was used for research.The experiment used STC89 C52 as the controller and was programmed according to the conventional servo control scheme.The I/O ports generated PWM signals to drive the six servos to their target positions.For the experimental errors,the oscilloscope was used to detect the PWM signals and then an error analysis was executed.Finally,the control program was improved to increase the control accuracy of traditional 51 MCU for servos without changing any hardware.At the same time,the engineering applicability of traditional 51 MCU become more comprehensive.