摘要
介绍了单片机产生正弦波的原理,误差分析表明低速单片机产生正弦波时频率会产生比较大的累积误差。提出了一种利用低速单片机产生准确频率正弦波的方法,并与传统方法产生的误差做了比较,结果表明这种方法大大提高了正弦波频率的准确度,最后给出了软件流程图。该方法在铁路轨道电路测试系统的应用中取得了很好的效果。
The principle of generating sine wave by using single chip computer is introduced. From error analysis, it is indicated that accumulated error of the frequency of sine wave generated by low speed single chip computer is bigger,thus the method of generating sine wave with accurate frequency is proposed with still using low speed single chip computer. Comparing with the traditional method, the accuracy of frequency of sine wave is greatly enhanced. The flowchart of software is given finally. The proposed method has been used in circuit test system for railway tracks.
出处
《自动化仪表》
CAS
北大核心
2009年第2期63-64,共2页
Process Automation Instrumentation
基金
西安市创新基金资助项目(编号:XA-AM-200712)