Communication bandwidth setting device, communication bandwidth setting method, and communication bandwidth setting program

By determining and managing the communication overlap time period of the factory equipment, allocating bandwidth and prioritizing high priority data, the problem of insufficient communication bandwidth in the factory production line is solved, ensuring the timeliness and stability of data transmission.

CN119032545APending Publication Date: 2024-11-26MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280094960.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-04-25
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In a factory production line, communication timings of multiple devices may overlap, resulting in insufficient communication bandwidth and inability to send data required for the production line within the allowed delay time.

Method used

By determining the time period for overlapping communication, calculating and allocating the communication bandwidth separately, and adopting a bandwidth switching strategy to ensure bandwidth allocation during overlapping time and other time periods, priority is given to the transmission of high-priority data.

Benefits of technology

It effectively suppresses the insufficient communication bandwidth, ensures that the data required for the production line operation can be sent in a timely manner when the communication timings of multiple devices overlap, and avoids delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119032545A_ABST
    Figure CN119032545A_ABST
Patent Text Reader

Abstract

An overlap determination unit (112) determines, on the basis of the communication timing of each group of devices that perform communication, an overlap time during which communication is performed so as to overlap among a plurality of groups. A bandwidth calculation unit (113) calculates the communication bandwidth allocated to the communication path used in each group for each of the overlapping time and another time that is not the overlapping time. The bandwidth setting unit (114) switches the communication bandwidth calculated for the overlap time and the communication bandwidth calculated for the other time in accordance with either the overlap time or the other time, and sets the communication bandwidth for the communication path used in each group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a technology for setting a communication bandwidth. Background Art

[0002] Patent Document 1 describes dynamically changing the communication bandwidth according to communication conditions such as throughput and response rate during communication between devices and event conditions such as file downloading. Patent Document 1 achieves optimization of communication settings in this way.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2014-003476 Summary of the invention

[0006] Problem that the invention aims to solve

[0007] In factory equipment running on a production line in a factory, multiple devices communicate periodically. Moreover, the communication timings of multiple devices sometimes overlap. In the case of overlapping communication timings, when communicating large amounts of data such as camera images, the communication bandwidth may be compressed.

[0008] In the technology described in Patent Document 1, the allocated communication bandwidth is changed according to the communication status and event occurrence status. However, the time period when the communication bandwidth is compressed is not known in advance. Therefore, the communication timing of multiple devices may overlap and the allocated communication bandwidth may be insufficient. As a result, the data required for the operation of the production line may not be sent within the allowable delay time.

[0009] An object of the present disclosure is to suppress the occurrence of a situation where the communication bandwidth is insufficient even when the communication timings of a plurality of devices overlap.

[0010] Means used to solve problems

[0011] The communication bandwidth setting device disclosed in the present invention comprises: an overlap determination unit that determines an overlap time for overlapping communication in a plurality of groups based on communication timing of each group of devices performing communication; a bandwidth calculation unit that calculates communication bandwidths to be allocated to communication paths used in each of the groups, respectively, for the overlap time determined by the overlap determination unit and other times that are not the overlap time; and a bandwidth setting unit that switches the communication bandwidth calculated by the bandwidth calculation unit for the overlap time and the communication bandwidth calculated by the bandwidth calculation unit for the other times, depending on which time is the overlap time or the other times, and sets the communication bandwidth for the communication paths used in the groups.

[0012] Effects of the Invention

[0013] In the present disclosure, the overlapping time during which communications are performed in an overlapping manner is determined, and the communication bandwidth is calculated for each of the overlapping time and other times. Thus, even when communication timings of a plurality of devices overlap, it is possible to suppress the occurrence of insufficient communication bandwidth. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a configuration diagram of the communication system 100 according to the first embodiment.

[0015] Figure 2 This is a diagram showing the configuration of the communication bandwidth setting device 10 according to the first embodiment.

[0016] Figure 3 This is a flowchart showing the flow of processing performed by the communication bandwidth setting device 10 according to the first embodiment.

[0017] Figure 4 This is an explanatory diagram of the plant device information 132 according to the first embodiment.

[0018] Figure 5 This is an explanatory diagram of the communication path information 133 according to the first embodiment.

[0019] Figure 6 This is an explanatory diagram of the connection structure information 134 according to the first embodiment.

[0020] Figure 7 This is an explanatory diagram of the overlap determination process according to the first embodiment.

[0021] Figure 8 This is an explanatory diagram of the communication bandwidth information 135 according to the first embodiment.

[0022] Fig. 9 This is an explanatory diagram of the priority information 131 according to the first embodiment.

[0023] Fig.10 This is an explanatory diagram of the communication bandwidth set in the first embodiment.

[0024] Fig.11 1 is a block diagram of a communication bandwidth setting device 10 according to a first modification.

[0025] Fig.12 It is a block diagram of the communication bandwidth setting device 10 according to the second embodiment.

[0026] Fig.13 This is a flowchart showing the flow of processing performed by the communication bandwidth setting device 10 according to the second embodiment.

[0027] Fig.14 This is an explanatory diagram of the plant device information 132 according to the second embodiment.

[0028] Fig.15 This is an explanatory diagram of the connection structure information 134 according to the second embodiment.

[0029] Fig.16 This is an explanatory diagram of the display information 136 according to the second embodiment.

[0030] Fig.17 This is a diagram for explaining image data displayed on the display unit 115 according to the second embodiment. DETAILED DESCRIPTION

[0031] Implementation method 1.

[0032] ***Structure description***

[0033] Reference Figure 1 The configuration of the communication system 100 according to the first embodiment will be described.

[0034] The communication system 100 includes a communication bandwidth setting device 10, a factory device 20, an external device 30, a base station 40, a terminal 50, and a terminal-side factory device 60. Figure 1 In the example, two terminals 50a and 50b are provided as the terminals 50. In addition, five terminal-side factory devices 60a to 60e are provided as the terminal-side factory devices 60.

[0035] The communication bandwidth setting device 10 is connected to the factory device 20 and the external device 30 by wire through Ethernet (registered trademark) or the like. The factory device 20 is wirelessly connected to the terminal 50 via the base station 40. In addition, as a specific example, a wireless connection is achieved using prescribed technologies such as Wifi and 5G. Wifi is the abbreviation of Wireless Fidelty. 5G is the abbreviation of 5th Generation. The terminal 50 is connected to the terminal-side factory device 60 by wire through Ethernet (registered trademark) or the like. Figure 1 In the diagram, wired connections are represented by solid lines. In addition, wireless connections are represented by dashed lines.

[0036] The communication bandwidth setting device 10 is a computer that sets the communication bandwidth to be allocated. Here, the communication bandwidth setting device 10 sets the communication bandwidth between the base station 40 and the terminal 50. The factory device 20 is a device that is installed in the production line of the factory and controls the production line. The factory device 20 is, for example, a PLC. PLC is the abbreviation of Programmable Logic Controller. The external device 30 is a computer that maintains information related to the communication of the communication system 100. The external device 30 controls the base station 40 through the communication bandwidth set by the communication bandwidth setting device 10, and controls the communication of the entire communication system 100.

[0037] The base station 40 is a base station in wireless communication. The terminal 50 is a computer that manages the terminal-side factory device 60. The terminal-side factory device 60 sends and receives various information to and from the factory device 20. The terminal-side factory device 60 is, for example, a robot arm operating in a production line, a camera that monitors production conditions, or a display that displays production conditions.

[0038] Figure 1 The structure of the communication system 100 shown is an example. For example, the number of terminal-side factory devices 60 connected to one terminal 50 is arbitrary, and may be one or more. Figure 1 The number of terminals 50 connected to one base station 40 is arbitrary, and can be one or more. Figure 1 Quantities shown are large.

[0039] In the first embodiment, the factory device 20 and the terminal-side factory device 60 periodically communicate and exchange data.

[0040] In the first embodiment, the description is made assuming a configuration based on wireless connection using the base station 40 and the terminal 50. However, the communication system 100 may be a system in which the factory device 20 and the terminal-side factory device 60 are connected by wire.

[0041] Reference Figure 2 , the structure of the communication bandwidth setting device 10 according to the first embodiment is described.

[0042] The communication bandwidth setting device 10 includes hardware such as a processor 11, a memory 12, a storage 13, and a communication interface 14. The processor 11 is connected to other hardware via a signal line and controls the other hardware.

[0043] The processor 11 is an IC that performs processing. As a specific example, the processor 11 is a CPU, a DSP, or a GPU. CPU is the abbreviation of Central Processing Unit. DSP is the abbreviation of Digital Signal Processor. GPU is the abbreviation of Graphics Processing Unit.

[0044] The memory 12 is a storage device for temporarily storing data. As a specific example, the memory 12 is SRAM or DRAM. SRAM is the abbreviation of Static Random Access Memory. DRAM is the abbreviation of Dynamic Random Access Memory.

[0045] The storage device 13 is a storage device for storing data. As a specific example, the storage device 13 is an HDD. HDD is the abbreviation of Hard Disk Drive. In addition, the storage device 13 may also be a removable recording medium such as an SD (registered trademark) memory card, CompactFlash (registered trademark), NAND flash memory, a floppy disk, an optical disk, a high-density disk, a Blu-ray (registered trademark) disk, or a DVD. SD is the abbreviation of Secure Digital. DVD is the abbreviation of Digital Versatile Disk.

[0046] The communication interface 14 is an interface for communicating with an external device. As a specific example, the communication interface 14 is an Ethernet (registered trademark) port.

[0047] The communication bandwidth setting device 10 includes, as functional components, a connection structure constructing unit 111, an overlap determining unit 112, a bandwidth calculating unit 113, and a bandwidth setting unit 114. The functions of the functional components of the communication bandwidth setting device 10 are realized by software.

[0048] The storage 13 stores a program for realizing the functions of each functional component of the communication bandwidth setting device 10. The program is read into the memory 12 by the processor 11 and executed by the processor 11. Thus, the functions of each functional component of the communication bandwidth setting device 10 are realized.

[0049] The memory 13 stores priority information 131. The priority information 131 indicates the priority of transmission data for each terminal-side plant device 60.

[0050] exist Figure 1In FIG. 1 , only one processor 11 is shown. However, there may be multiple processors 11, and the multiple processors 11 may cooperate to execute programs that realize various functions.

[0051] ***Action description***

[0052] Reference Figures 3 to 9 The operation of the communication bandwidth setting device 10 according to the first embodiment will be described.

[0053] The operation process of the communication bandwidth setting device 10 of the first embodiment corresponds to the communication bandwidth setting method of the first embodiment. In addition, the program for realizing the operation of the communication bandwidth setting device 10 of the first embodiment corresponds to the communication bandwidth setting program of the first embodiment.

[0054] Reference Figure 3 The flow of processing performed by the communication bandwidth setting device 10 according to the first embodiment will be described.

[0055] (Step S11: Information Receiving Process)

[0056] After the communication bandwidth setting device 10 is activated, the connection structure construction unit 111 receives information related to the communication system 100 from the plant device 20 and the external device 30 via the communication interface 14 .

[0057] Specifically, after the communication bandwidth setting device 10 is activated, the connection structure construction unit 111 requests the factory device 20 and the external device 30 to transmit information. Then, the connection structure construction unit 111 receives the factory device information 132 from the factory device 20. In addition, the connection structure construction unit 111 receives the communication path information 133 from the external device 30.

[0058] Reference Figure 4 The plant device information 132 according to the first embodiment will be described.

[0059] The plant device information 132 includes the category, IP address, communication speed [Mbps], initial communication start time [ms], communication cycle [ms], and communication data size [byte]. IP is the abbreviation of Internet Protocol. Mbps is the abbreviation of Megabits per second. ms is the abbreviation of millisecond.

[0060] The category indicates whether it is a factory device 20 or a terminal-side factory device 60. The IP address is the IP address of the factory device 20 or the terminal-side factory device 60. In the case where the category is the factory device 20, only the IP address is included. The communication speed is the speed of communication required for the terminal-side factory device 60 to send data to the factory device 20. The initial communication start time is the time until the terminal-side factory device 60 starts the communication process with the factory device 20. The communication cycle is the cycle for the terminal-side factory device 60 to communicate. The communication data size is the size of the data sent by the terminal-side factory device 60 to the factory device 20 in one cycle.

[0061] Reference Figure 5 The communication path information 133 of the first embodiment will be described.

[0062] The communication path information 133 shows the communication path between the factory device 20 and the terminal-side factory device 60 in terms of IP addresses. The communication path information 133 sequentially lists the IP addresses of the devices through which the communication data passes from the factory device 20 side to the terminal-side factory device 60 side. In Embodiment 1, the IP address of the factory device 20 is set for communication path 1. The IP address of the base station 400 is set for communication path 2. The IP address of the terminal 50 is set for communication path 3. The IP address of the terminal-side factory device 60 is set for communication path 4.

[0063] (Step S12: Connection structure construction process)

[0064] The connection structure constructing unit 111 generates the connection structure information 134 based on the information received in step S11. The connection structure information 134 indicates the communication path and communication timing of each group of communicating devices.

[0065] Specifically, the connection structure constructing unit 111 generates the connection structure information 134 by combining the plant device information 132 and the communication path information 133 .

[0066] Reference Figure 6 The connection structure information 134 according to the first embodiment will be described.

[0067] The connection structure information 134 includes the communication path, and the communication speed [Mbps], the initial communication start time [ms], the communication cycle [ms], and the communication data size [byte] related to the data sent and received in the communication path. The connection structure construction unit 111 constructs the communication path by associating the IP address in the communication path of the communication path information 133 with the IP address in the plant device information 132. Figure 6 Connection structure information 134 is shown.

[0068] (Step S13: Overlap determination processing)

[0069] The overlap determination unit 112 determines an overlap time dt during which communications are performed in an overlapping manner among a plurality of groups, based on the communication timing of each group of communicating devices.

[0070] Specifically, the overlap determination unit 112 determines the overlap time dt of the data transmission time overlap based on the initial communication start time, communication speed and communication data size in the connection structure information 134. In addition, the overlap determination unit 112 determines the overlap period ct that generates the overlap time dt based on the communication period in the connection structure information 134.

[0071] Reference Figure 7 The overlap determination process of the first embodiment will be described.

[0072] Figure 7 Show Figure 1 An example of the communication cycle and transmission time of the terminal-side factory device 60 in the communication system 100 shown in FIG. Figure 1 "c1" to "c5" are communication cycles (ms). "st1" to "st5" are initial communication start times (ms). "tt1" to "tt5" are data transmission times (ms). "dt" is the overlap time dt. "ct" is the overlap cycle ct.

[0073] The overlap determination unit 112 calculates the data transmission time. Specifically, the overlap determination unit 112 calculates the data transmission time by "data transmission time = communication data size ÷ communication speed × transmission efficiency × 1000". For example, when the transmission efficiency is set to a constant E, the data transmission time becomes "tt1 = s1 ÷ sp1 × E × 1000" according to the connection structure information 134. The transmission efficiency is set by measuring the transmission efficiency in actual communication. The transmission efficiency may also be set by other methods.

[0074] The overlap determination unit 112 determines the overlap time dt based on the data transmission time. Specifically, the overlap determination unit 112 determines the overlap time dt according to "dt = minimum value ((st1+tt1), (st2+tt2), ..., (st5+tt5)) - maximum value (st1, st2, ..., st5)". In addition, when the overlap time dt becomes a negative value, there is no overlap in the data transmission time. Figure 7 In FIG. 1 , the overlapping time dt is (st1+tt1) of the terminal-side plant device 60a-st3 of the terminal-side plant device 60c.

[0075] The overlap determination unit 112 determines the overlap period ct. The terminal-side factory devices 60a to 60e communicate periodically. Therefore, the overlap determination unit 112 determines the overlap period ct based on the communication period of the terminal-side factory device 60 that becomes "ct = maximum value (st1, st2, ..., st5)". Figure 7 In FIG. 1 , the overlapping period ct is the communication period c3 of the terminal-side plant device 60c.

[0076] (Step S14: Bandwidth calculation process)

[0077] The bandwidth calculation unit 113 calculates the communication bandwidth allocated to the communication path used in each group for the overlapping time dt determined in step S13 and the other time ot that is not the overlapping time dt. Here, the bandwidth calculation unit 113 calculates the communication bandwidth between the base station 40 and the terminal 50a and the communication bandwidth between the base station 40 and the terminal 50b for the overlapping time dt and the other time ot. The bandwidth calculation unit 113 stores the calculated communication bandwidth as the communication bandwidth information 135.

[0078] Reference Figure 8 The communication bandwidth information 135 according to the first embodiment will be described.

[0079] The communication bandwidth information 135 includes a transmission path for setting a communication bandwidth, and a communication bandwidth for the overlap time dt and the other time ot.

[0080] The transmission path for setting the communication bandwidth is a communication path portion commonly used by multiple groups. In the first embodiment, it is between the base station 40 and the terminal 50a and between the base station 40 and the terminal 50b. In the communication bandwidth information 135, the base station 40, the terminal 50a, and the terminal 50b are represented by IP addresses respectively. The communication path for which the communication bandwidth is to be set is determined by searching for a combination of the communication path 2 and the communication path 3 in the connection structure information 134. The method for determining the communication path for setting the communication bandwidth is determined according to the structure of the communication system 100.

[0081] The communication bandwidth for the overlapping time dt and the other time ot is calculated based on the communication speed, communication cycle, and communication data size in the connection structure information 134. The communication bandwidth for the overlapping time dt is calculated with reference to the priority information 131 stored in the memory 13.

[0082] Reference Fig. 9 The priority information 131 according to the first embodiment will be described.

[0083] In the priority information 131, priorities are defined in n levels according to data communicated between the plant device 20 and the terminal-side plant device 60. In the first embodiment, priorities are defined in three levels of "A>B>C" (A indicates a high priority).

[0084] The priority information 131 is set in advance according to the degree of necessity of the data to be communicated, etc. For example, if the data communicated between the factory device 20 and the terminal-side factory device 60 is data necessary for the operation of the factory production line, it has a high priority. As a specific example, when the device is controlled using sensor data and camera image data, the priority information 131 is set to set the sensor data and camera image data to a high priority.

[0085] The calculation method of the communication bandwidth is described.

[0086] The calculation method of the communication bandwidth at other times ot is described. The bandwidth calculation unit 113 calculates the communication bandwidth allocated to the communication path used in each group for the other times ot, so that a communication bandwidth greater than the sum of the communication speeds of the group using the communication path is allocated to the communication path for each communication path. In Embodiment 1, the bandwidth calculation unit 113 calculates the sum of the communication speeds of the group using the communication path as the communication bandwidth of the communication path.

[0087] The communication path between the base station 40 "ip400" and the terminal 50a "ip501" is described. The communication path is used by the terminal-side factory device 60a to the terminal-side factory device 60c. Therefore, the communication bandwidth bw11 of the communication path becomes the sum of the communication speed of the terminal-side factory device 60a, the communication speed of the terminal-side factory device 60b, and the communication speed of the terminal-side factory device 60c. That is, bw11 = sp1 + sp2 + sp3. In the case of sp1 = sp2 = sp3 = 100, bw11 = 300 (Mbps).

[0088] The communication path between the base station 40 "ip400" and the terminal 50b "ip502" is described. The communication path is used by the terminal side factory device 60d and the terminal side factory device 60e. Therefore, the communication bandwidth bw12 of the communication path becomes the sum of the communication speed of the terminal side factory device 60d and the communication speed of the terminal side factory device 60e. That is, bw12 = sp4 + sp5. In the case of sp4 = sp5 = 100, bw12 = 200 (Mbps).

[0089] The calculation method of the communication bandwidth for the overlap time dt is described. The bandwidth calculation unit 113 refers to the priority information 131 for the overlap time dt and calculates the communication bandwidth so that the high priority path is allocated the communication bandwidth in priority to other communication paths. The high priority path is a communication path used by a group including a device with a high priority for sending data. That is, the bandwidth calculation unit 113 allocates the communication bandwidth preferentially to the high priority path for exchanging high priority data.

[0090] Here, the bandwidth calculation unit 113 increases the communication bandwidth of the high priority path compared to the communication bandwidth of other times ot. On the other hand, the bandwidth calculation unit 113 decreases the communication bandwidth of the communication paths other than the high priority path compared to the communication bandwidth of other times ot. Fig. 9 In the example, regarding the terminal-side plant device 60 with priority "A", the number of communication paths using the base station 40 "ip400" and the terminal 50a "ip501" is 2. The number of communication paths using the base station 40 "ip400" and the terminal 50b "ip502" is 1. In this case, the bandwidth calculation unit 113 increases the communication bandwidth of the former and decreases the communication bandwidth of the latter.

[0091] There are three methods for determining the amount of increase in the communication bandwidth of the high priority path. (1) A method using a fixed amount of increase. (2) A method of determining based on the ratio of high priority communications. (3) A method of determining using a weight representing the amount of increase in the communication bandwidth set for each priority level.

[0092] (1) A method using a fixed increase amount is described below.

[0093] The bandwidth calculation unit 113 determines the increase amount in advance as a constant "200 (Mbps)" or the like. The bandwidth calculation unit 113 calculates the communication bandwidth of the high priority path by setting it to the communication bandwidth of the other time ot + the constant "200 (Mbps)". In addition, the bandwidth calculation unit 113 calculates the communication bandwidth of the communication path other than the high priority path by setting it to the communication bandwidth of the other time ot - the constant "200 (Mbps)".

[0094] For example, assuming that at other time ot, the communication bandwidth is bw11=300 (Mbps), bw12=300 (Mbps), then the communication bandwidth at the overlapping time dt becomes bw21=300+200=500 (Mbps), bw22=300-200=100 (Mbps).

[0095] (2) A method of determining based on the ratio of high-priority communications will be described.

[0096] The bandwidth calculation unit 113 determines the increase amount based on the ratio of the number of groups including devices with a priority level higher than the benchmark level in the group using the high priority path to the number of groups including devices with a priority level higher than the benchmark level in the group using other communication paths. In addition, the bandwidth calculation unit 113 calculates the communication bandwidth of the high priority path by setting it to the communication bandwidth of the other time ot + the increase amount. In addition, the bandwidth calculation unit 113 calculates the communication bandwidth of the communication path other than the high priority path by setting it to the communication bandwidth of the other time ot - the increase amount.

[0097] For example, suppose a ratio with priority "A" is used. Fig. 9 In the example, regarding the terminal-side factory device 60 with priority "A", the number of communication paths between the base station 40 "ip400" and the terminal 50a "ip501" is 2. Regarding the terminal-side factory device 60 with priority "A", the number of communication paths between the base station 40 "ip400" and the terminal 50b "ip502" is 1. The ratio becomes "2:1".

[0098] For example, assume that at another time ot, the communication bandwidth is bw11=300 (Mbps) and bw12=300 (Mbps). In this case, for example, the increase is calculated so that the total communication bandwidth of bw11 and bw12 is allocated according to the ratio. That is, 400-300=100 is calculated as the increase so that (300+300)×2 / 3=400 is allocated to bw21. Then, the communication bandwidth of the overlapping time dt becomes bw21=(300+100)=400 (Mbps) and bw22=(300-100)=200 (Mbps).

[0099] In addition, the ratio of the terminal-side plant devices 60 with priority "A" may be equal (for example, "1:1"). In this case, the bandwidth calculation unit 113 may calculate the value of the communication bandwidth based on the ratio of the terminal-side plant devices 60 with priority "B".

[0100] For example, in Fig. 9In the priority information 131 shown, the priority of the IP address "ip2" is "C". Thus, for the terminal-side factory device 60 with priority "A", the number of communication paths using the base station 40 "ip400" and the terminal 50a "ip501" is 1. For the terminal-side factory device 60 with priority "A", the number of communication paths using the base station 40 "ip400" and the terminal 50b "ip502" is 1. That is, the ratio of the terminal-side factory devices 60 with priority "A" is equal. In this case, consider the terminal-side factory device 60 with priority "B". Then, determine the ratio of the terminal-side factory devices 60 with priority "A" or "B". In this way, the ratio becomes "2:1".

[0101] (3) A method of determining the amount of increase in the communication bandwidth using a weight indicating the amount of increase in the communication bandwidth set for each priority level will be described.

[0102] The weight indicating the increase in the communication bandwidth is set in advance for each priority level. The bandwidth calculation unit 113 calculates the sum of the weights set for the priority levels of the devices included in the group using the high priority path for the high priority path. The bandwidth calculation unit 113 calculates the increase corresponding to the sum of the weights. Then, the bandwidth calculation unit 113 calculates the communication bandwidth of the high priority path as the communication bandwidth of the other time ot + the increase.

[0103] For example, suppose that a weight of "+50 (Mbps)" is set for priority "A", a weight of "0 (Mbps)" is set for priority "B", and a weight of "-50 (Mbps)" is set for priority "C". Suppose that at another time ot, the communication bandwidth is bw11 = 300 (Mbps), bw12 = 300 (Mbps). Fig. 9 In the priority information 131 shown, regarding the communication path between the base station 40 "ip400" and the terminal 50a "ip501", the priority "A" is 2, the priority "B" is 1, and the priority "C" is 0. In addition, regarding the communication path between the base station 40 "ip400" and the terminal 50b "ip502", the priority "A" is 1, the priority "B" is 0, and the priority "C" is 1. Therefore, the communication bandwidth of the overlapping time dt becomes bw21 = 300 + 100 = 400 (Mbps), and bw22 = 300-0 = 300 (Mbps).

[0104] The bandwidth calculation unit 113 may calculate the communication bandwidth of the communication path other than the high priority path by setting the communication bandwidth of the other time ot minus the increase. In this case, bw22=300-100=200 (Mbps).

[0105] (Step S15: Time determination processing)

[0106] The bandwidth setting unit 114 determines whether the time data "YYYY / MM / DD hh:mm:ss.SSS" held by the factory device 20 is received from the factory device 20. The time data is transmitted from the factory device 20 at the timing of starting the control process. The timing of starting the control process is the timing of communicating with the terminal-side factory device 60 and starting the process of the production line.

[0107] When the bandwidth setting unit 114 receives the time data, the process proceeds to step S16. On the other hand, when the bandwidth setting unit 114 does not receive the time data, the bandwidth setting unit 114 waits until the time data is received and returns the process to step S15.

[0108] (Step S16: Time synchronization processing)

[0109] The bandwidth setting unit 114 synchronizes the time of the communication bandwidth setting device 10 with the time indicated by the time data received in step S15 .

[0110] (Step S17: Time Zone Determination Process)

[0111] The bandwidth setting unit 114 determines whether the current time of the communication bandwidth setting device 10 is the other time ot or the overlapping time dt.

[0112] When the current time is the other time ot, the bandwidth setting unit 114 advances the process to step S18. On the other hand, when the current time is the overlap time dt, the bandwidth setting unit 114 advances the process to step S19.

[0113] (Step S18: Other time control processing)

[0114] The bandwidth setting unit 114 reads the communication bandwidth set for each communication path for the other time ot from the communication bandwidth information 135. Then, the bandwidth setting unit 114 instructs the external device 30 to set the read communication bandwidth for each communication path.

[0115] (Step S19: Overlap Time Control Process)

[0116] The bandwidth setting unit 114 reads the communication bandwidth set for each communication path for the overlap time dt from the communication bandwidth information 135. Then, the bandwidth setting unit 114 instructs the external device 30 to set the read communication bandwidth for each communication path.

[0117] Reference Fig.10 , to illustrate the communication bandwidth set in Implementation 1.

[0118] Based on the time data of the plant device 20, the time of the communication system 100 is synchronized to "t1". Based on the overlapping time dt and the overlapping period ct, the communication bandwidths "bw11" and "bw12" within the other time ot are set for the time "t1". Afterwards, when it becomes the time "t1+ct-dt", the communication bandwidths "bw21" and "bw22" within the overlapping time dt are set. Then, when it becomes the time "t1+ct", the communication bandwidths "bw11" and "bw12" within the other time ot are set. Thereafter, the setting of the communication bandwidth is also periodically switched.

[0119] **Effects of Implementation Method 1**

[0120] As described above, the communication bandwidth setting device 10 of the first embodiment determines the overlapping time dt for overlapping communications and calculates the communication bandwidth for each of the overlapping time dt and the other time t. This can prevent the communication bandwidth from being insufficient even when communication timings of multiple devices overlap.

[0121] Furthermore, the communication bandwidth setting device 10 of Embodiment 1 changes the allocation of the communication bandwidth according to the priority for the overlap time dt, thereby enabling data required for the operation of the production line of the factory with a high priority to be transmitted within the allowable delay time.

[0122] Furthermore, communication bandwidth setting device 10 of Embodiment 1 sets the communication bandwidth using information previously stored in plant device 20 and external device 30. This can omit a user operation of inputting information required for setting the communication bandwidth on the communication bandwidth setting device 10 side.

[0123] **Other structures**

[0124] <Variation 1>

[0125] In the first embodiment, each functional component is implemented by software. However, as a modification example 1, each functional component may be implemented by hardware. Regarding this modification example 1, the differences from the first embodiment will be described.

[0126] Reference Fig.11 , the structure of the communication bandwidth setting device 10 according to the modification example 1 is described.

[0127] When each functional component is realized by hardware, the communication bandwidth setting device 10 includes an electronic circuit 15 instead of the processor 11, the memory 12, and the storage 13. The electronic circuit 15 is a dedicated circuit that realizes the functions of each functional component, the memory 12, and the storage 13.

[0128] As the electronic circuit 15, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, and an FPGA are assumed. GA is the abbreviation of Gate Array. ASIC is the abbreviation of Application Specific Integrated Circuit. FPGA is the abbreviation of Field-Programmable Gate Array.

[0129] Each functional component may be realized by one electronic circuit 15 , or may be realized by distributing each functional component among a plurality of electronic circuits 15 .

[0130] <Variation 2>

[0131] As a second modification, some of the functional components may be implemented by hardware, and the other functional components may be implemented by software.

[0132] The processor 11, the memory 12, the storage 13, and the electronic circuit 15 are referred to as a processing circuit. That is, the functions of each functional component are realized by the processing circuit.

[0133] Implementation method 2.

[0134] Embodiment 2 is different from Embodiment 1 in that a connection structure and a communication bandwidth allocated to a communication path are displayed. In Embodiment 2, this difference will be described, and description of the same points will be omitted.

[0135] ***Structure description***

[0136] Reference Fig.12 , the structure of the communication bandwidth setting device 10 according to the second embodiment is described.

[0137] The communication bandwidth setting device 10 is connected to the display device 141 via the communication interface 14. Figure 2 The communication bandwidth setting device 10 shown is different. The display device 141 is an LCD or the like. LCD is the abbreviation of Liquid Crystal Display.

[0138] The communication bandwidth setting device 10 is different from the communication bandwidth setting device 10 in that it includes a display unit 115 as a functional component. Figure 2 The communication bandwidth setting device 10 shown is different. The function of the display unit 115 is realized by software or hardware, similarly to other functional components.

[0139] In addition, the communication bandwidth setting device 10 stores the display information 136 in the storage 13. Figure 2The communication bandwidth setting device 10 shown is different. The display information 136 is for indicating the content of the connection structure.

[0140] ***Action description***

[0141] Reference Figures 13 to 17 , the operation of the communication bandwidth setting device 10 according to the second embodiment is described.

[0142] The operation process of the communication bandwidth setting device 10 of the second embodiment corresponds to the communication bandwidth setting method of the second embodiment. In addition, the program for realizing the operation of the communication bandwidth setting device 10 of the second embodiment corresponds to the communication bandwidth setting program of the second embodiment.

[0143] Reference Fig.13 , the processing flow of the communication bandwidth setting device 10 according to the second embodiment is described.

[0144] The processing of steps S21 to S29 is the same as Figure 3 The processing from step S11 to step S19 is the same.

[0145] (Step S30: Display Processing)

[0146] The display unit 115 displays the connection structure of the communication paths and the communication bandwidth set in the communication paths on the display device 141 .

[0147] Specifically, the display unit 115 determines the connection structure of the communication path by referring to the connection structure information 134. The display unit 115 generates image data representing the connection structure by referring to the display information 136. The display unit 115 displays the communication bandwidth read out in step S28 or step S29 near the corresponding transmission path in the image data.

[0148] Reference Fig.14 , the plant device information 132 of implementation mode 2 is explained.

[0149] The plant device information 132 includes Figure 4 The information shown also includes a name. The name is information for identifying the plant device 20 and the terminal-side plant device 60.

[0150] Reference Fig.15 , the connection structure information 134 of implementation mode 2 is explained.

[0151] The connection structure information 134 includes Figure 6In addition to the information shown, the name is also included for each device on the communication path. For the plant device 20 and the terminal-side plant device 60, the name included in the plant device information 132 is set. For the base station 40 and the terminal 50, the name is set by the connection structure construction unit 111 according to the position in the connection structure information 134. Specifically, the base station is set as the name for the communication path 2, and the terminal is set as the name for the communication path 3. In addition, for the base station 40 and the terminal 50, the name can also be set based on the IP address.

[0152] Reference Fig.16 , the display information 136 of implementation mode 2 is explained.

[0153] The display information 136 includes names and display contents for the plant device 20, the base station 40, the terminal 50, and the terminal-side plant device 60. The contents are, for example, images such as icon images that can identify each device.

[0154] Reference Fig.17 , image data displayed by the display unit 115 according to the second embodiment is described.

[0155] The display unit 115 obtains the content corresponding to each device on the connection structure represented by the connection structure information 134 from the display information 136. The display unit 115 represents each device in the connection structure with the content, represents the connection relationship represented by the connection structure with lines, and generates image data representing the connection structure. Fig.17 In FIG. 1 , the display unit 115 connects the devices connected by wire with solid lines, and connects the devices connected by wireless with dotted lines. The display unit 115 displays the communication bandwidth read out in step S28 or step S29 near the corresponding transmission path in the image data. Fig.17 In the example, the display unit 115 makes the line of the transmission path with a larger communication bandwidth thicker and makes the line of the transmission path with a smaller communication bandwidth thinner. This makes it easier to visually recognize the size of the communication bandwidth.

[0156] **Effects of Implementation Method 2**

[0157] As described above, the communication bandwidth setting device 10 according to Embodiment 2 visually displays the connection structure and the communication bandwidth allocated to the communication path. This allows the user of the communication bandwidth setting device 10 to easily recognize the setting status.

[0158] In addition, the word “unit” in the above description may be replaced by “circuit”, “process”, “procedure”, “processing” or “processing circuit”.

[0159] The above describes the embodiments and variations of the present disclosure. It is also possible to combine several of these embodiments and variations and implement them. In addition, it is also possible to partially implement any one or several of them. In addition, the present disclosure is not limited to the above embodiments and variations, and various changes can be made as needed.

[0160] Description of Reference Numerals

[0161] 100 communication system, 10 communication bandwidth setting device, 11 processor, 12 memory, 13 storage, 14 communication interface, 15 electronic circuit, 111 connection structure construction unit, 112 overlap determination unit, 113 bandwidth calculation unit, 114 bandwidth setting unit, 115 display unit, 131 priority information, 132 factory device information, 133 communication path information, 134 connection structure information, 135 communication bandwidth information, 136 display information, 20 factory device, 30 external device, 40 base station, 50 terminal, 60 terminal-side factory device.

Claims

1. A communication bandwidth setting device, wherein: The communication bandwidth setting device comprises: an overlap determination unit that determines an overlap time for overlapping communications among a plurality of groups based on communication timings of each group of communicating devices; a bandwidth calculation unit that calculates a communication bandwidth to be allocated to a communication path used in each of the groups, for the overlapping time determined by the overlap determination unit and other times that are not the overlapping time; as well as The bandwidth setting unit switches the communication bandwidth calculated by the bandwidth calculation unit for the overlapping time and the communication bandwidth calculated by the bandwidth calculation unit for the other time according to which of the overlapping time and the other time is the time, and sets the communication bandwidth for the communication path used in each group.

2. The communication bandwidth setting device according to claim 1, wherein: The bandwidth calculation unit calculates the communication bandwidth for the overlap time determined by the overlap determination unit with reference to priority information indicating the priority of sending data for each device, so that a high priority path is allocated communication bandwidth preferentially compared to other communication paths. The high priority path is a communication path used by a group including devices with high priority for sending data.

3. The communication bandwidth setting device according to claim 2, wherein: The bandwidth calculation unit calculates the communication bandwidth to be allocated to the communication paths used in the respective groups for the other time so that a communication bandwidth equal to or greater than the sum of the communication speeds of the groups using the communication path is allocated to each communication path. The bandwidth calculation unit increases the communication bandwidth allocated to the high priority path during the overlapping time compared to the communication bandwidth allocated to the high priority path during the other time.

4. The communication bandwidth setting device according to claim 3, wherein: The bandwidth calculation unit increases the communication bandwidth of the high priority path by a fixed increase amount for the overlapping time.

5. The communication bandwidth setting device according to claim 3, wherein: The priority information indicates the level of priority. The bandwidth calculation unit increases the communication bandwidth for the high priority path for the overlapping time by the following increase amount, which corresponds to the ratio of the number of groups including devices with a priority level higher than the benchmark level in the group using the high priority path to the number of groups including devices with a priority level higher than the benchmark level in the group using the other communication path.

6. The communication bandwidth setting device according to claim 3, wherein: The priority information indicates the level of priority. A weight indicating an increase in the communication bandwidth is set for each priority level. The bandwidth calculation unit increases the communication bandwidth of the high priority path for the overlapping time by an amount represented by the sum of weights set for priority levels of devices included in a group using the high priority path.

7. The communication bandwidth setting device according to any one of claims 1 to 6, wherein: The communication bandwidth setting device further comprises a display unit. The display unit displays a connection structure of the communication paths used in the respective groups and a communication bandwidth set for the communication paths used in the respective groups.

8. A method for setting a communication bandwidth, wherein: The computer determines an overlapping time for overlapping communications among a plurality of groups based on the communication timing of each group of communicating devices, The computer calculates the communication bandwidths to be allocated to the communication paths used in the respective groups for the overlapping time and other times that are not the overlapping time. The computer switches the communication bandwidth calculated for the overlapping time and the communication bandwidth calculated for the other time according to which of the overlapping time and the other time is the time, and sets the communication bandwidth for the communication path used in each group.

9. A communication bandwidth setting program, the communication bandwidth setting program causing a computer to function as a communication bandwidth setting device, The communication bandwidth setting device performs: An overlap determination process of determining an overlap time for overlapping communications among a plurality of groups based on communication timings of each group of communicating devices; a bandwidth calculation process of calculating, for each of the overlapping time determined by the overlap determination process and other times other than the overlapping time, a communication bandwidth allocated to the communication path used in each of the groups; and The bandwidth setting process switches the communication bandwidth calculated for the overlapping time by the bandwidth calculation process and the communication bandwidth calculated for the other time by the bandwidth calculation process according to which of the overlapping time and the other time it is, and sets the communication bandwidth for the communication path used in each group.