WO2023026431A1 - Dispositif de commande de communication, procédé de commande de communication et programme - Google Patents
Dispositif de commande de communication, procédé de commande de communication et programme Download PDFInfo
- Publication number
- WO2023026431A1 WO2023026431A1 PCT/JP2021/031361 JP2021031361W WO2023026431A1 WO 2023026431 A1 WO2023026431 A1 WO 2023026431A1 JP 2021031361 W JP2021031361 W JP 2021031361W WO 2023026431 A1 WO2023026431 A1 WO 2023026431A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- control
- time
- length
- cycle
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 553
- 238000000034 method Methods 0.000 title claims description 19
- 238000005259 measurement Methods 0.000 claims description 42
- 238000003860 storage Methods 0.000 description 30
- 238000012545 processing Methods 0.000 description 26
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004043 responsiveness Effects 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
Definitions
- the present disclosure relates to a communication control device, communication control method and program.
- Patent Document 1 describes a data transfer device that connects a master station and a plurality of slave stations to which controlled objects are connected. This data transfer device periodically switches the data transfer path between the main station and any of the slave stations according to the contents of the timetable. This enables multicast communication without impairing the real-time nature of control system network communication.
- the present disclosure has been made in view of the above circumstances, and aims to reduce the burden on workers who prepare communications for controlling devices.
- a communication control device of the present disclosure is a communication control device that performs control communication for controlling equipment with a communication device, and is defined by a shared time shared with the communication device.
- communication control means for determining the length of a communication cycle including a time segment based on the length of time required for control communication, and causing the communication device to execute control communication in the time segment for each communication cycle of the determined length; and communication means for performing control communication in time segments in each communication cycle having a length determined by the communication control means.
- FIG. 1 shows a hardware configuration of a communication control device according to Embodiment 1;
- FIG. 1 is a diagram for explaining an overview of communication by time division according to Embodiment 1;
- 1 shows a functional configuration of a communication control device according to Embodiment 1;
- FIG. 1 is a first diagram for explaining measurement of time required for control communication according to Embodiment 1;
- FIG. 2 is a second diagram for explaining measurement of time required for control communication according to Embodiment 1;
- FIG. 3 is a third diagram for explaining measurement of time required for control communication according to the first embodiment;
- a diagram showing an example of a tuning table according to the first embodiment A diagram showing an example of a communication cycle candidate table according to the first embodiment
- FIG. 11 is a diagram showing an example of setting parameters according to the first embodiment;
- a diagram showing an example of a communication cycle according to parameters according to the first embodiment 4 is a flowchart showing communication control processing according to Embodiment 1;
- a diagram showing an example of a communication cycle according to parameters according to the second embodiment A diagram showing an example of a communication cycle according to parameters according to a modification
- FIG. 11 shows a functional configuration of a communication control device according to Embodiment 3;
- Flowchart showing learning processing according to Embodiment 3 FIG. 11 is a diagram for explaining a method of determining the order of time slots according to a modified example;
- the communication control device 100 according to the embodiment of the present disclosure will be described in detail below with reference to the drawings.
- Communication control apparatus 100 constitutes communication system 1000 together with communication apparatuses 211, 212, 220 and device 40, as shown in FIG.
- a communication system 1000 corresponds to a part of an FA system installed in a factory.
- This FA system may be, for example, a production system, an inspection system, a processing system, or other systems.
- the communication control device 100 optimizes the parameters of time-division multiplex communication performed with the communication devices 211 , 212 , and 220 .
- the communication control device 100 and the communication devices 211, 212, and 220 are connected via the network 30 and communicate with each other.
- Network 30 is an industrial network that follows the Fieldbus standard.
- the communication control device 100 is a PLC (Programmable Logic Controller) that functions as a main station, and is connected to the equipment 40 via signal lines.
- Communication devices 211, 212, and 220 are remote I/O (Input/Output) devices that function as slave stations, and are connected to device 40 via signal lines.
- the communication control device 100 controls the devices 40 connected to itself and the devices 40 connected via the communication devices 211, 212, and 220 to operate the FA system. For example, the communication control device 100 moves the arm of the device 40, which is a robot connected to the communication device 211, according to the output of the device 40, which is a sensor connected to the communication device 220, to convey the work.
- the communication control device 100 may not be a PLC, and the network 30 may not be a line-type transmission line as shown in FIG.
- the communication control device 100 may be a communication unit that forms a PLC 101 together with a CPU unit 102 and an I/O unit 103 that are connected to each other via a system bus 104 .
- the network 30 may be a ring-type, mesh-type, bus-type, or other type of transmission path.
- the communication control device 100 may correspond to the master station among the nodes forming the network 30, and the communication devices 211, 212, and 220 may correspond to the slave stations.
- the communication control device 100 has a processor 51, a main storage unit 52, an auxiliary storage unit 53, a clock unit 54, an input unit 55, an output unit 56, and a communication unit 57 as its hardware configuration.
- the main storage unit 52 , the auxiliary storage unit 53 , the clock unit 54 , the input unit 55 , the output unit 56 and the communication unit 57 are all connected to the processor 51 via the internal bus 58 .
- the processor 51 includes a CPU (Central Processing Unit) or MPU (Micro Processing Unit) which is an integrated circuit.
- the processor 51 implements various functions of the communication control device 100 by executing the program P1 stored in the auxiliary storage unit 53, and executes processing described later.
- the main storage unit 52 includes a RAM (Random Access Memory).
- a program P1 is loaded from the auxiliary storage unit 53 into the main storage unit 52 .
- the main storage unit 52 is used as a work area for the processor 51 .
- the auxiliary storage unit 53 includes non-volatile memory represented by EEPROM (Electrically Erasable Programmable Read-Only Memory) and HDD (Hard Disk Drive).
- EEPROM Electrically Erasable Programmable Read-Only Memory
- HDD Hard Disk Drive
- Auxiliary storage unit 53 stores various data used for processing of processor 51 in addition to program P1.
- Auxiliary storage unit 53 supplies data used by processor 51 to processor 51 and stores the data supplied from processor 51 in accordance with instructions from processor 51 .
- the clock unit 54 includes, for example, a crystal oscillator, a silicon oscillator, a crystal oscillator, or a clock generation circuit having an oscillation circuit.
- the clock unit 54 generates and outputs a clock signal based on the clock generated by the clock generation circuit.
- the clock signal includes a clock pulse, and is used by the processor 51 to keep time by counting the number of rises of the clock pulse by built-in hardware elements or by software processing executed.
- the input unit 55 includes input devices typified by input keys and a pointing device.
- the input unit 55 acquires information input by the user of the communication control device 100 and notifies the processor 51 of the acquired information.
- the output unit 56 includes output devices typified by LEDs (Light Emitting Diodes), LCDs (Liquid Crystal Displays), and speakers.
- the output unit 56 presents various information to the user according to instructions from the processor 51 .
- the communication unit 57 includes a network interface circuit for sending and receiving Ethernet frames with external devices. Communication unit 57 receives a signal from the outside and outputs data indicated by this signal to processor 51 . The communication unit 57 also transmits a signal indicating the data output from the processor 51 to an external device.
- the communication control device 100 and the communication devices 211, 212, and 220 communicate according to the IEEE 802.1 TSN (Time Sensitive Networking) standard.
- This IEEE 802.1 TSN standard is hereinafter referred to as the TSN standard. An outline of communication according to this TSN standard will be described below. Note that the communication devices 211, 212, and 220 are collectively referred to as a communication device 200.
- FIG. 1 The IEEE 802.1 TSN standard is hereinafter referred to as the TSN standard.
- the communication control device 100 and the communication device 200 synchronize time via the network 30 . Specifically, each of these devices shares time with other devices via a time synchronization protocol.
- a time synchronization protocol is a protocol for synchronizing the time of devices on a communication network with high precision. For example, when IEEE802.1 AS is applied as the time synchronization protocol, a grandmaster corresponding to one node on the network periodically distributes a highly accurate reference clock via the communication network. Further, communication delay is measured by reciprocating data between the grandmaster and the slave node, and the slave node obtains a reference clock corrected for this communication delay. Thereby, the time when the communication delay is corrected is shared.
- time sharing and time synchronization by a plurality of devices means synchronizing the clocks of each of the plurality of devices. If the clocks of a plurality of devices keep the same time, and if this time is shared by the plurality of devices, the plurality of devices will synchronize the time.
- the time shared between devices is referred to as shared time.
- the communication control device 100 and the communication device 200 transmit and receive data based on a predetermined schedule according to the shared time using a protocol defined as IEEE802.1 Qbv. Specifically, as shown in FIG. 4, the communication control device 100 and the communication device 200 communicate by time division multiplexing in communication cycles 41 and 42 each having a predetermined length according to the shared time.
- the communication cycles 41 and 42 are adjacent to each other. That is, the communication cycle 42 is provided immediately after the communication cycle 41 , and the end time of the communication cycle 41 is equal to the start time of the communication cycle 42 . Although two communication cycles 41 and 42 are shown in FIG. 4 , periods equivalent to the communication cycles 41 and 42 are provided periodically before the communication cycle 41 and after the communication cycle 42 .
- the communication cycles 41 and 42 respectively have adjacent time slots TS1, TS2 and TS0.
- the start time of the time slot TS1 is equal to the start time of the communication cycle 41.
- the end time is equal to the start time of time slot TS2
- the end time of time slot TS2 is equal to the start time of time slot TS0
- the end time of time slot TS0 is equal to the end time of communication cycle 41.
- the time slot TS1 of the communication cycle 42 is arranged.
- the time slots TS1 and TS2 are time segments for performing different types of predetermined control communications. Specifically, time slots TS1 and TS2 are each provided for control communications of a predetermined type, channel or protocol.
- Control communication is communication for controlling the device 40 .
- Control communication is communication for devices to share data for each communication cycle. Control communication differs from information-based communication, which transmits data as needed, in that control communication is repeated at relatively short intervals in order to ensure that devices share information in real time.
- time slot TS1 In time slot TS1, as indicated by dashed arrows in FIG. and receive.
- communication device 220 responds to the request from communication control device 100, as indicated by the thick arrow in FIG.
- time slot TS0 communication other than control communication is performed, for example, IP (Internet Protocol) communication is performed.
- IP Internet Protocol
- each device executes at least one of transmission or reception of the data, and does not execute communication when there is no data to be transmitted.
- the communication devices 211 and 212 executing the first control communication transmit and receive data in time slot TS1, but do not transmit and receive data in time slot TS2.
- the communication device 220 that executes the second control communication transmits/receives data in the time slot TS2, but does not transmit/receive data in the time slot TS1.
- Communication control device 100 transmits and receives data in both time slots TS1 and TS2.
- the length of time TL1 required for control communication in time slot TS1 is shorter than the length of time slot TS1
- the length of time TL2 required for control communication in time slot TS2 is shorter than the length of time slot TS2.
- no communication occurs at least for the time length TL11 for the time slot TS1
- no communication occurs for at least the time length TL21 for the time slot TS2.
- the communication control device 100 has a function of omitting such omissible time lengths TL11 and TL21 to automatically improve the efficiency of communication.
- the communication control device 100 has, as its functions, a time sharing unit 11 that shares shared time with the communication devices 211, 212, and 220, a communication unit 12 that communicates according to the TSN standard, and a control communication.
- a measurement unit 13 for measuring the time required an inquiry unit 14 for inquiring communication cycle candidates that can be set in the communication devices 211, 212, and 220, and a preset control program 163 for interpreting the relationship between a plurality of control communications.
- a storage unit 16 that stores various information; and a communication control unit 17 that causes the communication device 200 to perform communication with optimized parameters based on the information in the storage unit 16 .
- the time sharing unit 11 is realized mainly by cooperation of the processor 51, the clock unit 54, and the communication unit 57. As a grandmaster, the time sharing unit 11 distributes the shared time based on the time of the clock unit 54 to the communication device 200 and shares the shared time with the communication device 200 . However, the time sharing unit 11 may be a slave node that acquires shared time distributed from other grandmasters. When the time sharing unit 11 is a slave node, any one of the communication devices 200 may correspond to the grandmaster, and the sharing delivered from the grandmaster other than the communication control device 100 and the communication device 200 The communication control device 100 and the communication device 200 may share the time. The time sharing unit 11 may share time with the communication device 200 . The time sharing unit 11 provides the shared time to the communication unit 12 .
- the communication unit 12 is realized mainly by the cooperation of the processor 51 and the communication unit 57.
- the communication unit 12 performs periodic communication with the communication device 200 as illustrated in FIG. Specifically, the communication unit 12 executes control communication of a type corresponding to each time slot in each communication cycle.
- the measurement unit 13 is mainly realized by the processor 51.
- the measurement unit 13 measures the time required for each type of control communication by the communication unit 12 . For example, as shown by the time lengths TL1 and TL2 in FIG. 4, the measurement unit 13 measures the time from the time when data is first transmitted in the control communication from the communication control device 100 to the time when the data is finally obtained in the control communication. may be measured.
- the measuring unit 13 may measure the time from the start time of the time slots TS1 and TS2 to the reception of the last data to be received in the time slots TS1 and TS2. good. Also, as shown in FIG. 7, when the control communication is started at the time of data transmission by any of the communication devices 200, or when the control communication is completed at the time of data reception by any of the communication devices 200. Alternatively, the communication control device 100 may receive time information 60 indicating the transmission time or the reception time, and the measurement unit 13 may measure the time required for control communication based on this time information 60 . 7, instead of receiving the time information 60, the measurement unit 13 may measure the time length TL1b using the communication delay value measured by the time sharing unit 11. .
- the measurement unit 13 transmits measurement data to each of the communication devices 211, 212, and 220 as shown in FIG. may receive response data for Further, the measurement unit 13 may obtain the processing times TL1c, TL1d, and TL2c of the communication devices 211, 212, and 220, respectively, based on the communication delays of the measurement data and the response data. For example, the measurement unit 13 subtracts the transmission time T11 at which the measurement data was transmitted to the communication device 211 from the reception time T12 at which the response data was received from the communication device 211, and further calculates the communication delay of the measurement data and the communication delay of the response data. The processing time TL1c may be calculated by subtracting.
- the measurement unit 13 may obtain a measured value of the time by estimating the time required for the actual control communication based on the processing times TL1c, TL1d, and TL2c. Further, the measurement unit 13 may cause the communication devices 211, 212, and 220 to measure the processing times TL1c, TL1d, and TL2c, respectively, and acquire the measurement results from each device.
- the measurement data and the response data may be the same data as the data used in the actual operation environment, or may be measurement data different from the data during the actual operation.
- the route for transmitting the measurement data and the response data may be the same as or different from the transmission route during actual operation.
- the measurement unit 13 may individually transmit measurement data to the communication devices 211, 212, and 220 without using other devices, or may transmit the measurement data via other devices. good too.
- the communication delay of the measurement data is calculated taking into account the time for the measurement data to be relayed in the other device.
- the measurement unit 13 writes the measurement result to the tuning table 162 of the storage unit 16. For example, as shown in FIG. 9, the measurement unit 13 writes the measurement results of the processing time and the communication delay in units of microseconds for each node that configures the network 30 .
- the identifiers included in the node names are equal to the reference symbols of the devices corresponding to each node.
- [A] shown as the type of control communication indicates control communication between communication control device 100 and communication devices 211 and 212
- [B] indicates control communication between communication control device 100 and communication device 220. Indicates control communication.
- control communications A and B as appropriate in correspondence with FIG.
- the measuring unit 13 corresponds to an example of measuring means for measuring the time required for control communication in the communication control device 100 .
- the inquiry unit 14 is realized mainly by the cooperation of the processor 51 and the communication unit 57.
- the inquiry unit 14 transmits data for inquiring about the length of the communication cycle that can be set to each of the communication devices 200, and receives data indicating a list of lengths of communication cycles that can be set from each of the communication devices 200. . Then, the inquiry unit 14 writes candidates for the length of the communication cycle to be set for each device indicated by this list in the storage unit 16 as the communication cycle candidate table 161 .
- FIG. 10 shows an example of the communication cycle candidate table 161 stored in the storage unit 16. As shown in FIG. In the communication control apparatus 100, the inquiry unit 14 corresponds to an example of inquiry means for inquiring of the communication apparatus about candidates for the communication period.
- the interpretation unit 15 is mainly realized by the processor 51.
- the interpreting unit 15 reads out the control program 163 for controlling the device 40 during actual operation from the storage unit 16 and analyzes the dependency relationships among the plurality of types of control communication. For example, the interpretation unit 15 determines that the data to be transmitted in the control communication B with the communication device 220 depends on the data transmitted in the control communication A with the communication device 212 . Such a dependency occurs, for example, when the communication control device 100 processes information obtained from the device 40 connected to the communication device 220 and controls the device 40 connected to the communication device 212 . Then, the interpretation unit 15 writes the analysis result into the tuning table 162 of the storage unit 16 as illustrated in FIG.
- the control program 163 for the interpretation unit 15 to interpret the dependency relationship corresponds to an example of preset information indicating the relationship between one type of control communication and another type of control communication in the communication control device 100. do.
- the storage unit 16 is mainly realized by at least one of the main storage unit 52 and the auxiliary storage unit 53.
- the storage unit 16 may not be a single storage device.
- a flash memory storing the communication cycle candidate table 161 and the tuning table 162 and a RAM storing the control program 163 may be configured separately.
- the control program 163 is stored in the CPU unit 102, and the interpretation unit 15 receives the control program from the CPU unit 102 via the system bus 104. 163 may be read.
- the communication control unit 17 is realized mainly by the cooperation of the processor 51 and the communication unit 57. Based on the tuning table 162 and the communication cycle candidate table 161, the communication control unit 17 determines the optimum parameter of the communication cycle and designates this parameter to the communication device 200, thereby instructing the communication device 200 to comply with the parameter. Control communication is executed in time slots included in each communication cycle.
- the parameters include setting values for the length of each time slot, the length of the communication cycle, and the order of the time slots in the communication cycle.
- the communication control unit 17 calculates the time slot length to be assigned to the control communication A as 32 ⁇ s, which is the sum of the processing time and communication delay for the communication devices 211 and 212. do. Further, the communication control unit 17 calculates the time slot length to be assigned to the control communication B to be 12 ⁇ s, which is the sum of the processing time and communication delay for the communication device 220 .
- the communication control unit 17 determines to provide the time slot TS2 of the control communication B after the time slot TS1 of the control communication A from the dependency relationship between the control communications A and B.
- the communication control unit 17 refers to the communication cycle candidate table 161 to determine the shortest communication period that can be set in the communication device 200 within a range that includes the time slot TS1 with a length of 32 ⁇ s and the time slot TS2 with a length of 12 ⁇ s. Select a period. In the example of FIG. 10, a value of 250 ⁇ s is selected as the shortest communication cycle that can be set for all communication apparatuses 200 and exceeds 44 ⁇ s, which is the total length of time slots TS1 and TS2. Then, the communication control unit 17 specifies parameter setting values as shown in FIG. The communication control device 100 and the communication device 200 communicate with each other in communication cycles as shown in FIG. 12 according to designated parameters.
- the communication control unit 17 determines the length of the communication cycle including the time segment defined by the shared time shared with the communication device based on the length of time required for control communication, and determines the length of the communication cycle. This corresponds to an example of communication control means for causing a device to execute control communication in a time segment for each communication cycle of a determined length. Further, when parameters are set by the communication control unit 17, the communication unit 12 communicates with the communication device 200 according to the parameters. In the communication control device 100, the communication unit 12 corresponds to an example of a communication unit that performs control communication in time segments for each communication cycle having a length determined by the communication control unit.
- the communication control processing shown in FIG. 13 corresponds to tuning processing of communication cycle parameters, which is performed in preparation for actual operation of communication with the communication device 200 by the communication control device 100 .
- a communication control process is started by a user's specific operation on the communication control device 100 .
- the interpreting unit 15 reads the control program 163 from the storage unit 16, analyzes the dependency relationship between multiple types of control communications, and writes the analysis results into the tuning table 162 (step S1). Further, the measurement unit 13 measures the time required for each type of control communication, and writes the measurement result into the tuning table 162 (step S2). Further, the inquiry unit 14 inquires of each communication device 200 about the communication period candidate, and writes the communication period candidate into the communication period candidate table 161 (step S3).
- the communication control unit 17 calculates at least each time slot length necessary for performing control communication (step S4), and determines the order of the time slots based on the dependency relationship. (Step S5), the shortest candidate matching the parameters determined in steps S4 and S5 is selected as the communication cycle length from the communication cycle candidate table 161 (step S6).
- the communication control unit 17 designates the parameters determined in steps S4 to S6 to the communication device 200 (step S7). Thereby, the communication device 200 communicates in each communication cycle according to the specified parameters.
- the communication control unit 17 attempts communication equivalent to the actual operation (step S8). For example, the communication control unit 17 tries the control communication shown in FIG. 4 according to the communication cycle exemplified in FIG. Then, the communication control unit 17 determines whether or not the control communication to be completed within each time slot has been completed (step S9).
- step S9 When it is determined that the control communication that should be completed within each time slot is not completed (step S9; No), the communication control device 100 repeats the process of moving to step S2. As a result, it is expected that the time required for the control communication will be measured again, and the parameter of the communication cycle will be determined so that the control communication can be completed without anomalies. However, in step S4, which is executed again after the determination in step S9 is negative, the time slot length for executing control communication is calculated by adding a margin of, for example, 10% to the time slot length calculated last time, A longer time slot length may be calculated. As a result, parameters different from the previous time are set.
- step S9 If it is determined that the control communication to be completed within each time slot has been completed (step S9; Yes), the communication control device 100 completes parameter setting and starts actual communication (step S10). . After that, the communication control process ends.
- the communication control unit 17 of the communication control device 100 determines the length of the communication cycle based on the length of time required for the control communication, and the communication device 200 , to execute control communication in time segments for each communication cycle of the determined length.
- a communication cycle parameter suitable for actually occurring control communication is set, and the burden on the operator who prepares the communication for controlling the device can be reduced.
- the efficiency of communication for controlling the device can be improved.
- the communication control unit 17 designates a parameter indicating the time slot length to the communication device 200 .
- the time slot length is determined based on the measurement result of the time required for control communication measured by the measurement unit 13 . As a result, an appropriate time slot length is set according to the actual control communication, and communication efficiency is improved.
- the communication control unit 17 when the time slot of the length set by the specified parameter ends before the control communication to be completed within the time slot is completed, the specified Specifies a new parameter that indicates a time slot length that is longer than the length indicated by the previous parameter. As a result, even if an excessively short time slot length is once set due to an error included in measurement by the measuring unit 13, an appropriate time slot length is set again.
- the communication control unit 17 specifies a parameter indicating the communication cycle length to the communication device 200 .
- the shortest communication cycle that can include the time slot of the calculated length among the results of the inquiry by the inquiry unit 14 to each of the communication devices 200 about candidates that can be set as the communication cycle is determined by the communication control unit. 17.
- the communication cycle candidate table 161 may be information stored in advance in the storage unit 16 by the user without inquiring the communication device 200 about the candidate.
- the communication control unit 17 determines the order of the time slots corresponding to the control communications A and B by judging the dependency relationship between the control communications A and B. Specifically, when the content of the control communication B changes according to the content of the control communication A, the interpretation unit 15 interprets that the control communication B depends on the control communication A, and the communication control unit 17 The time slot TS2 for the control communication B is provided after the time slot TS1 for the control communication A. In this case, if the time slot TS1 is provided after the time slot TS2, the contents of the control communication B will change according to the control communication A in the previous communication cycle, and there is a possibility that the responsiveness will be low. . In contrast, in the present embodiment, responsiveness can be improved by determining the order of time slots based on the dependence of control communication.
- Embodiment 2 Next, the second embodiment will be described, focusing on differences from the first embodiment described above. Equivalent reference numerals are used for configurations that are the same as or equivalent to those in the first embodiment.
- a common communication cycle length is set for all communication devices 200, but it is also conceivable that different communication cycle lengths are set according to the type of control communication.
- step S6 of FIG. 13 the communication control unit 17 according to the present embodiment performs the shortest communication including the time slot TS1 of 32 ⁇ s as shown in FIG. It determines that the cycle length is 125 ⁇ s, and regarding the communication device 220 executing the control communication B, it determines that the shortest communication cycle length including the time slot TS2 of 12 ⁇ s is 250 ⁇ s. Therefore, as shown in FIG. 14, the communication control section 17 sets a communication cycle of 125 ⁇ s including the time slot TS1 in the communication devices 211 and 212, and sets a communication cycle of 250 ⁇ s including the time slot TS2. is set in the communication device 220 .
- a common communication cycle with a length of 250 ⁇ s is set for all communication devices 200, and one communication cycle includes two time slots TS1 for executing control communication A. It can also be said.
- control communication A may be executed in timeslots TS1 included in odd-numbered communication cycles
- control communication B may be performed in timeslots TS1 included in even-numbered cycles.
- the communication cycles each execute time slot TS1 for executing control communication A and control communication B. and the time slot TS1 for
- Embodiment 3 Next, the third embodiment will be described, focusing on differences from the first embodiment described above. Equivalent reference numerals are used for configurations that are the same as or equivalent to those in the first embodiment.
- the present embodiment differs from Embodiment 1 in that parameters are determined based on the results of model learning in advance instead of determining parameters by actual measurement.
- the communication control device 100 has a learning data acquisition unit 18 and a model generation unit 19.
- the learning data acquisition unit 18 acquires data used for learning.
- the data used for learning includes condition values to be input to the model and teacher data to be output from the model.
- the processing time and the communication cycle set for all devices are shown as feature amounts, they are not limited to these, and arbitrary feature amounts may be shown.
- the data used for learning the results of measuring feature values manually using actual equipment and existing settings may be used, or a combination of condition values and appropriate communication cycles may be generated using a network simulator. It may be
- the model generation unit 19 uses the learning data acquired by the learning data acquisition unit 18 to generate a model for obtaining communication cycle parameters from the condition values indicating the network configuration, and stores the generated model in the storage unit. Save to 16.
- a model a machine learning model represented by a convolutional neural network may be used, or another model may be used.
- the model may be a model that shows the relationship between the feature quantity represented by the configuration of the network including the communication control device 100 and the communication device 200 and at least one parameter to be specified for the communication device 200 .
- Fig. 17 shows the procedure of learning processing for generating a model.
- the learning data acquisition unit 18 acquires learning data indicating the communication cycle designed by the user or the communication cycle automatically generated by the network simulator (step S41).
- the model generation unit 19 generates and saves a model using the data acquired by the learning data acquisition unit (step S42). After that, the model learning process ends.
- the communication control unit 17 of the communication control device 100 inputs the condition value including the network configuration to the model learned by the learning process to obtain the parameter of the communication cycle.
- parameters may be obtained using a pre-learned model. As a result, it is possible to save the trouble of actual measurement, and reduce the processing load for the communication control apparatus 100 to obtain appropriate parameters.
- the parameters may be determined in the same manner as in the first embodiment, based on the processing time of each device generated by the model, instead of the measured values by the measurement unit.
- the learning data acquisition unit 18 and the model generation unit 19 do not have to be built into the communication control device 100 .
- a server device on the Internet may have the learning data acquisition unit 18 and the model generation unit 19, and the communication control device 100 may acquire a model provided by this server device.
- the communication control apparatus 100 may perform tuning processing, for example, in time slot TS0 during actual operation, and notify the user of the time slot length and the shortest settable communication cycle length. This allows the user to temporarily stop the actual operation and then set appropriate parameters. Further, if the parameter can be changed during actual operation, the communication control device 100 may change and set the parameter of the communication cycle without user's approval.
- control program 163 is referred to for determining the order of the time slots, but it is not limited to this.
- information indicating dependencies may be written into the tuning table 162 by the user, or the order of the time slots may be determined based on other preset information.
- the order of time slots may be determined based on the trial results of control communication. For example, as shown in FIG. 18, the communication control device 100 tried control communication while changing the order of the time slots in the tuning process, and as a result, the contents of the control communication in one order were changed to those in the other order. If it is detected that the content of the control communication changes earlier than the content of the control communication, the one order may be determined as the parameter to be set.
- the number and arrangement of time slots may be changed arbitrarily.
- the number of types of control communication and the method of control communication may be changed arbitrarily.
- the number of communication devices 200 executing control communication with the communication control device 100 may be one, or may be any number different from three as in the above embodiment. .
- one communication device 200 may perform a plurality of types of control communication.
- the functions of the communication control device 100 can be realized by dedicated hardware or by a normal computer system.
- the program P1 to be executed by the processor 51 is stored in a computer-readable non-temporary recording medium, distributed, and the program P1 is installed in the computer, thereby configuring the apparatus for executing the above process.
- Examples of such recording media include flexible discs, CD-ROMs (Compact Disc Read-Only Memory), DVDs (Digital Versatile Discs), and MOs (Magneto-Optical Discs).
- the program P1 may be stored in a disk device of a server device on a communication network typified by the Internet, superimposed on a carrier wave, and downloaded to a computer.
- the above processing can also be achieved by starting and executing the program P1 while transferring it via a communication network.
- the above processing can also be achieved by executing all or part of the program P1 on the server device and executing the program while the computer transmits and receives information regarding the processing via a communication network.
- the functions described above are to be shared by the OS (Operating System) or by cooperation between the OS and the application, only the parts other than the OS may be stored in a medium and distributed. , or you may download it to your computer.
- the means for realizing the functions of the communication control device 100 is not limited to software, and part or all of it may be realized by dedicated hardware including circuits.
- the present disclosure is suitable for a system in which each device communicates for each time segment defined by the time shared between devices.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Un dispositif de commande de communication (100) effectue une communication de commande avec un dispositif de communication, la communication de commande étant destinée à commander un équipement. Le dispositif de commande de communication (100) comprend : une unité de commande de communication (17) qui détermine, sur la base du temps pris par la communication de commande, la longueur d'un cycle de communication qui contient une répartition temporelle définie par un temps partagé qui est partagé avec un dispositif de communication, et amène le dispositif de communication à exécuter une communication de commande, dans une répartition temporelle, pour chaque cycle de communication d'une longueur déterminée ; et une unité de communication (12) qui effectue une communication de commande, dans une répartition temporelle, pour chaque cycle de communication d'une longueur déterminée par l'unité de commande de communication (17).
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2021/031361 WO2023026431A1 (fr) | 2021-08-26 | 2021-08-26 | Dispositif de commande de communication, procédé de commande de communication et programme |
JP2022506620A JP7066080B1 (ja) | 2021-08-26 | 2021-08-26 | 通信制御装置、通信制御方法及びプログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2021/031361 WO2023026431A1 (fr) | 2021-08-26 | 2021-08-26 | Dispositif de commande de communication, procédé de commande de communication et programme |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023026431A1 true WO2023026431A1 (fr) | 2023-03-02 |
Family
ID=81584932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2021/031361 WO2023026431A1 (fr) | 2021-08-26 | 2021-08-26 | Dispositif de commande de communication, procédé de commande de communication et programme |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7066080B1 (fr) |
WO (1) | WO2023026431A1 (fr) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE112022005225T5 (de) | 2022-06-07 | 2024-09-12 | Mitsubishi Electric Corporation | Management-Controller, Gerätekommunikationssystem, Kommunikationsverfahren und Programm |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015154212A (ja) * | 2014-02-13 | 2015-08-24 | 富士電機株式会社 | ネットワークシステム、そのパラメータ決定装置 |
WO2020105129A1 (fr) * | 2018-11-20 | 2020-05-28 | 三菱電機株式会社 | Dispositif de relais, système de communication, procédé de communication et programme de communication |
-
2021
- 2021-08-26 JP JP2022506620A patent/JP7066080B1/ja active Active
- 2021-08-26 WO PCT/JP2021/031361 patent/WO2023026431A1/fr active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015154212A (ja) * | 2014-02-13 | 2015-08-24 | 富士電機株式会社 | ネットワークシステム、そのパラメータ決定装置 |
WO2020105129A1 (fr) * | 2018-11-20 | 2020-05-28 | 三菱電機株式会社 | Dispositif de relais, système de communication, procédé de communication et programme de communication |
Also Published As
Publication number | Publication date |
---|---|
JPWO2023026431A1 (fr) | 2023-03-02 |
JP7066080B1 (ja) | 2022-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7330777B2 (en) | Robot coordinated control method and system | |
US10284692B2 (en) | Control device and communication device | |
US20220413474A1 (en) | Control system | |
WO2021002059A1 (fr) | Système de commande, dispositif de réglage et programme d'ordinateur | |
WO2023026431A1 (fr) | Dispositif de commande de communication, procédé de commande de communication et programme | |
CN105308570A (zh) | 用于对分布式实时系统中的周期性任务传送时间正确的数据的方法和装置 | |
US20220286267A1 (en) | Control system, information processing device, and non-transitory computer readable medium | |
WO2022185589A1 (fr) | Dispositif, procédé et programme de traitement d'informations | |
JP6704548B1 (ja) | 通信システム、通信装置及びプログラム | |
CN114868366B (zh) | 通信装置、通信系统、通信控制方法以及程序 | |
CN109716247B (zh) | 运算装置以及控制系统 | |
JP4961589B2 (ja) | ネットワークシステムおよびスレーブ同期方法 | |
US11251990B2 (en) | Control device, control system, control method, and non-transitory storage medium storing control program | |
JP6854991B1 (ja) | 通信装置、通信システム、通信方法及びプログラム | |
CN116137951A (zh) | 通信装置、通信系统、通信控制方法以及程序 | |
JP6939665B2 (ja) | ネットワークシステム | |
WO2024162337A1 (fr) | Dispositif de commande, système de commande, procédé et programme | |
WO2023132008A1 (fr) | Dispositif de commande, procédé de réglage de cycle de communication et programme | |
US20230308514A1 (en) | Input unit, control system, communication method, and recording medium | |
WO2024079892A1 (fr) | Appareil de collecte de données, système de collecte de données, procédé de création de base de données et programme | |
CN116184920A (zh) | 一种基于软定时器的多plc控制器指令输出高精度同步方法 | |
Wisniewski et al. | Seamless Schedule Switching in Time Triggered Ethernet Based Communication Systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2022506620 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21955043 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21955043 Country of ref document: EP Kind code of ref document: A1 |