摘要
随着80C51单片机在工业上的广泛应用,对定时精度的要求越来越高。但是由于指令周期考虑不全和硬件自身的原因易引起定时误差。从软硬件方面分析了误差原因,并针对误差不确定性的特点从指令执行周期、计数器初值、计数器当前值、适时开关中断四个方面给出了纠正方法。
With 80C51 is increasingly its widespread use of 80C51 in industry, the demand for time accuracy of strict. Because instruction period is not completely considered and the hard ware is not perfect , it is easy to cause error. For the error is indefinite , this paper analyses the reasons that cause the error from software and hardware aspects, then provides correction methods from four aspects : instruction operation period , original counter digit, present counter digit and interruption " on " and " off " on time.
出处
《临沧师范高等专科学校学报》
2011年第1期115-117,共3页
Journal of Lincang Education College