摘要:本毕业设计的目的是在windows系统下使用visual basic 6。0软件设计完成一个列车区间运行上位机模拟程序。程序所要实现的功能基本为模拟一辆8节或16节编组的列车在6段轨道区间的匀速运行,通过MSCC模块为程序添加串口通信功能,将当前列车在区间内运行的位置根据一定的通信协议格式发送给实验室中的模拟控制箱即下位机。随后将下位机实时反馈发送回的包括区间轨道占用情况,各个区间通过信号机的灯位状态等等信息在内的数据报进行解码,使得正确且实时的列车运行情况显示在程序中的人机交互界面。此外,程序中还应该提供六段轨道区间的长度设置,列车编组(八节或十六节)设置,列车运行速度设置,轨道区间以及列车运行速度设置不合理时程序应提供用户错误提示。81819
毕业论文关键词: 列车区间运行;上位机模拟;移频轨道电路;通过信号机
The simulation system of the master machine for train running in the broken
ABSTRACT:The purpose of the graduation project is to use the visual system in the windows system using visual basic 6。0 software design to complete a train interval to run the host computer simulation program。 The program to achieve the basic function of a simulation of an 8 or 16 groups of the train in the 6-segment rail range of uniform operation, through the MSCC module for the program to add serial communication function, the current train in the interval to run the location according to a certain communication The protocol format is sent to the analog control box in the lab。 And then sent back the real-time feedback back to the program, including the interval of the orbital occupancy situation, the interval through the signal board status and other information, including information, such as decoding, so that the correct and real-time train operation shows the program in the man-machine Interactive interface。 In addition, the program should also provide the length of the 6-segment track set, train group (8 or 16) set, train speed settings, track interval and train speed settings unreasonable when the program should provide user error messages。
Key words: Train interval operation; host computer simulation; frequency shift track circuit; through the signal machine
目录
1引言 1
1。1 课题的意义及目的 1
2列车区间运行控制 3
2。1 区间闭塞 3
3实验系统硬件 4
3。1。六段ZPW-2000A移频轨道电路 4
3。2。机车信号机以及车载主机 5
3。3。通过信号机点灯电路 5
3。4。模拟控制箱 6
4程序设计 7
4。1总体设计目标 7
4。1。1。需求 7
4。2模块设计介绍 8
4。2。1 显示模块 8
4。2。2 模拟列车运行模块 10
4。2。3 设置模块 12
4。2。4 串口模块(通信模块) 13
4。2。5数据处理模块 14
5调试与运行 18
6结论与展望 28
致谢