摘要
随着全球定位系统的发展,越来越多的列车上开始使用GPS定位技术。通过分析应用GPS定位技术的机车头灯自动寻迹的可行性,提出了一种在嵌入式平台上依照铁轨曲率和机车运行速度,通过控制步进电机的转动角度和速度,实现机车头灯自动旋转的整体解决方案,给出了控制系统的硬件和软件组成。详细阐述了ARM微控制器通过串口接收GPS数据的采集过程,采用样条插值算法的GIS地图生成过程和运用占先式多任务实时嵌入式操作系统UCOS-Ⅱ实现控制的多任务处理过程。结果表明,该设计方案充分发挥了嵌入式系统的优点,系统设计是可行的,并且已经在机车上试验成功。
More and more trains have been equipped with GPS supervision and navigation system with the development of Global Position System (GPS). In this paper, a GPS control system at embedded platform is presented through analyzing the feasibilities of the train′s Headlight Autoseeking GPS system, which implements train′s headlight autoturn based on rail curvature and train velocity. In the mean time the hardware′s compose of the control system is given. Using the embedded operating system UCOSⅡ to implement multitask control, the GIS map creating process using interpolating spline arithmetic and the ARM MCU data collecting process by RS 232 interface are expatiated. The solution exerts advantage of embedded OS adequately and it is proved that this system is effective and can be applied safely and steadily by the successful testing in trains.
出处
《现代电子技术》
2005年第12期25-27,共3页
Modern Electronics Technique