Edge module, control system, remote control system, controller, and communication method

The edge module addresses the synchronization and delay issues in cloud-based industrial control systems by using serial numbers and timestamps to manage communication delays, ensuring reliable periodic processing and system stability.

WO2024236935A1PCT designated stage expired Publication Date: 2024-11-21KK TOSHIBA +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/013969
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-12
Filing Date
2024-04-04
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

The transfer of a controller to cloud space in industrial control systems introduces network delays, making synchronization and periodic processing unreliable due to variable processing times, which is not feasible with the available cloud resources.

Method used

An edge module with data generation, transmission, and abnormality detection units that include serial numbers and timestamps to ensure normal communication with the controller, allowing for periodic processing by determining communication delays and generating control signals within specific scan cycles.

Benefits of technology

Enables reliable periodic processing by ensuring communication delays are within acceptable limits, maintaining system stability and responsiveness, even when the controller is a virtual machine in the cloud.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024013969_21112024_PF_FP_ABST
    Figure JP2024013969_21112024_PF_FP_ABST
Patent Text Reader

Abstract

[Problem] To provide an edge module, a control system, a remote control system, a controller, and a communication method that enable periodic processing. [Solution] An edge module according to an embodiment comprises: a data generating unit that generates first data including a serial number; a transmitting unit that assigns a first time point to the first data and transmits the first data to a controller; a receiving unit that receives second data which is generated by the controller on the basis of the first data and which includes the serial number and the first time point, and that acquires a second time point, which is the time point at which the second data were received; and an abnormality detecting unit that determines whether communication with the controller was performed normally, on the basis of at least one of the serial number included in the second data and a difference between the second time point and the first time point included in the second data.
Need to check novelty before this filing date? Find Prior Art

Description

Edge module, control system, remote control system, controller, and communication method

[0001] FIELD Embodiments of the present invention relate to an edge module, a control system, a remote control system, a controller, and a communication method.

[0002] Control systems for industrial plants and the like are constructed by connecting an edge-side system that includes the equipment to be controlled (target equipment) and sensors that measure values ​​related to control, and a controller that controls the target equipment based on the output from the sensor.

[0003] When a controller and an edge system are connected via a local LAN, communication between them is fast and simultaneous. Furthermore, when the controller is a physical machine, the generation of control data for the edge system and its output can be completed within one scan cycle (one calculation cycle). This allows for periodic processing.

[0004] In contrast, transferring the controller to the cloud offers advantages such as reduced initial implementation and update costs for the control system and improved flexibility and operability of the control system configuration. However, when the controller is transferred to the cloud, the connection between the edge system and the controller is via the Internet, which has a long network latency, making it impossible to guarantee synchronicity. Furthermore, because cloud space does not have as many resources (computing resources) as physical machines connected via a local LAN, it may not be possible to complete the generation of control data for the edge system and its output within a single scan. This results in variations in the time required for each process, making periodic processing impossible.

[0005] JP 2021-525044 A JP 2021-121065 A JP 2018-152675 A

[0006] Embodiments of the present invention provide an edge module, a control system, a remote control system, a controller, and a communication method that enable periodic processing.

[0007] The edge module of this embodiment includes a data generation unit that generates first data including a serial number; a transmission unit that assigns a first time to the first data and transmits the first data to a controller; a reception unit that receives second data that includes the serial number and the first time and is generated by the controller based on the first data, and acquires a second time that is the time when the second data was received; and an abnormality detection unit that determines whether communication with the controller has been performed normally based on at least one of the serial number included in the second data and the difference between the first time and the second time included in the second data.

[0008] 1 is a block diagram showing a remote control service according to the first embodiment. 2 is a block diagram showing a remote control system according to the first embodiment. 3 is a diagram explaining a data format. 4 is a sequence diagram explaining processing of the remote control system according to the first embodiment. 5 is a sequence diagram explaining another processing of the remote control system according to the first embodiment. 6 is a diagram explaining processing performed by an abnormality detection unit. 7 is a block diagram showing a remote control system according to a modified example of the first embodiment. 8 is a sequence diagram explaining processing of the remote control system according to a modified example of the first embodiment. 9 is a block diagram showing a remote control system according to a second embodiment. 10 is a sequence diagram explaining processing of the remote control system according to the second embodiment.

[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0010] First Embodiment Fig. 1 is a block diagram showing an example of a remote control service 10 according to a first embodiment. The remote control service 10 includes a plurality of control systems 2_1 to 2_N, a plurality of controller virtual machines (controllers) 3_1 to 3_M, and a communication network 4. Hereinafter, one of the plurality of control systems 2_1 to 2_N will be simply referred to as a control system 2, and one of the plurality of controllers 3_1 to 3_M will be simply referred to as a controller 3. The remote control service 10 is a service for controlling a plurality of devices (target devices 21) provided in an industrial plant or the like.

[0011] The control system 2 includes a target device 21 to be controlled, a sensor (measuring device) 22, an I / O device 23, and an edge module 24. The control system 2 is an edge-side control system that transmits measurement data acquired by the sensor 22 to a controller 3 and actually controls the target device 21 based on control data received from the controller 3. The measurement data is an example of first data transmitted from the edge module 24 to the controller 3. The control data is an example of second data transmitted from the controller 3 to the edge module 24.

[0012] The target equipment 21 is equipment that constitutes an industrial plant, such as a valve, a pump, a heat exchanger, or a mixer.

[0013] The sensor 22 measures values ​​related to the control of the target device 21 and outputs the values ​​as measurement signals (analog signals). The sensor 22 may monitor the operation of the target device 21 itself, or may monitor the operation of another device related to the target device 21. The sensor 22 may be incorporated into the target device 21, or may be located in a location physically separated from the target device 21. One control system 2 may include multiple sensors 22. If the target device 21 is a pump, the sensor 22 may be, for example, a flow meter.

[0014] The I / O device 23 is a device for performing input and output with the target device 21 and the sensor 22 that constitute the plant. The I / O device 23, for example, collects measurement signals measured by the sensor 22 from the sensor 22 and outputs them to the edge module 24. The I / O device 23 also outputs control signals received from the edge module 24 to the target device 21, thereby controlling the target device 21.

[0015] The edge module 24 is an electronic device for generating measurement data based on measurement signals from the sensor 22 and generating control signals based on control data from the controller 3. The edge module 24 also communicates with the controller 3.

[0016] The controller 3 receives measurement data from the control system 2 and generates control data for controlling the target device 21 based on the measurement data. The controller 3 also transmits the control data to the control system 2. In this embodiment, the controller 3 is a virtual machine provided in a cloud space (cloud server), but the controller 3 may also be a physical machine.

[0017] The communication network 4 connects the plurality of control systems 2_1 to 2_N and the controllers 3_1 to 3_M. In this embodiment, the communication network 4 is the Internet, but this does not exclude configurations that employ other types of communication networks.

[0018] Each of the multiple control systems 2_1 to 2_N exchanges data with multiple controllers 3_1 to 3_M. Here, a set of one control system 2 and one controller 3 that exchanges data with the control system 2 will be referred to as a remote control system 1. In other words, the remote control service 10 includes multiple remote control systems 1.

[0019] FIG. 2 is a block diagram showing an example of a remote control system 1 according to the first embodiment. Note that FIG. 2 does not show a one-to-one correspondence between a specific control system 2 and a specific controller 3. In other words, the controller 3 corresponding to a certain control system 2 is not fixed. For example, a target device 21 provided in a control system 2_3 different from the control system 2_2 may be controlled based on measurement data acquired from a sensor 22 provided in the control system 2_2. In such a case, one control system 2 may not be provided with the target device 21 or the sensor 22.

[0020] The remote control system 1 is a system in which the controller 3 generates control data for controlling the target device 21 based on a measurement signal measured by the sensor 22, and controls the target device 21 based on the control data.

[0021] The edge module 24 includes a measurement data generation unit 241 , a transmission unit 242 , a reception unit 243 , an abnormality detection unit 244 , and a control signal generation unit 245 .

[0022] The measurement data generation unit 241 acquires measurement signals from the I / O device 23 and generates measurement data. For example, the measurement data generation unit 241 converts analog measurement signals into digital signals to generate measurement data. Alternatively, the measurement data generation unit 241 may generate measurement data based on multiple measurement signals obtained from multiple sensors 22.

[0023] The transmitting unit 242 assigns the time at which the measurement data is transmitted as a first time to the measurement data, and transmits the measurement data to the controller 3 via the communication network 4. The receiving unit 243 receives the control data transmitted from the controller 3 via the communication network 4. At this time, the receiving unit 243 acquires the time at which the control data is received as a second time.

[0024] The anomaly detection unit 244 determines whether communication between the edge module 24 and the controller 3 was normal (whether no anomaly occurred) based on the received control data. That is, it determines whether processing by the controller 3 was normal without excessive delay, and whether both the transmission of measurement data and the reception of control data corresponding to the measurement data were successful without excessive delay. The anomaly detection unit 244 also determines whether an emergency has occurred based on the number of times an anomaly is detected while the remote control system 1 is operating. The number may be the average number per certain period of time.

[0025] The control signal generating unit 245 generates a control signal based on the received control data. Furthermore, when the abnormality detecting unit 244 determines that an emergency has occurred, the control signal generating unit 245 may generate a control signal for an emergency. The control signal for an emergency includes, for example, a command to make an emergency stop of the target device 21 or a command to activate a safety device.

[0026] At least some of the elements 21 to 23 and elements 241 to 245 may be configured by a circuit or processor such as an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). Alternatively, some or all of these elements may be executed by a CPU that executes a program.

[0027] The controller 3 includes a receiving function unit F31, a calculation function unit F32, a control data generating function unit F33, and a transmitting function unit F34. In other words, the controller 3 functions as various function units on the cloud.

[0028] The receiving function unit F31 receives the measurement data transmitted from the edge module 24 via the communication network 4. The transmitting function unit F34 transmits the control data via the communication network 4.

[0029] The calculation function unit F32 processes the measurement data received by the receiving function unit F31. For example, the calculation function unit F32 analyzes the measurement data and determines whether the target device 21 is operating normally, whether the measurement data contains any abnormal values, etc.

[0030] Based on the results of processing by the calculation function unit F32, the control data generation function unit F33 generates control data for controlling the target device 21. The control data generation function unit F33 generates one piece of control data based on one piece of measurement data (e.g., one packet).

[0031] The controller 3 executes a control program to perform various processes, including the processes of the functional units F31 to F34. The control program is executed at a predetermined scan cycle. The scan cycle includes refresh, control program execution (calculation) time, END processing time, etc.

[0032] The cloud server provided with the controller 3 of this embodiment is realized by a hardware configuration including a control device such as an MPU and a storage device. The storage device is realized by a memory device such as a read-only memory (ROM) or a random access memory (RAM), an external storage device such as a HDD or a CD drive, or both. Furthermore, it is not excluded that the cloud server may also include a display device or other display device and input devices such as a keyboard and a mouse.

[0033] The control program executed by the controller 3 of this embodiment is provided by being recorded in an installable or executable file format on a computer-readable disk-shaped recording medium such as a DVD (Digital Versatile Disk), a USB memory, an SSD (Solid State Disk), or other semiconductor storage device.

[0034] The control program executed by the controller 3 of this embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network.The control program executed by the controller 3 of this embodiment may be provided by being pre-installed in a ROM or the like.

[0035] In this embodiment, when the controller 3 receives the measurement data, it performs calculation processing within the next (immediately following) scan cycle to generate control data. The controller 3 then transmits the control data to the edge module 24 within the scan cycle after that. In other words, the controller 3 generates the control data and transmits the control data to the edge module 24 within different scan cycles. This makes it possible to keep the time taken from generating to transmitting the control data constant (one scan cycle) if no excessive delay occurs within the controller 3, thereby suppressing variations in processing time.

[0036] 3 is a diagram illustrating the formats of measurement data and control data. The measurement data and control data are generated, for example, in the form of packets. As shown in FIG. 3, each of the measurement data and control data includes a serial number (first serial number), a first time, and a payload (data 1, data 2, ...).

[0037] The serial number is a number assigned to the measurement data by the measurement data generation unit 241, and is used for abnormality detection by the abnormality detection unit 244. The serial number "0x987F" is assigned to the data shown in Fig. 3. The serial number may be, for example, a counter value of a programmable logic controller (PLC) included in the measurement data generation unit.

[0038] The first time is the time when the transmission unit 242 transmits the measurement data. The first time may be, for example, the time when the measurement data generation unit 241 generates the measurement data. In the example shown in Fig. 3, the data with the serial number "0x987F" is transmitted at the time "0x07836287f32a".

[0039] The payload is the body of the measurement data or control data. For example, the payload of the control data includes a command to stop the target device 21.

[0040] (Operation Example 1) Here, we will explain the overall picture of the processing performed by the remote control system 1. Fig. 4 is a sequence diagram of the remote control system 1 under normal circumstances (when no emergency occurs). Below, we will explain an operation example of the remote control system 1 with reference to Fig. 4.

[0041] First, the I / O device 23 outputs a measurement signal obtained by the sensor 22 to the edge module 24 (step S101).

[0042] Next, the measurement data generating unit 241 generates measurement data based on the input measurement signal, and at this time, the measurement data generating unit 241 assigns a first serial number to the generated measurement data (step S102).

[0043] Next, the transmitting unit 242 transmits the measurement data to the controller 3. At this time, the transmission time is assigned to the measurement data as the first time and then transmitted (step S103).

[0044] Next, the controller 3 functions as the receiving function unit F31 and receives the measurement data (step S104). Next, the controller 3 functions as the calculation function unit F32 and processes the measurement data (step S105). Here, since the controller 3 processes the measurement data at each predetermined calculation cycle, a waiting time of up to one scan cycle occurs from the completion of step S104 until the start of step S105.

[0045] Next, the controller 3 functions as the control data generation function unit F33, and generates control data for controlling the target device 21 based on the processing result of step S105 (step S106).

[0046] Next, the controller 3 functions as the control data generation function unit F33 and assigns a serial number and a first time to the generated control data (step S107). The assigned serial number and first time are the same as those included in the measurement data corresponding to the control data.

[0047] Next, the controller 3 functions as the transmission function unit F34 and transmits the control data to the edge module 24 (step S108). Step S108 is executed within a scan period different from the scan period in which step S107 was executed.

[0048] Next, the receiving unit 243 receives the control data, and acquires the time (second time) at which the control data is received (step S109).

[0049] Next, the abnormality detection unit 244 determines whether communication with the controller 3 has been performed normally based on the received control data (step S110). If no abnormality is detected (step S111: No), the process proceeds to step S112.

[0050] If an abnormality is detected (step S110: Yes), the abnormality detection unit 244 determines whether or not an emergency is occurring (step S111). If it is determined that an emergency is not occurring, the process proceeds to step S112 (step S111: No). If it is determined that an emergency is occurring, the process proceeds to step A.

[0051] Next, the control signal generating unit 245 generates a control signal based on the received control data and transmits it to the I / O device 23 (step S112).

[0052] Next, the I / O device 23 receives the control signal and controls the target device 21 based on the control signal (step S113).

[0053] (Operation Example 2) Next, the processing performed by the remote control system 1 when an emergency occurs (step A and thereafter) will be described. Fig. 5 is a sequence diagram of the remote control system 1 when an emergency occurs. Below, an operation example of the remote control system 1 will be described with reference to Fig. 5. The operation before step A is the same as Fig. 4, so it will be omitted.

[0054] First, if the abnormality detection unit 244 determines that an emergency has occurred, the process proceeds to step S201 (step A).

[0055] Next, the control signal generating unit 245 generates a control signal for an emergency (emergency control signal) and transmits it to the I / O device 23 (step S201). The emergency control signal includes, for example, an instruction to stop the target device 21 or an instruction to activate a safety device. The I / O device 23 then controls the target device 21 based on the received emergency control signal (step S202).

[0056] Next, the edge module 24 generates an emergency notification to notify the controller 3 that an emergency has occurred, and transmits the emergency notification to the controller 3 (step S203).

[0057] Next, the controller 3 receives and processes the emergency notification (step S204). Thereafter, the controller 3 may notify the user that an emergency has occurred, or may attempt to restore the control system 2.

[0058] As described above, the remote control system 1 communicates between the edge module 24 and the controller 3 to control the target device 21. In addition, by determining whether an emergency has occurred on the edge side, it is possible to respond quickly when an emergency occurs.

[0059] Next, the processing performed by the abnormality detection unit 244 in steps S110 and S111 will be described with reference to Fig. 6. Fig. 6 is a diagram for explaining the processing performed by the abnormality detection unit 244.

[0060] The abnormality detection unit 244 determines whether communication with the controller 3 has been performed normally based on at least one of the serial number included in the control data and the difference between the first time and the second time. More specifically, the abnormality detection unit 244 determines an abnormality when at least one of the following conditions is met: a missing serial number included in the control data; or the difference between the first time and the second time is equal to or greater than a predetermined delay time. Furthermore, if an abnormality is detected (determined) a predetermined number of times (one or more times), the abnormality detection unit 244 determines an emergency. If an emergency is determined based on a single abnormality detection, a rapid response to the abnormality is possible. If an emergency is determined based on multiple abnormality detections, accidental abnormalities can be eliminated.

[0061] The difference between the first time and the second time corresponds to the time taken from the start of step S103 to the completion of step S109 (see FIG. 4). Here, the time taken from the start of measurement data processing to the start of control data transmission (from the start of step S105 to the start of step S108) is one scan cycle, provided that no excessive delay occurs within the controller 3. Furthermore, the waiting time from the completion of measurement data reception to the start of measurement data processing (from the completion of step S104 to the start of step S105) is at most one scan cycle. It is assumed that the total time taken for communication between the edge module 24 and the controller 3 (from the start of step S103 to the completion of step S104, and from the start of step S108 to the completion of step S109) is less than one scan cycle if communication between them is normal. Taking these factors into consideration, if communication between the edge module 24 and the controller 3 is normal, the difference between the first time and the second time is expected to be within three scan cycles.

[0062] In the example shown in FIG. 6 , one scan period is 100 ms. Therefore, the predetermined delay time is, for example, 300 ms. The control data with serial number 2 (hereinafter referred to as control data 2) is determined to be abnormal by the abnormality detection unit 244 because the difference between the first time and the second time is 302.25 ms. However, at the time of determination of control data 2, the cumulative number of abnormality detections is 1, so it is not determined to be an emergency. Control data 5, with serial number 5, is determined to be abnormal because the serial number of the control data immediately preceding it is 3. Furthermore, at this point in time, the cumulative number of abnormality detections has reached 2, so it is determined to be an emergency by the abnormality detection unit 244.

[0063] As described above, the first time and the first serial number are assigned to the measurement data, and the same first time and first serial number are assigned to the control data based on the measurement data. This allows for detecting an abnormality when communication between the edge module 24 and the controller 3 is not performed normally by checking the difference between the first time and the second time or the first serial number when the control data is received. This also enables periodic processing within the remote control system 1.

[0064] In addition, in order to confirm the difference between the first time and the second time, the first time may be stored on the edge module 24 side, and when control data is received, the difference between the stored first time and the second time included in the control data may be confirmed.

[0065] (Modification) In the above description, the abnormality detection unit 244 included in the edge module 24 determines whether an emergency state has occurred, but the controller 3 may determine whether an emergency state has occurred. By having the controller 3 determine whether an emergency state has occurred, a more comprehensive determination can be made that takes into account the overall situation of the remote control service 10.

[0066] Fig. 7 is a block diagram showing a remote control system 1 according to a modified example of the first embodiment. Elements with the same names or functions as those in Fig. 2 of the first embodiment described above are given the same reference numerals. Hereinafter, explanations will be omitted except for changes or additions.

[0067] The edge module 24 includes an abnormality notification generation unit 246. When the abnormality detection unit 244 detects an abnormality, the abnormality notification generation unit 246 generates an abnormality notification to notify the controller 3. The generated abnormality notification is transmitted to the controller 3 by the transmission unit 242, received by the reception function unit F31, and processed by the calculation function unit F32.

[0068] The controller 3 includes a status determination function unit F35. The status determination function unit F35 determines whether an emergency exists based on the number of abnormality notifications received and processed (number of times abnormality notifications are received). The status determination function unit F35 determines an emergency when the number of received abnormality notifications reaches a predetermined number (one or more times). When the status determination function unit F35 determines an emergency, the control data generation function unit F33 generates emergency control data. The control data generation function unit F33 may generate emergency control data after confirming the status of other remote control systems 1 from information from other controllers 3. This makes it possible to prevent, for example, stopping one target device 21 from adversely affecting other target devices 21.

[0069] Fig. 8 is a sequence diagram of the remote control system 1 according to this modification. An example of the operation of the remote control system 1 according to this modification will be described below with reference to Fig. 8. The operation before step S110: No is the same as that in Fig. 4, and therefore will not be described.

[0070] First, the abnormality detection unit 244 detects that an abnormality has occurred (step S111: Yes).

[0071] Next, the abnormality notification generating unit 246 generates an abnormality notification for notifying that an abnormality has occurred, and transmits the abnormality notification to the controller 3 (step S301).

[0072] Next, the controller 3 functions as the receiving function unit F31 to receive the abnormality notification, and then functions as the arithmetic function unit F32 to process the abnormality notification (step S302).

[0073] Next, the controller 3 functions as the state determination function unit F35 and determines whether or not an emergency has occurred based on the number of times the abnormality notification has been received (step S303: Yes).

[0074] Next, the controller 3 functions as a control data generation function unit F33 to generate emergency control data to perform control in response to an emergency. Then, the controller 3 functions as a transmission function unit F34 to transmit the emergency control data to the edge module 24 (step S304). The emergency control data includes, for example, an instruction to stop the target device 21 or an instruction to activate a safety device.

[0075] Next, the receiving unit 243 receives the emergency control data (step S305), and the control signal generating unit 245 generates an emergency control signal based on the emergency control data and transmits the emergency control signal to the I / O device 23 (step S306).

[0076] Next, the I / O device 23 controls the target device 21 (step S307).

[0077] Second Embodiment In the first embodiment, a method was described in which the edge module 24 performs periodic processing between the controller 3. In the second embodiment, a method will be described in which, from the perspective of the controller 3, it is confirmed that communication between the controller 3 and the edge module 24 has been performed normally.

[0078] 9 is a block diagram showing a remote control system 1A according to the second embodiment. Elements with the same names or functions as those in the first embodiment shown in FIG. 2 are given the same reference numerals. Hereinafter, explanations will be omitted except for changes or additions.

[0079] When generating control data, the control data generation function unit F33 assigns a second serial number to the control data. The second serial number is unique to the controller 3 and is different from the first serial number assigned to the measurement data by the measurement data generation unit 241.

[0080] The transmission function unit F34 assigns the time when the control data is transmitted to the control data as the third time. Alternatively, the time when the control data generation function unit F33 generates the control data may be set as the third time.

[0081] The edge module 24 includes a response data generation unit 247. When the receiving unit 243 receives control data, the response data generation unit 247 generates response data. The response data generation unit 247 assigns a second serial number and a third time to the response data. The response data is transmitted to the controller 3 by the transmitting unit 242. The format of the response data is similar to the example of the measurement data or control data shown in FIG. 3. The response data is an example of third data transmitted from the edge module 24 to the controller 3.

[0082] The receiving function unit F31 receives the response data transmitted from the edge module 24 via the communication network 4. At this time, the receiving function unit F31 acquires the time at which the response data is received as the fourth time.

[0083] The controller 3 includes an abnormality detection function unit F36. Based on the received response data, the abnormality detection function unit F36 determines whether communication between the controller 3 and the edge module 24 has been performed normally (whether or not an abnormality has occurred). In other words, it determines whether or not both the transmission of control data and the reception of response data corresponding to the control data have been successful without excessive delay.

[0084] The anomaly detection function unit F36 determines whether communication with the edge module 24 was normal based on at least one of the serial number included in the response data and the difference between the third time and the fourth time. More specifically, the anomaly detection function unit F36 determines an anomaly when at least one of the following conditions is met: a missing number in the serial number included in the response data; or the difference between the third time and the fourth time is equal to or greater than a predetermined delay time. Furthermore, if an anomaly is detected a predetermined number of times (one or more times), the anomaly detection function unit F36 determines an emergency.

[0085] Fig. 10 is a sequence diagram of the remote control system 1A according to this embodiment. An example of the operation of the remote control system 1A according to this embodiment will be described below with reference to Fig. 10. The operation before step S105 is the same as that in Fig. 4, and therefore will not be described. Steps with the same functions as those in the sequence diagrams described above are given the same reference numerals, and their descriptions will be omitted or simplified as appropriate.

[0086] First, the controller 3 functions as the control data generation function unit F33 to generate control data for controlling the target device 21 (step S106). Then, the controller 3 functions as the control data generation function unit F33 to assign a second serial number to the control data (step S401).

[0087] Next, the controller 3 functions as the transmission function unit F34 and transmits the control data to the edge module 24. At this time, the transmission time is assigned to the control data as the third time and transmitted (S402). Then, the receiving unit 243 receives the control data (step S109).

[0088] Next, the response data generation unit 247 generates response data in response to the reception of the control data (step S402). The response data generation unit 247 then assigns a second serial number and a third time to the response data (step S403). The transmission unit 242 then transmits the response data to the controller 3 (step S404).

[0089] Next, the controller 3 functions as the receiving function unit F31 to receive the response data. At this time, the reception time is acquired as the fourth time. Then, the controller 3 functions as the calculation function unit F32 to process the response data (step S405).

[0090] Next, the controller 3 functions as the abnormality detection function unit F36, and determines whether the edge module 24 has received the control data normally. If an abnormality is detected, the process proceeds to step S303 (step S406: Yes). The subsequent processing is the same as in FIG. 8 and therefore will not be repeated.

[0091] As described above, according to the second embodiment, it is possible to confirm from the controller 3 side that communication between the controller 3 and the edge module 24 has been performed normally.

[0092] The present invention is not limited to the above-described embodiments, and the components can be modified and embodied in practice without departing from the spirit of the invention. Furthermore, various inventions can be created by appropriately combining multiple components disclosed in the above-described embodiments. For example, configurations in which some components are omitted from all the components shown in each embodiment may also be considered. Furthermore, components described in different embodiments may be appropriately combined.

[0093] This embodiment can also be configured as follows. [Item 1] An edge module including: a data generation unit that generates first data including a serial number; a transmission unit that assigns a first time to the first data and transmits the first data to a controller; a reception unit that receives second data generated by the controller based on the first data, the second data including the serial number and the first time, and acquires a second time that is the time at which the second data is received; and an abnormality detection unit that determines whether communication with the controller is performed normally based on at least one of the serial number included in the second data and a difference between the first time and the second time included in the second data. [Item 2] The edge module according to Item 1, wherein the abnormality detection unit determines that communication with the controller is not performed normally when at least one of the following conditions is met: there is a gap in the serial number included in the second data; or the difference between the first time and the second time is equal to or greater than a predetermined delay time. [Item 3] The edge module according to Item 1 or 2, wherein the abnormality detection unit determines that communication with the controller is not performed normally when it determines that communication with the controller is not performed normally a predetermined number of times. [Item 4] The edge module according to any one of items 1 to 3, wherein the transmitting unit transmits the first data to the controller via the Internet, and the receiving unit receives the second data from the controller via the Internet. [Item 5] The edge module according to item 4, wherein the controller is a virtual machine provided on a cloud. [Item 6] A control system comprising: the edge module according to item 1; a target device to be controlled; and a measuring device that measures a value related to control of the target device, wherein the first data is data measured by the measuring device, and the second data is data for controlling the target device.[Item 7] A remote control system comprising: the control system according to Item 6; and the controller, wherein the transmitter transmits the first data to the controller via the Internet, and the receiver receives the second data from the controller via the Internet, the controller being a virtual machine provided on a cloud, the controller comprising: a receiving function unit that receives the first data, a data generating function unit that generates the second data based on the first data, and a transmitting function unit that transmits the second data to the edge module. [Item 8] The remote control system according to Item 7, wherein the generation of the second data by the data generating function unit and the transmission of the second data to the edge module by the transmitting function unit are executed within different scan periods. and an anomaly detection unit configured to determine whether communication with the edge module is normal based on at least one of the serial number included in the third data and the difference between the third time and the fourth time included in the third data.[Item 11] The controller according to Item 10, wherein the abnormality detection function unit determines that communication with the edge module is not being performed normally when at least one of the following conditions is met: a missing part occurs in the serial number included in the third data; or a difference between the third time and the fourth time is equal to or greater than a predetermined delay time. [Item 12] The controller according to Item 10 or 11, wherein the controller is a virtual machine provided on a cloud. [Item 13] A communication method comprising the steps of generating first data including a serial number, assigning a first time to the first data and transmitting the first data to a controller, receiving second data generated by the controller based on the first data, including the serial number and the first time, and acquiring a second time that is the time when the second data was received, and determining whether communication with the controller was performed normally based on at least one of the serial number included in the second data and the difference between the first time and the second time included in the second data. [Item 14] A communication method comprising: a step of generating second data including a serial number; a step of assigning a third time to the second data and transmitting the second data to an edge module; a step of receiving third data including the serial number and the third time, generated by the edge module based on the second data, and acquiring a fourth time, which is the time when the third data was received; and a step of determining whether communication with the edge module was performed normally based on at least one of the serial number included in the third data and the difference between the third time and the fourth time, both included in the third data.

[0094] 1, 1A Remote control system 2, 2_1 to 2_N Control system 3, 3_1 to 3_M Controller 4 Communication network 21 Target device 22 Sensor (measuring device) 23 I / O device 24 Edge module 241 Measurement data generation unit 242 Transmission unit 243 Reception unit 244 Abnormality detection unit 245 Control signal generation unit 246 Abnormality notification generation unit 247 Response data generation unit F31 Reception function unit F32 Calculation function unit F33 Control data generation function unit F34 Transmission function unit F34 Control data generation function unit F35 Status determination function unit F36 Abnormality detection function unit

Claims

1. An edge module comprising: a data generation unit that generates first data including a serial number; a transmission unit that assigns a first time to the first data and transmits the first data to a controller; a reception unit that receives second data generated by the controller based on the first data, the second data including the serial number and the first time, and obtains a second time that is the time when the second data was received; and an abnormality detection unit that determines whether communication with the controller has been performed normally based on at least one of the serial number included in the second data and the difference between the first time and the second time included in the second data.

2. The edge module described in claim 1, wherein the abnormality detection unit determines that communication with the controller is not normal when at least one of the following conditions is met: there is a missing number in the serial number included in the second data, or the difference between the first time and the second time is equal to or greater than a predetermined delay time.

3. The edge module according to claim 1, wherein the abnormality detection unit determines that an emergency has occurred when it determines that communication with the controller is not normal a predetermined number of times.

4. The edge module according to claim 1, wherein the transmitting unit transmits the first data to the controller via the Internet, and the receiving unit receives the second data from the controller via the Internet.

5. The edge module according to claim 4, wherein the controller is a virtual machine provided on a cloud.

6. A control system comprising: an edge module as described in claim 1; a target device to be controlled; and a measuring device that measures a value related to the control of the target device, wherein the first data is data measured by the measuring device, and the second data is data for controlling the target device.

7. A remote control system comprising: the control system according to claim 6; and the controller, wherein the transmitting unit transmits the first data to the controller via the Internet; the receiving unit receives the second data from the controller via the Internet; the controller is a virtual machine provided on a cloud; and the controller comprises: a receiving function unit that receives the first data; a data generating function unit that generates the second data based on the first data; and a transmitting function unit that transmits the second data to the edge module.

8. The remote control system according to claim 7, wherein the generation of the second data by the data generation function unit and the transmission of the second data to the edge module by the transmission function unit are executed within different scan periods.

9. The remote control system described in claim 7, wherein the edge module further comprises an abnormality notification generation unit that generates an abnormality notification when the abnormality detection unit determines that communication with the controller is not normal, the transmission unit transmits the abnormality notification to the controller, the receiving function unit receives the abnormality notification, and the controller further comprises a status determination function unit that determines that an emergency has occurred when the number of times the abnormality notification has been received reaches a predetermined number.

10. A controller comprising: a data generation function unit that generates second data including a serial number; a transmission function unit that assigns a third time to the second data and transmits the second data to an edge module; a reception function unit that receives third data generated by the edge module based on the second data, the third data including the serial number and the third time, and obtains a fourth time which is the time when the third data was received; and an abnormality detection function unit that determines whether communication with the edge module has been performed normally based on at least one of the serial number included in the third data and the difference between the third time and the fourth time included in the third data.

11. The controller of claim 10, wherein the abnormality detection function unit determines that communication with the edge module is not normal when at least one of the following conditions is met: there is a missing number in the serial number included in the third data, and the difference between the third time and the fourth time is equal to or greater than a predetermined delay time.

12. The controller according to claim 10, which is a virtual machine provided on a cloud.

13. A communication method comprising the steps of: generating first data including a serial number; assigning a first time to the first data and transmitting the first data to a controller; receiving second data generated by the controller based on the first data, the second data including the serial number and the first time, and acquiring a second time which is the time when the second data was received; and determining whether communication with the controller has been performed normally based on at least one of the serial number included in the second data and the difference between the first time and the second time included in the second data.

14. A communication method comprising the steps of: generating second data including a serial number; assigning a third time to the second data and transmitting the second data to an edge module; receiving third data generated by the edge module based on the second data, the third data including the serial number and the third time, and acquiring a fourth time which is the time when the third data was received; and determining whether communication with the edge module has been performed normally based on at least one of the serial number included in the third data and the difference between the third time and the fourth time included in the third data.

Citation Information

Patent Citations

  • Network control method, controller, and program

    JP2018152675A

  • Communication device and communication method

    JP2021121065A

  • Transmission control method and device

    JP2021525044A

  • Field control system

    JP2009060480A

  • Control device and control system

    JP2013222403A