Time-Sensitive Networking (TSN) provides end-to-end data transmission with extremely low delay and high reliability on the basis of Ethernet. It is suitable for time-sensitive applications and will be widely used in scenarios such as autonomous driving and industrial Internet. IEEE 802.1Qbv proposes a time-aware shaper mechanism, which enables switches to control the forwarding of traffic in port queues according to pre-defined Gate Control List (GCL). The length of the GCL is limited, and the previous method of scheduling cycle with a hyper period may result in a larger GCL. Based on Satisfiability Modulo Theories (SMT), we propose a TSN scheduling method for industrial scenarios and develops a series of scheduling constraints. Different from the previous scheduling methods, the method proposed in this paper adopts the base period cycle to update GCL regularly, which can effectively reduce the number of time slots in GCL and make the configuration of GCL simpler and more efficient. In addition, compared with the traditional hyper period method, the method proposed in this paper can calculate the scheduling results faster while ensuring low latency and reducing the runtime effectively.
Deep neural networks has been widely used in industrial equipment fault diagnosis. The accuracy of deep neural network is usually proportional to the complexity, but the high inference delay and energy consumption caused by the complex model make it difficult to be applied in the industrial environment of real-time demand. At the same time, in the diagnosis of industrial equipment, different categories of samples have unbalanced characteristics in terms of number, difficulty of identification, and demand of identification. In order to solve this problem, this paper designs Multi-Branch Neural Network (MBNN), which is a new type neural network architecture that can use the unbalance of sample categories in industrial equipment fault diagnosis for fast inference. MBNN has multiple sub-networks with different complexity, and each branch is responsible for processing different categories of samples. Categories with large numbers, easy to process, and high demand of identification are processed through simple branches, such as normal samples. Categories with small numbers, difficult to identification, and low demand of identification are processed through complex branches, such as potential failure samples. The feasibility of MBNN has been verified on motor bearing fault diagnosis and gearbox fault diagnosis, and its performance has been evaluated on multiple computing platforms. The results show that MBNN can greatly improve the inference speed while ensuring the recognition accuracy, especially on resource-constrained platforms.