| With the ongoing development of information technology in recent years,new industrial applications like autonomous vehicles and remote medicine have been expanded quickly.These emerging applications proposed higher real-time requirement for data transmission.Traditional Ethernet communication technologies cannot guarantee the deterministic transmission of timesensitive flows.For this reason,the IEEE 802.1 Working Group has proposed Time-Sensitive Networking(TSN).Through the combined action of traffic scheduling,network management,and other methods,TSN can ensure the transmission of time-sensitive flows.However,no specific traffic scheduling schemes are defined in TSN protocols.An acceptable traffic scheduling mechanism is crucial for the deterministic transmission of time-sensitive streams.Meanwhile,it is vital to pre-validate the new features of TSN using network simulation because TSN technology is currently in a stage of highspeed development and some protocol functions are still being created.The main work of this thesis are as follows.(1)TSN semi-physical simulation system is designed and implemented.Based on the analysis of OMNeT++ simulation software and NeSTiNg simulation framework,the real-time scheduling mechanism and semi-physical simulation interface are implemented.Two different semi-physical simulation interfaces are developed for the semi-physical simulation of real devices and real programs.The semi-physical simulation interfaces are verified by comparison experiments.The performance of the developed semi-physical simulation system is verified by comparing the experimental results of the physical experiment system,the software simulation system and the semi-physical simulation system.The experimental results show that the developed TSN semi-physical simulation system can provide a simulation effect closer to the physical system.(2)For the dynamically changing traffics in TSN,a scheduling algorithm is proposed that dynamically adjusts the time slot window according to the feedback of the transmission delay.The TSN traffic scheduling problem is modeled,and then a scheduling algorithm is proposed.In the proposed algorithm,a switch port to be adjusted are firstly selected,and the corresponding time slot window size is adjusted according to the real-time delay.Finally,comparison experiments are designed in software simulation environment and semi-physical simulation environment.The experimental results show that the proposed scheduling algorithm can adapt to the dynamic traffic than the reference algorithm.It can not only guarantee the transmission of time-sensitive flows,but also effectively reduce the network jitter caused by traffic changes. |