Distribution system and communication path generation method in distribution system
By dynamically updating the throughput of routing data packets in the distributed control system, communication path generation is simplified, and the problem of complexity of communication path generation in the prior art is solved, and more efficient communication path generation and real-time performance is achieved.
Patent Information
- Application Number
- CN202380026341.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-29
- Filing Date
- 2023-02-09
- Publication Date
- 2024-12-13
AI Technical Summary
In the distributed control system, the prior art is difficult to ensure real-time and efficient generation of communication paths due to communication band compression and storage capacity limitations, especially when storage path information is required in the relay device, resulting in complex communication path generation.
The communication path generation process is simplified by dynamically updating the throughput of the routed packet between the communication master station and the multiple communication substations, and determining and upstream ports are determined and updated, thereby generating a communication path.
It realizes simpler communication path generation, reduces repeated communication between the communication master station and the communication sub-station, ensures real-time communication, and reduces storage capacity requirements.
Smart Images

Figure CN119137919A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a technology for generating a communication path that bypasses obstacles such as failures occurring in a network. In addition, the obstacles of the present invention include various abnormalities in communication such as failures. Background Art
[0002] Currently, various communication technologies using networks are used. As an application example of this communication technology, industrial devices can be cited. In industrial devices such as biochemical / immunoassay devices, electronic systems are generally used that have analog transmission channels from multiple control substrates centrally managed to control devices such as sensors and motors mounted on the devices.
[0003] In recent years, in order to improve the efficiency of device design, manufacturing, and maintenance, a distributed control system has been applied to reduce the amount of analog transmission paths and improve the control performance of the device by modularizing and distributing the control substrate. In a distributed system including such a distributed control system, in order to reduce the downtime of the devices (distributed control devices, distributed devices) that constitute it, a redundant network with multiple communication paths is sometimes used so that control communication can continue even when a part of the device fails. In such a redundant network, multiple communication paths can be taken between substrates connected to the network. Therefore, if an appropriate communication path is not generated, it becomes a cause of malfunction. In addition, when an adverse situation such as a fault occurs, it is necessary to use the remaining redundant paths to generate a detour path that can bypass the fault location and continue communication, and to determine the fault location for rapid repair.
[0004] As a means to solve these problems, the following technology is generally known: when a fault occurs in a redundant network, the communication main station generates a detour path based on the information of the network structure, scans whether it is possible to communicate with each communication sub-station via the detour path, and determines the fault location. For example, Patent Document 1 is proposed. In Patent Document 1, in the case of a communication failure, a relay device that can communicate and is closest to the terminal device in the communication path from the aggregation device to the terminal device that cannot communicate is determined as the target device, and the aggregation device generates a detour path to the target device based on the network structure information, and determines the fault location between the relay device that can communicate via the detour path and the relay device closest to the target device.
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2021-52311 Summary of the invention
[0008] Problems to be solved by the invention
[0009] However, in the technology described in Patent Document 1, the relay device is a device having a routing function such as a so-called router, and in a general routing function protocol, the relay device needs to store path information to other relay devices. Therefore, due to the pressure of the communication band, it is difficult to ensure the real-time control communication, and in addition, the relay device must prepare a storage capacity corresponding to the scale of a distributed system such as a distributed control system. Therefore, in the present invention, the subject is to realize the generation of a communication path in a distributed system by a simpler structure.
[0010] Means for solving problems
[0011] In order to solve the above-mentioned problems, in the present invention, in a distribution system composed of multiple distribution devices such as a communication main station and multiple communication substations, the communication port with the upstream side is dynamically updated according to the throughput of the communication path for communicating routing data packets, and a communication path is generated based on this.
[0012] An example of a more specific structure is a distribution system, which is composed of a communication main station and multiple communication substations connected to the communication main station in the downstream direction of communication, the communication main station and each of the multiple communication substations are connected to each other via a communication channel, each of the multiple communication substations has multiple communication ports for communication, any one of the multiple communication ports is stored as an upstream port for communication in the upstream direction, routing data packets are sent from the communication main station to the multiple communication substations respectively, in each of the multiple communication substations, a first throughput representing the throughput of the routing data packet from the communication main station is determined, the first throughput is compared with a second throughput determined before the determination, and it is determined whether a predetermined condition is met, in each of the multiple communication substations, a first communication port that receives the routing data packet is determined, in each of the multiple communication substations, when the predetermined condition is met, the first communication port is updated to the upstream port, and the communication main station combines each upstream port in the multiple communication substations and the communication channel connected to the upstream port to generate a communication path from the communication main station in the distribution system. In addition, the present invention also includes a communication path generation method in the distributed system.
[0013] Effects of the Invention
[0014] According to the present invention, in the present invention, the generation of a communication path in a distributed system can be realized with a simpler structure. In addition, the problems, structures and effects other than the above-mentioned will be clarified by the description of the following embodiments and examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1It is a diagram showing a configuration example of a distributed control system in one embodiment of the present invention.
[0016] Figure 2 This is a diagram showing how a routing packet of the distributed control system in the first embodiment is transmitted.
[0017] Figure 3 This is a flowchart showing the comparison process of the routing data packets of the communication slave station in the first embodiment.
[0018] Figure 4 This is a flowchart showing the upstream port selection process of the communication slave station in the first embodiment.
[0019] Figure 5 This is a diagram showing the transmission of an upstream port notification in the distributed control system of the first embodiment.
[0020] Figure 6 This is a diagram showing the transfer of routing data packets when a communication substation fails in the second embodiment.
[0021] Figure 7 This is a diagram showing the transmission of an upstream port notification when a communication slave station fails in the second embodiment.
[0022] Figure 8 This is a flowchart showing the process of identifying the fault location of the communication master station in the second embodiment.
[0023] Fig. 9 This is a diagram showing a configuration example of a distributed control system in Example 3.
[0024] Fig.10 This is a diagram showing a display example of the display device in Example 3.
[0025] Fig.11 It is a figure which shows the application example of each embodiment. DETAILED DESCRIPTION
[0026] Hereinafter, an embodiment of the present invention will be described. In this embodiment, a distributed control system for controlling a control object including the system itself is taken as an example of a distributed system. Figure 1 FIG. 2 is a diagram showing a configuration example of a distributed control system 01 in this embodiment. Figure 1 In the figure, the distributed control system 01 includes a communication main station 011 and a plurality of communication substations 012. Here, the communication main station 011 and the communication substation 012 are equivalent to the distribution device of the present invention. In addition, the direction of communication toward the upper part of the figure, that is, toward the communication main station 011 is set as the upstream direction. In addition, the opposite direction is set as the downstream direction.
[0027] Furthermore, in the present embodiment, in a distributed control system 01 composed of a communication main station 011 and a plurality of communication substations 012, an upstream port serving as a communication port with respect to the upstream side is dynamically updated according to the throughput of a communication path for communicating routing data packets. Then, a communication path is generated based on this. An example of a more specific structure is that in a distributed control system 01 composed of a communication main station 011 and a plurality of communication substations 012 connected to the communication main station 011 in the downstream direction of communication, the communication main station 011 and the plurality of communication substations 012 are respectively connected to each other via communication channels (usually a communication channel 0130 and a degenerate communication channel 0131, etc.), the plurality of communication substations 012 respectively have a plurality of communication ports 0120 for communication, any one of the plurality of communication ports 0120 is stored as an upstream port, routing data packets are sent from the communication main station 011 to the plurality of communication substations 012, and the plurality of communication substations 012 are respectively connected to each other via communication channels (usually a communication channel 0130 and a degenerate communication channel 0131, etc.), In each of the plurality of communication substations 012, a first throughput representing the throughput of the routing data packet from the communication main station 011 is determined, the first throughput is compared with the second throughput determined before the determination, and it is determined whether a predetermined condition is satisfied, and a first communication port for receiving the routing data packet is determined in each of the plurality of communication substations 012, and when the predetermined condition is satisfied in each of the plurality of communication substations 012, the first communication port is updated to an upstream port, and the communication main station 011 combines the upstream ports in the plurality of communication substations 012 and the communication channels connected to the upstream ports to generate a communication path from the communication main station 011 in the distributed control system 01.
[0028] The description of the present embodiment is completed above, and each example showing a more specific structure and processing content will be described below.
[0029] Example 1
[0030] like Figure 1 As shown, the distributed control system 01 in this embodiment includes a communication main station 011 and multiple communication substations 012. The communication main station 011 forms a network connected to multiple communication substations 012 via communication channels (usual communication channel 0130 and degenerate communication channel 0131, etc.), and sends control instructions of the distributed control system 01 to the communication substations. The communication substation 012 is connected to the communication main station 011 and other communication substations 012 through the network, and sends input information from the control device to the communication main station 011.
[0031] Next, the structure of each device is described. The communication substation 012 has a plurality of communication ports 0120. Among them, the communication port 0120 used for sending its own input information and the transmission of input information from the control device of other communication substations 012 is defined as an upstream port. In addition, the communication port 0120 used for transmitting control instructions from the communication main station 011 to other communication substations 012 is defined as a downstream port.
[0032] In addition, the communication master station 011 includes a communication port 0110, an upstream port storage unit 0111, a communication path storage unit 0112, a fault location determination unit 0113, and a communication path generation unit 0114. The upstream port storage unit 0111 stores the upstream port of the communication slave station 012 itself. The communication path storage unit 0112 stores the generated communication path. The fault location determination unit 0113 determines the fault location. The communication path generation unit 0114 generates a communication path based on the throughput of the routing data packet.
[0033] Furthermore, the distributed control system 01 has a normal communication channel 0130 and a degraded communication channel 0131. The normal communication channel 0130 connects the communication port 0110 and the communication port 0120 or the communication ports 0120 to each other so that the communication path used by each communication substation 012 and the communication main station 011 in normal times becomes the minimum number of times the communication substation 012 passes through. The degraded communication channel 0131 connects the communication ports 0120 to each other. In this connection, for each communication substation 012, the communication path used for communication with the communication main station 011 when any of the other communication substations 012 or the normal communication channel 0130 fails is composed of a combination of communication channels less than the number of times the communication substation 012 passes through which communication is possible within a predetermined communication delay time.
[0034] Next, the method for generating a communication path in the distributed control system 01 is described. First, the communication path generation unit 0114 of the communication master station 011 sends a routing data packet 02 to the communication slave station 012 via the communication channel connected to the communication master station 011 itself. Here, the sending timing of the routing data packet 02 includes a predetermined period or regular timing when the distributed control system 01 or the communication master station 011 is started, or when a failure occurs in the distributed control system 01. Figure 2 FIG. 2 is a diagram showing the state of transmitting the routing data packet 02 in the distributed control system 01 of the present embodiment. Figure 2In the example, the routing data packet 02 accumulates the number of times the communication channel is passed. Therefore, the routing data packet 02 is transmitted via the communication substation 012, and each communication substation 012 receives the routing data packet 02. The communication substation 012 that receives the routing data packet adds 1 to the number of times the communication channel of the routing data packet 02 is passed to update. In this way, the communication substation 012 counts the number of times the routing data packet 02 is passed and records it in the routing data packet 02.
[0035] In addition, in this embodiment, the number of times the communication channel passes is used, but it can be any amount of passing in the path. The amount of passing is any one of the number of times the routing data packet 02 passes from the communication main station 011 through the communication substation 012, the time taken for the routing data packet 02 to pass from the communication main station 011, and the physical length of the routing data packet 02 passing from the communication main station 011. In addition, more preferably, the number of times the communication channel passes and / or the number of times the communication substation 012 passes are used. For example, the total number of times the communication channel passes and the number of times the communication substation 012 passes can be used.
[0036] Here, in this embodiment, when the number of passes of the communication channel meets a predetermined condition, a pass path is dynamically generated and updated. More specifically, if the number of passes stored in each communication substation 012 is less than the determined number of passes, a pass path is generated. The comparison of the number of passes is described below. Figure 3 This is a flowchart showing the comparison process of the communication substation 012 on the routing data packet 02 in this embodiment. This flowchart is executed when the communication substation 012 updates, for example, receives, the routing data packet 02. In addition, when the processing subject of this flowchart is described as the communication substation 012, unless otherwise specified, each communication substation 012 constituting the distributed control system 01 becomes the processing subject. This is also the same in other flowcharts.
[0037] First, in step S30, the communication slave station 012 determines whether it has stored the previous routing data packet 02. If the result is positive (yes), the process moves to step S31. On the other hand, if the result is negative (no), the process moves to step S32.
[0038] In addition, in step S31, the communication substation 012 determines whether the number of passes through the communication channel of the updated routing data packet 02 is less than the number of passes through the communication channel of the routing data packet 02 stored in itself. If the result is positive (yes), it is transferred to step S32. In addition, if it is determined to be negative (no), the processing is terminated and the start state is returned. In this step, the number of passes through the channel of the updated routing data packet 02 as an example of the first pass amount is compared with the number of passes through the channel of the stored routing data packet 02 as an example of the second pass amount determined before the determination.
[0039] In addition, in step S32, the communication substation 012 determines the updated routing data packet 02 and the communication port 0120 that received the routing data packet 02. In addition, the communication substation 012 preferably stores the determined content and forwards it from the remaining communication ports 0120 that it has other than the communication port 0120 that received the routing data packet 02. At this point, the process ends and returns to the start state.
[0040] Among the previous routing data packets 02 in the communication substation 012, the one with the smallest number of communication channel passages is the routing data packet 02 that was last received or stored (updated) by the communication substation 012. Therefore, the number of passages of the routing data packet 02 compared in step S31 is only the routing data packet 02 that was last stored by the communication substation 012. In addition, in this embodiment, it is assumed that the communication substation 012 stores the previous routing data packet 02 for explanation, but the number of passages may also be stored and used. In addition, this is also the same in the following explanations.
[0041] In addition, the communication substation 012 may also delete the storage of the previous routing data packet 02 and the communication port 0120 when storing the routing data packet 02 and the received communication port 0120 in step S33. Furthermore, the communication substation 012 only needs to have a storage capacity capable of storing a set of routing data packets 02 and the communication port 0120. In addition, the communication substation 012 increases the number of times the communication channel of the routing data packet 02 passes and transmits it, so that it is finally no longer transmitted in the distributed control system 01.
[0042] In this embodiment, according to Figure 3 Based on the comparison result, an upstream port is selected and updated from the communication port 0120. The upstream port constitutes a communication path to be generated in this embodiment. Figure 4 is a flowchart showing the selection process of the upstream port of the communication substation 012 in this embodiment. Figure 3 The processes of the flowcharts shown are executed in parallel, but may also be performed separately.
[0043] exist Figure 4 In step S40, the communication substation 012 continues the process on standby until the routing data packet 02 is newly stored or received. Figure 3 In step S32, if the routing data packet 02 is newly stored or received (Yes), the process proceeds to step S41. Otherwise, if the routing data packet 02 is not newly stored or received (No), the process proceeds to step S40.
[0044] Furthermore, in step S41, the communication substation 012 waits for a predetermined communication completion waiting time until the transmission of the routing data packet 02 in the distributed control system 01 is completed. Then, after waiting, in step S42, the communication substation 012 selects the communication port 0120 (first communication port) that it has stored or received last as the upstream port.
[0045] At this time, in the case where another communication port 0120 (second communication port) was stored as the upstream port in the past, the communication slave station 012 updates it to the communication port selected in this step.
[0046] In addition, in step S43, the communication substation 012 transmits the upstream port notification 050 including the upstream port information of the upstream port selected and updated in step S42 from the selected upstream port to the upstream side. In addition, in step S44, the communication substation 012 deletes the storage of the routing data packet 02 stored in itself and the communication port 0120 that received the routing data packet 02. At this point, the processing of this flowchart ends and returns to the start state.
[0047] Here, the transmission and reception (communication) of the upstream port notification 050 transmitted in step S43 in the distributed control system 01 will be described. Figure 5 050 is a diagram showing the transmission of the upstream port notification 050 of the distributed control system 01 in this embodiment. Figure 5 In the example, the upstream port notification 050 is transmitted from the communication substation 012 of the transmission source to the communication main station 011 by other communication substations 012. That is, the upstream port notification 050 is transmitted in the upstream direction. Figure 5 In the example, the communication substation 012 sends an upstream port notification 050 from its own upstream port 051. In addition, when the communication substation 012 receives an upstream port notification 050 from another communication substation 012, Figure 4 The process shown ends. In addition, when the communication substation 012 returns to the state of waiting for the storage of the new routing data packet 02 in step S40, it transmits the received upstream port notification 050. Otherwise, the communication substation 012 keeps the upstream port notification 050. Figure 4 After the processing is completed, the upstream port notification 050 is sent.
[0048] In addition, the communication substation 012 selects its own communication port 0120 that receives the upstream port notification 050 when performing the transmission as the downstream port 052. In addition, the communication path generation unit 0114 of the communication main station 011 stores the upstream port notification 050 of each communication substation 012 received by itself in the upstream port storage unit 0111. Moreover, the communication path generation unit 0114 of the communication main station 011 combines the communication channels connected to the upstream ports based on the upstream port information shown in the stored upstream port notification 050 to generate a communication path with the communication substation 012. Then, the communication path generation unit 0114 stores it in the communication path storage unit 0112.
[0049] According to this embodiment, it is possible to suppress repeated communication between the communication main station 011 and each communication substation 012 in the distributed control system 01 in order to generate a communication path between the communication main station 011 and each communication substation 012. In addition, the communication path between the communication main station 011 and each communication substation 012 in the distributed control system 01 is composed of a communication channel that actually transmits the routing data packet 02. Therefore, for example, when a communication abnormality caused by an initial failure or the like occurs in the distributed control system 01, the communication path is also composed of a communication channel that avoids the failure.
[0050] Example 2
[0051] Next, Example 2 shows processing when a failure occurs in the distributed control system 01 as a failure. Figure 6 FIG. 2 is a diagram showing the transmission of the routing data packet 02 when a communication substation 012 fails in Example 2. Figure 6 In the example, K1 of the communication substation 012 of the distributed control system 01 fails. The failed communication substation 012 K1 cannot perform the transmission processing of the routing data packet 02. Therefore, Figure 2 The number of packets 02 shown in the route is not transmitted. Figure 6 In the process, the routing data packet 02 of K6 passing through the communication substation 012 is transmitted to K2~K5.
[0052] in addition, Figure 7 This is a diagram showing the transmission of the upstream port notification 050 when a communication substation 012 in this embodiment fails. By using the upstream port notification 050, the communication path generation unit 0114 generates a detour path including the degraded communication channel 0131 as a communication path for the communication path from K2 to K5 of the communication substation 012. For example, the communication path of K3 of the communication substation 012 becomes a detour path from the communication main station 011 via K6, K7, K8, and K5. Here, making a detour path that avoids obstacles is related to determining the location of the obstacle. Therefore, the determination of the location of the obstacle in this embodiment is described.
[0053] Figure 8 1 is a flowchart showing the process of determining the fault location of the communication main station 011 in this embodiment. First, the communication main station 011 waits until a new upstream port notification 050 is received from the communication substation 012. Then, in step S80, the communication main station 011 determines whether the upstream port notification 050 is received from the communication substation 012, that is, whether it has arrived. As a result, if it has arrived (yes), it transfers to step S81. Otherwise, if it has not arrived (no), it continues to step S80.
[0054] Furthermore, in step S81, the communication main station 011 waits until a predetermined time has passed until the upstream port notification 050 from the communication substation 012 is received. Then, in step S82, the fault location identification unit 0113 determines whether the upstream port notification 050 has reached the communication main station 011 from each communication substation 012. If the result is positive (yes), the process proceeds to step S83. If the result is negative (no), the process proceeds to step S84.
[0055] In addition, in step S84, the fault location determination unit 0113 determines the fault location as the communication substation 012 to which the upstream port notification 050 has not arrived. Then, the processing is terminated and the start state is returned. In addition, in step S83, the fault location determination unit 0113 determines whether the upstream port has been changed based on the notified upstream port notification. As a result, if the determination result is positive (yes), the process moves to step S85. If the determination result is negative (no), the process moves to step S86.
[0056] Furthermore, in step S85, the fault location determination unit 0113 determines the fault location as the communication channel that is no longer used in the communication path and is closest to the communication master station 011 in the previous communication path. Then, the processing is terminated and the start state is returned. In addition, in step S86, the fault location determination unit 0113 determines that there is no fault location, terminates the processing, and returns to the start state. In this way, when a communication failure occurs in the distributed control system 01, if the fault location determination unit 0113 determines that there is no fault location, it can be inferred that it is a temporary abnormality in communication. In addition, in this embodiment, the communication master station 011 does not receive the notification from K1 of the communication substation 012, so the judgment of step S82 is negative (no), and it can be determined that it is a failure of K1 of the communication substation 012 that has not been notified. That is, in steps S84 to S85, the main cause of the communication failure occurring in the distributed control system 01 is determined.
[0057] As described above, according to this embodiment, by performing the processing described in the first embodiment in the same manner, the information on whether the communication substations 012 can communicate with the communication main station 011 and which communication channel to use when communication is possible is collected in the communication main station 011. Therefore, the fault location can be identified, and a detour path to the communication substation 012 in the distributed control system 01 where the fault has occurred can be generated. In addition, the effect when the distributed control system 01 is applied is the same as that of the first embodiment.
[0058] Example 3
[0059] Next, the third embodiment adds a display function to the first and second embodiments. Fig. 9 It is a diagram showing a configuration example of a distributed control system 01 in this embodiment. Fig. 9 This is an example of the change process of the upstream port 051 when the normal communication channel 0130 between K1 and K2 of the communication substation 012 fails. Here, K2 of the communication substation 012 selects the communication port connected to K4 via the degraded communication channel 0131 at the upstream port 051. The display device 900 is connected to the communication main station 011, and obtains the communication path information of the distributed control system 01 from the communication main station 011. Here, the display device 900 can be implemented by a computer such as a PC or a tablet. In addition, the control function of controlling the distributed control system 01 can also be set in the display device 900. Next, the display content in the display device 900 is described.
[0060] Fig.10 FIG. 9 is a diagram showing a display example of the display device 900 in this embodiment. Fig.10 In the embodiment, the display screen 1000 of the display device 900 includes a system status display window 1001, a communication path window 1002, and a log monitoring window 1003. In addition, these windows are examples of display areas and can also be displayed in other ways. Among these windows, the system status display window 1001 displays the network structure of the distributed control system 01, the communication substation 012, and the fault status of the communication channel. In addition, the system status display window 1001 is used for the user to intuitively identify the fault location and communication path of the distributed control system 01.
[0061] In addition, the communication path window 1002 has the function of displaying the connection status of each communication substation 012, whether the upstream port has been changed, communication path information, etc. Furthermore, the communication path window 1002 is used by the user to analyze the communication substation 012 affected by the failure occurring in the distributed control system 01 by displaying the communication path of each communication substation 012. The log monitoring window 1003 has the function of displaying the execution time when the communication path generation is executed, the communication abnormality detected by the distributed control system 01 as the execution reason, and the determined failure location.
[0062] According to the present embodiment described above, the distributed control system 01 can notify the fault location to the user, thereby reducing the downtime of the distributed control system 01 and improving the efficiency of maintenance.
[0063] In addition, the present invention is not limited to the above-mentioned embodiment, and includes various modifications and application examples. Here, an application example of the present invention is described. Fig.11 9000 and the display device 9000. The display device 9000 inputs various instructions to the server device 9000, or outputs the processing results of the server device 9000. The output includes the display example of Example 3. In addition, the server device 9000 can be implemented by a so-called computer, which can be called a cloud system. In addition, the server device 9000 and the display device 900 can also be implemented by one device.
[0064] In addition, the server device 9000 is connected to a plurality of distributed control systems 01 via a network 9001 such as the Internet. As a result, the server device 9000 can receive a communication path generated by each distributed control system 01. In addition, at least a part of the communication master station 011 in each embodiment 1 can also be executed by the server device 9000. In particular, the generation of the communication path can be executed by the server device 9000. This is the end of the description of the application example.
[0065] The above-mentioned embodiments are examples described in detail in order to explain the present invention in an easy-to-understand manner, and are not limited to all the structures described. In addition, a part of the structure of a certain embodiment can be replaced with the structure of another embodiment, and the structure of another embodiment can be added to the structure of a certain embodiment. In addition, with respect to a part of the structure of each embodiment, other structures can be added, deleted, or replaced.
[0066] In addition, the above-mentioned structures, functions, processing parts, processing units, etc. can also be implemented in part or in whole by hardware, for example, by designing with integrated circuits. In addition, the above-mentioned structures, functions, etc. can also be implemented by software by interpreting and executing programs that implement each function through a processor. Information such as programs, tables, files, etc. that implement each function can be placed in a recording device such as a memory, a hard disk, an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD. In addition, the communication channel represents a path that is considered necessary for the description, and may not necessarily represent all communication channels in the product that applies the distributed control system 01.
[0067] In the above embodiments, the communication path of the distributed control system 01 and the detour path when a fault occurs can be generated in the same steps, and the fault location can be determined. In addition, the regular communication for generating the communication path can be suppressed. Therefore, since the communication band is not compressed, the real-time control communication can be ensured, and the communication substation 012 does not need to store the communication path information of the communication substations other than itself, so the storage capacity corresponding to the scale of the distributed control system 01 can be suppressed. In addition, in each embodiment, it is not necessary to perform regular communication in order to create the communication path.
[0068] Explanation of symbols
[0069] 01…distributed control system, 011…communication main station, 0110…communication port of communication main station, 0111…upstream port storage unit, 0112…communication path storage unit, 0113…fault location determination unit, 012…communication substation, 0120…communication port of communication substation, 0130…normal communication channel, 0131…degraded communication channel, 02…routing data packet, 050…upstream port notification, 051…upstream port, 052…downstream port, 060…fault of communication substation, 900…display device, 901…fault of communication channel, 1000…display screen, 1001…system status display window, 1002…communication path window, 1003…log monitoring window.
Claims
1. A distribution system, which is composed of a communication main station and a plurality of communication substations connected to the communication main station in the downstream direction of communication, characterized in that: The communication master station and each of the plurality of communication substations are connected to each other via a communication channel, Each of the plurality of communication substations has a plurality of communication ports for communication. storing any one of the plurality of communication ports as an upstream port for communicating in an upstream direction, sending a routing data packet from the communication master station to each of the plurality of communication substations, In each of the plurality of communication substations, determining a first throughput representing a throughput of the routing data packets from the communication main station, comparing the first throughput with a second throughput determined before the determination to determine whether a predetermined condition is satisfied, In each of the plurality of communication substations, determining a first communication port that receives the routing data packet, In each of the plurality of communication substations, when the predetermined condition is met, the first communication port is updated to the upstream port, The communication master station combines each upstream port in the plurality of communication substations and the communication channel connected to the upstream port to generate a communication path starting from the communication master station in the distribution system.
2. The distribution system according to claim 1, characterized in that The predetermined condition is a case where the first throughput is small or a case where the second throughput is not determined.
3. The distribution system according to claim 1, characterized in that As the throughput, any one of the following is used: the number of times the routing data packet passes through the communication channel, the number of times the routing data packet passes through the communication substation from the communication main station, the time taken for the routing data packet to pass through the communication main station, and the physical length of the routing data packet passing through the communication main station.
4. The distribution system according to claim 1, characterized in that In each of the plurality of communication substations, when the upstream port is updated to the first communication port, an upstream port notification indicating that the updated first communication port is selected as the upstream port is sent to the communication main station, The communication master generates the communication path using the upstream port notification.
5. The distribution system according to claim 4, characterized in that In the event of a communication failure in the distributed system, the communication master sends the routing data packet.
6. The distribution system according to claim 5, characterized in that When a communication failure occurs in the distributed system, the communication master station determines that the cause of the communication failure occurs in the corresponding communication slave station if there is no upstream port notification within a predetermined period.
7. The distribution system according to claim 6, characterized in that The communication master station receives the upstream port notification from each of the plurality of communication slave stations and, when the communication path is changed, determines that the cause of the communication failure occurs in the most upstream communication channel in the communication path before the change.
8. The distribution system according to claim 6 or 7, characterized in that The communication master generates a detour path that avoids the cause of the communication failure as the communication path.
9. The distribution system according to claim 4, characterized in that In each of the plurality of communication substations, an upstream port notification sent from a downstream direction of itself is transmitted in an upstream direction.
10. The distribution system according to claim 1, characterized in that The communication master station periodically sends the routing data packet.
11. A method for generating a communication path in a distribution system, the distribution system comprising a communication main station and a plurality of communication substations connected to the communication main station in a downstream direction of communication, characterized in that: The communication master station and each of the plurality of communication substations are connected to each other via a communication channel, Each of the plurality of communication substations has a plurality of communication ports for communication. storing any one of the plurality of communication ports as an upstream port for communicating in an upstream direction, sending a routing data packet from the communication master station to each of the plurality of communication substations, In each of the plurality of communication substations, determining a first throughput representing a throughput of the routing data packets from the communication main station, comparing the first throughput with a second throughput determined before the determination to determine whether a predetermined condition is satisfied, In each of the plurality of communication substations, determining a first communication port that receives the routing data packet, In each of the plurality of communication substations, when the predetermined condition is met, the first communication port is updated to the upstream port, The communication master station combines each upstream port in the plurality of communication substations and the communication channel connected to the upstream port to generate a communication path starting from the communication master station in the distribution system.
12. The method for generating a communication path in a distributed system according to claim 11, characterized in that: The predetermined condition is a case where the first throughput is small or a case where the second throughput is not determined.
13. The method for generating a communication path in a distributed system according to claim 11, characterized in that: As the throughput, any one of the following is used: the number of times the routing data packet passes through the communication channel, the number of times the routing data packet passes through the communication substation from the communication main station, the time taken for the routing data packet to pass through the communication main station, and the physical length of the routing data packet passing through the communication main station.
14. The method for generating a communication path in a distributed system according to claim 11, characterized in that: In each of the plurality of communication substations, when the upstream port is updated to the first communication port, an upstream port notification indicating that the updated first communication port is selected as the upstream port is sent to the communication main station, The communication master generates the communication path using the upstream port notification.
15. The method for generating a communication path in a distributed system according to claim 14, characterized in that: In the event of a communication failure in the distributed system, the communication master sends the routing data packet.
16. The method for generating a communication path in a distributed system according to claim 15, characterized in that: When a communication failure occurs in the distributed system, the communication master station determines that the cause of the communication failure occurs in the corresponding communication slave station if there is no upstream port notification within a predetermined period.
17. The method for generating a communication path in a distributed system according to claim 16, characterized in that: The communication master station receives the upstream port notification from each of the plurality of communication slave stations and, when the communication path is changed, determines that the cause of the communication failure occurs in the most upstream communication channel in the communication path before the change.
18. The method for generating a communication path in a distributed system according to claim 16 or 17, characterized in that: The communication master generates a detour path that avoids the cause of the communication failure as the communication path.
19. The method for generating a communication path in a distributed system according to claim 14, characterized in that: In each of the plurality of communication substations, an upstream port notification sent from a downstream direction of itself is transmitted in an upstream direction.
20. The method for generating a communication path in a distributed system according to claim 11, characterized in that: The communication master station periodically sends the routing data packet.
