NETWORK MANAGEMENT DEVICE, MANAGEMENT PROCEDURE, MANAGEMENT PROGRAM AND RECORDING MEDIUM

DE602020064068T2Active Publication Date: 2025-12-17OMRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602020064068
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-03-26
Filing Date
2020-02-27
Publication Date
2025-12-17
Estimated Expiration
2040-02-27

AI Technical Summary

Technical Problem

Existing network synchronization techniques fail to accurately account for extended transmission delays due to long distances or moving slave devices, leading to delayed reaction times and synchronization issues in industrial networks.

Method used

A management device and method that allows flexible setting of task cycles based on predicted and measured transmission delay times, using a management program to adjust network settings and ensure timely responses from slave devices.

Benefits of technology

Enables precise synchronization by correcting task cycles to match actual transmission delays, preventing delayed responses and ensuring reliable operation of slave devices.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a management device that manages a network including nodes such as a master device and a slave device, a management method, a management program, and a computer-readable recording medium having the management program.[Background Art]

[0002] In factory automation (FA), production facilities installed in a factory are controlled by an industrial network constituted by nodes such as various slave devices that perform data collecting and control of the production facilities and a master device that perform overall management of the plurality of slave devices.

[0003] Fig. 8 is a block diagram showing a schematic configuration of a general industrial network 100. The industrial network 100 includes a master device 1 and slave devices 2-1 to 2-3 connected to the master device 1. The master device 1 and the slave device 2-1 are connected to each other by a cable 4 which is suitable for EtherCAT communication, and the slave devices 2-1 to 2-3 are also connected to each other by cables 4 that are suitable for EtherCAT communication. The slave devices 2-1 to 2-3 are connected to H / W devices which are production facilities in a wired or wireless manner and control the H / W devices in response to instructions received from the master device 1. Meanwhile, hereinafter, the slave devices 2-1 to 2-3 may be collectively simply referred to as slave devices 2.

[0004] In such an industrial network 100, for example, in a case where certain control is performed on the same H / W devices, it is preferable that state values be acquired from the H / W devices at the same timing (synchronization be achieved). On the other hand, a transmission delay occurs between the master device 1 and the slave device 2-1, between the slave devices 2-1 to 2-3, and in the master device 1 and the slave devices 2-1 to 2-3, and thus it is necessary to consider a transmission delay time to achieve synchronization between the plurality of slave devices 2.

[0005] On the other hand, for example, in Patent Literature 1, a technique for achieving synchronization between a plurality of slave devices on the basis of a transmission delay time calculated from node information (profile) indicating specific parameters of the slave devices and configuration information of a network is disclosed.

[0006] Fig. 9 is a diagram schematically showing processing for achieving synchronization between the slave devices 2 of the industrial network 100 shown in Fig. 8 using the related art disclosed in Patent Literature 1. A flow from when an instruction for outputting a state value of an H / W device is given from the master device 1 to the slave device 2 to when a response is returned to the master device 1 is as follows.

[0007] (1) [Application execution] A data frame including an output instruction for a state value of the H / W device to the slave devices 2-1 to 2-3 is generated from a control unit 11 started up by an application of the master device 1. (2) [Network transmission] Output instruction data is distributed from the master device 1 to the slave devices 2-1 to 2-3 through a network. Specifically, a data frame generated by the control unit 11 is subjected to transmission reception buffering in a communication unit 12 of the master device 1 and is then sequentially transferred to the slave devices 2-1 to 2-3 through the cables 4. The slave devices 2-1 to 2-3 receive an output instruction, add a state value (response), which is acquired from the H / W device and latched on the basis of an output instruction received in a former task cycle, to the data frame, and return the data frame having the state value added thereto to the master device 1. That is, the state value is not a state value for the output instruction generated in (1). (3) [Output reception / arithmetic operation] The slave devices 2-1 to 2-3 convert an output instruction from telegram data into a receivable format and perform arithmetic operations on parameters necessary for output execution. (4) [Output execution] The slave devices 2-1 to 2-3 execute outputting to the H / W device. (5) [Input latch] The slave devices 2-1 to 2-3 acquire and latch the present state value of the H / W device and perform arithmetic operation / conversion into a format that can be analyzed by the master device 1. (6) [Application execution] This is a process similar to (1). The control unit 11 of the master device 1 receives the state value returned in (2) and generates a data frame including an output instruction for the state value. Meanwhile, the received state value is not a state value for the output instruction generated in (1) as described above. (7) [Network transmission] This is a process similar to (2). The slave devices 2-1 to 2-3 add the state value latched in (5) to the data frame transmitted from the master device 1 and return the data frame having the state value added thereto to the master device 1. The state value is input to the master device 1 at the time of executing an application next time.

[0008] As described above, in the industrial network 100, the processes of (2) to (6) are repeated at predetermined cycles.

[0009] As shown in (a) of Fig. 10, the output instruction generated in the process of (1) is received by the slave devices 2 in (2), and the slave device 2 executes the processes of (3) to (5) in response to the output instruction and adds a response (state value) for the output instruction to a data frame in the next (7). As a result, the control unit 11 of the master device 1 receives a response in the next application execution process (11). Here, a period of time required for the process of (2) is equivalent to a transmission delay time Td. In addition, a period of time from the completion of the process of (1) to the completion of the process of (4) is equivalent to a period of time required until each of the slave devices 2 responds (starts operating) to the output instruction (reaction time Tr) which is seen from the control unit 11. In addition, a period of time from the completion of the process of (1) to the start of the process of (11) is equivalent to a period of time required until the response to the output instruction (response time Ta) which is seen from the control unit 11.

[0010] Patent document US 2016 / 065435 Al relates to a communication device including a clock to measure time, communication circuitry and processing circuitry. The communication circuitry transmits a request signal to the other communication device in a certain cycle, and receives a response signal transmitted in response to the request signal, from the other communication device. The processing circuitry changes a transmission timing of the request signal; compares first round-trip delay time with second round-trip delay time; and if a result of comparison shows that the second round-trip delay time is shorter than the first round-trip delay time, adjusts the time measured by the clock using a transmission time point of the second request signal and the reception time point of the second request signal in the other communication device, and the transmission time point of the second response signal from the other communication device and a reception time point of the second response signal.[Citation List][Patent Literature]

[0011] [Patent Literature 1] Japanese Patent No. 6094196[Technical Problem]

[0012] In Patent Literature 1, a transmission delay time is calculated (predicted) from a profile indicating specific parameters of slave devices and configuration information of a network. However, in the actual network, in a case where a distance between the slave devices is long, a light converter or a long optical cable exceeding 100 m may be used. Further, in a case where the slave device is a moving object, optical transmission may be performed. In this case, the actual transmission delay time becomes longer than a predicted value of the transmission delay time, which leads to a concern that the slave device may not operate as expected.

[0013] Specifically, as shown in (b) of Fig. 10, in a case where an actual transmission delay time Td' is longer than the predicted transmission delay time Td shown in (a) of Fig. 10, a reaction timing for an output instruction of the slave device 2 deviates, and a reaction time Tr is also increased. As a result, when an output (response) of a state value latched in (5) is not in time for network transmission of (7), the state value is added to a data frame of network transmission (12) in the next third cycle and is input to the master device 1 in (15). That is, as compared with (a) of Fig. 10, the response time Ta is extended from application execution (11) in a second cycle to application execution (15) in a third cycle, and thus a timing at which the master device 1 obtains a response to an output instruction is delayed by one cycle as indicated by a black bidirectional arrow. Thus, there is a concern that the slave device 2 may not operate as expected.

[0014] The present invention is contrived to solve the above-described problems, and an objective thereof is to provide a management device that can flexibly set a task cycle of a master device, a management method, a management program and a computer-readable recording medium having the management program.[Summary of Invention]

[0015] The present invention is defined in the appended independent claims to which reference should be made. Advantageous features are set out in the appended dependent claims. The following disclosure serves a better understanding of the present invention.[Advantageous Effects of Invention]

[0016] According to the present invention, it is possible to provide a management device that can flexibly set a task cycle of a master device.[Brief Description of Drawings]

[0017] Fig. 1 is a block diagram showing an industrial network according to an embodiment of the present invention, and a configuration of a management device that manages the industrial network. Fig. 2 shows a network configuration diagram and an example of node information. Fig. 3 shows an example of a dialogue for presenting a predicted value of a transmission delay time to a user. Fig. 4 shows an example of a message box for prompting a user to confirm an actual network configuration. Fig. 5 shows an example of a dialogue for presenting a predicted value and a measured value of a transmission delay time to a user. Fig. 6 is a diagram schematically showing a flow of an output instruction given from a master device to a slave device in a case where a task cycle is corrected. Fig. 7 is a flowchart showing a flow of processing in a management method for managing a network including a master device and slave devices. Fig. 8 is a block diagram showing a schematic configuration of a general industrial network. Fig. 9 is a diagram schematically showing processing for achieving synchronization between slave devices of the industrial network shown in Fig. 8 by using the related art. (a) of Fig. 10 is a diagram further schematically showing the processing shown in Fig. 9, and (b) of Fig. 10 is a diagram schematically showing a flow of an output instruction given from a master device to a slave device in a case where an actual transmission delay time is longer than a theoretical transmission delay time. [Description of Embodiments]

[0018] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. In the following embodiment, a management device in a network system conforming to the standard of Ethernet for Control Automation Technology (EtherCAT: registered trademark) will be described. The present invention can be applied to a network system including one or more nodes.

[0019] Fig. 1 is a block diagram showing an industrial network 100 according to an embodiment of the present invention, and a configuration of a management device 3 that manages the industrial network. The industrial network 100 is similar to that shown in Fig. 8, and includes a master device 1 and slave devices 2-1 to 2-3 connected to the master device 1. The master device 1 and the slave device 2-1 are connected to each other through a cable 4 suitable for EtherCAT communication, and the slave devices 2-1 to 2-3 are connected to each other through a cable 4 suitable for EtherCAT communication. The master device 1 and the management device 3 are connected to each other by Ethernet (registered trademark) communication or USB communication in a wired or wireless manner.

[0020] Hereinafter, the slave devices 2-1 to 2-3 may be simply referred to as a slave device 2. In addition, the master device 1 and the slave device 2 may be referred to as a node. In the present embodiment, for simplification of description, three slave devices 2 are provided, but the number of slave devices 2 that can be connected to the master device 1 and a topology thereof are not particularly limited. In the present embodiment, a maximum of 512 slave devices 2 can be connected to one master device 1, and any topology such as a series shape, a ring shape, a tree shape, or a star shape can be applied in accordance with circumstances of association or wiring between the slave devices 2.

[0021] The master device 1 is a device that intensively manages the slave devices 2 and is constituted by, for example, a Programmable Logic Controller (PLC). The master device 1 controls the slave device 2 by transmitting a control command for performing sequence control to the slave device 2 and monitors the state of the slave device 2 by receiving various data from the slave device 2.

[0022] The slave device 2 is a device that performs data collecting and control of a production facility, and performs an operation of controlling the production facility based on a control command received from the master device 1 and processing for writing and returning the received control command. Examples of the slave device 2 include a slave terminal, an NX unit, a CJ unit, an IO-Link device, a power supply unit, a motor unit, a counter unit, an image unit, a communication unit, an I / O unit, and the like. The slave device 2 is appropriately connected to an H / W device which is a production facility in a wired or wireless manner. Examples of the H / W device include an input device such as a sensor, a push button, or a limit switch, and an output device such as a lamp.(Management device)

[0023] The management device 3 is a computer that manages the industrial network 100 and can be constituted by, for example, a general-purpose personal computer. The management device 3 includes, for example, a central processing unit (CPU), a main storage device (memory), an auxiliary storage device (a hard disk, an SSD, and the like), a display device, and an input device (a keyboard, a mouse, and the like) as a hardware configuration.

[0024] In addition, the management device 3 includes a communication unit 31, a storage unit 32, and a network setting unit 33 as functional blocks.

[0025] The communication unit 31 is a communication unit for performing communication between the management device 3 and the master device 1.

[0026] Network configuration information D1 and node information D2 are stored in the storage unit 32. The network configuration information D1 is a project file indicating a network configuration of a design which is created by a user. The node information D2 is information indicating specific parameters of modes of the master device 1 and the slave devices 2. The time of transmission reception buffering in the communication unit 12 of the master device 1, the time at which a data frame is transmitted in the slave device 2, and the like are included in the node information D2.

[0027] The network setting unit 33 is a functional block that sets various parameters related to the industrial network 100 and is realized by executing a management program (not shown) stored in the storage unit 32 by the CPU. The management program may be recorded in a non-transitory computer-readable recording medium such as a CD-ROM, or the management program may be installed in the management device 3 by causing the management device 3 to read the recording medium. Alternatively, a code of the management program may be downloaded in the management device 3 through a communication network such as the Internet.

[0028] In the present embodiment, the network setting unit 33 mainly has a function of setting a task cycle in which the master device 1 transmits a signal to the slave device 2. In order to realize this function, the network setting unit 33 includes a network information display unit 331, a transmission delay time prediction unit 332, a transmission delay time measurement unit 333, a transmission delay time setting unit 334, and a cycle setting unit 335.

[0029] The network information display unit 331 is a functional block that displays a network configuration diagram showing a connection relationship between the master device 1 and the slave devices 2 and node information of the master device 1 and the slave devices 2. A user starts up the management program to perform a predetermined operation, and thus the network information display unit 331 displays the network configuration diagram shown in Fig. 2 with reference to the network configuration information D1.

[0030] In the network configuration diagram, a connection relationship between the master device 1 and the slave devices 2 is graphically shown. Further, in the network configuration diagram, when an icon is selected, the network information display unit 331 displays node information corresponding to the selected icon.

[0031] In Fig. 2, an icon corresponding to the master device 1 is selected, and node information (property) of the master device 1 is displayed in a region on the right of the network configuration diagram.

[0032] In the node information of the master device 1, a "PDO communication cycle" is equivalent to a task cycle in which the master device 1 transmits a signal to the slave device 2. Meanwhile, the "PDO communication", which is a type of EtherCAT communication, is communication that use Process Data Objects (PDO) performing real-time information exchange at a fixed cycle and is also referred to as "process data communication".

[0033] Further, in the node information of the master device 1, a transmission delay time for cycle setting for setting a task cycle can be set. When an "editing of setting" button B1 is pressed, the transmission delay time prediction unit 332 shown in Fig. 4 predicts a transmission delay time from when the master device 1 starts transmitting data to when the data returns to the master device 1 via all of the slave devices 2, on the basis of the network configuration information D1 and the node information D2.

[0034] The transmission delay time is calculated as follows.

[0035] The communication unit processing time of the master device 1 is a period of time required for transmission reception buffering of the communication unit 12 and depends on the capacity of transmitted and received data. Specifically, the communication unit processing time is calculated by the following calculation expression. Transmission and reception processing time per byte of communication data: constant Communication data size: acquired from the network configuration information D1

[0036] The network round (I / O exchange) time is a period of time required for transmitted data to make the round of all of the slave devices 2 and return to the master device 1, and depends on the number of slave devices 2 and a distance of a network. The network round (I / O exchange) time is calculated by the following calculation expression. Delay time per slave device: constant The number of slave devices: acquired from network configuration information D1 Delay time per meter of cable: constant Cable length: acquired from network configuration information D1

[0037] When a transmission delay time is predicted in this manner, a dialogue shown in Fig. 3 is displayed, and a predicted value of the transmission delay time (a calculation result obtained from network configuration setting) is presented to a user.

[0038] Further, in the present embodiment, the actual transmission delay time can be measured in the industrial network 100 by the transmission delay time measurement unit 333 shown in Fig. 1.

[0039] In the dialogue shown in Fig. 3, when an "acquire measured value of transmission delay time" button B2 is pressed, a message box for prompting a user to confirm an actual network configuration is displayed as shown in Fig. 4. When an OK button B3 is pressed in the message box, the transmission delay time measurement unit 333 instructs the master device 1 to perform the measurement of a transmission delay time. For example, a mechanism for correcting a distributed clock can be used for the measurement of the transmission delay time. Specifically, a transmission delay time is measured as follows. 1. The master device 1 transmits broadcast write to a port. 2. Each of the slave devices 2 individually stores the time of its local clock when a first bit of the Ethernet (registered trademark) preamble of a frame is received. 3. The master device 1 reads all time stamps and calculates a delay time for topology.

[0040] When the master device 1 measures a transmission delay time in this manner, the master device returns a measured value to the management device 3. Thereby, the transmission delay time setting unit 334 shown in Fig. 1 presents a predicted value and the measured value of the transmission delay time to a user to set a transmission delay time for cycle setting for setting a task cycle at which the master device 1 transmits a signal to the slave device 2. In the present embodiment, the transmission delay time setting unit 334 displays a dialogue shown in Fig. 5 to present a measured value of a transmission delay time to a user together with a predicted value of the transmission delay time. In this dialogue, radio buttons are associated with the predicted value and the measured value of the transmission delay time, so that the user can select any one of the predicted value and the measured value of the transmission delay time as a transmission delay time for cycle setting for setting a task cycle using the radio buttons. The transmission delay time setting unit 334 sets a transmission delay time for cycle setting in response to a user's selection operation.

[0041] The cycle setting unit 335 shown in Fig. 1 sets a task cycle on the basis of the transmission delay time for cycle setting which is set by the transmission delay time setting unit 334. As shown in Fig. 5, when an OK button B4 is pressed in a state where the radio button corresponding to the measured value of the transmission delay time is selected, the cycle setting unit 335 sets a task cycle on the basis of the measured value of the transmission delay time. For example, as shown in Fig. 6, in a case where a measured transmission delay time Td' is longer than a predicted transmission delay time Td, a task cycle is corrected to such an extent that a timing at which the master device 1 obtains a response to an output instruction is not delayed by one cycle. Thereby, the user can avoid a situation where the slave device 2 does not operate as expected.

[0042] Meanwhile, in Fig. 6, the application execution (6) is started after the input latch (5) is completed, but the application execution (6) may be started before the input latch (5) is completed as long as the state value latched in the input latch (5) can be added to a data frame in the network transmission (7).

[0043] In a case where the task cycle which is set on the basis of the measured value of the transmission delay time is too long from the viewpoint of practicality, the user can also select the predicted value of the transmission delay time as a transmission delay time for cycle setting in the dialog shown in Fig. 5. In this case, the user can take measures such as reducing the actual transmission delay time by the tuning of a node, the exchanging of a wiring, or the like so that a timing at which the master device 1 obtains a response to an output instruction is not delayed by one cycle. Meanwhile, also in a case where the measured value of the transmission delay time is shorter than the predicted value of the transmission delay time, it is preferable to select the predicted value of the transmission delay time as a transmission delay time for cycle setting.

[0044] Further, in a case where it is difficult to make the actual transmission delay time match the predicted value by the tuning of a node or the like, a numerical value input column for a transmission delay time may be provided in the dialogue shown in Fig. 5, and a user may be able to select any time as a transmission delay time for cycle setting. Thereby, the user can set a task cycle as short as possible by selecting a transmission delay time which is actually expected to be reduced by tuning or the like.

[0045] As described above, the management device 3 according to the present embodiment can flexibly set a task cycle of the master device 1 on the basis of a predicted value and a measured value of a transmission delay time.(Management method)

[0046] Fig. 7 is a flowchart showing a flow of processing in a management method for managing a network including the master device 1 and the slave devices 2. In the drawing, a processing procedure in the management device 3 and the master device 1 is shown.

[0047] First, when a user starts up a management program in the management device 3, the network setting unit 33 is started up (S1). Subsequently, the user performs a predetermined operation, and thus the network information display unit 331 reads network configuration information D1 and node information D2 stored in the storage unit 32 and displays the network configuration diagram shown in Fig. 2 and node information of a node (master device 1) (step S2).

[0048] Subsequently, the user presses down the "editing of setting" button B1 shown in Fig. 2, the setting of a transmission delay time is started (step S3). First, the transmission delay time prediction unit 332 predicts a transmission delay time on the basis of the network configuration information D1 and the node information D2 (step S4, a transmission delay time prediction step), and the dialogue shown in Fig. 3 is displayed. In this dialogue, when the user presses the "acquire measured value of transmission delay time" button B2 to instruct the measurement of a transmission delay time (step S5), the transmission delay time measurement unit 333 instructs the master device 1 to perform the measurement of a transmission delay time (step S6). Thus, the master device I measures a transmission delay time in the industrial network 100 (step S7, a transmission delay time measurement step), and the master device 1 returns a measured value to the management device 3.

[0049] Subsequently, the transmission delay time setting unit 334 of the management device 3 displays the dialogue shown in Fig. 5 to present the predicted value and the measured value of the transmission delay time to the user (step S8). The transmission delay time setting unit 334 sets a transmission delay time for cycle setting in response to the user's selection operation in the dialogue (step S9, a transmission delay time setting step). In this case, the user can select any one of the predicted value and the measured value as a transmission delay time for cycle setting.

[0050] Subsequently, the cycle setting unit 335 sets a task cycle on the basis of the set transmission delay time for cycle setting (step S10, a cycle setting step). In a case where the set new task cycle is different from the former task cycle, the management device 3 transmits the new task cycle to the master device 1, and thus the master device 1 changes a task cycle (step S11).[Reference Signs List]

[0051] 1 Master device 11 Control unit 12 Communication unit 2 Slave device 2-1 to 2-3 Slave device 3 Management device 31 Communication unit 32 Storage unit 33 Network setting unit 331 Network information display unit 332 Transmission delay time prediction unit 333 Transmission delay time measurement unit 334 Transmission delay time setting unit 335 Cycle setting unit 4 Cable 100 Industrial network (network) D1 Network configuration information (configuration information of network) D2 Node information Ta Response time Td Transmission delay time (predicted value) Td' Transmission delay time (measured value) Tr Reaction time

Claims

1. A management device (3), configured to manage a network (100) including a master device (1) and slave devices (2) connected to the master device (1), the management device (3) comprising: a transmission delay time prediction unit (332), configured to: predict a transmission delay time from when the master device (1) starts transmitting data to when the data returns to the master device (1) via all of the slave devices (2), on the basis of configuration information (D1) of the network (100) and node information indicating specific parameters of the master device (1) and the slave devices (2); a transmission delay time measurement unit (333), configured to measure the transmission delay time in the network (100); and a transmission delay time setting unit (334), configured to obtain a predicted value from the transmission delay time prediction unit (332) and a measured value from the transmission delay time measurement unit (333), and set a transmission delay time for cycle setting for setting a task cycle at which the master device (1) transmits a signal to the slave device based on a determination of a preferable delay time, wherein the preferable delay time is selected from the predicted value and the measured value based on a relationship between the predicted value and the measured value, and the task cycle is a communication cycle in which a type of EtherCAT communication performs a real-time information exchange at a fixed cycle.

2. The management device (3) according to claim 1, wherein the transmission delay time setting unit (334) is configured to set any one of the predicted value and the measured value as the transmission delay time for cycle setting.

3. The management device (3) according to claim 1 or 2, further comprising: a cycle setting unit, configured to set the task cycle on the basis of the transmission delay time for cycle setting.

4. A management method for managing a network (100) including a master device (1) and slave devices (2) connected to the master device (1), the management method comprising: a transmission delay time prediction step of predicting a transmission delay time from when the master device (1) starts transmitting data to when the data returns to the master device (1) via all of the slave devices (2), on the basis of configuration information (D1) of the network (100) and node information (D2) indicating specific parameters of the master device (1) and the slave devices (2); a transmission delay time measurement step of measuring the transmission delay time in the network (100); and a transmission delay time setting step of obtaining a predicted value obtained from the transmission delay time prediction step and a measured value obtained from the transmission delay time measurement step and setting a transmission delay time for cycle setting for setting a task cycle at which the master device (1) transmits a signal to the slave device based on a determination of a preferable delay time, wherein the preferable delay time is selected from the predicted value and the measured value based on a relationship between the predicted value and the measured value, and the task cycle is a communication cycle in which a type of EtherCAT communication performs a real-time information exchange at a fixed cycle.

5. A management program causing a computer to function as the management device (3) according to claim 1, the management program causing the computer to function as the transmission delay time prediction unit (332), the transmission delay time measurement unit (333), and the transmission delay time setting unit (334).

6. A computer-readable recording medium having the management program according to claim 5 recorded thereon.