Design and Implementation of Train Broadcast Controller Software Based On Hierarchical State Machine
暂无分享,去创建一个
Train broadcast controller is an indispensable part of modern train design, which is simple, practical and fully functional. Most of the traditional train broadcast controllers are designed based on finite state machines. The system designed in this way is generally simple in function and poor in reliability. With the continuous development of urban rail transit, passengers are more and more demanding for train broadcasting. Therefore, this paper introduces the design of train broadcast controller based on embedded Linux platform and hierarchical state machine. Firstly, several functions of the train broadcast controller are determined from the user's point of view. Secondly, according to the different implementation scenarios and steps of each function, the super-state, sub-state and the transition conditions between states are determined. Finally, the train broadcast controller is designed and implemented based on UML diagram of hierarchical state machine.