5g intelligent edge terminal supporting tsn network and implementation method thereof

By designing a 5G intelligent edge terminal that supports TSN networks and adopting a heterogeneous platform solution with multi-core ARM processors and coprocessors, the problem of high reliability and deterministic data interaction between 5G, TSN networks and industrial fieldbus devices has been solved, promoting the development of industrial real-time networks.

CN116233922BActive Publication Date: 2026-03-27LIERDA SCI & TECH GRP
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing solutions cannot meet the requirements for high-reliability, deterministic data interaction between 5G and TSN networks and industrial field CANFD buses, RS485 buses, and other interface devices.

Method used

Design a 5G smart edge terminal that supports TSN network. It adopts a structure including 5G module, central processing unit (CPU), embedded neural network processor (NPU), TSN Ethernet interface and industrial fieldbus interface. Through a heterogeneous platform solution of multi-core ARM processor and coprocessor, it realizes data interaction and edge computing.

Benefits of technology

It enables highly reliable and deterministic data interaction between 5G and TSN networks and industrial field CANFD bus and RS485 bus interfaces, promoting the development of industrial real-time networks and achieving the goals of Industry 4.0.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233922B_ABST
    Figure CN116233922B_ABST
Patent Text Reader

Abstract

The application discloses a 5G intelligent edge terminal supporting a TSN network, which comprises a 5G module and an embedded unit bidirectionally connected with the 5G module, wherein the embedded unit comprises a central processing unit (CPU) and an embedded neural network processing unit (NPU), a TSN Ethernet interface and an industrial field bus interface bidirectionally connected with the CPU; the industrial field bus interface comprises an RS485 bus interface and a CANFD bus interface; the CPU comprises a multi-core ARM processor and a coprocessor bidirectionally connected with the multi-core ARM processor. The application realizes high-reliability and deterministic data interaction requirements between the 5G and TSN networks and the industrial field CANFD bus interface and the RS485 bus interface, promotes the development of industrial real-time networks and realizes industrial 4.0; the heterogeneous platform scheme is adopted, and the task of industrial field data network processing is realized by cooperation of the main processor and the coprocessor, and the requirements of equipment running speed, cost, configurability and the like are considered.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data interaction, and in particular to a 5G intelligent edge terminal supporting a TSN network and an implementation method thereof. BACKGROUND

[0002] In order to realize industry 4.0, it is necessary to integrate the operation technology (OT) domain and the information technology (IT) domain infrastructure. However, the OT network requires guaranteed and timely data packet transmission, and the best method commonly used in today's IT network cannot meet the above use requirements. At the same time, the technology currently used in the OT domain is usually limited to a transmission rate of 10-100 Mbps, and the bandwidth is not sufficient to support the needs of new manufacturing technologies such as high-definition video. Time-sensitive network (TSN) is a set of IEEE 802 Ethernet sub-standards defined by the IEEE TSN task group, which can support both traditional IT devices and OT devices in the same network, and provide gigabit bandwidth while simplifying network deployment and management processes. The TSN network can realize deterministic Ethernet, which helps to promote the development of industrial real-time networks and realize industry 4.0.

[0003] In industrial applications, 5G and TSN networks hope to ensure that data is sent at the right time point, and 5G intelligent edge terminals need to directly support industrial-grade peripherals, such as industrial field CANFD bus, RS485 bus, and other interface devices. The existing scheme only realizes the function of high reliability and deterministic data interaction between the 5G network and the TSN network, but cannot realize the use requirements of high reliability and deterministic data interaction between the 5G and TSN networks and the industrial field CANFD bus, RS485 bus, and other interface devices. For example, Chinese Patent No. CN114374993A discloses a 5G-TSN terminal gateway, which includes a 5G port, a TSN port, and a DS-TT module; the 5G port interacts with the 5G network, and the 5G network is connected with a second TSN network node; the TSN port interacts with a first TSN network node, and the first TSN network node is connected with the 5G-TSN terminal gateway; the DS-TT module is used to realize data forwarding between the 5G port and the TSN port, and when forwarding the first uplink data from the 5G port, enhanced forwarding is performed when the 5G network quality is worse than the set threshold, the 5G network quality includes one or more of the following information: 5G cell bandwidth, 5G signal quality, and 5G cell delay, and the first uplink data is data from the first TSN node. The above scheme improves the determinism of data interaction between the TSN node on the terminal side and the TSN node on the network side through the 5G network, but still cannot meet the use requirements of high reliability and deterministic data interaction of the 5G intelligent edge terminal supporting the TSN network for industrial field CANFD bus, RS485 bus, and other interface devices.

[0004] In addition, in the conventional 5G intelligent edge terminal, the network processing of industrial field data, including the switching network processing, is implemented on a main chip. The TSN network processing function of industrial field data is more complex, the data transmission rate grows rapidly, the real-time requirement is high, and the complexity of data flow is also significantly increased. Therefore, the device running speed, cost, configurability and other aspects need to be balanced, and the implementation through the main chip cannot meet the above requirements. SUMMARY

[0005] The present application mainly aims to solve the problem that the existing scheme cannot meet the use requirement of high reliability and deterministic data interaction between the 5G, TSN network and the interface device of industrial field CANFD bus, RS485 bus and the like, and provides a 5G intelligent edge terminal supporting TSN network, which comprises a 5G module and an embedded unit bidirectionally connected with the 5G module. The embedded unit comprises a central processing unit (CPU) and an embedded neural network processor (NPU), a TSN Ethernet interface and an industrial field bus interface bidirectionally connected with the central processing unit (CPU). The industrial field bus interface comprises an RS485 bus interface and a CANFD bus interface. The present application realizes the high reliability and deterministic data interaction requirement between the 5G, TSN network and the industrial field CANFD bus interface and RS485 bus interface, which is helpful to promote the development of industrial real-time network and realize industrial 4.0.

[0006] In order to achieve the above-mentioned purpose, the present application adopts the following technical scheme:

[0007] A 5G intelligent edge terminal supporting a TSN network comprises a 5G module and an embedded unit bidirectionally connected with the 5G module, the embedded unit comprising a central processing unit (CPU) and an embedded neural network processing unit (NPU), a TSN Ethernet interface and an industrial fieldbus interface bidirectionally connected with the central processing unit (CPU), the industrial fieldbus interface comprising an RS485 bus interface and a CANFD bus interface; the central processing unit (CPU) comprises a multi-core ARM processor and a coprocessor bidirectionally connected with the multi-core ARM processor. The 5G module supports the 3GPP R16 standard. The 5G module is connected with the central processing unit (CPU) through a USB interface. The NPU adopts a professional neural network processing unit for accelerating edge inference, for completing edge computing tasks. The RS485 bus interface is used for communication between local industrial field devices and systems or with the TSN network. The CANFD bus interface is used for communication between local industrial field devices and systems or with the TSN network. The multi-core ARM processor supports protocol conversion and bus transceiver tasks, and 5G data is converted through a USB3.0 interface. The coprocessor is a Cortex-M7 core with a main frequency of 800MHz, supports a real-time system, and can simultaneously control the RS485 bus interface and the CANFD bus interface in real time to ensure low delay. The present application realizes high reliability and deterministic data interaction requirements between the 5G and TSN networks and the industrial field CANFD bus interface and RS485 bus interface, helps promote the development of industrial real-time networks, and realizes industrial 4.0; and the central processing unit (CPU) adopts a heterogeneous platform scheme of "multi-core ARM processor + coprocessor", runs a real-time system on the coprocessor, and realizes industrial field data network processing through the cooperation of the main processor (multi-core ARM processor) and the coprocessor, balancing the requirements of device running speed, cost, configurability and the like.

[0008] Preferably, the multi-core ARM processor is bidirectionally connected with the TSN Ethernet interface to realize data interaction.

[0009] Preferably, the multi-core ARM processor is bidirectionally connected with the RS485 bus interface and the CANFD bus interface respectively to realize data interaction.

[0010] Preferably, the coprocessor is bidirectionally connected with the RS485 bus interface and the CANFD bus interface respectively to realize data interaction.

[0011] An implementation method of a 5G intelligent edge terminal supporting a TSN network, applicable to the above-mentioned 5G intelligent edge terminal supporting a TSN network, comprising the following steps:

[0012] Step S1: acquiring data, including TSN data or industrial field operation device data;

[0013] Step S2: detecting whether the acquired data is uplink data or downlink data;

[0014] Step S3: processing and transmitting the uplink data or downlink data;

[0015] First, the system is initialized, then it is detected whether a data packet is received, if a data packet is received, it is detected whether the received data packet is uplink data or downlink data, and finally different data processing methods are used to process the uplink data or downlink data; if no data packet is received, the initialization is continued. The present application realizes the high reliability and determinacy data interaction requirement between 5G, TSN network and industrial field CANFD bus interface, RS485 bus interface, helps to promote the development of industrial real-time network, and realizes industrial 4.0.

[0016] As preferred, the specific process of processing and transmitting the uplink data in step S3 includes the following steps:

[0017] Step A1: when the uplink data is detected, the coprocessor extracts useful data packets from the uplink data;

[0018] Step A2: the multi-core ARM processor analyzes the data packet and pre-processes the data to remove errors and duplicate data;

[0019] Step A3: according to the data type and importance level of the data packet, TSN protocol frames are added, different protocol data is converted into TSN protocol data and stored in a common buffer area, and a unified type data is used for edge computing; and the TSN protocol data is transmitted to the 5G module through the USB interface;

[0020] Step A4: the 5G module maps the TSN protocol data to the QOS flow according to the QOS rule, determines the resource type, priority, delay requirement and packet error rate requirement in ARP and 5QI according to the data content of the TSN protocol frame, and then establishes a wireless channel according to the network quality to send the QOS flow data to the 5G network, realizes the data transmission between the industrial field operation device terminal and the 5G network, and meets the use demand of high reliability and determinacy data interaction between the interface devices such as industrial field CANFD bus and RS485 bus and 5G, TSN network. ARP includes priority, preemption capability and preemption capability.

[0021] As preferred, the specific process of processing and transmitting the downlink data in step S3 includes the following steps:

[0022] Step B1: when detecting the downlink data, i.e. the industrial field operating device terminal receives data through the TSN Ethernet interface or the 5G network, the data packet is transmitted to the multi-core ARM processor through the USB interface, and the multi-core ARM processor deletes the data content of the TSN protocol frame in the data packet;

[0023] Step B2: the multi-core ARM processor parses the data packet into the control instruction of the industrial field operating device;

[0024] Step B3: the coprocessor encapsulates the control instruction according to the control protocol of the operating device, and transmits it to the operating device through the industrial field bus interface or the TSN Ethernet interface, thereby controlling the operating device, realizing the data transmission between the 5G, TSN network and the industrial field operating device terminal, and meeting the use requirement of high reliability and deterministic data interaction between the 5G, TSN network and the industrial field CANFD bus, RS485 bus and other interface devices.

[0025] Preferably, the TSN protocol frame in step A3 includes data priority level, whether to be preempted mark, target subnet ID and Ethernet frame header and frame tail.

[0026] Preferably, in step A4, the specific process in which the 5G module sends the TSN protocol data to the 5G network further includes:

[0027] Step C1: distinguishing the discardable packet and the non-discardable packet according to the message identification in the TSN protocol frame;

[0028] Step C2: establishing a non-discardable packet transmission queue according to the priority field in the non-discardable packet TSN protocol frame;

[0029] Step C3: the 5G module sends the TSN protocol data to the 5G network in turn according to the non-discardable packet transmission queue;

[0030] According to the message identification in the TSN protocol frame, the data packet is classified, the discardable packet and the non-discardable packet are distinguished, then the discardable packet is discarded, and at the same time, the non-discardable packet transmission queue is established according to the priority field in the non-discardable packet TSN protocol frame; and then the TSN protocol data is sent to the 5G network in turn according to the non-discardable packet transmission queue.

[0031] As preferred, in step S1, the TSN data is transmitted to the central processor CPU through an industrial field bus interface or a TSN Ethernet interface or a 5G network; and the industrial field operation device data is transmitted to the central processor CPU through an industrial field bus interface or a TSN Ethernet interface. The TSN data of the present application can be transmitted from the device to the cloud or from the cloud to the actuator through data acquisition and control, meeting the data interaction requirements between the 5G, TSN network and the industrial field bus CANFD and RS485.

[0032] Therefore, the present application has the following advantages:

[0033] (1) The present application meets the high reliability and deterministic data interaction requirements between the 5G, TSN network and the industrial field CANFD bus interface and RS485 bus interface, which helps to promote the development of industrial real-time network and realize industrial 4.0;

[0034] (2) The central processor CPU adopts a heterogeneous platform scheme of "multi-core ARM processor + coprocessor", and the real-time system runs on the coprocessor. The task of industrial field data network processing is realized by the cooperation of the main processor (multi-core ARM processor) and the coprocessor, which takes into account the requirements of device running speed, cost, configurability, etc.

[0035] (3) Through the priority strategy, the priority control of the industrial field operation device data transmission is realized, the data transmission efficiency is improved, and the resource occupation is avoided. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 is a structure schematic diagram of a 5G intelligent edge terminal supporting a TSN network in the embodiment one of the present application.

[0037] Figure 2 is a local structure schematic diagram of a 5G intelligent edge terminal supporting a TSN network in the embodiment one of the present application.

[0038] Figure 3 is a flow chart of an implementation method of a 5G intelligent edge terminal supporting a TSN network in the embodiment two of the present application.

[0039] 1, 5G module 2, embedded unit 3, central processor CPU 4, embedded neural network processor NPU 5, TSN Ethernet interface 6, RS485 bus interface 7, CANFD bus interface 8, multi-core ARM processor 9, coprocessor. DETAILED DESCRIPTION

[0040] The present application will be further described below in combination with the drawings and specific embodiments.

[0041] Embodiment one:

[0042] A 5G smart edge terminal that supports TSN networks, such as Figure 1 As shown, the system includes a 5G module 1 and an embedded unit 2 bidirectionally connected to the 5G module 1. The embedded unit 2 includes a central processing unit (CPU) 3, and an embedded neural network processor (NPU) 4, a TSN Ethernet interface 5, and an industrial fieldbus interface bidirectionally connected to the CPU 3. The industrial fieldbus interface includes an RS485 bus interface 6 and a CANFD bus interface 7. The 5G module 1 supports the 3GPP R16 standard, and the 5G module 1 is connected to the CPU 3 via a USB interface. Figure 2 As shown, the central processing unit (CPU3) includes a multi-core ARM processor 8 and a coprocessor 9 supporting a real-time system. The multi-core ARM processor 8 and the coprocessor 9 are bidirectionally connected. The multi-core ARM processor 8 supports protocol conversion and bus transceiver tasks; 5G data undergoes protocol conversion via a USB 3.0 interface. The coprocessor 9 has an 800MHz Cortex-M7 core and can simultaneously perform real-time control of the RS485 bus interface 6 and the CANFD bus interface 7 to ensure low latency. In this embodiment, the CPU3 adopts a heterogeneous platform scheme of "multi-core ARM processor 8 + coprocessor 9," with the real-time system running on the coprocessor 9. The tasks of industrial field data network processing are implemented through the cooperation of the main processor (multi-core ARM processor 8) and the coprocessor 9. The multi-core ARM processor 8 is bidirectionally connected to the TSN Ethernet interface 5 for data interaction. The multi-core ARM processor 8 is bidirectionally connected to both the RS485 bus interface 6 and the CANFD bus interface 7 for data interaction. The coprocessor 9 is bidirectionally connected to both the RS485 bus interface 6 and the CANFD bus interface 7 for data interaction. The NPU employs a specialized neural network processing unit to accelerate edge inference and perform edge computing tasks. RS485 bus interface 6 is used for communication with local industrial field devices and systems or with the TSN network. CANFD bus interface 7 is also used for communication with local industrial field devices and systems or with the TSN network.

[0043] Example 2:

[0044] An implementation method for a 5G smart edge terminal supporting TSN network, applicable to the aforementioned 5G smart edge terminal supporting TSN network, such as... Figure 3 As shown, it includes the following steps:

[0045] Step S1: Acquire data, including TSN data or industrial field operation equipment data;

[0046] Step S2: Detect whether the acquired data is uplink or downlink data;

[0047] Step S3: processing and transmitting the uplink data or downlink data;

[0048] First, the system is initialized, then it is detected whether a data packet is received, if a data packet is received, it is detected whether the received data packet is uplink data or downlink data, and finally different data processing methods are used to process the uplink data or downlink data; if no data packet is received, the initialization is continued.

[0049] The specific process of processing and transmitting the uplink data in step S3 includes the following steps:

[0050] Step A1: when uplink data is detected, the coprocessor extracts useful data packets from the uplink data;

[0051] Step A2: the multi-core ARM processor parses the data packet and pre-processes the data to remove errors and duplicate data;

[0052] Step A3: according to the data type and importance level of the data packet, TSN protocol frames are added, different protocol data is converted into TSN protocol data and stored in a common buffer area, and a unified type of data is used to facilitate edge computing; and the TSN protocol data is transmitted to the 5G module through the USB interface;

[0053] Step A4: the 5G module maps the TSN protocol data to the QOS flow according to the QOS rule, determines the resource type, priority, delay requirement and packet loss rate requirement in ARP and 5QI according to the data content of the TSN protocol frame, and then establishes a wireless channel according to the network quality to send the QOS flow data to the 5G network, realizing data transmission between the industrial field operation device terminal and the 5G network.

[0054] The specific process of processing and transmitting the downlink data in step S3 includes the following steps:

[0055] Step B1: when downlink data is detected, that is, when the industrial field operation device terminal receives data through the TSN Ethernet interface or the 5G network, the data packet is transmitted to the multi-core ARM processor through the USB interface, and the multi-core ARM processor deletes the data content of the TSN protocol frame in the data packet;

[0056] Step B2: the multi-core ARM processor parses the data packet into control instructions of the industrial field operation device;

[0057] Step B3: the coprocessor encapsulates the control instructions according to the control protocol of the operation device, and transmits them to the operation device through the industrial field bus interface or the TSN Ethernet interface, thereby controlling the operation device and realizing data transmission between the 5G, TSN network and the industrial field operation device terminal.

[0058] In step S1, TSN data is transmitted to the central processing unit (CPU) via an industrial fieldbus interface, a TSN Ethernet interface, or a 5G network; data from industrial field operation equipment is also transmitted to the CPU via an industrial fieldbus interface or a TSN Ethernet interface. Real-time operation equipment uses an RS485 / CANFD industrial bus to transmit equipment data to the CPU via the industrial fieldbus interface, while real-time operation equipment using an Ethernet interface transmits equipment data to the CPU via an Ethernet interface with TSN functionality (TSN Ethernet interface).

[0059] In this embodiment, TSN data can be transmitted from the device to the cloud, or from the cloud to the actuator, through data acquisition and control, meeting the data interaction requirements between 5G, TSN networks and industrial fieldbuses CANFD and RS485.

[0060] In step A3, the TSN protocol frame includes the data priority level, whether it has been preempted, the target subnet ID, and the Ethernet frame header and frame trailer.

[0061] Step A4, the specific process of the 5G module sending TSN protocol data to the 5G network, also includes:

[0062] Step C1: Distinguish between lossable and non-lossable packets based on the packet identifier in the TSN protocol frame;

[0063] Step C2: Establish a non-lossable transmission queue based on the priority field in the non-lossable TSN protocol frame;

[0064] Step C3: According to the non-lossable transmission queue, the 5G module sends the TSN protocol data to the 5G network sequentially;

[0065] This embodiment classifies data packets according to the message identifier in the TSN protocol frame, distinguishing between loseable and non-losable packets; then, loseable packets are discarded, and a non-losable packet transmission queue is established according to the priority field in the non-losable packet TSN protocol frame; then, TSN protocol data is sent to the 5G network sequentially according to the non-losable packet transmission queue, thereby realizing priority control of data transmission for industrial field operation equipment through priority strategy.

[0066] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for implementing a 5G smart edge terminal supporting a TSN network, the terminal comprising a 5G module and an embedded unit bidirectionally connected to the 5G module, the embedded unit comprising a central processing unit (CPU), an embedded neural network processor (NPU), a TSN Ethernet interface, and an industrial fieldbus interface bidirectionally connected to the CPU; the CPU comprising a multi-core ARM processor and a coprocessor bidirectionally connected to the multi-core ARM processor; the 5G module and the CPU are connected via a USB interface; characterized in that, include: Step S1: Acquire data, including TSN data or industrial field operation equipment data; Step S2: Detect whether the acquired data is upstream or downstream data; Step S3: Process and transmit the uplink or downlink data, including: When uplink data is detected, the coprocessor extracts useful data packets from it. Multi-core ARM processors parse data packets and preprocess the data; TSN protocol frames are added according to the data packet data type and importance level. Different protocol data are converted into TSN protocol data and transmitted to the 5G module via USB interface. The 5G module maps TSN protocol data to QoS streams using QoS rules, determines the ARP, resource type, priority, latency requirements and packet error rate requirements in the QoS stream based on the data content of the TSN protocol, and sends the QoS stream data to the 5G network. When downlink data is detected, the multi-core ARM processor deletes the TSN protocol frame data content from the data packet and parses the data packet into industrial field operation equipment control instructions; The coprocessor encapsulates control commands according to the operating device control protocol and transmits them to the operating device through an industrial fieldbus interface or a TSN Ethernet interface.

2. The implementation method of a 5G smart edge terminal supporting TSN network according to claim 1, characterized in that, The TSN protocol frame includes a data priority level, a preemption flag, a target subnet ID, an Ethernet frame header, and a frame trailer.

3. The implementation method of a 5G smart edge terminal supporting TSN network according to claim 1 or 2, characterized in that, The specific process by which the 5G module sends TSN protocol data to the 5G network also includes: Step C1: Distinguish between lossable and non-lossable packets based on the packet identifier in the TSN protocol frame; Step C2: Establish a non-lossable transmission queue based on the priority field in the non-lossable TSN protocol frame; Step C3: According to the non-lossable packet transmission queue, the 5G module sends the TSN protocol data to the 5G network sequentially.

4. A method for implementing a 5G smart edge terminal supporting a TSN network according to claim 1 or 2, characterized in that, In step S1, the TSN data is transmitted to the central processing unit (CPU) via an industrial fieldbus interface, a TSN Ethernet interface, or a 5G network; the industrial field operation equipment data is transmitted to the CPU via an industrial fieldbus interface or a TSN Ethernet interface.

5. A 5G smart edge terminal supporting a TSN network, applicable to the implementation method of a 5G smart edge terminal supporting a TSN network as described in any one of claims 1-4, characterized in that, The device includes a 5G module and an embedded unit bidirectionally connected to the 5G module. The embedded unit includes a central processing unit (CPU) and an embedded neural network processor (NPU), a TSN Ethernet interface, and an industrial fieldbus interface bidirectionally connected to the CPU. The industrial fieldbus interface includes an RS485 bus interface and a CANFD bus interface. The CPU includes a multi-core ARM processor and a coprocessor bidirectionally connected to the multi-core ARM processor.

6. A 5G smart edge terminal supporting TSN network according to claim 5, characterized in that, The multi-core ARM processor is bidirectionally connected to the TSN Ethernet interface.

7. A 5G smart edge terminal supporting TSN network according to claim 5 or 6, characterized in that, The multi-core ARM processor is bidirectionally connected to both the RS485 bus interface and the CANFD bus interface.

8. A 5G smart edge terminal supporting TSN network according to claim 5, characterized in that, The coprocessor is bidirectionally connected to both the RS485 bus interface and the CANFD bus interface.

Citation Information

Patent Citations

  • 5G-TSN terminal gateway

    CN114374993A

  • Time-sensitive heterogeneous network system of industrial control system, and management method thereof

    CN112073388A

  • 5G intelligent edge terminal supporting TSN network

    CN219395053U