摘要
为提高公交客流计数系统的实时性及准确性,本文分别对车载信息终端的控制器局域网络(controller area network,CAN)总线及RS485线协议进行研究。通过实时采集车载信息终端数据并解析,获取公交实时运行信息。将公交车上的CAN总线和RS485线的信号通过串口转换器变为RS232信号,并基于Linux和Windows两种操作系统设计了两套数据分析系统,用户可以根据公交客流计数系统的基本需求,实时获取公交车的相关信息。实地测试结果表明,该设计能够实时精确的获取车辆的各项信息,达到预期目标,说明本文所采用的数据分析算法,准确率高、效率高、鲁棒性好,为公交客流计数系统提供了有效信息。该研究具有很好的实际应用价值。
In order to improve the real-time and accuracy of the bus passenger flow counting system, this paper studies the CAN bus and RS485 protocol of the vehicle information terminal. By real-time collecting and analyzing the data of the vehicle information terminal, the system can obtain the bus running information. The signals of CAN bus and RS485 are converted to RS232 signals through the serial port converter, and two data analysis systems are designed based on Linux and Windows. Users can obtain the bus information in real-time according to the requirements of passenger flow counting system. The field test results show that the design can accurately obtain the bus information and achieve the expected goal. All of this indicate that the data analysis algorithm used in this paper has high accuracy, high efficiency and good robustness. It can provide effective information for the bus passenger flow counting system. The research has good practical application value in terms of passenger flow statistics.
作者
费惠
张维忠
FEI Hui;ZHANG Weizhong(College of Computer Science & Technology,Qingdao University,Qingdao 266071,China)
出处
《青岛大学学报(工程技术版)》
CAS
2019年第1期9-14,共6页
Journal of Qingdao University(Engineering & Technology Edition)
基金
国家自然科学基金资助项目(61I70106
61305045)
山东省科技发展计划项目(2014GGX101048)