Abstract:With the improvement of the speed and carrying capacity of modern locomotive, in order to ensure the safe operation of locomotive, it is necessary to accurately collect various parameters of locomotive operation for data monitoring, management and control. In addition, it can also provide data support for fault diagnosis. Therefore, it is necessary to develop a set of large-capacity locomotive bus control system that can accurately and high-speed data transmission. The locomotive bus controller based on RS485 and RS232 is designed. The hardware design of main control module, level conversion module, clock module, power module and LED indicator module with STC8G2K64S4 chip as the core is described in detail, as well as the software logic control and communication protocol between them. Through 4 serial ports to achieve program download and data exchange. The main switching parameters include voltage, current, total active power, frequency and other locomotive operating data. The test results show that the locomotive bus controller can transmit the data generated or collected by each device at high speed, accurately and timely, which provides support for the subsequent data analysis.