WO2022185585A1 - 通信方法、通信システムおよび通信装置 - Google Patents

通信方法、通信システムおよび通信装置 Download PDF

Info

Publication number
WO2022185585A1
WO2022185585A1 PCT/JP2021/034674 JP2021034674W WO2022185585A1 WO 2022185585 A1 WO2022185585 A1 WO 2022185585A1 JP 2021034674 W JP2021034674 W JP 2021034674W WO 2022185585 A1 WO2022185585 A1 WO 2022185585A1
Authority
WO
WIPO (PCT)
Prior art keywords
tsn
network
setting
communication
information
Prior art date
Application number
PCT/JP2021/034674
Other languages
English (en)
French (fr)
Inventor
成憲 澤田
Original Assignee
オムロン株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by オムロン株式会社 filed Critical オムロン株式会社
Publication of WO2022185585A1 publication Critical patent/WO2022185585A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/42Centralised routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup

Definitions

  • This technology relates to a communication method, a communication system, and a communication device.
  • Ethernet registered trademark
  • TSN Time Sensitive Networking
  • Patent Document 1 European Patent No. 03357218 discloses an industrial network using a network conforming to the TSN standard.
  • the equipment and jigs used are often changed as the types of products produced and the production process change. Such a change is also called a changeover. Along with such a setup change, the devices connected to the industrial network are also changed.
  • This technology provides a mechanism for maintaining the required communication performance even if the devices connected to the network are changed.
  • a communication method in a TSN compliant network includes steps of obtaining communication setting information defining frames exchanged on a network and capability information defining performance information related to TSN of a device connected to the network; calculating a TSN setting including a communication schedule for frames in each device based on network configuration information defining one or more configurations, communication setting information, and capability information; and providing to.
  • Calculating the TSN settings includes calculating the TSN settings so as to achieve the necessary frame forwarding for any of the topologies included in the network configuration information.
  • connection configuration of devices connection configuration of devices
  • a network that defines one or more connection configurations of devices that can occur in the network.
  • a network according to TSN can be managed mainly by a management entity such as a network controller.
  • Computing the TSN settings may be initiated in response to a request from a network-connected device. According to this configuration, it is possible to calculate the optimum TSN setting when a device is newly connected to the network.
  • the step of calculating the TSN setting determines whether the setting information calculated for one topology included in the network configuration information can achieve necessary frame forwarding in another topology included in the network configuration information. may include steps. According to this configuration, it is possible to calculate a TSN setting that can maintain the required communication performance for any of the device connection modes defined in the network configuration information.
  • the communication method includes, 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 as to realize necessary frame transfer in the different connection topology. It may contain further. According to this configuration, an appropriate TSN setting can be calculated even for a connection type that was not considered in the original TSN setting calculation.
  • the communication method may further include a step of notifying the need for reflection when it is determined that the recalculated TSN settings should be reflected. This configuration gives the user an opportunity to consider the effects in the network when there is a need to reflect new TSN settings.
  • the communication method may further comprise providing the recalculated TSN setting to the network-connected device in response to the explicit authorization.
  • the TSN setting is reflected only when the user or the like explicitly approves it, so it is possible to reduce the possibility of unintended problems occurring in the network.
  • the communication method comprises the steps of each device collecting neighboring node information, generating a topology of the network based on the neighboring node information collected by each device, and updating network configuration information based on the generated topology. and a step.
  • a communication system including a network conforming to TSN.
  • a communication system includes a network controller and one or more devices connected to a network.
  • the network controller includes means for acquiring communication setting information defining frames exchanged on the network, capability information defining performance information related to TSN of one or more devices, and possible connection types of devices on the network.
  • means for calculating a TSN setting including a communication schedule for frames in each device based on network configuration information defining one or more of, communication setting information, and capability information; and providing the TSN setting to one or more devices and means to The means for calculating the TSN settings calculates the TSN settings so as to achieve the required frame forwarding in any of the topologies included in the network configuration information.
  • a network controller that configures a TSN-compliant network.
  • the network controller includes means for acquiring communication setting information defining frames exchanged on the network and capability information defining performance information related to the TSN of devices connected to the network, and connection of devices that may occur on the network.
  • Means for calculating a TSN setting including a communication schedule of frames in each device based on network configuration information defining one or more configurations, communication setting information, and capability information; and means for providing The means for calculating the TSN settings calculates the TSN settings so as to achieve the required frame forwarding in any of the topologies included in the network configuration information.
  • FIG. 1 is a schematic diagram showing an example of the overall configuration of a control system according to an embodiment
  • FIG. 2 is a block diagram showing an example hardware configuration of an end device that constitutes the control system according to the present embodiment
  • FIG. 3 is a block diagram showing an example hardware configuration of a switch that constitutes the control system according to the present embodiment
  • FIG. 2 is a block diagram showing an example hardware configuration of a network controller that configures the control system according to the present embodiment
  • FIG. 4 is a schematic diagram showing a more detailed configuration of one port of the switch shown in FIG. 3
  • FIG. FIG. 4 is a diagram for explaining an example of processing related to frame transfer in the control system according to the present embodiment
  • FIG. FIG. 4 is a diagram for explaining an outline of processing in the control system according to the embodiment
  • FIG. 7 is a diagram showing a processing procedure of topology generation processing by the network controller of the control system according to the present embodiment
  • FIG. 4 is a diagram showing a processing procedure for detecting a topology change by a network controller of the control system according to the present embodiment
  • FIG. 7 is a diagram showing a processing procedure in Push mode in the control system according to the present embodiment
  • 4 is a diagram showing an example of communication setting information used in the control system according to the embodiment
  • FIG. It is a figure which shows the processing procedure in the Request mode in the control system which concerns on this Embodiment.
  • FIG. 9 is a diagram showing another processing procedure in Request mode in the control system according to the present embodiment
  • FIG. 7 is a diagram showing a processing procedure in Push mode in the network controller of the control system according to the present embodiment
  • FIG. 4 is a diagram showing a processing procedure in Request mode in the network controller of the control system according to the present embodiment;
  • FIG. 1 is a schematic diagram showing an example of the overall configuration of a control system 1 according to this embodiment.
  • a control system 1 shown in FIG. 1 is an example of a communication system including a network conforming to TSN. Therefore, processing related to the network in the control system 1 corresponds to communication processing in the network according to TSN.
  • TSN simply refers to networks conforming to TSN.
  • TSN settings encompasses the settings necessary to implement a TSN-compliant network.
  • device includes any device connected to a network that conforms to TSN.
  • a “device” may typically include end devices and switches.
  • a control device such as a PLC (programmable controller) is connected to the TSN of the control system 1.
  • a control device connected to a network corresponds to an end device, so the control device is referred to as an "end device” in the following description.
  • the "end device” is not limited to the control device, and may include any device.
  • a control system 1 shown in FIG. 300 A network to which one or more of these devices are connected corresponds to the TSN.
  • the end device 100-1 is connected via the link 20 to the switch 200-1.
  • a link 22 is connected between the switch 200-1 and the switch 200-2.
  • the end device 100-2 can be connected to the switch 200-2 via the link 24, and the end device 100-3 can be connected via the link 26 to the switch 200-2.
  • a network controller 300 is connected to the switch 200-1 via the link 28.
  • 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, the TSN shown in FIG. 1 can have a state in which end devices 100-1 and 100-2 are connected and a state in which end devices 100-1 and 100-3 are connected.
  • Each of the end devices 100-1, 100-2, 100-3 has a field bus 30 independent of the TSN.
  • One or more field devices 40 are connected to the fieldbus 30 .
  • One or more field devices 40 include input devices that obtain field signals and output devices or actuators that perform some action on the field according to instructions from the end device 100 .
  • the network controller 300 is the entity that manages frame transfer in the TSN, and determines the communication schedule for frame transfer by calculating resource allocation and availability.
  • resource allocation and availability calculations by the network controller 300 are also referred to as "TSN calculations".
  • the network controller 300 may operate according to IEEE 802.1Qcc, which is a substandard of IEEE 802.1 TSN.
  • the identification label given 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 the TSN and determines the stream destination address and traffic class according to the transfer path of each of the stream IDs. and for each of the switches 200, provide the TSN settings.
  • the TSN setting includes a communication schedule determined in consideration of the band for each stream.
  • the network controller 300 performs appropriate resource allocation and availability calculations, so that even if the device connected to the TSN is changed due to a setup change or the like, Optimal performance can be achieved for the TSN as a whole.
  • FIG. 2 is a block diagram showing a hardware configuration example of the end device 100 that configures the control system 1 according to this embodiment.
  • end device 100 includes processor 102 , main memory 104 , network interface 110 , storage 120 , internal bus interface 130 , fieldbus interface 132 and memory card interface 134 . Each component is electrically connected via bus 138 .
  • the processor 102 is composed of a CPU (Central Processing Unit), MPU (Micro-Processing Unit), GPU (Graphical Processing Unit), etc., reads various programs stored in the storage 120, expands them in the main memory 104, and executes them. By doing so, processing as a control device is realized.
  • CPU Central Processing Unit
  • MPU Micro-Processing Unit
  • GPU Graphics Processing Unit
  • the network interface 110 is in charge of exchanging data (frame transmission) via TSN. More specifically, network interface 110 includes transmission/reception control circuitry 112 , transmission circuitry 114 , and reception circuitry 116 .
  • the transmission/reception control circuit 112 controls the transmission circuit 114 and the reception circuit 116 according to the TSN setting given in advance from the network controller 300 .
  • the transmission circuit 114 transmits frames on the TSN according to instructions from the transmission/reception control circuit 112 .
  • Receive circuit 116 receives incoming frames via TSN.
  • the storage 120 typically stores a system program 122 for realizing functions as a control device and a user program 124 that defines control logic to be executed by the control device.
  • the internal bus interface 130 exchanges data with the I/O unit 140 mounted on the end device 100 .
  • the fieldbus interface 132 exchanges data with field devices via the fieldbus 30 .
  • the memory card interface 134 is configured such that a memory card 136 can be attached/detached, and data can be written to the memory card 136, and various data (user program, trace data, etc.) can be read from the memory card 136. ing.
  • FIG. 2 shows a configuration example in which necessary functions are provided by the processor 102 executing a program.
  • the main part of the end device 100 may be implemented using hardware following a general-purpose architecture (for example, an industrial personal computer based on a general-purpose personal computer).
  • the processing performed and functions provided by end device 100 may be implemented in processing circuitry including processors, ASICs, FPGAs, and the like.
  • FIG. 3 is a block diagram showing a hardware configuration example of the switch 200 that configures the control system 1 according to this embodiment.
  • switch 200 includes a transmission/reception control circuit 212 and transmission circuits 214-1, 214-2, 214-3, and 214-4 (hereinafter collectively referred to as "transmission circuits 214"). , and receiving circuits 216-1, 216-2, 216-3, and 216-4 (hereinafter also collectively referred to as “receiving circuits 216”).
  • a set of the transmission circuit 214 and the reception circuit 216 forms one port. Note that FIG. 3 illustrates the switch 200 having four ports, but the number of ports is not particularly limited.
  • the transmission/reception control circuit 212 controls the transmission circuit 114 and the reception circuit 116 according to the TSN setting given in advance from the network controller 300 . More specifically, the transmit/receive control circuit 212 includes a transfer engine 218 and a queue 220 .
  • the transmission/reception control circuit 212 may be implemented by a processor executing firmware, or may be implemented using a hardwired circuit such as an ASIC or FPGA. Also, not only the transmission/reception control circuit 212 but also the entirety including the transmission circuit 114 and the reception circuit 116 may be implemented in a single chip. As such, the processing performed and functions provided by switch 200 may be implemented in processing circuitry including processors, ASICs, FPGAs, and the like.
  • FIG. 4 is a block diagram showing a hardware configuration example of the network controller 300 that configures the control system 1 according to this embodiment.
  • network controller 300 includes processor 302 , main memory 304 , network interface 310 and storage 320 . Each component is electrically connected via bus 338 .
  • the processor 302 is composed of a CPU, MPU, GPU, etc., and reads various programs stored in the storage 320, develops them in the main memory 304, and executes them, thereby realizing processing as a network controller.
  • the network interface 310 is in charge of exchanging data (frame transmission) via TSN. More specifically, network interface 310 includes transmit/receive control circuitry 312 , transmit circuitry 314 , and receive circuitry 316 .
  • the storage 320 typically stores an OS 322 for implementing basic processing and a network setting program 324 for implementing processing as described later.
  • FIG. 4 shows a configuration example in which necessary functions are provided by the processor 302 executing a program.
  • the processing performed and functions provided by the network controller 300 may thus be implemented in processing circuitry including processors, ASICs, FPGAs, and the like.
  • FIG. 5 is a schematic diagram showing a more detailed configuration of one port of the switch 200 shown in FIG. With reference to FIG. 5, each port consists of a set of a transmitter circuit 214 and a receiver circuit 216 . Transfer engine 218 and queue 220 are provided between transmit circuit 214 and receive circuit 216 .
  • the transfer engine 218 includes a distribution circuit 224 and a timing control circuit 226.
  • Queue 220 also includes a plurality of queues 220-1 to 220-M associated with each traffic class value.
  • Distribution circuit 224 stores the frame in one of queues 220-1 to 220-M according to the header information of the frame received via reception circuit 216, or distributes the frame to distribution circuit 224 of another port. transfer to Also, the sorting circuit 224 performs similar determination and processing for frames received from the sorting circuit 224 of another port.
  • the distribution circuit 224 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. By such processing in the distribution circuit 224, the queues 220-1 to 220-M sequentially store frames classified by traffic class.
  • Gates 222-1 to 222-M are provided on the output sides of the queues 220-1 to 220-M, respectively.
  • Each of gates 222 - 1 to 222 -M (hereinafter collectively referred to as “gates 222 ”) opens and closes according to instructions from timing control circuit 226 .
  • the gate 222 When the gate 222 is opened, the frame stored in the associated queue 220 is sent from the transmission circuit 214 .
  • Timing control circuit 226 does not give open commands to a plurality of gates 222 at the same time. That is, the timing control circuit 226 sequentially opens and closes the gates 222 according to the communication schedule 228 included in the TSN settings. As a result, frames are transferred according to the communication schedule calculated in advance by TSN.
  • the port of the end device 100 (network interface 110) and the port of the network controller 300 (network interface 310) also have the same configuration as in FIG.
  • 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. 6A, it is assumed that frames are transmitted from the end device 100-1 to the end devices 100-2 and 100-3.
  • a switch 200-1 and a switch 200-2 are present along the route. As described with reference to FIG. 5, the end device 100 and the switch 200 realize real-time frame transfer by controlling the opening/closing timing of the gate 222 .
  • the opening/closing time and opening/closing timing of the gate 222 are typically calculated based on the transmission time required for frame transmission processing and the frame propagation delay time.
  • the transmission time is calculated according to the size of the transmitted frame (frame size).
  • Propagation delay time varies according to the length of the transfer path.
  • the propagation delay time is a value measured when an arbitrary frame is transmitted.
  • FIG. 6(B) shows an example of the timing of the gate 222 in the network configuration shown in FIG. 6(A).
  • the upper section means the open state of the gate 222 .
  • the frame is transmitted to the switch 200-1.
  • Gate 222 of switch 200-1 will open with a delay that reflects the time the frame from end device 100-1 arrives and is stored in queue 220.
  • the end device 100-2 is connected to port 1 of the switch 200-2, and the end device 100-3 is connected to port 2 of the switch 200-2.
  • the propagation delay time to the end device 100-2 connected to the port 1 of the switch 200-2 and the propagation delay time to the end device 100-3 connected to the port 2 of the switch 200-2 Suppose there is a difference. In such a case, a predetermined time difference occurs between the opening timing of the gate 222 corresponding to the port 1 of the switch 200-2 and the opening timing of the gate 222 corresponding to the port 2 of the switch 200-2. become.
  • FIG. 7 is a diagram for explaining an outline of processing in the control system 1 according to this embodiment.
  • 7A shows a state in which the end device 100-2 is connected to port 1 of the switch 200-2
  • FIG. 7B shows a state in which the end device 100-2 is connected to port 2 of the switch 200-2. 3 is connected.
  • the port open time is set so as to include the state where only one of them is connected.
  • the network configuration may change due to a new device being connected after the network controller 300 has calculated the TSN in a state where not all devices are connected to the TSN, or due to a setup change. .
  • the initial TSN calculation does not consider the changed network configuration, it will be necessary to perform the TSN calculation again.
  • control system 1 performs TSN calculation so that appropriate frame transfer can be performed in any network configuration.
  • TSN calculation it is possible to arbitrarily change the network configuration while operating the TSN. That is, considering the worst value among assumed network configurations, the TSN calculation is performed so as to secure the gate opening/closing time and bandwidth.
  • FIG. 8 is a diagram showing a processing procedure of topology generation processing by the network controller 300 of the control system 1 according to the present embodiment. From the topology generated by the processing procedure shown in FIG. 8, candidates for the device connection configuration included in the network configuration information are determined.
  • each of end device 100 and switch 200 connected to TSN advertises its own node information to adjacent nodes. Advertisement of self-node information can use, for example, a protocol such as LLDP (Link Layer Discovery Protocol) defined as IEEE 802.1AB.
  • LLDP Link Layer Discovery Protocol
  • each of the end device 100 and the switch 200 connected to the TSN acquires adjacent node information ((1) acquire adjacent node information).
  • Neighboring node information is obtained by collecting information advertised by connected end devices 100 and/or switches 200 .
  • the network controller 300 collects adjacent node information from each of the end devices 100 and switches 200 ((2) collection of adjacent node information). It should be noted that a protocol such as SNMP (Simple Network Management Protocol) or NETCONF may be used to collect adjacent node information.
  • SNMP Simple Network Management Protocol
  • NETCONF Network Control Protocol
  • the network controller 300 generates the TSN topology based on the collected adjacent node information ((3) Topology generation). Thus, the network controller 300 generates a topology of TSNs based on neighboring node information collected by each device.
  • the network controller 300 compares the previously generated topology with the currently generated topology ((4) topology matching). Note that when a change in TSN topology is detected by topology collation, it may be added to the network configuration information as a new connection form of the device. That is, the network controller 300 may update network configuration information based on the generated topology.
  • a topology is generated by the network controller 300 according to the above procedure.
  • FIG. 9 is a diagram showing a processing procedure for detecting topology change by the network controller 300 of the control system 1 according to the present embodiment. 9, similarly to FIG. 8, each of end device 100 and switch 200 connected to TSN advertises information of its own node to adjacent nodes.
  • switch 200-2 connected to TSN detects information advertised by end device 100-2, it obtains adjacent node information using the detected information. Update ((1) Adjacent node information update). The switch 200-2 then notifies the network controller 300 of the updated adjacent node information ((2) notification of adjacent node information).
  • switch 200-2 connected to TSN further detects information advertised by end device 100-3, it updates adjacent node information using the detected information. ((1) Neighboring node information update). The switch 200-2 then notifies the network controller 300 of the updated adjacent node information ((2) notification of adjacent node information).
  • Notification of updated adjacent node information to the network controller 300 can use, for example, an SNMP trap when SNMP is employed. Also, when NETCONF is adopted, NETCONF Event Notifications can be used.
  • TSN topology
  • IEC62541 OPC Unified Architecture
  • FIG. 10 is a diagram showing a processing procedure in Push mode in the control system 1 according to this embodiment.
  • network controller 300 loads network configuration information and communication setting information ((1) Loading network configuration information and communication setting information).
  • the network configuration information includes all network configurations (each status of the changeover) caused by the changeover. That is, the network configuration information includes one or more definitions of device topologies that may 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).
  • the communication setting information includes information that defines frames exchanged on the TSN.
  • communication configuration information includes definitions of frames exchanged between end devices 100 .
  • FIG. 11 is a diagram showing an example of communication setting information used in the control system 1 according to this embodiment.
  • FIG. 11 shows an example of communication setting information for an arbitrary end device 100.
  • communication setting information includes, for example, information indicating transmission or reception, information indicating a transmission destination or transmission source, data size, and cycle.
  • the communication setting information shown in FIG. 11 is defined for each end device 100 .
  • each end device 100 By referring to the communication setting information of each end device 100, it is possible to determine the band that must be secured in the TSN.
  • each end device 100 loads communication setting information for its own device ((2) Loading communication settings).
  • the communication setting information is the same as that shown in FIG.
  • the network controller 300 collects TSN capability information from each of the end devices 100 and switches 200 ((3) TSN capability information collection).
  • the TSN capability information is information defining performance information related to the TSN of a device connected to the TSN.
  • the TSN capability information includes information such as transfer rate, the number of traffic classes that can be supported, and the number of ports.
  • the network controller 300 performs TSN calculation based on the network configuration information, communication setting information, and collected TSN capability information ((4) TSN calculation).
  • TSN calculation a stream is determined for each exchanged frame, and a communication schedule is determined by considering the bandwidth for each stream (frame). At this time, considering all network configurations caused by the setup change, the communication schedule is determined so that frame transfer can be continued regardless of the network configuration.
  • the network controller 300 provides the TSN setting determined by the TSN calculation to the end device 100 and the switch 200 ((5) TSN setting).
  • Each of the end device 100 and the switch 200 determines and validates the communication schedule 228 according to the TSN setting from the network controller 300 ((6) communication schedule).
  • the communication schedule is reflected in the end devices 100 and switches 200 included in the TSN.
  • FIG. 12 is a diagram showing a processing procedure in Request mode in the control system 1 according to this embodiment.
  • the processing procedure shown in FIG. 12 is executed with all the end devices 100 scheduled to be attached or detached for setup being connected to the TSN.
  • the state of being connected to the TSN means the change in the network configuration.
  • each end device 100 loads communication setting information for its own device ((1) Loading communication settings).
  • the communication setting information is the same as that shown in FIG.
  • each of the end devices 100 requests the network controller 300 for TSN calculation for providing TSN settings ((2) TSN calculation request).
  • the TSN calculation request sent from each of the end devices 100 includes communication setting information and TSN capability information.
  • the network controller 300 loads network configuration information in response to the TSN calculation request ((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 setup change. Subsequently, the network controller 300 collects TSN capability information from each of the switches 200 ((4) TSN capability information collection).
  • the network controller 300 performs 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, considering all network configurations caused by the setup change, the communication schedule is determined so that frame transfer can be continued regardless of the network configuration.
  • the network controller 300 provides the TSN setting determined by the TSN calculation to the end device 100 and the switch 200 ((6) TSN setting).
  • Each of the end device 100 and the switch 200 determines and validates the communication schedule 228 according to the TSN setting from the network controller 300 ((7) communication schedule).
  • the communication schedule is reflected in the end devices 100 and switches 200 included in the TSN.
  • the TSN settings are calculated taking into account all network configurations caused by the changeover, but it is also possible that new end devices are connected to the TSN. In this case, the calculation of the TSN setting is performed again. However, since the TSN setting before recalculation may be changed, the user or the like may be notified.
  • FIG. 13 is a diagram showing another processing procedure in the Request mode in the control system 1 according to this embodiment.
  • FIG. 13 shows the case where the end device 100-4 is newly connected to the TSN.
  • Request mode the end device 100 requests the network controller 300 to calculate the TSN, so the network controller 300 can detect the connection to the TSN of a new unregistered end device 100 .
  • the end device 100-4 newly connected to the TSN loads communication setting information for its own device ((1) Loading communication settings). Then, the end device 100-4 requests the network controller 300 for TSN calculation for providing TSN settings ((2) TSN calculation request).
  • the network controller 300 loads network configuration information in response to the TSN calculation request ((3) Loading network configuration information). Then, the network controller 300 performs 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 a connection form different from the connection form of the device defined in the network configuration information is detected, the network controller 300 sets the TSN so that necessary frame transfer can be realized in the different connection form. Execute the recalculation process.
  • the network controller 300 determines whether or not the TSN setting before recalculation (existing TSN setting) can be operated. Then, when the TSN setting needs to be reset, the user or the like is notified of the necessity of resetting ((5) Notification of necessity of resetting). In this way, when the network controller 300 determines that the recalculated TSN setting should be reflected, it performs the process of notifying the necessity of the reflection.
  • the network controller 300 Upon receiving approval from the 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). The determined TSN setting is provided to each of the existing end devices 100 and switches to instruct restart ((7-2) TSN setting+restart). Thus, the network controller 300 takes action to provide the recalculated TSN settings to the devices connected to the TSN in response to the explicit acknowledgment.
  • Each of the end device 100 and the switch 200 determines and validates the communication schedule 228 according to the TSN setting from the network controller 300 ((8) communication schedule).
  • a TSN calculation request is sent to the network controller 300, so it can be determined whether or not the connected end device 100 is unregistered. .
  • the network controller 300 determines whether it is necessary to change the band or communication schedule used by other end devices 100 due to the unregistered end device 100 connecting to the TSN. Determine whether the impact on the bandwidth and communication schedules being used is within the permissible range. If the impact on the bandwidth or communication schedule is not acceptable, the network controller 300 asks the user or the like to approve the resetting of the TSN settings. When approval is obtained from the user or the like, the end device 100 and switch 200 connected to the TSN are restarted according to the new TSN setting, and the initial sequence is executed again.
  • the TSN settings are provided only to the end device 100-4 newly connected to the TSN.
  • a method of using an OPC UA subscription may be used.
  • FIG. 14 is a diagram showing a processing procedure in Push mode in the network controller 300 of the control system 1 according to this embodiment. Each step shown in FIG. 14 is typically implemented by processor 302 of network controller 300 executing network setting program 324 . In the Push mode shown in FIG. 14, when a predetermined condition is satisfied, the process of calculating the TSN setting is started.
  • network controller 300 acquires network configuration information related to the target TSN (step S102), Setting information and TSN capability information are acquired (step S104). That is, the network controller 300 executes a process of acquiring communication setting information defining frames exchanged over the TSN and TSN capability information defining performance information related to the TSN of devices connected to the TSN.
  • the network controller 300 selects one TSN configuration included in the network configuration information (step S106), and performs TSN calculation including stream setting, band allocation for each stream, and communication schedule determination (step S108). That is, the network controller 300 executes processing for calculating the TSN setting including the communication schedule of frames in each device based on the network configuration information, the communication setting information, and the TSN capability information. The network controller 300 then sets the TSN setting determined by the TSN calculation as the current TSN setting.
  • the network controller 300 calculates or updates the TSN settings by the following procedure so that the required frame transfer can be realized in any of the connection modes included in the network configuration information.
  • the network controller 300 selects another TSN configuration included in the network configuration information (step S110), and performs TSN calculations including stream setting, band allocation for each stream, and communication schedule determination (step S112).
  • the network controller 300 determines whether or not there is an item for which the necessary frame transfer cannot be performed with the current TSN setting (step S114).
  • network controller 300 determines the value of the item in the current TSN setting in which the necessary frame transfer cannot be performed by the current TSN calculation.
  • the value of the item corresponding to the determined TSN setting is changed (step S116).
  • the network controller 300 sets the changed TSN setting as the new current TSN setting.
  • the network controller 300 determines whether or not the setting information calculated for one connection form included in the network configuration information can realize necessary frame transfer in another connection form included in the network configuration information. process.
  • step S116 If the required frame transfer can be performed with the current TSN settings (NO in step S114), the process of step S116 is skipped.
  • the network controller 300 determines whether or not all TSN configurations included in the network configuration information have been selected (step S118).
  • step S110 onwards is repeated.
  • network controller 300 transmits the current TSN settings to each of end device 100 and switch 200 (step S120). That is, the network controller 300 performs processing to provide TSN settings to devices connected to the TSN.
  • FIG. 15 is a diagram showing a processing procedure in the Request mode in network controller 300 of control system 1 according to the present embodiment. Each step shown in FIG. 15 is typically implemented by processor 302 of network controller 300 executing network setting program 324 . In the Request mode shown in FIG. 15, the process of calculating the TSN setting is started in response to a request from a device connected to the TSN.
  • network controller 300 when network controller 300 receives a TSN calculation request (YES in step S200), network controller 300 acquires communication setting information and TSN capability information included in the TSN calculation request (step S202), acquires network configuration information related to (step S204). That is, the network controller 300 executes a process of acquiring communication setting information defining frames exchanged over the TSN and TSN capability information defining performance information related to the TSN of devices connected to the TSN.
  • the network controller 300 selects one TSN configuration included in the network configuration information (step S206), and performs TSN calculation including stream setting, band allocation for each stream, and communication schedule determination (step S208). That is, the network controller 300 executes processing for calculating the TSN setting including the communication schedule of frames in each device based on the network configuration information, the communication setting information, and the TSN capability information. The network controller 300 then sets the TSN setting determined by the TSN calculation as the current TSN setting.
  • the network controller 300 calculates or updates the TSN settings by the following procedure so that the required frame transfer can be realized in any of the connection modes included in the network configuration information.
  • the network controller 300 selects another TSN configuration included in the network configuration information (step S210), and performs TSN calculations including stream setting, band allocation for each stream, and communication schedule determination (step S212).
  • the network controller 300 determines whether or not there is an item for which the necessary frame transfer cannot be performed with the current TSN setting (step S214).
  • network controller 300 determines the value of the item in the current TSN setting in which the necessary frame transfer cannot be performed by the current TSN calculation.
  • the value of the item corresponding to the determined TSN setting is changed (step S216).
  • the network controller 300 sets the changed TSN setting as the new current TSN setting.
  • the network controller 300 determines whether or not the setting information calculated for one connection form included in the network configuration information can realize necessary frame transfer in another connection form included in the network configuration information. process.
  • step S216 If the required frame transfer can be performed with the current TSN settings (NO in step S214), the process of step S216 is skipped.
  • the network controller 300 determines whether or not all TSN configurations included in the network configuration information have been selected (step S218).
  • step S210 If the selection of all TSN configurations included in the network configuration information has not been completed (NO in step S218), the processing from step S210 onwards is repeated.
  • network controller 300 transmits the current TSN settings to each of end device 100 and switch 200 (step S220). That is, the network controller 300 performs processing to provide TSN settings to devices connected to the TSN.
  • a communication method in a network according to TSN (Time Sensitive Networking), a step of acquiring communication setting information defining frames exchanged on the network and capability information defining performance information related to the TSN of a device 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 defining one or more connection types of devices that can occur in the network, the communication setting information, and the capability information ( S106 to S118; S206 to S218); providing the TSN settings to devices connected to the network (S120; S220); The step of calculating the TSN setting includes the step of calculating the TSN setting (S110-S118; S210-S218) so as to achieve necessary frame transfer in any of the topology included in the network configuration information. ,Communication method.
  • each device collecting neighbor node information; generating a topology of the network based on neighboring node information collected by each device; and updating said network configuration information based on said generated topology.
  • a communication system (1) including a network according to TSN (Time Sensitive Networking), a network controller (300); one or more devices (100, 200) connected to the network;
  • the network controller means for acquiring communication setting information defining frames exchanged on the network and capability information defining performance information related to TSNs of the one or more devices (S104; S204); Means ( S106 to S118; S206 to S218); means for providing the TSN settings to the one or more devices (S120; S220);
  • the communication system wherein the means for calculating the TSN setting calculates the TSN setting so as to achieve necessary frame forwarding in any of the topologies included in the network configuration information.
  • TSN Time Sensitive Networking
  • the device connection form that may occur in the network is set to one.
  • the TSN setting is calculated using multiple defined network configuration information, the required communication performance can be maintained in any network configuration. Therefore, even if a setup change occurs, the required communication performance and control performance can be maintained.
  • 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 transmission and reception Control circuit, 114, 214, 314 transmission circuit, 116, 216, 316 reception 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 setting program .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

TSNに従うネットワークにおける通信方法は、ネットワーク上でやり取りされるフレームを定義した通信設定情報と、ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得するステップと、ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、通信設定情報と、能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算するステップと、TSN設定をネットワークに接続されたデバイスに提供するステップとを含む。TSN設定を計算するステップは、ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、TSN設定を計算するステップを含む。

Description

通信方法、通信システムおよび通信装置
 本技術は、通信方法、通信システムおよび通信装置に関する。
 一般的な情報系ネットワークに採用されている標準的なネットワーク(例えば、イーサネット(登録商標))を産業分野のネットワークでも利用できるように拡張する取り組みが進行しつつある。より具体的には、イーサネット(登録商標)をベースにして、ネットワークが決定性のある挙動をするように改良されたIEEE(Institute of Electrical and Electronic Engineers) 802.1 TSN(Time Sensitive Networking)(以下、「TSN規格」とも称す。)が知られている。TSN規格によれば、例えば、イーサネット(登録商標)などの汎用的なハードウェアを用いて、リアルタイム通信をより容易に実現できる。
 例えば、特許文献1(欧州特許第03357218号明細書)は、TSN規格に従うネットワークを利用した産業用ネットワークなどを開示する。
欧州特許第03357218号明細書
 生産現場では、生産される品種や生産工程の変更に伴って、使用される装置や治具が変更されることも多い。このような変更は、段取り替えとも称される。このような段取り替えに伴って、産業用ネットワークに接続されるデバイスも変更されることになる。
 接続されるデバイスが変更された場合であっても、要求された通信性能を維持するための仕組みについては、何ら考慮されていない。
 本技術は、ネットワークに接続されるデバイスが変更されても、要求された通信性能を維持するための仕組みを提供する。
 本技術のある実施の形態に従えば、TSNに従うネットワークにおける通信方法が提供される。通信方法は、ネットワーク上でやり取りされるフレームを定義した通信設定情報と、ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得するステップと、ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、通信設定情報と、能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算するステップと、TSN設定をネットワークに接続されたデバイスに提供するステップとを含む。TSN設定を計算するステップは、ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、TSN設定を計算するステップを含む。
 この構成によれば、例えば、段取り替えなどによってネットワーク構成(デバイスの接続形態)が変更されることが予定されている場合などには、ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報を用いてTSN設定を計算することで、いずれのネットワーク構成においても要求された通信性能を維持できる。
 予め定められた条件が成立すると、TSN設定を計算するステップが開始されてもよい。この構成によれば、ネットワークコントローラなどの管理主体を中心として、TSNに従うネットワークを管理できる。
 ネットワークに接続されたデバイスからのリクエストに応じて、TSN設定を計算するステップが開始されてもよい。この構成によれば、ネットワークに新たにデバイスが接続されることを契機として、最適なTSN設定を計算できる。
 TSN設定を計算するステップは、ネットワーク構成情報に含まれる1つの接続形態について計算された設定情報が、ネットワーク構成情報に含まれる別の接続形態において必要なフレーム転送を実現できるか否かを判断するステップを含んでいてもよい。この構成によれば、ネットワーク構成情報に定義されたデバイスの接続形態のいずれについても要求された通信性能を維持できるTSN設定を計算できる。
 通信方法は、ネットワーク構成情報に定義されたデバイスの接続形態とは異なる接続形態が検出されると、当該異なる接続形態において、必要なフレーム転送を実現できるように、TSN設定を再計算するステップをさらに含んでいてもよい。この構成によれば、当初のTSN設定の計算では考慮されていなかった接続形態に対しても、適切なTSN設定を計算できる。
 通信方法は、再計算されたTSN設定を反映しなければならないと判断されると、当該反映の必要性を通知するステップをさらに含んでいてもよい。この構成によれば、新たなTSN設定を反映する必要性がある場合に、ユーザは、ネットワーク内の影響などを考慮する機会を得ることができる。
 通信方法は、明示的な承認に応答して、再計算されたTSN設定をネットワークに接続されたデバイスに提供するステップをさらに含んでいてもよい。この構成によれば、ユーザなどが明示的に承認した場合に限って、TSN設定が反映されるので、ネットワーク内に生じる意図しない不具合の可能性を低減できる。
 通信方法は、各デバイスが隣接ノード情報を収集するステップと、各デバイスが収集した隣接ノード情報に基づいてネットワークのトポロジを生成するステップと、生成されたトポロジに基づいて、ネットワーク構成情報を更新するステップとをさらに含んでいてもよい。
 本技術の別の実施の形態に従えば、TSNに従うネットワークを含む通信システムが提供される。通信システムは、ネットワークコントローラと、ネットワークに接続される1または複数のデバイスとを含む。ネットワークコントローラは、ネットワーク上でやり取りされるフレームを定義した通信設定情報と、1または複数のデバイスのTSNに係る性能情報を定義した能力情報とを取得する手段と、ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、通信設定情報と、能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する手段と、TSN設定を1または複数のデバイスに提供する手段とを含む。TSN設定を計算する手段は、ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、TSN設定を計算する。
 本技術のさらに別の実施の形態に従えば、TSNに従うネットワークを構成するネットワークコントローラが提供される。ネットワークコントローラは、ネットワーク上でやり取りされるフレームを定義した通信設定情報と、ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得する手段と、ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、通信設定情報と、能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する手段と、TSN設定をネットワークに接続されたデバイスに提供する手段とを含む。TSN設定を計算する手段は、ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、TSN設定を計算する。
 本技術によれば、ネットワークに接続されるデバイスが変更されても、要求された通信性能を維持するための仕組みを提供できる。
本実施の形態に係る制御システムの全体構成の一例を示す模式図である。 本実施の形態に係る制御システムを構成するエンドデバイスのハードウェア構成例を示すブロック図である。 本実施の形態に係る制御システムを構成するスイッチのハードウェア構成例を示すブロック図である。 本実施の形態に係る制御システムを構成するネットワークコントローラのハードウェア構成例を示すブロック図である。 図3に示すスイッチの1つのポートに関するより詳細な構成を示す模式図である。 本実施の形態に係る制御システムにおけるフレーム転送に係る処理の一例を説明するための図である。 本実施の形態に係る制御システムにおける処理の概要を説明するための図である。 本実施の形態に係る制御システムのネットワークコントローラによるトポロジの生成処理の処理手順を示す図である。 本実施の形態に係る制御システムのネットワークコントローラによるトポロジの変化を検出する処理手順を示す図である。 本実施の形態に係る制御システムにおけるPushモードでの処理手順を示す図である。 本実施の形態に係る制御システムにおいて用いられる通信設定情報の一例を示す図である。 本実施の形態に係る制御システムにおけるRequestモードでの処理手順を示す図である。 本実施の形態に係る制御システムにおけるRequestモードでの別の処理手順を示す図である。 本実施の形態に係る制御システムのネットワークコントローラにおけるPushモードでの処理手順を示す図である。 本実施の形態に係る制御システムのネットワークコントローラにおけるRequestモードでの処理手順を示す図である。
 本技術の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰返さない。
 <A.適用例>
 まず、本実施の形態に係る制御システム1の全体構成の一例について説明する。図1は、本実施の形態に係る制御システム1の全体構成の一例を示す模式図である。
 図1に示す制御システム1は、TSNに従うネットワークを含む通信システムの一例である。そのため、制御システム1におけるネットワークに関する処理は、TSNに従うネットワークにおける通信処理に相当する。
 本明細書において、特段の断りがない限り、単に「TSN」との用語は、TSNに従うネットワークを総称する。また、「TSN設定」との用語は、TSNに従うネットワークを実現するために必要な設定を包含する。
 本明細書において、「デバイス」は、TSNに従うネットワークに接続される任意のデバイスを包含する。「デバイス」は、典型的には、エンドデバイスとスイッチとを含み得る。
 制御システム1のTSNには、PLC(プログラマブルコントローラ)などの制御装置が接続されている。ネットワーク接続された制御装置は、エンドデバイスに相当するので、以下の説明では、制御装置を「エンドデバイス」と称する。但し、「エンドデバイス」は、制御装置に限られず、任意のデバイスを含み得る。
 図1に示す制御システム1は、エンドデバイス100-1,100-2,100-3(「エンドデバイス100」と総称することもある。)と、スイッチ200-1,200-2と、ネットワークコントローラ300とを含む。これらの1または複数のデバイスが接続されるネットワークがTSNに相当する。
 エンドデバイス100-1は、リンク20を介して、スイッチ200-1と接続されている。スイッチ200-1とスイッチ200-2との間は、リンク22を介して接続されている。スイッチ200-2には、リンク24を介してエンドデバイス100-2が接続可能であるとともに、リンク26を介してエンドデバイス100-3が接続可能である。
 スイッチ200-1には、リンク28を介して、ネットワークコントローラ300が接続されている。
 エンドデバイス100-2およびエンドデバイス100-3は、段取り替えによって、選択的にスイッチ200-2に接続されるとする。すなわち、図1に示すTSNには、エンドデバイス100-1およびエンドデバイス100-2が接続された状態と、エンドデバイス100-1およびエンドデバイス100-3が接続された状態とが存在し得る。
 エンドデバイス100-1,100-2,100-3の各々は、TSNとは独立したフィールドバス30を有している。フィールドバス30には、1または複数のフィールドデバイス40が接続される。1または複数のフィールドデバイス40は、フィールド信号を取得する入力デバイス、および、エンドデバイス100からの指示に従ってフィールドに対して何らかのアクションを行う出力デバイスあるいはアクチュエータを含む。
 ネットワークコントローラ300は、TSNにおけるフレーム転送を管理する主体であり、リソース割当ておよび可用性を計算することで、フレーム転送の通信スケジュールを決定する。以下では、ネットワークコントローラ300によるリソース割当ておよび可用性の計算を「TSN計算」とも称す。典型的には、ネットワークコントローラ300は、IEEE 802.1 TSNの下位規格であるIEEE 802.1Qccの規定に従って動作してもよい。
 TSNにおいて、各フレームに付与される識別ラベルは、ストリームIDと、ストリーム宛先アドレスと、トラフィッククラスとを含む。ネットワークコントローラ300は、TSN内を転送される各フレームに対して、ユニークなストリームIDを決定するとともに、ストリームIDの各々の転送経路に応じて、ストリーム宛先アドレスおよびトラフィッククラスを決定し、エンドデバイス100およびスイッチ200の各々に対して、TSN設定を提供する。TSN設定は、各ストリームに対する帯域を考慮して決定された通信スケジュールを含む。
 本実施の形態に係る制御システム1においては、ネットワークコントローラ300が適切なリソース割当ておよび可用性の計算を行うことで、段取り替えなどによって、TSNに接続されるデバイスが変更された場合であっても、TSN全体として最適なパフォーマンスを実現できる。
 <B.ハードウェア構成例>
 次に、制御システム1に含まれる各装置のハードウェア構成の一例について説明する。
 (b1:エンドデバイス100(制御装置))
 図2は、本実施の形態に係る制御システム1を構成するエンドデバイス100のハードウェア構成例を示すブロック図である。図2を参照して、エンドデバイス100は、プロセッサ102と、主メモリ104と、ネットワークインターフェイス110と、ストレージ120と、内部バスインターフェイス130と、フィールドバスインターフェイス132と、メモリカードインターフェイス134とを含む。各コンポーネントは、バス138を介して電気的に接続されている。
 プロセッサ102は、CPU(Central Processing Unit)、MPU(Micro-Processing Unit)、GPU(Graphical Processing Unit)などで構成され、ストレージ120に格納された各種プログラムを読み出して、主メモリ104に展開して実行することで、制御装置としての処理を実現する。
 ネットワークインターフェイス110は、TSNを介したデータのやり取り(フレーム伝送)を担当する。より具体的には、ネットワークインターフェイス110は、送受信制御回路112と、送信回路114と、受信回路116とを含む。送受信制御回路112は、ネットワークコントローラ300から予め与えられたTSN設定に従って、送信回路114および受信回路116を制御する。送信回路114は、送受信制御回路112からの指示に従って、TSN上にフレームを送出する。受信回路116は、TSNを介して入来したフレームを受信する。
 ストレージ120には、典型的には、制御装置としての機能を実現するためのシステムプログラム122と、制御装置が実行する制御ロジックを規定したユーザプログラム124とが格納される。
 内部バスインターフェイス130は、エンドデバイス100に搭載されるI/Oユニット140との間でデータをやり取りする。
 フィールドバスインターフェイス132は、フィールドバス30を介したフィールドデバイスとの間でデータをやり取りする。
 メモリカードインターフェイス134は、メモリカード136を着脱可能に構成されており、メモリカード136に対してデータを書込み、メモリカード136から各種データ(ユーザプログラムやトレースデータなど)を読出すことが可能になっている。
 図2には、プロセッサ102がプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードワイヤード回路(例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)など)を用いて実装してもよい。あるいは、エンドデバイス100の主要部を、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコンをベースとした産業用パソコン)を用いて実現してもよい。このように、エンドデバイス100で実行される処理および提供する機能は、プロセッサ、ASIC、FPGAなどを含む処理回路(processing circuitry)で実現してもよい。
 (b2:スイッチ200)
 図3は、本実施の形態に係る制御システム1を構成するスイッチ200のハードウェア構成例を示すブロック図である。図3を参照して、スイッチ200は、送受信制御回路212と、送信回路214-1,214-2,214-3,214-4(以下、「送信回路214」と総称することもある。)と、受信回路216-1,216-2,216-3,216-4(以下、「受信回路216」と総称することもある。)とを含む。送信回路214と受信回路216との組で1つのポートを形成する。なお、図3には、4つのポートを有するスイッチ200を例示するが、ポート数については、特に制限はない。
 送受信制御回路212は、ネットワークコントローラ300から予め与えられたTSN設定に従って、送信回路114および受信回路116を制御する。より具体的には、送受信制御回路212は、転送エンジン218と、キュー220とを含む。
 送受信制御回路212は、プロセッサがファームウェアを実行することで実現してもよいし、ASICやFPGAなどのハードワイヤード回路を用いて実現してもよい。また、送受信制御回路212だけではなく、送信回路114および受信回路116を含む全体を単一のチップで実現してもよい。このように、スイッチ200で実行される処理および提供する機能は、プロセッサ、ASIC、FPGAなどを含む処理回路で実現してもよい。
 (b3:ネットワークコントローラ300)
 図4は、本実施の形態に係る制御システム1を構成するネットワークコントローラ300のハードウェア構成例を示すブロック図である。図4を参照して、ネットワークコントローラ300は、プロセッサ302と、主メモリ304と、ネットワークインターフェイス310と、ストレージ320とを含む。各コンポーネントは、バス338を介して電気的に接続されている。
 プロセッサ302は、CPU、MPU、GPUなどで構成され、ストレージ320に格納された各種プログラムを読み出して、主メモリ304に展開して実行することで、ネットワークコントローラとしての処理を実現する。
 ネットワークインターフェイス310は、TSNを介したデータのやり取り(フレーム伝送)を担当する。より具体的には、ネットワークインターフェイス310は、送受信制御回路312と、送信回路314と、受信回路316とを含む。
 ストレージ320には、典型的には、基本的な処理を実現するためのOS322と、後述するような処理を実現するためのネットワーク設定プログラム324とが格納される。
 図4には、プロセッサ302がプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードワイヤード回路(例えば、ASICやFPGAを用いて実装してもよい。このように、ネットワークコントローラ300で実行される処理および提供する機能は、プロセッサ、ASIC、FPGAなどを含む処理回路(processing circuitry)で実現してもよい。
 <C.TSNを実現するための要部構成>
 次に、本実施の形態に係る制御システム1のTSNを実現するための要部構成について説明する。すなわち、TSNにおいてフレームを送受信するポートの構成例について説明する。
 図5は、図3に示すスイッチ200の1つのポートに関するより詳細な構成を示す模式図である。図5を参照して、各ポートは、送信回路214と受信回路216との組からなる。送信回路214と受信回路216との間には、転送エンジン218およびキュー220が設けられる。
 より具体的には、転送エンジン218は、振分回路224と、タイミング制御回路226とを含む。また、キュー220は、トラフィッククラスの各値に対応付けられた複数のキュー220-1~220-Mを含む。
 振分回路224は、受信回路216を介して受信したフレームのヘッダ情報などに従って、当該フレームをキュー220-1~220-Mのうちいずれかに格納し、あるいは、別のポートの振分回路224へ転送する。また、振分回路224は、別のポートの振分回路224から受信したフレームについても同様の判断および処理を行う。
 振分回路224は、自ポートの送信回路214から送出すべきフレームを受信すると、当該フレームを当該フレームのトラフィッククラスに対応するキュー220へ格納する。このような振分回路224での処理によって、キュー220-1~220-Mには、トラフィッククラス別に分類されたフレームが順次格納されることになる。
 キュー220-1~220-Mの出力側には、ゲート222-1~222-Mがそれぞれ設けられている。ゲート222-1~222-M(以下、「ゲート222」と総称することもある。)の各々は、タイミング制御回路226からの指令に従って開閉する。ゲート222が開くと、対応付けられているキュー220に格納されているフレームが送信回路214から送出される。タイミング制御回路226から複数のゲート222に対して同時に開指令が与えられることはない。すなわち、タイミング制御回路226は、TSN設定に含まれる通信スケジュール228に従って、ゲート222を順次開閉する。これによって、予めTSN計算された通信スケジュールに従って、フレームが転送されることになる。
 なお、エンドデバイス100のポート(ネットワークインターフェイス110)、および、ネットワークコントローラ300のポート(ネットワークインターフェイス310)についても、図5と同様の構成を有している。
 上述したようなトラフィッククラス毎に用意されたキュー220へのフレームの格納、および、トラフィッククラス毎に用意されたキュー220からのフレームの送出を制御することで、TSNにおけるリアルタイムなフレーム転送を実現できる。
 <D.概要>
 次に、本実施の形態に係る制御システム1のTSNにおける処理の概要について説明する。
 図6は、本実施の形態に係る制御システム1におけるフレーム転送に係る処理の一例を説明するための図である。図6(A)に示すように、エンドデバイス100-1からエンドデバイス100-2およびエンドデバイス100-3に対してフレームを送信する場合を想定する。
 経路途中には、スイッチ200-1およびスイッチ200-2が存在する。図5を参照して説明したように、エンドデバイス100およびスイッチ200は、ゲート222のタイミングの開閉タイミングを制御することで、リアルタイムなフレーム転送を実現する。
 ゲート222の開閉時間および開閉タイミングは、典型的には、フレームの送信処理に要する送信時間とフレームの伝搬遅延時間とに基づいて算出される。送信時間は、送出されるフレームの大きさ(フレームサイズ)に応じて算出される。伝搬遅延時間は、転送経路の長さに応じて変化する。一般的には、伝搬遅延時間は、任意のフレームを送信したときに計測された値が用いられる。
 図6(B)には、図6(A)に示すネットワーク構成におけるゲート222のタイミングの一例を示す。図6(B)に示すタイムチャートにおいて、上側にある区間がゲート222の開状態を意味する。
 エンドデバイス100-1のゲート222が開いた後、フレームがスイッチ200-1に伝送される。スイッチ200-1のゲート222は、エンドデバイス100-1からのフレームが到着してキュー220に格納される時間を反映した時間だけ遅れて開くことになる。スイッチ200-1のゲート222が開いた後、フレームがスイッチ200-2に伝送される。
 スイッチ200-2のポート1には、エンドデバイス100-2が接続されており、スイッチ200-2のポート2には、エンドデバイス100-3が接続されている。例えば、スイッチ200-2のポート1に接続されたエンドデバイス100-2までの伝搬遅延時間と、スイッチ200-2のポート2に接続されたエンドデバイス100-3までの伝搬遅延時間との間に差があるとする。このような場合には、スイッチ200-2のポート1に対応するゲート222の開くタイミングとスイッチ200-2のポート2に対応するゲート222の開くタイミングとの間には、所定の時間差が生じることになる。
 図7は、本実施の形態に係る制御システム1における処理の概要を説明するための図である。図7(A)には、スイッチ200-2のポート1にエンドデバイス100-2が接続されている状態を示し、図7(B)には、スイッチ200-2のポート2にエンドデバイス100-3が接続されている状態を示す。
 図7(C)を参照して、図7(A)に示すようなエンドデバイス100-2のみが接続されている状態におけるポートの開時間と、図7(B)に示すようなエンドデバイス100-3のみが接続されている状態におけるポートの開時間との間では、長さかタイミングが異なる場合がある。
 スイッチ200-2にエンドデバイス100-2とエンドデバイス100-3との両方が接続された状態においては、どちらか一方のみが接続された状態とも含むように、ポートの開時間が設定される。
 例えば、TSNにすべてのデバイスが接続されていない状態で、ネットワークコントローラ300がTSN計算を行った後に、新たなデバイスが接続された場合や、段取り替えなどによって、ネットワーク構成が変更される場合もある。このような場合において、最初のTSN計算が変更後のネットワーク構成を考慮したものでなければ、TSN計算を再度行う必要が生じる。
 そこで、本実施の形態に係る制御システム1は、いずれのネットワーク構成であっても適切なフレーム転送ができるように、TSN計算を行う。このようなTSN計算を行うことで、TSNを動作させながら、ネットワーク構成を任意に変更できる。すなわち、想定されるネットワーク構成の間で最悪値を考慮して、ゲートの開閉時間や帯域を確保できるようなTSN計算を行う。
 <E.処理手順>
 次に、本実施の形態に係る制御システム1における処理手順の一例について説明する。
 図8は、本実施の形態に係る制御システム1のネットワークコントローラ300によるトポロジの生成処理の処理手順を示す図である。図8に示すような処理手順によって生成されたトポロジからネットワーク構成情報に含まれるデバイスの接続形態の候補が決定される。
 図8を参照して、TSNに接続されているエンドデバイス100およびスイッチ200の各々は、自ノードの情報を隣接するノードへアドバタイズしている。自ノードの情報のアドバタイズは、例えば、IEEE 802.1ABとして定義されたLLDP(Link Layer Discovery Protocol)などのプロトコルを用いることができる。
 まず、TSNに接続されているエンドデバイス100およびスイッチ200の各々は、隣接ノード情報を取得する((1)隣接ノード情報取得)。隣接ノード情報は、接続されたエンドデバイス100および/またはスイッチ200がアドバタイズする情報を収集することで取得される。
 続いて、ネットワークコントローラ300は、エンドデバイス100およびスイッチ200の各々から隣接ノード情報を収集する((2)隣接ノード情報収集)。なお、隣接ノード情報の収集には、SNMP(Simple Network Management Protocol)やNETCONFなどのプロトコルを用いてもよい。
 そして、ネットワークコントローラ300は、収集した隣接ノード情報に基づいて、TSNのトポロジを生成する((3)トポロジ生成)。このように、ネットワークコントローラ300は、各デバイスが収集した隣接ノード情報に基づいてTSNのトポロジを生成する。
 さらに、ネットワークコントローラ300は、先に生成したトポロジが存在する場合には、当該先に生成したトポロジと今回生成したトポロジとを照合する((4)トポロジ照合)。なお、トポロジ照合により、TSNのトポロジの変化が検出されると、デバイスの新たな接続形態としてネットワーク構成情報に追加してもよい。すなわち、ネットワークコントローラ300は、生成されたトポロジに基づいて、ネットワーク構成情報を更新してもよい。
 以上のような手順に従って、ネットワークコントローラ300によりトポロジが生成される。
 図9は、本実施の形態に係る制御システム1のネットワークコントローラ300によるトポロジの変化を検出する処理手順を示す図である。図9を参照して、図8と同様に、TSNに接続されているエンドデバイス100およびスイッチ200の各々は、自ノードの情報を隣接するノードへアドバタイズしている。
 まず、図9(A)を参照して、TSNに接続されているスイッチ200-2は、エンドデバイス100-2からアドバタイズされた情報を検出すると、当該検出された情報を用いて隣接ノード情報を更新する((1)隣接ノード情報更新)。そして、スイッチ200-2は、更新後の隣接ノード情報をネットワークコントローラ300へ通知する((2)隣接ノード情報通知)。
 図9(B)を参照して、TSNに接続されているスイッチ200-2は、エンドデバイス100-3からアドバタイズされた情報をさらに検出すると、当該検出された情報を用いて隣接ノード情報を更新する((1)隣接ノード情報更新)。そして、スイッチ200-2は、更新後の隣接ノード情報をネットワークコントローラ300へ通知する((2)隣接ノード情報通知)。
 ネットワークコントローラ300への更新後の隣接ノード情報の通知は、例えば、SNMPを採用している場合には、SNMPトラップを用いることができる。また、NETCONFを採用している場合には、NETCONF Event Notificationsを用いることができる。
 以上のような手順に従って、TSN(トポロジ)の変更などが検出される。
 次に、ネットワークコントローラ300からエンドデバイス100およびスイッチ200の各々に対してTSN設定を提供する処理手順のいくつかについて説明する。例えば、TSNを利用してデバイス間でデータ通信を行うための通信スタックとして、IEC62541として国際標準化されているOPC UA(OPC Unified Architecture)を利用する場合を想定する。TSNとOPC UAとの組み合わせは、「OPC UA over TSN」などとも称される。
 ネットワークコントローラ300とエンドデバイス100との間の典型的なデータ通信方法として、「Push」モードと「Request」モードとがある。
 以下では、データ通信方法の種別に応じて、それぞれのモードにおける処理手順の例を示す。なお、説明の簡素化のため、1つのスイッチ200のみがTSNに存在するとしている。
 図10は、本実施の形態に係る制御システム1におけるPushモードでの処理手順を示す図である。図10を参照して、ネットワークコントローラ300は、ネットワーク構成情報および通信設定情報をロードする((1)ネットワーク構成情報および通信設定情報のロード)。
 ネットワーク構成情報は、段取り替えによって生じるすべてのネットワーク構成(段取り替えの各状態)を含む。すなわち、ネットワーク構成情報は、TSNに生じ得るデバイスの接続形態の定義を1または複数含む。例えば、ネットワーク構成情報は、図7(A)に示されるネットワーク構成と、図7(B)に示されるネットワーク構成との両方を含んでいてもよい。
 通信設定情報は、TSN上でやり取りされるフレームを定義した情報を含む。典型的には、通信設定情報は、エンドデバイス100間でやり取りされるフレームの定義を含む。
 図11は、本実施の形態に係る制御システム1において用いられる通信設定情報の一例を示す図である。図11には、任意のエンドデバイス100に対する通信設定情報の一例を示す。図11を参照して、通信設定情報は、例えば、送信および受信の別を示す情報と、送信先または送信元を示す情報と、データサイズと、周期とを含む。図11に示す通信設定情報は、エンドデバイス100毎に定義される。
 各エンドデバイス100の通信設定情報を参照することで、TSNにおいて確保しなければならない帯域などを決定できる。
 再度図10を参照して、エンドデバイス100の各々は、自デバイス用の通信設定情報をロードする((2)通信設定のロード)。通信設定情報については、図11に示すものと同様である。
 続いて、ネットワークコントローラ300は、エンドデバイス100およびスイッチ200の各々からTSN能力情報を収集する((3)TSN能力情報収集)。TSN能力情報は、TSNに接続されるデバイスのTSNに係る性能情報を定義した情報である。例えば、TSN能力情報は、転送レート、対応可能なトラフィッククラス数、ポート数などの情報を含む。
 そして、ネットワークコントローラ300は、ネットワーク構成情報および通信設定情報、ならびに、収集したTSN能力情報に基づいて、TSN計算を行う((4)TSN計算)。TSN計算においては、やり取りされるフレーム毎にストリームが決定されるとともに、各ストリーム(フレーム)に対する帯域を考慮して、通信スケジュールを決定する。このとき、段取り替えによって生じるすべてのネットワーク構成を考慮して、いずれのネットワーク構成になった場合であっても、フレーム転送を継続できるように、通信スケジュールが決定される。
 最終的に、ネットワークコントローラ300は、TSN計算によって決定されたTSN設定をエンドデバイス100およびスイッチ200にそれぞれ提供する((5)TSN設定)。
 エンドデバイス100およびスイッチ200の各々は、ネットワークコントローラ300からのTSN設定に従って、通信スケジュール228を決定および有効化する((6)通信スケジュール)。
 以上のような手順に従って、TSNに含まれるエンドデバイス100およびスイッチ200に対して通信スケジュールが反映される。
 図12は、本実施の形態に係る制御システム1におけるRequestモードでの処理手順を示す図である。図12に示す処理手順は、段取り替えで着脱される予定のエンドデバイス100のすべてをTSNに接続した状態で実行される。すなわち、TSNに接続された状態がネットワーク構成の変更内容を意味することになる。
 図12を参照して、エンドデバイス100の各々は、自デバイス用の通信設定情報をロードする((1)通信設定のロード)。通信設定情報については、図11に示すものと同様である。そして、エンドデバイス100の各々は、TSN設定の提供するためのTSN計算をネットワークコントローラ300へリクエストする((2)TSN計算リクエスト)。このとき、エンドデバイス100の各々から送信されるTSN計算リクエストは、通信設定情報およびTSN能力情報を含む。
 ネットワークコントローラ300は、TSN計算リクエストに応答して、ネットワーク構成情報をロードする((3)ネットワーク構成情報のロード)。ロードされるネットワーク構成情報は、段取り替えの各状態を含む。すなわち、ネットワーク構成情報は、段取り替えによって生じるすべてのネットワーク構成を含む。続いて、ネットワークコントローラ300は、スイッチ200の各々からTSN能力情報を収集する((4)TSN能力情報収集)。
 ネットワークコントローラ300は、エンドデバイス100からのTSN計算リクエスト(通信設定情報およびTSN能力情報を含む)と、スイッチ200からのTSN能力情報と、ネットワーク構成情報とに基づいて、TSN計算を行う((5)TSN計算)。このとき、段取り替えによって生じるすべてのネットワーク構成を考慮して、いずれのネットワーク構成になった場合であっても、フレーム転送を継続できるように、通信スケジュールが決定される。
 最終的に、ネットワークコントローラ300は、TSN計算によって決定されたTSN設定をエンドデバイス100およびスイッチ200にそれぞれ提供する((6)TSN設定)。
 エンドデバイス100およびスイッチ200の各々は、ネットワークコントローラ300からのTSN設定に従って、通信スケジュール228を決定および有効化する((7)通信スケジュール)。
 以上のような手順に従って、TSNに含まれるエンドデバイス100およびスイッチ200に対して通信スケジュールが反映される。
 <F.未登録デバイス>
 上述したように、段取り替えによって生じるすべてのネットワーク構成を考慮してTSN設定が計算されるが、新たなエンドデバイスがTSNに接続される可能性もある。この場合には、TSN設定の計算が再度行われる。但し、再計算前のTSN設定から変更される場合もあるので、ユーザなどに通知するようにしてもよい。
 図13は、本実施の形態に係る制御システム1におけるRequestモードでの別の処理手順を示す図である。図13には、エンドデバイス100-4が新たにTSNに接続した場合を示す。Requestモードでは、エンドデバイス100は、ネットワークコントローラ300に対してTSN計算をリクエストするので、ネットワークコントローラ300は、登録されていない新たなエンドデバイス100のTSNへの接続を検出できる。
 図13を参照して、新たにTSNに接続したエンドデバイス100-4は、自デバイス用の通信設定情報をロードする((1)通信設定のロード)。そして、エンドデバイス100-4は、TSN設定の提供するためのTSN計算をネットワークコントローラ300へリクエストする((2)TSN計算リクエスト)。
 ネットワークコントローラ300は、TSN計算リクエストに応答して、ネットワーク構成情報をロードする((3)ネットワーク構成情報のロード)。そして、ネットワークコントローラ300は、エンドデバイス100-4からのTSN計算リクエスト(通信設定情報およびTSN能力情報を含む)と、先のTSN計算で使用した情報とに基づいて、TSN計算を行う((4)TSN計算)。このように、ネットワークコントローラ300は、ネットワーク構成情報に定義されたデバイスの接続形態とは異なる接続形態が検出されると、当該異なる接続形態において、必要なフレーム転送を実現できるように、TSN設定を再計算する処理を実行する。
 そして、ネットワークコントローラ300は、TSN計算において、再計算前のTSN設定(既存のTSN設定)のまま運用できるか否かを判断する。そして、TSN設定を再設定する必要がある場合には、ユーザなどに対して、再設定必要な旨を通知する((5)再設定必要の通知)。このように、ネットワークコントローラ300は、再計算されたTSN設定を反映しなければならないと判断されると、当該反映の必要性を通知する処理を実行する。
 ユーザなどから承認を受けると((6)承認)、ネットワークコントローラ300は、TSN計算によって決定されたTSN設定をエンドデバイス100-4に提供する((7-1)TSN設定)とともに、TSN計算によって決定されたTSN設定を既存のエンドデバイス100およびスイッチの各々に提供して、リスタートを指示する((7-2)TSN設定+リスタート)。このように、ネットワークコントローラ300は、明示的な承認に応答して、再計算されたTSN設定をTSNに接続されたデバイスに提供する処理を実行する。
 エンドデバイス100およびスイッチ200の各々は、ネットワークコントローラ300からのTSN設定に従って、通信スケジュール228を決定および有効化する((8)通信スケジュール)。
 以上のような手順に従って、新たなエンドデバイス100がTSNに接続した場合においても、新たな通信スケジュールが反映される。
 図13に示すように、Requestモードにおいて、エンドデバイス100がTSNに接続すると、TSN計算リクエストがネットワークコントローラ300へ送信されるので、当該接続したエンドデバイス100が未登録であるか否かを判断できる。
 ネットワークコントローラ300は、未登録のエンドデバイス100がTSNに接続したことで、他のエンドデバイス100が使用する帯域や通信スケジュールを変更する必要があるか否か、すなわち、他のエンドデバイス100に割当てられている帯域や通信スケジュールへの影響が許容範囲内であるか否かを判断する。帯域または通信スケジュールへの影響が許容範囲内でなければ、ネットワークコントローラ300は、ユーザなどに対して、TSN設定の再設定に対する承認を受けるようにする。ユーザなどから承認が得られると、TSNに接続するエンドデバイス100およびスイッチ200は、新たなTSN設定に従ってリスタートし、初期シーケンスが再度実行される。
 なお、帯域または通信スケジュールへの影響が許容範囲内であれば、新たにTSNに接続したエンドデバイス100-4に対してのみTSN設定が提供される。
 なお、ユーザなどへの通知方法としては、OPC UAのサブスクリプションを利用する方法などを用いてもよい。
 <G.ネットワークコントローラにおける処理手順>
 次に、本実施の形態に係る制御システム1のネットワークコントローラ300における処理手順について説明する。
 図14は、本実施の形態に係る制御システム1のネットワークコントローラ300におけるPushモードでの処理手順を示す図である。図14に示す各ステップは、典型的には、ネットワークコントローラ300のプロセッサ302がネットワーク設定プログラム324を実行することで実現される。図14に示されるPushモードにおいては、予め定められた条件が成立すると、TSN設定を計算する処理が開始される。
 図14を参照して、ネットワークコントローラ300は、TSN計算の開始条件が成立すると(ステップS100においてYES)、対象のTSNに係るネットワーク構成情報を取得する(ステップS102)とともに、各エンドデバイス100の通信設定情報およびTSN能力情報を取得する(ステップS104)。すなわち、ネットワークコントローラ300は、TSN上でやり取りされるフレームを定義した通信設定情報と、TSNに接続されるデバイスのTSNに係る性能情報を定義したTSN能力情報とを取得する処理を実行する。
 ネットワークコントローラ300は、ネットワーク構成情報に含まれる1つのTSN構成を選択し(ステップS106)、ストリームの設定、各ストリームに対する帯域の割当て、通信スケジュールの決定などを含むTSN計算を行う(ステップS108)。すなわち、ネットワークコントローラ300は、ネットワーク構成情報と、通信設定情報と、TSN能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する処理実行する。そして、ネットワークコントローラ300は、TSN計算により決定されたTSN設定を現在のTSN設定とする。
 続いて、ネットワークコントローラ300は、以下のような手順により、ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、TSN設定を計算あるいは更新する。
 ネットワークコントローラ300は、ネットワーク構成情報に含まれる別のTSN構成を選択し(ステップS110)、ストリームの設定、各ストリームに対する帯域の割当て、通信スケジュールの決定などを含むTSN計算を行う(ステップS112)。
 そして、ネットワークコントローラ300は、今回のTSN計算によって決定されたTSN設定に基づいて、現在のTSN設定では必要なフレーム転送ができない項目が存在するか否かを判断する(ステップS114)。
 現在のTSN設定では必要なフレーム転送ができない項目が存在すれば(ステップS114においてYES)、ネットワークコントローラ300は、現在のTSN設定のうち必要なフレーム転送ができない項目の値を、今回のTSN計算によって決定されたTSN設定の対応する項目の値に変更する(ステップS116)。ネットワークコントローラ300は、変更後のTSN設定を新たな現在のTSN設定とする。
 このように、ネットワークコントローラ300は、ネットワーク構成情報に含まれる1つの接続形態について計算された設定情報が、ネットワーク構成情報に含まれる別の接続形態において必要なフレーム転送を実現できるか否かを判断する処理を実行する。
 現在のTSN設定で必要なフレーム転送ができれば(ステップS114においてNO)、ステップS116の処理はスキップされる。
 続いて、ネットワークコントローラ300は、ネットワーク構成情報に含まれるすべてのTSN構成の選択が完了したか否かを判断する(ステップS118)。
 ネットワーク構成情報に含まれるすべてのTSN構成の選択が完了していなければ(ステップS118においてNO)、ステップS110以下の処理が繰返される。
 ネットワーク構成情報に含まれるすべてのTSN構成の選択が完了していれば(ステップS118においてYES)、ネットワークコントローラ300は、エンドデバイス100およびスイッチ200の各々に対して、現在のTSN設定を送信する(ステップS120)。すなわち、ネットワークコントローラ300は、TSN設定をTSNに接続されたデバイスに提供する処理を実行する。
 以上により、ネットワークコントローラ300によるTSN計算が完了する。
 図15は、本実施の形態に係る制御システム1のネットワークコントローラ300におけるRequestモードでの処理手順を示す図である。図15に示す各ステップは、典型的には、ネットワークコントローラ300のプロセッサ302がネットワーク設定プログラム324を実行することで実現される。図15に示されるRequestモードにおいては、TSNに接続されたデバイスからのリクエストに応じて、TSN設定を計算する処理が開始される。
 図15を参照して、ネットワークコントローラ300は、TSN計算リクエストを受信すると(ステップS200においてYES)、TSN計算リクエストに含まれる通信設定情報およびTSN能力情報を取得する(ステップS202)とともに、対象のTSNに係るネットワーク構成情報を取得する(ステップS204)。すなわち、ネットワークコントローラ300は、TSN上でやり取りされるフレームを定義した通信設定情報と、TSNに接続されるデバイスのTSNに係る性能情報を定義したTSN能力情報とを取得する処理を実行する。
 ネットワークコントローラ300は、ネットワーク構成情報に含まれる1つのTSN構成を選択し(ステップS206)、ストリームの設定、各ストリームに対する帯域の割当て、通信スケジュールの決定などを含むTSN計算を行う(ステップS208)。すなわち、ネットワークコントローラ300は、ネットワーク構成情報と、通信設定情報と、TSN能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する処理実行する。そして、ネットワークコントローラ300は、TSN計算により決定されたTSN設定を現在のTSN設定とする。
 続いて、ネットワークコントローラ300は、以下のような手順により、ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、TSN設定を計算あるいは更新する。
 ネットワークコントローラ300は、ネットワーク構成情報に含まれる別のTSN構成を選択し(ステップS210)、ストリームの設定、各ストリームに対する帯域の割当て、通信スケジュールの決定などを含むTSN計算を行う(ステップS212)。
 そして、ネットワークコントローラ300は、今回のTSN計算によって決定されたTSN設定に基づいて、現在のTSN設定では必要なフレーム転送ができない項目が存在するか否かを判断する(ステップS214)。
 現在のTSN設定では必要なフレーム転送ができない項目が存在すれば(ステップS214においてYES)、ネットワークコントローラ300は、現在のTSN設定のうち必要なフレーム転送ができない項目の値を、今回のTSN計算によって決定されたTSN設定の対応する項目の値に変更する(ステップS216)。ネットワークコントローラ300は、変更後のTSN設定を新たな現在のTSN設定とする。
 このように、ネットワークコントローラ300は、ネットワーク構成情報に含まれる1つの接続形態について計算された設定情報が、ネットワーク構成情報に含まれる別の接続形態において必要なフレーム転送を実現できるか否かを判断する処理を実行する。
 現在のTSN設定で必要なフレーム転送ができれば(ステップS214においてNO)、ステップS216の処理はスキップされる。
 続いて、ネットワークコントローラ300は、ネットワーク構成情報に含まれるすべてのTSN構成の選択が完了したか否かを判断する(ステップS218)。
 ネットワーク構成情報に含まれるすべてのTSN構成の選択が完了していなければ(ステップS218においてNO)、ステップS210以下の処理が繰返される。
 ネットワーク構成情報に含まれるすべてのTSN構成の選択が完了していれば(ステップS218においてYES)、ネットワークコントローラ300は、エンドデバイス100およびスイッチ200の各々に対して、現在のTSN設定を送信する(ステップS220)。すなわち、ネットワークコントローラ300は、TSN設定をTSNに接続されたデバイスに提供する処理を実行する。
 以上により、ネットワークコントローラ300によるTSN計算が完了する。
 <H.付記>
 上述したような本実施の形態は、以下のような技術思想を含む。
 [構成1]
 TSN(Time Sensitive Networking)に従うネットワークにおける通信方法であって、
 前記ネットワーク上でやり取りされるフレームを定義した通信設定情報と、前記ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得するステップ(S104;S204)と、
 前記ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、前記通信設定情報と、前記能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算するステップ(S106~S118;S206~S218)と、
 前記TSN設定を前記ネットワークに接続されたデバイスに提供するステップ(S120;S220)とを備え、
 前記TSN設定を計算するステップは、前記ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、前記TSN設定を計算するステップ(S110~S118;S210~S218)を含む、通信方法。
 [構成2]
 予め定められた条件が成立すると、前記TSN設定を計算するステップが開始される、構成1に記載の通信方法。
 [構成3]
 前記ネットワークに接続されたデバイスからのリクエストに応じて、前記TSN設定を計算するステップが開始される、構成1に記載の通信方法。
 [構成4]
 前記TSN設定を計算するステップは、前記ネットワーク構成情報に含まれる1つの接続形態について計算された設定情報が、前記ネットワーク構成情報に含まれる別の接続形態において必要なフレーム転送を実現できるか否かを判断するステップ(S114;S214)を含む、構成1~3のいずれか1項に記載の通信方法。
 [構成5]
 前記ネットワーク構成情報に定義されたデバイスの接続形態とは異なる接続形態が検出されると、当該異なる接続形態において、必要なフレーム転送を実現できるように、前記TSN設定を再計算するステップをさらに備える、構成1~4のいずれか1項に記載の通信方法。
 [構成6]
 前記再計算されたTSN設定を反映しなければならないと判断されると、当該反映の必要性を通知するステップをさらに備える、構成5に記載の通信方法。
 [構成7]
 明示的な承認に応答して、前記再計算されたTSN設定を前記ネットワークに接続されたデバイスに提供するステップをさらに備える、構成6に記載の通信方法。
 [構成8]
 各デバイスが隣接ノード情報を収集するステップと、
 各デバイスが収集した隣接ノード情報に基づいて前記ネットワークのトポロジを生成するステップと、
 前記生成されたトポロジに基づいて、前記ネットワーク構成情報を更新するステップとをさらに備える、構成1~7のいずれか1項に記載の通信方法。
 [構成9]
 TSN(Time Sensitive Networking)に従うネットワークを含む通信システム(1)であって、
 ネットワークコントローラ(300)と、
 前記ネットワークに接続される1または複数のデバイス(100,200)とを備え、
 前記ネットワークコントローラは、
  前記ネットワーク上でやり取りされるフレームを定義した通信設定情報と、前記1または複数のデバイスのTSNに係る性能情報を定義した能力情報とを取得する手段(S104;S204)と、
  前記ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、前記通信設定情報と、前記能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する手段(S106~S118;S206~S218)と、
  前記TSN設定を前記1または複数のデバイスに提供する手段(S120;S220)とを備え、
 前記TSN設定を計算する手段は、前記ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、前記TSN設定を計算する、通信システム。
 [構成10]
 TSN(Time Sensitive Networking)に従うネットワークを構成するネットワークコントローラ(300)であって、
 前記ネットワーク上でやり取りされるフレームを定義した通信設定情報と、前記ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得する手段(S104;S204)と、
 前記ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、前記通信設定情報と、前記能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する手段(S106~S118;S206~S218)と、
 前記TSN設定を前記ネットワークに接続されたデバイスに提供する手段(S120;S220)とを備え、
 前記TSN設定を計算する手段は、前記ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、前記TSN設定を計算する、通信装置。
 <I.利点>
 本実施の形態に係る通信制御システムによれば、段取り替えなどによってネットワーク構成(デバイスの接続形態)が変更されることが予定されている場合などには、ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報を用いてTSN設定を計算するので、いずれのネットワーク構成においても要求された通信性能を維持できる。そのため、段取り替えが生じても、要求された通信性能および制御性能を維持できる。
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 1 制御システム、20,22,24,26,28 リンク、30 フィールドバス、40 フィールドデバイス、100 エンドデバイス、102,302 プロセッサ、104,304 主メモリ、110,310 ネットワークインターフェイス、112,212,312 送受信制御回路、114,214,314 送信回路、116,216,316 受信回路、120,320 ストレージ、122 システムプログラム、124 ユーザプログラム、130 内部バスインターフェイス、132 フィールドバスインターフェイス、134 メモリカードインターフェイス、136 メモリカード、138,338 バス、140 I/Oユニット、200 スイッチ、218 転送エンジン、220 キュー、222 ゲート、224 振分回路、226 タイミング制御回路、228 通信スケジュール、300 ネットワークコントローラ、322 OS、324 ネットワーク設定プログラム。

Claims (10)

  1.  TSN(Time Sensitive Networking)に従うネットワークにおける通信方法であって、
     前記ネットワーク上でやり取りされるフレームを定義した通信設定情報と、前記ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得するステップと、
     前記ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、前記通信設定情報と、前記能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算するステップと、
     前記TSN設定を前記ネットワークに接続されたデバイスに提供するステップとを備え、
     前記TSN設定を計算するステップは、前記ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、前記TSN設定を計算するステップを含む、通信方法。
  2.  予め定められた条件が成立すると、前記TSN設定を計算するステップが開始される、請求項1に記載の通信方法。
  3.  前記ネットワークに接続されたデバイスからのリクエストに応じて、前記TSN設定を計算するステップが開始される、請求項1に記載の通信方法。
  4.  前記TSN設定を計算するステップは、前記ネットワーク構成情報に含まれる1つの接続形態について計算された設定情報が、前記ネットワーク構成情報に含まれる別の接続形態において必要なフレーム転送を実現できるか否かを判断するステップを含む、請求項1~3のいずれか1項に記載の通信方法。
  5.  前記ネットワーク構成情報に定義されたデバイスの接続形態とは異なる接続形態が検出されると、当該異なる接続形態において、必要なフレーム転送を実現できるように、前記TSN設定を再計算するステップをさらに備える、請求項1~4のいずれか1項に記載の通信方法。
  6.  前記再計算されたTSN設定を反映しなければならないと判断されると、当該反映の必要性を通知するステップをさらに備える、請求項5に記載の通信方法。
  7.  明示的な承認に応答して、前記再計算されたTSN設定を前記ネットワークに接続されたデバイスに提供するステップをさらに備える、請求項6に記載の通信方法。
  8.  各デバイスが隣接ノード情報を収集するステップと、
     各デバイスが収集した隣接ノード情報に基づいて前記ネットワークのトポロジを生成するステップと、
     前記生成されたトポロジに基づいて、前記ネットワーク構成情報を更新するステップとをさらに備える、請求項1~7のいずれか1項に記載の通信方法。
  9.  TSN(Time Sensitive Networking)に従うネットワークを含む通信システムであって、
     ネットワークコントローラと、
     前記ネットワークに接続される1または複数のデバイスとを備え、
     前記ネットワークコントローラは、
      前記ネットワーク上でやり取りされるフレームを定義した通信設定情報と、前記1または複数のデバイスのTSNに係る性能情報を定義した能力情報とを取得する手段と、
      前記ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、前記通信設定情報と、前記能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する手段と、
      前記TSN設定を前記1または複数のデバイスに提供する手段とを備え、
     前記TSN設定を計算する手段は、前記ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、前記TSN設定を計算する、通信システム。
  10.  TSN(Time Sensitive Networking)に従うネットワークを構成するネットワークコントローラであって、
     前記ネットワーク上でやり取りされるフレームを定義した通信設定情報と、前記ネットワークに接続されるデバイスのTSNに係る性能情報を定義した能力情報とを取得する手段と、
     前記ネットワークに生じ得るデバイスの接続形態を1または複数定義したネットワーク構成情報と、前記通信設定情報と、前記能力情報とに基づいて、各デバイスにおけるフレームの通信スケジュールを含むTSN設定を計算する手段と、
     前記TSN設定を前記ネットワークに接続されたデバイスに提供する手段とを備え、
     前記TSN設定を計算する手段は、前記ネットワーク構成情報に含まれる接続形態のいずれにおいても必要なフレーム転送を実現できるように、前記TSN設定を計算する、通信装置。
PCT/JP2021/034674 2021-03-01 2021-09-22 通信方法、通信システムおよび通信装置 WO2022185585A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021031632A JP2022132907A (ja) 2021-03-01 2021-03-01 通信方法、通信システムおよび通信装置
JP2021-031632 2021-03-01

Publications (1)

Publication Number Publication Date
WO2022185585A1 true WO2022185585A1 (ja) 2022-09-09

Family

ID=83155247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/034674 WO2022185585A1 (ja) 2021-03-01 2021-09-22 通信方法、通信システムおよび通信装置

Country Status (2)

Country Link
JP (1) JP2022132907A (ja)
WO (1) WO2022185585A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117098004A (zh) * 2023-10-17 2023-11-21 深圳市迈拓诚悦科技有限公司 网络通讯设备的安装装置及其网络通讯设备

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019068387A (ja) * 2017-10-05 2019-04-25 オムロン株式会社 通信システム、通信装置および通信方法
WO2019166081A1 (en) * 2018-02-28 2019-09-06 Nokia Technologies Oy Transparent integration of 3gpp network into tsn based industrial network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019068387A (ja) * 2017-10-05 2019-04-25 オムロン株式会社 通信システム、通信装置および通信方法
WO2019166081A1 (en) * 2018-02-28 2019-09-06 Nokia Technologies Oy Transparent integration of 3gpp network into tsn based industrial network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117098004A (zh) * 2023-10-17 2023-11-21 深圳市迈拓诚悦科技有限公司 网络通讯设备的安装装置及其网络通讯设备
CN117098004B (zh) * 2023-10-17 2023-12-26 深圳市迈拓诚悦科技有限公司 网络通讯设备的安装装置及其网络通讯设备

Also Published As

Publication number Publication date
JP2022132907A (ja) 2022-09-13

Similar Documents

Publication Publication Date Title
US20200145334A1 (en) Communication system, communication device, controller, and method and program for controlling forwarding path of packet flow
US8462747B2 (en) High performance wireless networks using distributed control and switch-stack paradigm
Wang et al. Time-utility function-driven switched ethernet: Packet scheduling algorithm, implementation, and feasibility analysis
US6868097B1 (en) Communication network, and master device, slave device, multiplexer and switch constituting the communication network
WO2019148960A1 (zh) 一种数据分析装置、系统及方法
CN104081731A (zh) 网络系统以及管理拓扑的方法
JP7393530B2 (ja) パケット転送方法、デバイス、およびシステム
KR101477012B1 (ko) Sdn 스위칭 방법, 장치, 시스템 및 컴퓨터 판독 가능한 기록 매체
US20140122668A1 (en) Method and a controller device for configuring a software-defined network
WO2022185585A1 (ja) 通信方法、通信システムおよび通信装置
US8411693B2 (en) Method for controlling electric power of electric power controller, LRWPAN-ethernet bridge and sensor node
JP6211998B2 (ja) 中継装置、中継方法、およびコンピュータ・プログラム
US20020181412A1 (en) Communication device, network system using same, and method of constructing spanning tree
WO2022151420A1 (zh) 一种数据包传输的方法、装置和系统
RU2577194C1 (ru) Система связи, устройство управления, устройство связи, способ ретрансляции информации и программа
CN1321512C (zh) 管理包括多于两个无线设备的无线链路的通信网络的方法
Moorthy et al. OSWireless: Enhancing automation for optimizing intent-driven software-defined wireless networks
CN111211977A (zh) 一种支持外界多异构信道连接的舰船通信方法及系统
JP2013135313A (ja) 無線通信装置、無線通信プログラムおよび無線通信方法
TW202010293A (zh) 使用中央學習來處理網路交換器堆疊系統的多個轉送資料庫同步的方法
WO2022113216A1 (ja) 制御装置、リソース割当方法、及びプログラム
WO2019069401A1 (ja) ネットワーク管理システムおよびネットワーク管理方法
WO2022185587A1 (ja) 通信方法、通信システムおよびスイッチ
WO2022185586A1 (ja) 通信方法、通信システムおよびネットワークコントローラ
JP5915755B2 (ja) 情報処理装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21929148

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21929148

Country of ref document: EP

Kind code of ref document: A1