摘要
介绍了LPC2129单片机定时器的捕获功能,以及在车速信号采集中的应用。设计了车速信号采集系统的软硬件,应用一种基于周期法的车速采集算法计算车速。提出的车速采集方法,无论在低速测量还是高速测量,都可较好地兼顾测量的精度和实时性,为进一步研究整车动态性能提供保证。通过对上车实验采集数据与车速表读数比较,结果证明了硬件设计和软件算法的正确性。
This paper introduces the capture function of microcontroller LPC2129 and its application to the vehicle speed signal acquisition system. Both hardware and software of the speed signal acquisition system are designed. The speed signal acquisition method is based on period measurement and applied to speed calculation. By comparing the data aboard to that from the speedmeter, test result show that the design is correct.
出处
《单片机与嵌入式系统应用》
2011年第8期35-37,共3页
Microcontrollers & Embedded Systems