COMMUNICATION METHOD, COMMUNICATION SYSTEM, AND COMMUNICATION DEVICE

The communication method and system dynamically adjust TSN settings to maintain performance by recalculating based on network configurations and user authorization, addressing the challenge of device connection changes in industrial networks.

JP7574698B2Active Publication Date: 2024-10-29OMRON CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021031632
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-01
Publication Date
2024-10-29
Estimated Expiration
2041-03-01

AI Technical Summary

Technical Problem

Existing industrial networks fail to maintain required communication performance when device connections change due to setup alterations, as no mechanism is in place to adapt to these changes.

Method used

A communication method and system that calculates TSN settings based on network configuration information, capability information, and communication settings to ensure frame forwarding in any topology, including steps for recalculating settings when device connections change and providing recalculated settings with user authorization.

Benefits of technology

Maintains required communication performance by dynamically adjusting TSN settings to accommodate changes in device connections, ensuring seamless operation even with setup changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007574698000001
    Figure 0007574698000001
  • Figure 0007574698000002
    Figure 0007574698000002
  • Figure 0007574698000003
    Figure 0007574698000003
Patent Text Reader

Abstract

To provide a communication method, a communication system, and a communication device that maintain a requested communication performance even if devices connected to a network are changed.SOLUTION: In a control system 1, a communication method in a network conforming to TSN (time-sensitive networking) includes the steps of: acquiring communication setting information defining frames exchanged on the network and ability information defining information on a performance related to the TSN of devices connected to the network; calculating TSN settings including communication schedules of frames in the devices on the basis of network configuration information defining one or more connection forms of the devices that may occur in the network, the communication setting information, and the ability information so that necessary frame transfer can be achieved in any connection form included in the network configuration information; and providing the TSN settings to the devices connected to the network.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present technology relates to a communication method, a communication system, and a communication device. [Background technology]

[0002] Efforts are underway to extend standard networks (e.g., Ethernet (registered trademark)) that are used in general information networks so that they can also be used in industrial networks. More specifically, the Institute of Electrical and Electronic Engineers (IEEE) 802.1 Time Sensitive Networking (TSN) (hereinafter also referred to as the "TSN standard") is known, which is based on Ethernet (registered trademark) and has been improved so that the network behaves deterministically. According to the TSN standard, real-time communication can be more easily achieved using general-purpose hardware such as Ethernet (registered trademark).

[0003] For example, Patent Document 1 (EP 03357218) discloses an industrial network that utilizes a network conforming to the TSN standard. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] European Patent No. 03357218 Summary of the Invention [Problem to be solved by the invention]

[0005] At production sites, the equipment and tools used are often changed in accordance with changes in the type of product produced or the production process. Such changes are also called changeovers. As a result of such changeovers, the devices connected to the industrial network are also changed.

[0006] No consideration is given to a mechanism for maintaining the required communication performance even when the connected device is changed.

[0007] This technology provides a mechanism for maintaining required communication performance even when devices connected to a network are changed. [Means for solving the problem]

[0008] According to an embodiment of the present technology, a communication method in a network conforming to TSN is provided. The communication method includes a step of acquiring communication setting information that defines frames exchanged on the network and capability information that defines TSN-related performance information of devices connected to the network, a step of calculating a TSN setting including a communication schedule of frames in each device based on network configuration information that defines one or more connection topologies of devices that may occur in the network, the communication setting information, and the capability information, and a step of providing the TSN setting to the devices connected to the network. The step of calculating the TSN setting includes a step of calculating the TSN setting so that necessary frame forwarding can be realized in any of the connection topologies included in the network configuration information.

[0009] According to this configuration, for example, if a change in the network configuration (device connection topology) is planned due to a change in setup, the required communication performance can be maintained in any network configuration by calculating the TSN settings using network configuration information that defines one or more possible device connection topology that may occur in the network.

[0010] When a predetermined condition is satisfied, the step of calculating the TSN setting may be initiated. With this configuration, a network conforming to TSN can be managed with a management entity such as a network controller at the center.

[0011] The step of calculating the TSN settings may be initiated in response to a request from a device connected to the network. With this configuration, the optimal TSN settings can be calculated when a new device is connected to the network.

[0012] The step of calculating the TSN settings may include a step of determining whether the settings calculated for one topology included in the network configuration information can realize the required frame forwarding in another topology included in the network configuration information. With this configuration, it is possible to calculate TSN settings that can maintain the required communication performance for any of the device topology defined in the network configuration information.

[0013] The communication method may further include, when a connection topology different from the connection topology of the device defined in the network configuration information is detected, recalculating the TSN setting so that the necessary frame forwarding can be realized in the different connection topology. With this configuration, it is possible to calculate an appropriate TSN setting even for a connection topology that was not taken into account in the initial calculation of the TSN setting.

[0014] The communication method may further include a step of notifying the user of the necessity of reflecting the recalculated TSN setting when it is determined that the recalculated TSN setting needs to be reflected. According to this configuration, when it is necessary to reflect the new TSN setting, the user has an opportunity to consider the influence in the network, etc.

[0015] The method may further include providing the recalculated TSN settings to the devices connected to the network in response to the explicit approval. With this configuration, the TSN settings are reflected only when the user or the like explicitly approves, thereby reducing the possibility of unintended malfunctions occurring in the network.

[0016] The communication method may further include a step of each device collecting adjacent node information, a step of generating a topology of the network based on the adjacent node information collected by each device, and a step of updating network configuration information based on the generated topology.

[0017] According to another embodiment of the present technology, a communication system including a network conforming to TSN is provided. The communication system includes a network controller and one or more devices connected to the network. The network controller includes a means for acquiring communication setting information that defines frames exchanged on the network and capability information that defines performance information related to TSN of one or more devices, network configuration information that defines one or more connection forms of devices that may occur in the network, a means for calculating a TSN setting including a communication schedule of frames in each device based on the communication setting information and the capability information, and a means for providing the TSN setting to one or more devices. The means for calculating the TSN setting calculates the TSN setting so that necessary frame forwarding can be realized in any of the connection forms included in the network configuration information.

[0018] According to yet another embodiment of the present technology, a network controller that configures a network conforming to TSN is provided. The network controller includes a means for acquiring communication setting information that defines frames exchanged on the network and capability information that defines TSN-related performance information of devices connected to the network, network configuration information that defines one or more connection topologies of devices that may occur in the network, a means for calculating a TSN setting including a communication schedule of frames in each device based on the communication setting information and the capability information, and a means for providing the TSN setting to the devices connected to the network. The means for calculating the TSN setting calculates the TSN setting so that necessary frame forwarding can be realized in any of the connection topologies included in the network configuration information. Effect of the Invention

[0019] According to the present technology, it is possible to provide a mechanism for maintaining required communication performance even if the devices connected to the network are changed. [Brief description of the drawings]

[0020] [Figure 1] 1 is a schematic diagram showing an example of an overall configuration of a control system according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a block diagram showing an example of a hardware configuration of an end device constituting the control system according to the present embodiment. [Diagram 3] 2 is a block diagram showing an example of a hardware configuration of a switch constituting the control system according to the present embodiment. FIG. [Figure 4] 2 is a block diagram showing an example of a hardware configuration of a network controller constituting the control system according to the present embodiment. FIG. [Diagram 5] 4 is a schematic diagram showing a more detailed configuration of one port of the switch shown in FIG. 3. [Figure 6] 1 is a diagram for explaining an example of processing related to frame forwarding in the control system according to the present embodiment. FIG. [Figure 7] FIG. 2 is a diagram for explaining an overview of processing in the control system according to the present embodiment. [Figure 8] FIG. 11 is a diagram showing a processing procedure of a topology generation process performed by a network controller of the control system according to the present embodiment. [Figure 9] FIG. 11 is a diagram showing a processing procedure for detecting a change in topology by a network controller of the control system according to the present embodiment. [Figure 10] FIG. 4 is a diagram showing a processing procedure in a Push mode in the control system according to the present embodiment. [Figure 11] 4 is a diagram showing an example of communication setting information used in the control system according to the present embodiment. FIG. [Figure 12] FIG. 4 is a diagram showing a processing procedure in a Request mode in the control system according to the present embodiment. [Figure 13] It is a diagram showing another processing procedure in the Request mode in the control system according to this embodiment. [Figure 14] It is a diagram showing a processing procedure in the Push mode in the network controller of the control system according to this embodiment. [Figure 15] It is a diagram showing a processing procedure in the Request mode in the network controller of the control system according to this embodiment.

Embodiments for Carrying Out the Invention

[0021] Embodiments of the present technology will be described in detail with reference to the drawings. For the same or corresponding parts in the drawings, the same reference numerals are given and the description thereof will not be repeated.

[0022] <A. Application Examples> First, an example of the overall configuration of the control system 1 according to this embodiment will be described. FIG. 1 is a schematic diagram showing an example of the overall configuration of the control system 1 according to this embodiment.

[0023] The control system 1 shown in FIG. 1 is an example of a communication system including a network conforming to TSN. Therefore, the processing related to the network in the control system 1 corresponds to the communication processing in the network conforming to TSN.

[0024] In this specification, unless otherwise specified, the term simply "TSN" collectively refers to a network conforming to TSN. Also, the term "TSN setting" includes the settings necessary to realize a network conforming to TSN.

[0025] In this specification, "device" includes any device connected to a network conforming to TSN. "Device" typically may include an end device and a switch.

[0026] A control device such as a PLC (programmable controller) is connected to the TSN of the control system 1. The network-connected control device corresponds to an end device, and therefore in the following description, the control device is referred to as an "end device." However, the "end device" is not limited to the control device and may include any device.

[0027] 1 includes end devices 100-1, 100-2, and 100-3 (sometimes collectively referred to as "end devices 100"), switches 200-1 and 200-2, and a network controller 300. A network to which one or more of these devices are connected corresponds to a TSN.

[0028] End device 100-1 is connected to switch 200-1 via link 20. Switch 200-1 and switch 200-2 are connected to each other via link 22. End device 100-2 can be connected to switch 200-2 via link 24, and end device 100-3 can be connected to switch 200-2 via link 26.

[0029] A network controller 300 is connected to the switch 200-1 via a link 28.

[0030] Assume that the end device 100-2 and the end device 100-3 are selectively connected to the switch 200-2 by a setup change. That is, in the TSN shown in FIG. 1, a state in which the end device 100-1 and the end device 100-2 are connected and a state in which the end device 100-1 and the end device 100-3 are connected may exist.

[0031] Each of the end devices 100-1, 100-2, and 100-3 has a fieldbus 30 independent of TSN. One or more field devices 40 are connected to the fieldbus 30. The one or more field devices 40 include an input device that acquires a field signal and an output device or actuator that performs some action on the field according to an instruction from the end device 100.

[0032] The network controller 300 is the entity that manages frame transfer in TSN. By calculating resource allocation and availability, it determines the communication schedule for frame transfer. Hereinafter, the calculation of resource allocation and availability by the network controller 300 is also referred to as "TSN calculation". Typically, the network controller 300 may operate according to the provisions of IEEE 802.1Qcc, which is a lower standard of IEEE 802.1 TSN.

[0033] In TSN, the identification label assigned to each frame includes a stream ID, a stream destination address, and a traffic class. The network controller 300 determines a unique stream ID for each frame transferred within TSN, and determines the stream destination address and traffic class according to the transfer path of each stream ID, and provides TSN settings for each of the end device 100 and the switch 200. The TSN settings include a communication schedule determined in consideration of the bandwidth for each stream.

[0034] In the control system 1 according to the present embodiment, by performing appropriate resource allocation and availability calculation by the network controller 300, even when the devices connected to TSN are changed, for example, by setup change, the optimal performance of the entire TSN can be realized.

[0035] <B. Hardware Configuration Example> Next, an example of the hardware configuration of each device included in the control system 1 will be described.

[0036] (b1: End device 100 (control device)) Fig. 2 is a block diagram showing an example of a hardware configuration of an end device 100 constituting the control system 1 according to the present embodiment. Referring to Fig. 2, the end device 100 includes a processor 102, a main memory 104, a network interface 110, a storage 120, an internal bus interface 130, a field bus interface 132, and a memory card interface 134. Each component is electrically connected via a bus 138.

[0037] The processor 102 is composed of a CPU (Central Processing Unit), an MPU (Micro-Processing Unit), a GPU (Graphical Processing Unit), etc., and realizes processing as a control device by reading various programs stored in the storage 120, expanding them into the main memory 104, and executing them.

[0038] The network interface 110 is responsible for data exchange (frame transmission) via the TSN. More specifically, the network interface 110 includes a transmission / reception control circuit 112, a transmission circuit 114, and a reception circuit 116. The transmission / reception control circuit 112 controls the transmission circuit 114 and the reception circuit 116 according to a TSN setting provided in advance by the network controller 300. The transmission circuit 114 sends out frames on the TSN according to instructions from the transmission / reception control circuit 112. The reception circuit 116 receives frames that arrive via the TSN.

[0039] The storage 120 typically stores a system program 122 for implementing the functions of the control device, and a user program 124 that defines the control logic executed by the control device.

[0040] The internal bus interface 130 exchanges data with an I / O unit 140 mounted on the end device 100 .

[0041] The fieldbus interface 132 communicates data with the field devices via the fieldbus 30 .

[0042] The memory card interface 134 is configured so that a memory card 136 can be attached and detached, and data can be written to the memory card 136 and various data (user programs, trace data, etc.) can be read from the memory card 136.

[0043] FIG. 2 shows an example of a configuration in which the necessary functions are provided by the processor 102 executing a program, but some or all of these provided functions may be implemented using a dedicated hardwired circuit (e.g., an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA)). Alternatively, the main part of the end device 100 may be realized using hardware that conforms to a general-purpose architecture (e.g., an industrial PC based on a general-purpose PC). In this way, the processes executed by the end device 100 and the functions provided may be realized by processing circuitry including a processor, an ASIC, an FPGA, etc.

[0044] (b2: Switch 200) Fig. 3 is a block diagram showing an example of a hardware configuration of a switch 200 constituting a control system 1 according to the present embodiment. Referring to Fig. 3, the switch 200 includes a transmission / reception control circuit 212, transmission circuits 214-1, 214-2, 214-3, and 214-4 (hereinafter, sometimes collectively referred to as "transmission circuits 214"), and reception circuits 216-1, 216-2, 216-3, and 216-4 (hereinafter, sometimes collectively referred to as "reception circuits 216"). A pair of the transmission circuit 214 and the reception circuit 216 forms one port. Note that Fig. 3 shows an example of the switch 200 having four ports, but there is no particular limit to the number of ports.

[0045] The transmission / reception control circuit 212 controls the transmission circuit 114 and the reception circuit 116 in accordance with a TSN setting provided in advance by the network controller 300. More specifically, the transmission / reception control circuit 212 includes a transfer engine 218 and a queue 220.

[0046] The transmission / reception control circuit 212 may be realized by a processor executing firmware, or may be realized using a hardwired circuit such as an ASIC or FPGA. In addition, not only the transmission / reception control circuit 212 but also the entire circuit including the transmission circuit 114 and the reception circuit 116 may be realized on a single chip. In this way, the processes performed by the switch 200 and the functions provided by it may be realized by a processing circuit including a processor, an ASIC, an FPGA, or the like.

[0047] (b3: network controller 300) Fig. 4 is a block diagram showing an example of a hardware configuration of a network controller 300 constituting the control system 1 according to the present embodiment. Referring to Fig. 4, the network controller 300 includes a processor 302, a main memory 304, a network interface 310, and a storage 320. Each component is electrically connected via a bus 338.

[0048] The processor 302 is composed of a CPU, MPU, GPU, etc., reads various programs stored in the storage 320, expands them in the main memory 304, and executes them to realize the processing as a network controller.

[0049] The network interface 310 is responsible for the exchange of data (frame transmission) via TSN. More specifically, the network interface 310 includes a transmission / reception control circuit 312, a transmission circuit 314, and a reception circuit 316.

[0050] Typically, the storage 320 stores an OS 322 for realizing basic processing and a network setting program 324 for realizing processing as described later.

[0051] FIG. 4 shows a configuration example in which functions necessary for the processor 302 to execute a program are provided. However, some or all of these provided functions may be implemented using dedicated hardwired circuits (for example, implemented using an ASIC or FPGA). In this way, the processing executed and the functions provided by the network controller 300 may be realized by a processing circuitry including a processor, an ASIC, an FPGA, etc.

[0052] <Key configuration for realizing C.TSN> Next, the key configuration for realizing the TSN of the control system 1 according to the present embodiment will be described. That is, a configuration example of a port for transmitting and receiving frames in TSN will be described.

[0053] FIG. 5 is a schematic diagram showing a more detailed configuration regarding one port of the switch 200 shown in FIG. 3. Referring to FIG. 5, each port consists of a pair of a transmission circuit 214 and a reception circuit 216. A transfer engine 218 and a queue 220 are provided between the transmission circuit 214 and the reception circuit 216.

[0054] More specifically, the transfer engine 218 includes a distribution circuit 224 and a timing control circuit 226. The queue 220 also includes a plurality of queues 220-1 to 220-M associated with each value of the traffic class.

[0055] The distribution circuit 224 stores the frame in one of the queues 220-1 to 220-M, or transfers the frame to a distribution circuit 224 of another port, according to the header information of the frame received via the receiving circuit 216. The distribution circuit 224 also performs similar determination and processing on frames received from a distribution circuit 224 of another port.

[0056] When the distribution circuit 224 receives a frame to be sent from the transmission circuit 214 of its own port, it stores the frame in the queue 220 corresponding to the traffic class of the frame. Through such processing in the distribution circuit 224, frames classified by traffic class are stored sequentially in the queues 220-1 to 220-M.

[0057] Gates 222-1 to 222-M are provided on the output side of the queues 220-1 to 220-M, respectively. Each of the gates 222-1 to 222-M (hereinafter sometimes collectively referred to as "gates 222") opens and closes according to a command from a timing control circuit 226. When a gate 222 opens, a frame stored in the associated queue 220 is sent from the transmission circuit 214. The timing control circuit 226 does not simultaneously give an open command to multiple gates 222. That is, the timing control circuit 226 opens and closes the gates 222 in sequence according to a communication schedule 228 included in the TSN setting. As a result, frames are transferred according to a communication schedule whose TSN has been calculated in advance.

[0058] The port (network interface 110) of the end device 100 and the port (network interface 310) of the network controller 300 also have the same configuration as that shown in FIG.

[0059] By controlling the storage of frames in the queue 220 prepared for each traffic class as described above and the transmission of frames from the queue 220 prepared for each traffic class, real-time frame transfer in TSN can be realized.

[0060] <D. Overview> Next, an overview of the processing in the TSN of the control system 1 according to the present embodiment will be described.

[0061] FIG. 6 is a diagram for explaining an example of processing related to frame transfer in the control system 1 according to the present embodiment. As shown in FIG. 6(A), assume a case where frames are transmitted from the end device 100-1 to the end devices 100-2 and 100-3.

[0062] In the middle of the path, there are switches 200-1 and 200-2. As described with reference to FIG. 5, the end device 100 and the switch 200 realize real-time frame transfer by controlling the opening and closing timing of the gate 222.

[0063] The opening and closing time and the opening and closing timing of the gate 222 are typically calculated based on the transmission time required for the frame transmission process and the frame propagation delay time. The transmission time is calculated according to the size (frame size) of the frame to be transmitted. The propagation delay time varies according to the length of the transfer path. Generally, the measured value when any frame is transmitted is used as the propagation delay time.

[0064] FIG. 6(B) shows an example of the timing of the gate 222 in the network configuration shown in FIG. 6(A). In the time chart shown in FIG. 6(B), the upper section means the open state of the gate 222.

[0065] After gate 222 of end device 100-1 opens, the frame is transmitted to switch 200-1. Gate 222 of switch 200-1 opens with a delay reflecting the time it takes for the frame from end device 100-1 to arrive and be stored in queue 220. After gate 222 of switch 200-1 opens, the frame is transmitted to switch 200-2.

[0066] An end device 100-2 is connected to port 1 of the switch 200-2, and an end device 100-3 is connected to port 2 of the switch 200-2. For example, assume that there is a difference between the propagation delay time to the end device 100-2 connected to port 1 of the switch 200-2 and the propagation delay time to the end device 100-3 connected to port 2 of the switch 200-2. In such a case, a certain time difference occurs between the opening timing of the gate 222 corresponding to port 1 of the switch 200-2 and the opening timing of the gate 222 corresponding to port 2 of the switch 200-2.

[0067] Fig. 7 is a diagram for explaining an overview of processing in the control system 1 according to the present embodiment. Fig. 7(A) shows a state in which an end device 100-2 is connected to a port 1 of a switch 200-2, and Fig. 7(B) shows a state in which an end device 100-3 is connected to a port 2 of the switch 200-2.

[0068] Referring to FIG. 7(C), the length or timing of the port open time when only end device 100-2 is connected as shown in FIG. 7(A) may differ from the length or timing of the port open time when only end device 100-3 is connected as shown in FIG. 7(B).

[0069] In a state in which both end device 100-2 and end device 100-3 are connected to switch 200-2, the port open time is set so as to include a state in which only one of the end devices is connected.

[0070] For example, when a new device is connected after the network controller 300 performs TSN calculations in a state where not all devices are connected to the TSN, or when the network configuration is changed due to a setup change or the like. In such cases, if the first TSN calculation does not take into account the network configuration after the change, it is necessary to perform the TSN calculation again.

[0071] Therefore, the control system 1 according to the present embodiment performs TSN calculations so that appropriate frame transfer can be performed in any network configuration. By performing such TSN calculations, the network configuration can be arbitrarily changed while operating the TSN. That is, TSN calculations are performed to ensure the opening and closing times and bandwidths of the gates in consideration of the worst values among the assumed network configurations.

[0072] <E. Processing Procedure> Next, an example of the processing procedure in the control system 1 according to the present embodiment will be described.

[0073] FIG. 8 is a diagram showing the processing procedure of the topology generation process by the network controller 300 of the control system 1 according to the present embodiment. The candidate for the connection form of the devices included in the network configuration information is determined from the topology generated by the processing procedure as shown in FIG. 8.

[0074] Referring to FIG. 8, each of the end devices 100 and switches 200 connected to the TSN advertises the information of its own node to adjacent nodes. For advertising the information of its own node, for example, a protocol such as LLDP (Link Layer Discovery Protocol) defined as IEEE 802.1AB can be used.

[0075] First, each of the end devices 100 and the switches 200 connected to the TSN acquires adjacent node information ((1) Acquire adjacent node information). The adjacent node information is acquired by collecting information advertised by the connected end devices 100 and / or the switches 200.

[0076] Next, the network controller 300 collects adjacent node information from each of the end devices 100 and the switches 200 ((2) Collecting adjacent node information). Note that a protocol such as Simple Network Management Protocol (SNMP) or NETCONF may be used to collect the adjacent node information.

[0077] Then, the network controller 300 generates a TSN topology based on the collected adjacent node information ((3) Topology generation). In this manner, the network controller 300 generates a TSN topology based on the adjacent node information collected by each device.

[0078] Furthermore, if a previously generated topology exists, the network controller 300 compares the previously generated topology with the currently generated topology ((4) Topology Comparison). When a change in the TSN topology is detected by the topology comparison, it may be added to the network configuration information as a new connection form of the devices. In other words, the network controller 300 may update the network configuration information based on the generated topology.

[0079] According to the above-mentioned procedure, the network controller 300 generates a topology.

[0080] Fig. 9 is a diagram showing a processing procedure for detecting a change in topology by the network controller 300 of the control system 1 according to the present embodiment. Referring to Fig. 9, similarly to Fig. 8, each of the end device 100 and the switch 200 connected to the TSN advertises information about the own node to adjacent nodes.

[0081] 9A, when the switch 200-2 connected to the TSN detects information advertised by the end device 100-2, the switch 200-2 updates adjacent node information using the detected information ((1) Update adjacent node information). Then, the switch 200-2 notifies the network controller 300 of the updated adjacent node information ((2) Notification of adjacent node information).

[0082] 9(B), when the switch 200-2 connected to the TSN detects further information advertised by the end device 100-3, the switch 200-2 updates the adjacent node information using the detected information ((1) Update adjacent node information). Then, the switch 200-2 notifies the network controller 300 of the updated adjacent node information ((2) Notification of adjacent node information).

[0083] For example, when SNMP is used, an SNMP trap can be used to notify the network controller 300 of the updated adjacent node information. Also, when NETCONF is used, NETCONF Event Notifications can be used.

[0084] By following the above procedure, changes in TSN (topology) etc. are detected. Next, some processing procedures for providing TSN settings from the network controller 300 to each of the end device 100 and the switch 200 will be described. For example, assume that OPC UA (OPC Unified Architecture), which is internationally standardized as IEC62541, is used as a communication stack for performing data communication between devices using TSN. The combination of TSN and OPC UA is also called "OPC UA over TSN."

[0085] Typical data communication methods between the network controller 300 and the end device 100 include a "Push" mode and a "Request" mode.

[0086] In the following, examples of processing procedures in each mode will be shown according to the type of data communication method. For simplicity of explanation, it is assumed that only one switch 200 exists in the TSN.

[0087] Fig. 10 is a diagram showing a process procedure in the Push mode in the control system 1 according to the present embodiment. Referring to Fig. 10, the network controller 300 loads the network configuration information and the communication setting information ((1) Loading the network configuration information and the communication setting information).

[0088] The network configuration information includes all network configurations (each state of the setup) that occur due to the setup change. That is, the network configuration information includes one or more definitions of the connection forms of devices that can occur in the TSN. For example, the network configuration information may include both the network configuration shown in FIG. 7(A) and the network configuration shown in FIG. 7(B).

[0089] The communication setting information includes information that defines frames exchanged over the TSN. Typically, the communication setting information includes a definition of a frame exchanged between the end devices 100.

[0090] Fig. 11 is a diagram showing an example of communication setting information used in the control system 1 according to the present embodiment. Fig. 11 shows an example of communication setting information for an arbitrary end device 100. Referring to Fig. 11, the communication setting information includes, for example, information indicating whether transmission or reception, information indicating a transmission destination or transmission source, a data size, and a cycle. The communication setting information shown in Fig. 11 is defined for each end device 100.

[0091] By referring to the communication setting information of each end device 100, the bandwidth that must be secured in TSN can be determined.

[0092] 10 again, each of the end devices 100 loads communication setting information for its own device ((2) Loading communication settings). The communication setting information is similar to that shown in FIG.

[0093] Next, the network controller 300 collects TSN capability information from each of the end devices 100 and the switch 200 ((3) TSN capability information collection). The TSN capability information is information that defines TSN-related performance information of devices connected to the TSN. For example, the TSN capability information includes information such as a transfer rate, the number of traffic classes that can be supported, and the number of ports.

[0094] Then, the network controller 300 performs TSN calculation based on the network configuration information, communication setting information, and the collected TSN capability information ((4) TSN calculation). In the TSN calculation, a stream is determined for each frame exchanged, and a communication schedule is determined taking into account the bandwidth for each stream (frame). At this time, the communication schedule is determined taking into account all network configurations that may arise due to setup changes, so that frame transfer can be continued regardless of the network configuration.

[0095] Finally, the network controller 300 provides the TSN setting determined by the TSN calculation to the end device 100 and the switch 200, respectively ((5) TSN setting).

[0096] Each of the end device 100 and the switch 200 determines and activates a communication schedule 228 in accordance with the TSN configuration from the network controller 300 ((6) Communication Schedule).

[0097] According to the above-mentioned procedure, the communication schedule is reflected in the end devices 100 and the switches 200 included in the TSN.

[0098] Fig. 12 is a diagram showing a processing procedure in the Request mode in the control system 1 according to the present embodiment. The processing procedure shown in Fig. 12 is executed in a state where all of the end devices 100 to be attached or detached during the changeover are connected to the TSN. In other words, the state of being connected to the TSN indicates the change contents of the network configuration.

[0099] 12, each of the end devices 100 loads communication setting information for its own device ((1) Load communication setting). The communication setting information is similar to that shown in FIG. 11. Then, each of the end devices 100 requests the network controller 300 to perform a TSN calculation to provide the TSN setting ((2) TSN calculation request). At this time, the TSN calculation request sent from each of the end devices 100 includes the communication setting information and the TSN capability information.

[0100] In response to the TSN calculation request, the network controller 300 loads network configuration information ((3) Loading network configuration information). The loaded network configuration information includes each state of the changeover. That is, the network configuration information includes all network configurations resulting from the changeover. Next, the network controller 300 collects TSN capability information from each of the switches 200 ((4) Collecting TSN capability information).

[0101] The network controller 300 performs a TSN calculation based on the TSN calculation request (including communication setting information and TSN capability information) from the end device 100, the TSN capability information from the switch 200, and the network configuration information ((5) TSN calculation). At this time, a communication schedule is determined so that frame forwarding can be continued regardless of the network configuration, taking into account all network configurations that may result from the changeover.

[0102] Finally, the network controller 300 provides the TSN settings determined by the TSN calculation to the end device 100 and the switch 200, respectively ((6) TSN settings).

[0103] Each of the end device 100 and the switch 200 determines and activates the communication schedule 228 according to the TSN settings from the network controller 300 ((7) Communication schedule).

[0104] According to the above procedure, the communication schedule is reflected for the end device 100 and the switch 200 included in the TSN.

[0105] <F. Unregistered device> As described above, the TSN settings are calculated in consideration of all network configurations caused by the setup change, but there is also a possibility that a new end device is connected to the TSN. In this case, the calculation of the TSN settings is performed again. However, since it may be changed from the TSN settings before the recalculation, it may be notified to the user or the like.

[0106] FIG. 13 is a diagram showing another processing procedure in the Request mode in the control system 1 according to the present embodiment. FIG. 13 shows a case where the end device 100-4 is newly connected to the TSN. In the Request mode, since the end device 100 requests the TSN calculation from the network controller 300, the network controller 300 can detect the connection of the new end device 100 that is not registered to the TSN.

[0107] Referring to FIG. 13, the end device 100-4 newly connected to the TSN loads the communication setting information for its own device ((1) Loading of communication settings). Then, the end device 100-4 requests the network controller 300 to perform the TSN calculation for providing the TSN settings ((2) TSN calculation request).

[0108] In response to the TSN calculation request, the network controller 300 loads the network configuration information ((3) Loading of network configuration information). Then, the network controller 300 performs a TSN calculation based on the TSN calculation request (including communication setting information and TSN capability information) from the end device 100-4 and the information used in the previous TSN calculation ((4) TSN calculation). In this way, when the network controller 300 detects a connection topology different from the device connection topology defined in the network configuration information, it executes a process of recalculating the TSN settings so that the necessary frame transfer can be realized in the different connection topology.

[0109] Then, the network controller 300 judges whether the TSN setting before the recalculation (the existing TSN setting) can be used in the TSN calculation. If the TSN setting needs to be reconfigured, the network controller 300 notifies the user or the like that the reconfiguration is necessary ((5) Notification of the necessity of reconfiguration). In this way, when the network controller 300 judges that the recalculated TSN setting needs to be reflected, it executes a process of notifying the necessity of the reflection.

[0110] When approval is received from a user or the like ((6) Approval), the network controller 300 provides the TSN setting determined by the TSN calculation to the end device 100-4 ((7-1) TSN Setting), and also provides the TSN setting determined by the TSN calculation to each of the existing end devices 100 and switches, and instructs them to restart ((7-2) TSN Setting + Restart). In this way, in response to explicit approval, the network controller 300 executes a process of providing the recalculated TSN setting to the devices connected to the TSN.

[0111] Each of the end device 100 and the switch 200 determines and activates a communication schedule 228 in accordance with the TSN configuration from the network controller 300 ((8) Communication Schedule).

[0112] Even when a new end device 100 is connected to TSN according to the procedure as described above, the new communication schedule is reflected.

[0113] As shown in FIG. 13, in the Request mode, when the end device 100 is connected to TSN, a TSN calculation request is transmitted to the network controller 300, so it can be determined whether the connected end device 100 is unregistered.

[0114] When an unregistered end device 100 is connected to TSN, the network controller 300 determines whether it is necessary to change the bandwidth or communication schedule used by other end devices 100, that is, whether the impact on the bandwidth or communication schedule assigned to other end devices 100 is within the allowable range. If the impact on the bandwidth or communication schedule is not within the allowable range, the network controller 300 requests approval for reconfiguration of the TSN settings from the user or the like. When approval is obtained from the user or the like, the end device 100 and the switch 200 connected to TSN restart according to the new TSN settings, and the initial sequence is executed again.

[0115] If the impact on the bandwidth or communication schedule is within the allowable range, the TSN settings are provided only for the newly connected end device 100-4 to TSN.

[0116] Note that, as a notification method to the user or the like, a method using an OPC UA subscription or the like may be used.

[0117] <G. Processing Procedure in Network Controller> Next, the processing procedure in the network controller 300 of the control system 1 according to the present embodiment will be described.

[0118] Fig. 14 is a diagram showing a processing procedure in the Push mode in the network controller 300 of the control system 1 according to the present embodiment. Each step shown in Fig. 14 is typically realized by the processor 302 of the network controller 300 executing the network setting program 324. In the Push mode shown in Fig. 14, when a predetermined condition is met, a process of calculating the TSN setting is started.

[0119] 14, when the start condition for TSN calculation is satisfied (YES in step S100), the network controller 300 acquires network configuration information related to the target TSN (step S102), and also acquires communication setting information and TSN capability information of each end device 100 (step S104). That is, the network controller 300 executes a process of acquiring communication setting information that defines frames exchanged on the TSN, and TSN capability information that defines performance information related to the TSN of devices connected to the TSN.

[0120] The network controller 300 selects one TSN configuration included in the network configuration information (step S106), and performs TSN calculation including stream setting, bandwidth allocation for each stream, and communication schedule determination (step S108). That is, the network controller 300 executes a process of calculating TSN settings including a communication schedule of frames in each device based on the network configuration information, communication setting information, and TSN capability information. Then, the network controller 300 sets the TSN setting determined by the TSN calculation as the current TSN setting.

[0121] Next, the network controller 300 calculates or updates the TSN settings so that the necessary frame forwarding can be realized in any of the connection topologies included in the network configuration information, using the following procedure.

[0122] The network controller 300 selects another TSN configuration included in the network configuration information (step S110), and performs TSN calculations including stream settings, bandwidth allocation for each stream, and communication schedule determination (step S112).

[0123] Then, the network controller 300 determines, based on the TSN setting determined by the current TSN calculation, whether or not there is an item for which the necessary frame transfer cannot be performed with the current TSN setting (step S114).

[0124] If there is an item that does not allow the necessary frame transfer in the current TSN setting (YES in step S114), network controller 300 changes the value of the item in the current TSN setting that does not allow the necessary frame transfer to the value of the corresponding item in the TSN setting determined by the current TSN calculation (step S116). Network controller 300 sets the changed TSN setting as the new current TSN setting.

[0125] In this manner, the network controller 300 performs a process to determine whether the setting information calculated for one connection topology included in the network configuration information can realize the necessary frame transfer in another connection topology included in the network configuration information.

[0126] If the necessary frame transfer can be performed with the current TSN settings (NO in step S114), the process of step S116 is skipped.

[0127] Next, the network controller 300 determines whether or not the selection of all TSN configurations included in the network configuration information has been completed (step S118).

[0128] If selection of all TSN configurations included in the network configuration information has not been completed (NO in step S118), the processes from step S110 onwards are repeated.

[0129] If the selection of all TSN configurations included in the network configuration information has been completed (YES in step S118), the network controller 300 transmits the current TSN settings to each of the end devices 100 and the switches 200 (step S120). That is, the network controller 300 executes a process of providing the TSN settings to the devices connected to the TSN.

[0130] With the above, the TSN calculation by the network controller 300 is completed. Fig. 15 is a diagram showing a processing procedure in the Request mode in the network controller 300 of the control system 1 according to the present embodiment. Each step shown in Fig. 15 is typically realized by the processor 302 of the network controller 300 executing the network setting program 324. In the Request mode shown in Fig. 15, a process of calculating the TSN setting is started in response to a request from a device connected to the TSN.

[0131] 15, when the network controller 300 receives a TSN calculation request (YES in step S200), it acquires the communication setting information and TSN capability information included in the TSN calculation request (step S202) and acquires network configuration information related to the target TSN (step S204). That is, the network controller 300 executes a process of acquiring the communication setting information that defines the frames exchanged on the TSN and the TSN capability information that defines the performance information related to the TSN of the device connected to the TSN.

[0132] The network controller 300 selects one TSN configuration included in the network configuration information (step S206), and performs TSN calculation including stream setting, bandwidth allocation for each stream, and communication schedule determination (step S208). That is, the network controller 300 executes a process of calculating TSN settings including a communication schedule of frames in each device based on the network configuration information, communication setting information, and TSN capability information. Then, the network controller 300 sets the TSN setting determined by the TSN calculation as the current TSN setting.

[0133] Next, the network controller 300 calculates or updates the TSN settings so that the necessary frame forwarding can be realized in any of the connection topologies included in the network configuration information, using the following procedure.

[0134] The network controller 300 selects another TSN configuration included in the network configuration information (step S210), and performs TSN calculations including stream settings, bandwidth allocation for each stream, and communication schedule determination (step S212).

[0135] Then, the network controller 300 determines, based on the TSN setting determined by the current TSN calculation, whether or not there is an item for which the necessary frame transfer cannot be performed with the current TSN setting (step S214).

[0136] If there is an item that does not allow the necessary frame transfer in the current TSN setting (YES in step S214), network controller 300 changes the value of the item that does not allow the necessary frame transfer in the current TSN setting to the value of the corresponding item in the TSN setting determined by the current TSN calculation (step S216). Network controller 300 sets the changed TSN setting as the new current TSN setting.

[0137] In this way, the network controller 300 executes a process of determining whether the setting information calculated for one connection form included in the network configuration information can realize the necessary frame transfer in another connection form included in the network configuration information.

[0138] If the necessary frame transfer can be performed with the current TSN setting (NO in step S214), the process of step S216 is skipped.

[0139] Subsequently, the network controller 300 determines whether the selection of all TSN configurations included in the network configuration information has been completed (step S218).

[0140] If the selection of all TSN configurations included in the network configuration information has not been completed (NO in step S218), the processes below step S210 are repeated.

[0141] If the selection of all TSN configurations included in the network configuration information has been completed (YES in step S218), the network controller 300 transmits the current TSN setting to each of the end device 100 and the switch 200 (step S220). That is, the network controller 300 executes a process of providing the TSN setting to the devices connected to the TSN.

[0142] As described above, the TSN calculation by the network controller 300 is completed. <H. Supplementary Note> The present embodiment as described above includes the following technical ideas.

[0143] [Configuration 1] A communication method in a network conforming to TSN (Time Sensitive Networking), A step of acquiring communication setting information that defines frames exchanged on the network and capability information that defines performance information related to TSN of devices connected to the network (S104; S204); A step of calculating a TSN setting including a communication schedule of frames in each device based on network configuration information that defines one or more connection forms of devices that may occur in the network, the communication setting information, and the capability information (S106 to S118; S206 to S218); providing the TSN configuration to a device connected to the network (S120; S220); A communication method including steps (S110 to S118; S210 to S218) of calculating the TSN settings so that necessary frame forwarding can be realized in any of the connection topologies included in the network configuration information.

[0144] [Configuration 2] 2. The communication method of claim 1, wherein the step of calculating the TSN setting is initiated when a predetermined condition is met.

[0145] [Configuration 3] 2. The method of claim 1, wherein the step of calculating the TSN setting is initiated in response to a request from a device connected to the network.

[0146] [Configuration 4] The communication method according to any one of configurations 1 to 3, wherein the step of calculating the TSN settings includes a step (S114; S214) of determining whether the setting information calculated for one connection topology included in the network configuration information can realize the necessary frame forwarding in another connection topology included in the network configuration information.

[0147] [Configuration 5] The communication method according to any one of configurations 1 to 4, further comprising a step of recalculating the TSN settings when a connection topology different from the connection topology of the device defined in the network configuration information is detected so that the necessary frame forwarding can be realized in the different connection topology.

[0148] [Configuration 6] The communication method according to configuration 5, further comprising the step of notifying the need for reflection when it is determined that the recalculated TSN setting needs to be reflected.

[0149] [Configuration 7] 7. The method of claim 6, further comprising providing the recalculated TSN settings to devices connected to the network in response to explicit authorization.

[0150] [Configuration 8] each device collecting neighbor node information; generating a topology of the network based on neighbor node information collected by each device; The communication method according to any one of configurations 1 to 7, further comprising: updating the network configuration information based on the generated topology.

[0151] [Configuration 9] A communication system (1) including a network conforming to TSN (Time Sensitive Networking), A network controller (300); One or more devices (100, 200) connected to the network; The network controller includes: A means for acquiring communication setting information that defines a frame exchanged on the network and capability information that defines performance information related to the TSN of the one or more devices (S104; S204); Means for calculating a TSN setting including a communication schedule of frames in each device based on network configuration information defining one or more connection forms of devices that can occur in the network, the communication setting information, and the capability information (S106 to S118; S206 to S218); Means for providing the TSN setting to the one or more devices (S120; S220), The means for calculating the TSN setting calculates the TSN setting so as to realize necessary frame transfer in any of the connection forms included in the network configuration information. A communication system.

[0152] [Configuration 10] A network controller (300) that configures a network conforming to TSN (Time Sensitive Networking), Means for acquiring communication setting information defining frames exchanged on the network and capability information defining performance information related to TSN of devices connected to the network (S104; S204); Means for calculating a TSN setting including a communication schedule of frames in each device based on network configuration information defining one or more connection forms of devices that can occur in the network, the communication setting information, and the capability information (S106 to S118; S206 to S218); Means for providing the TSN setting to devices connected to the network (S120; S220), The means for calculating the TSN setting calculates the TSN setting so as to realize necessary frame transfer in any of the connection forms included in the network configuration information. A communication device.

[0153] <I. Advantages> According to the communication control system of this embodiment, when a change in the network configuration (device connection topology) is planned due to setup changes or the like, the TSN settings are calculated using network configuration information that defines one or more possible device connection topology in the network, so that the required communication performance can be maintained in any network configuration. Therefore, even if setup changes occur, the required communication performance and control performance can be maintained.

[0154] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]

[0155] 1 Control system, 20, 22, 24, 26, 28 Link, 30 Field bus, 40 Field device, 100 End device, 102, 302 Processor, 104, 304 Main memory, 110, 310 Network interface, 112, 212, 312 Transmitting / receiving control circuit, 114, 214, 314 Transmitting circuit, 116, 216, 316 Receiving circuit, 120, 320 Storage, 122 System program, 124 User program, 130 Internal bus interface, 132 Field bus interface, 134 Memory card interface, 136 Memory card, 138, 338 Bus, 140 I / O unit, 200 Switch, 218 Transfer engine, 220 Queue, 222 Gate, 224 Distribution circuit, 226 Timing control circuit, 228 Communication schedule, 300 Network controller, 322 OS, 324 network configuration program.

Claims

1. A communication method in a network conforming to Time Sensitive Networking (TSN), comprising: acquiring communication setting information that defines frames exchanged on the network, and capability information that defines performance information related to TSNs of devices connected to the network; A step of calculating a TSN setting including a communication schedule of frames in each device based on network configuration information that defines one or more connection forms of devices that may occur in the network, the communication setting information, and the capability information; providing the TSN settings to devices connected to the network; A communication method, wherein the step of calculating the TSN setting includes a step of calculating the TSN setting so that required frame forwarding can be realized in any of the connection topologies included in the network configuration information.

2. 2. The method of claim 1, wherein the step of calculating the TSN setting is initiated when a predetermined condition is met.

3. The method of claim 1 , wherein the step of calculating the TSN setting is initiated in response to a request from a device connected to the network.

4. A communication method according to any one of claims 1 to 3, wherein the step of calculating the TSN setting includes a step of determining whether the setting information calculated for one connection topology included in the network configuration information can realize the necessary frame forwarding in another connection topology included in the network configuration information.

5. The communication method according to any one of claims 1 to 4, further comprising a step of recalculating the TSN setting when a connection topology different from the device connection topology defined in the network configuration information is detected so that the necessary frame forwarding can be realized in the different connection topology.

6. The communication method according to claim 5 , further comprising the step of notifying the necessity of reflecting the recalculated TSN setting when it is determined that the recalculated TSN setting must be reflected.

7. The method of claim 6, further comprising the step of providing the recalculated TSN setting to a device connected to the network in response to explicit authorization.

8. each device collecting neighbor node information; generating a topology of the network based on neighbor node information collected by each device; The communication method according to any one of claims 1 to 7, further comprising: updating the network configuration information based on the generated topology.

9. A communication system including a network conforming to Time Sensitive Networking (TSN), A network controller; one or more devices connected to the network; The network controller includes: A means for acquiring communication setting information that defines frames exchanged on the network and capability information that defines performance information related to TSNs of the one or more devices; A means for calculating a TSN setting including a communication schedule of frames in each device based on network configuration information that defines one or more connection forms of devices that may occur in the network, the communication setting information, and the capability information; means for providing the TSN setting to the one or more devices; A communication system, wherein the means for calculating the TSN setting calculates the TSN setting so as to realize necessary frame forwarding in any of the connection topologies included in the network configuration information.

10. A network controller that configures a network conforming to TSN (Time Sensitive Networking), A means for acquiring communication setting information that defines frames exchanged on the network and capability information that defines performance information related to TSNs of devices connected to the network; A means for calculating a TSN setting including a communication schedule of frames in each device based on network configuration information that defines one or more connection forms of devices that may occur in the network, the communication setting information, and the capability information; means for providing the TSN setting to a device connected to the network; A communication device, wherein the means for calculating the TSN setting calculates the TSN setting so as to realize necessary frame forwarding in any of the connection topologies included in the network configuration information.

Citation Information

Patent Citations

  • Method for industrial communication via tsn

    EP3357218A1

  • Communication system, communication device and communication method

    JP2019068387A

  • Transparent integration of 3GPP network into TSN based industrial network

    WO2019166081A1