| TTCAN(Time-Trigger Controller Area Network)is a new type of protocol which makes use of the advantage of time-trigger and event-trigger mechanism. Its scheduling information is manageable and predictable, and it has very important meaning for the application of distributed hardware real-time system and the solution of information delay in the network control system.The paper analyzes TTCAN network scheduling platform's scheduling strategy for periodic and aperiodic message. After genetic algorithm optimizes the cyclical time scheduling of system matrix, according to normal industry control system, using stateflow tool in simulink can build TTCAN network scheduling simulation platform, and in it the scheduling algorithm is stored. Through inputting the known message models, choosing scheduling algorithm can produce scheduling tables. For periodic information, scheduling tables are optimized by genetic algorithm, and then it will be downloaded into nodes; for aperiodic information,optimize it by priority upgrade algorithm. After optimization, simulation platform will improve network system bandwidth utilization and bus traffic, and decrease cyclical information responding time and aperiodic information delay time of each sensor's node. Hence, it improves realtime communication of network platforms and effectively satisfies real time of cyclical information which has higher standard, or the requirement of aperiodic information. Finally, the paper analyzes and designs master-slave workflow of TTCAN bus and builds software and hardware environment of master and slave station. |