1、 I 摘 要 机车入库无线采集系统是在机车即将入库时对列车重要信息进行无线采集, 取代以往机车入库后,利用存储卡到机务段的微机系统中读出列车信息,这样费 时、 费力, 而且不能及时对机车信息进行采集。 本设计实现一无线数据采集系统, 能在机车入库的途中完成数据的自动采集。 本设计在功能实现上可分为三个模块,依次是无线数据传输模块、串口通信 模块、数据终端处理模块。 数据无线传输模块是利用桑锐 SRWF-501 芯片实现的,它与主机 RS-232 串口 相连,将 RS-232 串口的数据无线发射,或接收无线数据再传给 RS-232 串口,从 而实现两台主机数据的无线传输。 串口通信部分的功能则是
2、架设一座数据从程序到外界的桥梁,主机的数据都 是经过这个桥梁传输出去,本设计采用 RS-232 串口完成这一任务。 终端数据库主要完成数据的存储、提取以及查询等数据操作,服务于列车调 度,本设计采用微软 ACCESS 数据库实现这部分的功能。 通过这三个模块的设计,实现了机车入库时数据无线采集的过程,极大的提 高了列车管理的效率。 关键词 桑瑞 SRWF-501,RS-232,串口通信,无线采集 II ABSTRACT Train informations Wireless Collection System is designed to collect the important infor
3、mation wirelessly when a train is going to enter the station. The new wireless way can replace the old way in which railway station staffers have to get the important information from the computer system of computer center with a memory card. The old system cant collect the important information eff
4、iciently and even isnt able to gain the important information sometimes. In this design, I complete a wireless collection system which can be used to collect information in an automatic way while a train is going to enter the station. This design is mainly made up of three parts: Shanghai Sangrui SR
5、WF-501 module, RS-232 serial port, and terminal database part. Shanghai Sangrui SRWF-501 module takes charge the wireless communication. It connects with the computer by RS-232 serial port and beams the data of RS-232 serial port or transmits the data it has received into RS-232 serial port. To the
6、data, RS-232 serial port is a bridge between the program and Shanghai Sangrui SRWF-501 module. All the data in the program is transmitted through this port. Microsoft Access is used in this design as terminal database to accomplish the storage and management of data. Through the design of the three parts, the important message of a train can be gained in wireless way when the train hasnt entered the station, which will improve the management efficiency largely. KEY WORDS SRWF-501, RS-232, se