Control program, monitoring control system, gateway device, and control method
The supervisory control system addresses delays in equipment abnormality detection by prioritizing signal data transmission based on abnormality determination-related data, enhancing the efficiency of message handling and reducing detection time when network issues are resolved.
Patent Information
- Application Number
- PCT/JP2023/016037
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2024-10-31
AI Technical Summary
Existing monitoring and control systems experience delays in determining equipment abnormalities due to network issues, as they do not prioritize signal data effectively based on abnormality determination-related data, leading to inefficient message transmission and delayed detection.
A control program and supervisory control system that includes a message acquisition unit, priority determination unit, and message transmission unit, which prioritize signal data based on abnormality determination-related data, ensuring that high-priority messages are transmitted first when network abnormalities are resolved.
This approach reduces the delay in equipment abnormality determination by prioritizing signal data transmission based on its relevance to abnormality determination, improving the efficiency of message handling and reducing detection time when network issues are resolved.
Smart Images

Figure JP2023016037_31102024_PF_FP_ABST
Abstract
Description
Control program, monitoring and control system, gateway device, and control method
[0001] The present disclosure relates to a control program, a monitoring and control system, a gateway device, and a control method.
[0002] Conventionally, a monitoring and control system has been known in which a gateway device installed at a production site such as a factory collects data from devices installed in the equipment to be monitored and transmits the collected data to a monitoring and control server via a public communication network, and the monitoring and control server centrally manages the collected data to monitor and control the equipment, such as determining whether there is an abnormality. In such a monitoring system, there is a demand for a technology that enables the monitoring and control server to reliably determine an abnormality in the equipment while reducing the delay in the abnormality determination.
[0003] Patent Document 1 discloses a time-series data collection system in which data collected by a gateway device installed in each facility is transmitted to a monitoring control device via a communication network. In Patent Document 1, the gateway device stores the collected data in a data storage area and transmits it to the monitoring control device, and when a data re-collection request is received from the monitoring control device, the gateway device retransmits the data stored in the data storage area. In other words, the system described in Patent Document 1 is a data buffering system that can prevent data loss and simplify data management during communication abnormalities by storing data that failed to be transmitted to the monitoring control device in the gateway device and retransmitting it when the quality of the communication network deteriorates.
[0004] Patent Document 2 discloses a monitoring and control system including a gateway device that receives messages including signal data of each device from a plurality of devices monitored and controlled by the monitoring and control device and transmits the received messages to the monitoring and control device via a network. In Patent Document 2, the gateway device determines the priority of messages based on the state indicated by the relational data of each signal data obtained by analyzing drawing information of a plant in which equipment including a plurality of devices is installed, and transmits messages with the determined higher priority to the monitoring and control device preferentially.
[0005] JP 2004-246438 A JP 2020-162063 A
[0006] In the collection system disclosed in Patent Document 1, the monitoring control device can determine an abnormality in each facility after sequentially receiving retransmitted data in response to a data recollection request received by the gateway device. As a result, the collection system disclosed in Patent Document 1 has a problem in that the abnormality determination is delayed when the abnormality in the communication network is resolved.
[0007] On the other hand, in the monitoring and control system disclosed in Patent Document 2, the gateway device analyzes the configuration of the plant based on the plant's drawing information and prioritizes sending messages containing signal data of highly important devices to the monitoring and control device. However, in the monitoring and control system disclosed in Patent Document 2, the gateway device automatically determines the priority based on the plant's drawing information, without considering whether the message is actually used by the monitoring and control device for abnormality detection. As a result, for example, a message determined by the gateway device to have a high priority may not be used for abnormality detection, while a message determined by the gateway device to have a low priority may be used for abnormality detection. In this case, the monitoring and control system disclosed in Patent Document 2, like the collection system disclosed in Patent Document 1, also suffers from the problem of delayed abnormality detection when a network abnormality is resolved.
[0008] The present disclosure has been made in consideration of the above-described circumstances, and aims to reduce the delay in determining an abnormality in equipment when a network abnormality is resolved.
[0009] In order to achieve the above-mentioned object, the control program of the present disclosure causes a gateway device that transmits signal data acquired from equipment placed in equipment to be monitored in a monitoring and control system via a network to a monitoring and control server that monitors the equipment to function as: a message acquisition unit that acquires messages including signal data from the equipment; a priority determination unit that determines the priority of the signal data included in the messages acquired by the message acquisition unit based on abnormality determination-related data, which is data regarding the type of signal data used in the monitoring and control server to determine abnormalities in the equipment; and a message sending unit that sends the messages acquired by the message acquisition unit to the monitoring and control server, such that when an abnormality occurs in the network and then is resolved, the message sending unit sends messages including signal data with a high priority determined by the priority determination unit to the monitoring and control server in priority over messages including signal data with a low priority.
[0010] According to the present disclosure, when a network abnormality is resolved, the priority of signal data included in a new message transmitted from a gateway device to a monitoring control server is determined based on abnormality determination-related data, which is data related to the type of signal data used by the monitoring control server to determine an abnormality in the equipment. As a result, the control program according to the present disclosure can reduce the delay in determining an abnormality in the equipment when the network abnormality is resolved, compared to a control program in which the priority of signal data is not determined based on the abnormality determination-related data.
[0011] FIG. 1 is a block diagram showing the hardware configuration of each device according to an embodiment; FIG. 2 is a diagram showing an example of a display of signal data according to an embodiment; FIG. 3 is a diagram showing an example of a display of abnormality determination condition data according to an embodiment; FIG. 4 is a diagram showing an example of a display of abnormality determination related data according to an embodiment; FIG. 5 is a flowchart of a message transmission process according to an embodiment;
[0012] Hereinafter, a control program, a monitoring and control system, a gateway device, and a control method according to embodiments of the present disclosure will be described in detail with reference to the drawings. Note that the same or corresponding parts in the drawings are designated by the same reference numerals.
[0013] (Regarding Monitoring and Control System 1 According to an Embodiment) A monitoring and control system 1 according to an embodiment of the present disclosure is a remote monitoring and control system that remotely monitors and controls equipment 200 at a production site, such as a factory or plant, based on data collected from the equipment 200. As shown in FIG. 1 , the monitoring and control system 1 includes a gateway device 100 and the equipment 200 installed at the production site, and a monitoring and control server 300 installed at a remote location that monitors and controls the equipment 200. The gateway device 100 and the monitoring and control server 300 can transmit and receive data via a network 400 configured, for example, by a wide area network (WAN) such as the Internet or a wide area line. Thus, in the monitoring and control system 1, the monitoring and control server 300 can remotely monitor and control the equipment 200 by transmitting and receiving data related to the equipment 200 via the gateway device 100 and the network 400.
[0014] (Regarding the facility 200 according to the embodiment) The facility 200 is, for example, one or more facilities such as processing machines included in a production line that are the targets of monitoring and control by the monitoring control server 300. For example, the facility 200 includes a first facility 201 and a second facility 202. A plurality of devices are arranged in each of the facilities 201 and 202. For example, the first facility 201 includes a first device 211 and a second device 212, and the second facility 202 includes a third device 213 and a fourth device 214.
[0015] Each of the devices 211 to 214 is a so-called FA (Factory Automation) device such as a programmable logic controller (PLC, hereinafter referred to as "PLC"), and has a configuration as a computer device including a controller and a memory. Each of the devices 211 to 214 is capable of transmitting and receiving data to and from the gateway device 100 via a wireless or wired local area network (LAN) 500. Each of the devices 211 to 214 includes a signal data generation unit 221 that generates signal data (described later), a date and time data assignment unit 222 that assigns date and time data indicating the date and time when the signal data was generated, a signal data storage unit 223 that stores the signal data, and a message output unit 224 that outputs messages.
[0016] (Regarding Gateway Device 100 According to the Embodiment) The gateway device 100 is a computer device that acquires and stores data from each of the devices 211 to 214 in the facility 200, and transmits the acquired data to the monitoring control server 300. The gateway device 100 includes a message acquisition unit 110 that acquires messages, an abnormality determination related data storage unit 120 that stores abnormality determination related data, which will be described later, and a priority determination unit 130 that determines the priority of signal data, which will be described later. The gateway device 100 also includes a message transmission unit 140 that transmits messages, and a retransmission message storage unit 150 that stores messages to be retransmitted.
[0017] (Regarding the Monitoring Control Server 300 According to the Embodiment) The monitoring control server 300 is, for example, a server computer that functions as a so-called cloud server. The monitoring control server 300 centrally manages data collected from the devices 211 to 214 of the facility 200, and monitors and controls the facilities 201 and 202. The monitoring control server 300 includes a message receiving unit 310 that receives messages, an abnormality determination condition data storage unit 320 that stores abnormality determination condition data, which will be described later, and an abnormality determination unit 330 that performs abnormality determination for each of the facilities 201 and 202.
[0018] 2, the gateway device 100 includes, for example, a control unit 51 that executes processing in accordance with a control program 59. The control unit 51 includes a CPU (Central Processing Unit). The control unit 51 functions as the priority determination unit 130 shown in FIG. 1 in accordance with the control program 59.
[0019] 2, the gateway device 100 includes a main memory unit 52 into which a control program 59 is loaded and which is used as a work area for the control unit 51. The main memory unit 52 includes a RAM (Random Access Memory).
[0020] The gateway device 100 also includes an external storage unit 53 that stores a control program 59 in advance. The external storage unit 53 supplies data stored by this program to the control unit 51 in accordance with instructions from the control unit 51, and stores the data supplied from the control unit 51. The external storage unit 53 includes a recording medium such as a flash memory, a hard disk drive (HDD), or a solid state drive (SSD). The external storage unit 53 functions as the abnormality determination related data storage unit 120 and the retransmission message storage unit 150 shown in FIG. 1 .
[0021] The gateway device 100 also includes a transmission / reception unit 56 that transmits and receives information. The transmission / reception unit 56 includes information communication components such as a communication network termination device and a wireless communication device that connect to the network 400 or the LAN 500. The transmission / reception unit 56 functions as the message acquisition unit 110 and the message transmission unit 140 shown in FIG. 1 .
[0022] Returning to FIG. 2, in the gateway device 100 , the main memory unit 52 , the external memory unit 53 and the transmitting / receiving unit 56 are all connected to the control unit 51 via the internal bus 50 .
[0023] 1 by the control unit 51 using the main memory unit 52, the external memory unit 53, and the transmission / reception unit 56 as resources. For example, the gateway device 100 executes a message acquisition step performed by the message acquisition unit 110, an abnormality determination-related data storage step performed by the abnormality determination-related data storage unit 120, and a priority determination step performed by the priority determination unit 130. The gateway device 100 also executes a message transmission step performed by the message transmission unit 140 and a retransmission message storage step performed by the retransmission message storage unit 150.
[0024] (Regarding the Hardware Configuration of Each Device 211 to 214 According to the Embodiment) Similarly to the gateway device 100, each device 211 to 214 includes a control unit 51, as well as a main memory unit 52, an external memory unit 53, and a transmission / reception unit 56 connected to the control unit 51 via an internal bus 50. The control unit 51 functions as the signal data generation unit 221 and the date and time data assignment unit 222 shown in FIG. 1, the external memory unit 53 functions as the abnormality determination condition data storage unit 320 shown in FIG. 1, and the transmission / reception unit 56 functions as the message output unit 224 shown in FIG. 1. Similarly to the gateway device 100, the control unit 51 of each device 211 to 214 uses the main memory unit 52, the external memory unit 53, and the transmission / reception unit 56 as resources to realize the functions of the above-described units 221 to 224 shown in FIG. 1. For example, each device 211 to 214 executes a signal data generation step performed by a signal data generation unit 221, a date and time data assignment step performed by a date and time data assignment unit 222, a signal data storage step performed by a signal data storage unit 223, and a message output step performed by a message output unit 224.
[0025] (Hardware Configuration of Monitoring Control Server 300 According to the Embodiment) Similarly to the gateway device 100 and the devices 211 to 214, the monitoring control server 300 also includes a control unit 51, as well as a main memory unit 52, an external memory unit 53, and a transmission / reception unit 56 connected to the control unit 51 via an internal bus 50. The control unit 51 functions as the abnormality determination unit 330 shown in FIG. 1, the external memory unit 53 functions as the abnormality determination condition data storage unit 320 shown in FIG. 1, and the transmission / reception unit 56 functions as the message receiving unit 310 shown in FIG. 1. Similarly to the gateway device 100 and the devices 211 to 214, the monitoring control server 300 also realizes the functions of the above-mentioned units 210 to 230 shown in FIG. 1 by having the control unit 51 use the main memory unit 52, the external memory unit 53, and the transmission / reception unit 56 as resources. For example, the monitoring control server 300 executes a message receiving step performed by a message receiving unit 310, an abnormality determination condition data storage step performed by an abnormality determination condition data storage unit 320, and an abnormality determination step performed by an abnormality determination unit 330.
[0026] (Details of the Functional Configuration of Each Device 211-214 According to the Embodiment) The signal data generator 221 generates signal data for each device 211-214. Here, the signal data includes various types of signal data, such as signal data that is internal signal data of each device 211-214 if each device 211-214 is a PLC, and input signal data that is signal data input from a sensor (not shown) connected to each device 211-214. Note that the internal signal data is data that includes a value indicating whether the status of each device 211-214 is "operating normally," "operating abnormally," or "stopped." Furthermore, the input signal data is data that indicates whether the status of the machine that is the target of measurement by the sensor is "operating normally," "operating abnormally," or "stopped."
[0027] The date and time data assigning unit 222 assigns a timestamp, which is an example of date and time data indicating the date and time when the signal data was generated, to the signal data, and the signal data storage unit 223 stores the signal data with the timestamp. Therefore, the signal data stored in the signal data storage unit 223 is, for example, data indicating the state of each of the devices 211 to 214 at each time, and can be displayed in a list format in a table as shown in FIG.
[0028] 3, the signal data includes data corresponding to the items of "time" indicating the time when the signal data was generated and "value" indicating the value of the signal data. For example, the signal data stored in the signal data storage unit 223 of the first device 211 is data that can identify that the "value" is "0" when the "time" is "10:10:20.12."
[0029] The message output unit 224 outputs a message including signal data stored in the signal data storage unit 223 to the gateway device 100 based on an acquisition request from the gateway device 100. When there is an acquisition request from the gateway device 100 for specific signal data, which is signal data to which a timestamp indicating a specific time has been assigned, the message output unit 224 outputs a message including signal data to which a timestamp of a time closest to the specific time has been assigned from among the signal data stored in the signal data storage unit 223. For example, when there is an acquisition request from the gateway device 100 for specific signal data having a "time" of "10:10:20.12", the message output unit 224 of the first device 211 outputs to the gateway device 100 a message including specific signal data stored in the signal data storage unit 223 of the first device 211 having a "time" of "10:10:20.12" and a "value" of "0".
[0030] (Details of Functional Configuration of Monitoring Control Server 300 According to an Embodiment) The message receiving unit 310 receives a message transmitted by the gateway device 100. Furthermore, when an abnormality such as a fault occurs in the network 400 and the gateway device 100 fails to transmit a message, and then the abnormality is resolved, the message receiving unit 310 receives a message retransmitted by the gateway device 100.
[0031] The abnormality determination condition data storage unit 320 stores multiple types of abnormality determination condition data. Here, the abnormality determination condition data is data indicating conditions for determining whether or not each of the facilities 201, 202 is abnormal. In this embodiment, the abnormality determination condition data is data indicating conditional expressions for determining whether or not each of the facilities 201, 202 is abnormal, and can be displayed in a list format in a table as shown in FIG. 4.
[0032] 4, the abnormality determination condition data includes data corresponding to the following items: "Facility Name" indicating the name of the production site, "Gateway" indicating the name of the gateway device 100, and "Equipment Name" indicating the names of each piece of equipment 201, 202. Furthermore, for example, the abnormality determination condition data includes data corresponding to the following items: "Error ID" indicating the identification number of the abnormality, "Device Name" indicating the name of each piece of equipment 211-214 causing the abnormality, and "Signal ID" indicating the identification number of the signal data. Furthermore, for example, the abnormality determination condition data includes data corresponding to the following items for the abnormality determination condition formula: "Code" indicating the sign of the operator, "Determination Destination" indicating whether the determination destination is a fixed value or the value of other signal data, "Device Name" indicating the name of the device 211-214 that generated the other signal data, and "Fixed Value / Signal ID" indicating the fixed value or the identification number of other signal data.
[0033] For example, the abnormality determination condition data is data that can identify that the "facility name" is "Factory X Line Y," the "gateway" is "Gateway 1," the "equipment name" is "Processing machine A," the "error ID" is "E001," the "equipment name" is "PLC1," the "signal ID" is "0001," and the abnormality determination condition formula is that the "sign" is "<," the "determination destination" is "fixed value," the "equipment name" is "-" or "none," and the "fixed value / signal ID" is "10."
[0034] The abnormality determination unit 330 determines whether or not an abnormality has occurred in each of the facilities 201, 202, based on the signal data of each of the devices 211 to 214 included in the message received by the message receiving unit 310 and the abnormality determination condition data stored in the abnormality determination condition data storage unit 320. For example, when the abnormality determination unit 330 receives a message from the gateway device 100 of "gateway 1" that includes signal data with the identification number "0001" of the device 211 of "PLC1", if the value of the signal data is smaller than "10", the abnormality determination unit 330 determines that an abnormality with the identification number "E001" has occurred.
[0035] (Details of Functional Configuration of Gateway Device 100 According to the Embodiment) The message acquisition unit 110 acquires messages including signal data output from each of the devices 211 to 214. The message acquisition unit 110 can acquire messages including specific signal data from each of the devices 211 to 214. For example, when the message acquisition unit 110 requests the first device 211 to acquire specific signal data having a "time" of "10:10:20.12", the message acquisition unit 110 can acquire a message including specific signal data having a "time" of "10:10:20.12" from the first device 211.
[0036] The abnormality determination-related data storage unit 120 stores abnormality determination-related data, which is data related to the types of signal data used in the abnormality determination of each piece of equipment 201, 202 in the monitoring control server 300. Here, the abnormality determination-related data is data indicating the number of times each type of signal data is used in the abnormality determination condition equations used in the abnormality determination of each piece of equipment 201, 202 in the monitoring control server 300. Specifically, the abnormality determination-related data is data that analyzes all the abnormality determination condition data stored in the abnormality determination condition data storage unit 320 of the monitoring control server 300 and indicates the number of times each identification number of signal data used in each abnormality determination condition equation is used, and can be displayed in a table format as shown in FIG.
[0037] 5, the abnormality determination-related data includes data corresponding to the following items: "Device Name" indicating the name of each device 211-214, "Signal ID" indicating the identification number of the signal data, and "Number of Uses" indicating the number of times the abnormality determination condition formula is used. For example, the abnormality determination-related data is data that can identify that the "Device Name" is "PLC1," the "Signal ID" is "0002," and the "Number of Uses" is "3." To perform this control, the gateway device 100 needs to acquire and analyze all of the abnormality determination condition data that is stored in advance in the abnormality determination condition data storage unit 320 from the monitoring control server 300, and generate and store the abnormality determination-related data.
[0038] The priority determination unit 130 determines the priority of signal data included in the message acquired by the message acquisition unit 110 based on the abnormality determination-related data stored in the abnormality determination-related data storage unit 120. The priority determination unit 130 increases the priority of signal data included in the message acquired by the message acquisition unit 110 as the "number of uses" indicated by the abnormality determination-related data increases. For example, in the example shown in FIG. 5 , the priority determination unit 130 increases the priority of signal data having an "equipment name" of "PLC1," a "signal ID" of "0002," and a "number of uses" of "3" over signal data having an "equipment name" of "PLC1," a "signal ID" of "0001," and a "number of uses" of "2."
[0039] The message sending unit 140 sends the message acquired by the message acquiring unit 110 to the monitoring control server 300 .
[0040] When an abnormality occurs in the network 400 and transmission of a message to the monitoring control server 300 fails, the resend message storage unit 150 stores, as messages to be resent, the message that failed to be transmitted and the unsent message that the message acquisition unit 110 acquired after the abnormality occurred in the network 400. When an abnormality occurs in the network 400 and transmission of a message fails, the gateway device 100 stores the message to be resent in the resend message storage unit 150, and then transmits the message stored in the resend message storage unit 150 when the abnormality is resolved.
[0041] At this time, the message transmitting unit 140 transmits to the monitoring control server 300 messages including signal data with a high priority determined by the priority determining unit 130 in preference to messages with a low priority. Specifically, the message transmitting unit 140 transmits messages in descending order of priority, i.e., messages including signal data with a large number of "usage counts" indicated by the abnormality determination-related data. For example, in the example shown in FIG. 5 , the message transmitting unit 140 transmits a message including signal data with a "signal ID" of "0002" and a "usage count" of "3" as the highest priority. The message transmitting unit 140 transmits a message including signal data with a "signal ID" of "0001" and a "usage count" of "2" as the second highest priority. The message transmitting unit 140 transmits signal data with a "signal ID" of "0011" or "0012" and a "usage count" of "1" as the third highest priority.
[0042] (Message Transmission Process According to the Embodiment) Next, an operation of the gateway device 100 to transmit messages acquired from the devices 211 to 214 to the monitoring control server 300 will be described using a flowchart. When the gateway device 100 starts the control program 59, it starts executing the message transmission process shown in FIG. 6. First, the gateway device 100 causes the message acquisition unit 110 to acquire messages including signal data output from the devices 211 to 214 (step S101), and then causes the message transmission unit 140 to transmit the acquired messages to the monitoring control server 300 (step S102). After transmitting the messages, the gateway device 100 determines whether an abnormality has occurred in the network and the message transmission has failed (step S103).
[0043] If the gateway device 100 has successfully transmitted the message because no abnormality has occurred in the network (step S103; N), it returns to step S101 and repeats the processes of steps S101 to S103 until a network abnormality occurs and the message transmission fails. On the other hand, if the gateway device 100 has failed to transmit the message because a network abnormality has occurred (step S103; Y), it stores the message whose transmission failed in the retransmission message storage unit 150 (step S104) and determines whether the network abnormality has been resolved (step S105). If the network abnormality has not been resolved (step S105; N), the gateway device 100 has the message acquisition unit 110 acquire the message (step S106) and stores the acquired message in the retransmission message storage unit 150 (step S107).
[0044] After storing the message, the gateway device 100 returns to step S105 and repeats the processes of steps S105 to 107 until the network abnormality is resolved. On the other hand, if the network abnormality is resolved (step S105; Y), the gateway device 100 causes the message acquisition unit 110 to transmit messages in descending order of priority determined by the priority determination unit 130, that is, in descending order of messages including signal data with the greatest "usage count" indicated by the abnormality determination-related data stored in the abnormality determination-related data storage unit 120 (step S108), and returns to step S101.
[0045] As described above, according to the monitoring and control system 1 of this embodiment, the gateway device 100 transmits a message including signal data acquired from each of the devices 211 to 214 installed in each of the facilities 201 and 202 to be monitored via the network 400 to the monitoring and control server 300 that monitors and controls each of the facilities 201 and 202.
[0046] Therefore, the monitoring control server 300 can perform abnormality determination for each facility 201, 202 based on the signal data of each device 211 to 214 contained in the message received from the gateway device 100 and the abnormality determination condition data stored in the abnormality determination condition data storage unit 320.
[0047] Here, for example, consider a case where the monitoring control server 300 monitors the first facility 201 using, as examples of signal data, first signal data and second signal data, which are two types of signal data of the first device 211, and third signal data, which is one type of signal data of the second device 212. In this case, the condition for abnormality determination based on the abnormality determination condition equation indicated by the abnormality determination condition data is "the value of the first signal data is 10 or more and the value of the third data is 5 or less," and as shown in Fig. 7, the monitoring control server 300 receives messages including each signal data every second from "9:00" to "9:18."
[0048] 7 , the values of the first signal data and the third signal data used by the monitoring control server 300 to determine whether or not an abnormality has occurred in the first facility 201 are "9" and "14" at "9:08," and "10" and "5" at "9:09." Therefore, the monitoring control server 300 determines that the condition "the value of the first signal data is 10 or greater and the value of the third data is 5 or less" is met at "9:09," and can determine that an abnormality has occurred in the first facility 201.
[0049] Furthermore, according to the monitoring and control system 1 of this embodiment, in the gateway device 100, the message acquisition unit 110 acquires messages including signal data from each of the devices 211 to 214. The priority determination unit 130 determines the priority of the signal data included in the message acquired by the message acquisition unit 110 based on the abnormality determination-related data stored in the abnormality determination-related data storage unit 120, i.e., data related to the type of signal data used in the monitoring and control server 300 to determine an abnormality in each of the facilities 201 and 202. The message transmission unit 140 transmits the message acquired by the message acquisition unit 110 to the monitoring and control server 300. Then, when an abnormality occurs in the network 400 and then is resolved, the message transmission unit transmits to the monitoring and control server 300 messages including signal data with a high priority determined by the priority determination unit 130 in preference to messages with a low priority.
[0050] By doing this, the monitoring and control system 1 of this embodiment can reduce the delay in determining an abnormality of each piece of equipment 201, 202 when a network abnormality is resolved, compared to conventional monitoring and control systems such as those in Patent Documents 1 and 2, in which the priority of signal data is not determined based on data regarding the type of signal data used in the monitoring and control server 300 to determine an abnormality of each piece of equipment 201, 202.
[0051] For example, consider a case where, in a conventional monitoring and control system, the monitoring and control server monitors the first facility using the first signal data, second signal data, and third signal data, and the condition for determining an abnormality is "the value of the first signal data is 10 or greater and the value of the third signal data is 5 or less." In this case, as shown in Figure 8, the monitoring and control server receives messages every second from "9:00" to "9:05," then becomes unable to receive messages due to a network failure for more than five seconds from before "9:06" to before "9:11," and then recovers from the failure and receives messages every second from "9:11" to "9:18." In this case, after the gateway device recovers from the network failure, it resumes message transmission in the order in which the transmissions failed.
[0052] In this case, the message received by the monitoring control server from "9:11" contains signal data that is delayed by five seconds compared to when the network failure shown in Figure 7 does not occur. For example, as shown in Figure 8, the values of the first signal data and the third signal data used by the monitoring control server to determine an abnormality in the first equipment are "9" and "14" at "9:13" and "10" and "5" at "9:14." Therefore, if the period during which the message could not be received due to the network failure is five seconds, the monitoring control server determines that the condition "the value of the first signal data is 10 or greater and the value of the third signal data is 5 or less" is met at "9:14," which is five seconds later, and determines that an abnormality has occurred in the first equipment. As a result, in conventional monitoring control systems, the period during which the message could not be received due to the network failure is the period during which the abnormality determination in the first equipment is delayed.
[0053] In contrast, in the monitoring and control system 1 according to the present embodiment, after the gateway device 100 recovers from the failure of the network 400, it resumes transmission of messages including the first signal data and the third signal data used to determine an abnormality in the first facility 201, with priority given to the respective signal data that it failed to transmit. Therefore, the monitoring and control server 300 can quickly receive the messages including the first signal data and the third signal data that it was unable to receive due to the failure, since it did not receive the messages including the second signal data from 9:11 to 9:18 when the network was restored from the failure.
[0054] For example, as shown in FIG. 9 , the values of the first signal data and the third signal data used by the monitoring control server 300 to determine an abnormality in the equipment are "10" and "5" at "9:12." Therefore, if the network failure lasts for five seconds, the monitoring control server 300 determines that the condition "the value of the first signal data is 10 or greater and the value of the third data is 5 or less" is met at "9:12," three seconds later, and determines that an abnormality has occurred in the first equipment 201. Therefore, the monitoring control system 1 according to this embodiment shortens the time until an abnormality determination for the first equipment 201 by two seconds compared to conventional monitoring control systems. As a result, the monitoring control system 1 according to this embodiment can reduce the delay in determining an abnormality in each of the equipment 201 and 202 compared to conventional monitoring control systems.
[0055] Furthermore, according to the monitoring and control system 1 of this embodiment, the abnormality determination related data is data indicating the number of times each type of signal data is used in the abnormality determination condition equation used in the monitoring and control server 300 to determine an abnormality in each of the facilities 201 and 202. The priority determiner 130 then increases the priority of the signal data included in the message acquired by the message acquirer 110 as the number of times the abnormality determination related data indicates an increase.
[0056] By doing this, the monitoring and control system 1 of this embodiment can reduce the delay in determining an abnormality in equipment when a network abnormality is resolved, compared to a monitoring and control system in which the priority of signal data does not increase as the number of times it is used as described above increases.
[0057] In the collection system disclosed in Patent Document 1, the gateway device assigns a timestamp to the data it collects at the time the data is acquired. Therefore, in the collection system disclosed in Patent Document 1, for example, when there are multiple devices collecting data, as in the present embodiment, if a timestamp is assigned to the data each time the data is collected from each device, there is a problem that different timestamps are assigned to data generated by each device at the same time. As a result, in the system disclosed in Patent Document 1, when there are multiple devices collecting data, the accuracy of time synchronization of the data collected from each device decreases, and the monitoring control device may fail to detect an abnormality in each device or may erroneously detect an abnormality.
[0058] In particular, in the collection system disclosed in Patent Document 1, when the gateway device acquires data from each device via a network such as a LAN as in the present embodiment, there is a problem that the time error in the time stamps attached to data generated at the same timing by each device increases due to the time lag of the network. As a result, in the system disclosed in Patent Document 1, when the gateway device acquires data from each device via the network, the accuracy of time synchronization of the data collected from each device further decreases, and there is a problem that the monitoring control device is more likely to fail to detect or falsely detect abnormalities in each device.
[0059] In contrast, in the monitoring and control system according to the present embodiment, each of the devices 211 to 214 assigns a timestamp as date and time data to the signal data it generates. In the gateway device 100, the message acquisition unit 110 acquires a message including specific signal data to which a timestamp indicating a specific time has been assigned from each of the devices 211 to 214 via the LAN 500, and the message transmission unit 140 transmits the message including the specific signal data to the monitoring and control server 300.
[0060] By doing this, when there are multiple devices 211 to 214 that collect signal data, the monitoring and control system 1 of this embodiment has higher accuracy in time synchronization of the signal data collected from each device 211 to 214 than a monitoring and control system that does not assign date and time data to the signal data generated by each device, and the monitoring and control server can reduce undetection and false detection of abnormalities in each device 211 to 214.
[0061] (Modification) In the above embodiment, the monitoring and control system 1 is a remote monitoring and control system in which the monitoring and control server 300 is installed in a remote location from a production base, but the monitoring and control server 300 does not have to be installed in a remote location and may be installed, for example, at the production site. In this case, for example, a management device, which is a computer device of a manager installed in a remote location from the production site, may receive data indicating the monitoring results of each of the facilities 201, 202 from the monitoring and control server 300 via the network 400, or may send data indicating commands to control each of the facilities 201, 202 to the monitoring and control server.
[0062] In the above embodiment, the monitoring control server 300 monitors and controls each of the facilities 201 and 202, but this is not limited to this as long as it performs abnormality determination for each of the facilities 201 and 202. For example, it may only monitor each of the facilities 201 and 202.
[0063] In the above embodiment, the gateway device 100 is separate from the devices 211 to 214, but this is not limiting as long as it is capable of acquiring messages including signal data from the devices 211 to 214. For example, the gateway device 100 may be integrated with the first device 211. Specifically, as shown in FIG. 10 , the first device 211 may include the units 110 to 150 of the gateway device 100 and may be capable of acquiring messages including signal data from the second device 212, the third device 213, and the fourth device 214.
[0064] In the above embodiment, the abnormality determination condition data is data indicating a conditional expression for determining whether or not each of the facilities 201, 202 is abnormal, but the data does not have to be data indicating a conditional expression as long as it is data indicating a condition that can determine whether or not each of the facilities 201, 202 is abnormal. For example, the abnormality determination condition data may be data indicating a conditional statement that is a statement of a condition that can determine whether or not each of the facilities 201, 202 is abnormal.
[0065] In the above embodiment, when an abnormality occurs in the network 400, the gateway device 100 stores in the retransmission message storage unit 150 messages that failed to be transmitted and messages that were acquired after the abnormality occurred but are not limited to this. For example, the gateway device 100 may store all messages acquired from the devices 211 to 214 regardless of whether an abnormality occurs in the network 400. In this case, when an abnormality occurs in the network 400, the gateway device 100 needs to identify all messages that were acquired for the purpose of transmission after the abnormality occurred in the network 400, and after the abnormality is resolved, transmit all identified messages to the monitoring control server 300.
[0066] The gateway device 100, which includes the control unit 51, main memory unit 52, external memory unit 53, transmission / reception unit 56, and internal bus 50 and is the core of the processing performed by the gateway device 100, may be configured by, for example, storing and distributing a control program 59 for executing the above-described operations in a recording medium, such as a flash memory, that can be read by the gateway device 100, and installing the control program 59. Alternatively, the gateway device 100 may be configured by storing the control program 59 in a storage device of a server device on a communication network such as the LAN 500 or the Internet, and having the gateway device 100 download the control program 59.
[0067] Furthermore, when the functions of the gateway device 100 are realized by sharing the functions of an OS (Operating System) and an application program, or by cooperation between the OS and the application program, only the application program portion may be stored in a recording medium or storage device.
[0068] It is also possible to superimpose the control program 59 on a carrier wave and provide it via a communication network. For example, the control program 59 may be posted on a bulletin board system (BBS) on the communication network and provided via the communication network. The control program 59 may then be started and executed under the control of the OS in the same way as other application programs, thereby executing the above-described processing.
[0069] The present disclosure allows various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Furthermore, the above-described embodiments are intended to explain the present disclosure and do not limit the scope of the present disclosure. In other words, the scope of the present disclosure is defined by the claims, not the embodiments. Various modifications made within the scope of the claims and the meaning of equivalent disclosures are considered to be within the scope of the present disclosure.
[0070] 1...monitoring control system, 50...internal bus, 51...control unit, 52...main memory unit, 53...external memory unit, 56...transmitting / receiving unit, 59...control program, 100...gateway device, 110...message acquisition unit, 120...abnormality determination related data storage unit, 130...priority determination unit, 140...message transmission unit, 150...resent message storage unit, 200...equipment, 201...first equipment, 202...second equipment, 211...first equipment, 212...second equipment, 213...third equipment, 214...fourth equipment, 221...signal data generation unit, 222...date and time data assignment unit, 223...signal data storage unit, 224...message output unit, 300...monitoring control server, 310...message reception unit, 320...abnormality determination condition data storage unit, 330...abnormality determination unit, 400...network, 500...LAN.
Claims
1. A control program that causes a gateway device that transmits signal data acquired from equipment installed in equipment to be monitored in a monitoring and control system via a network to a monitoring and control server that monitors the equipment to function as: a message acquisition unit that acquires a message including the signal data from the equipment; a priority determination unit that determines the priority of the signal data included in the message acquired by the message acquisition unit based on abnormality determination related data, which is data related to the type of the signal data used in the monitoring and control server to determine abnormalities in the equipment; and a message sending unit that sends the message acquired by the message acquisition unit to the monitoring and control server, wherein when an abnormality occurs in the network and then is resolved, the message sending unit sends the message including the signal data with a high priority determined by the priority determination unit to the monitoring and control server in priority to the message including the signal data with a low priority.
2. The control program according to claim 1, wherein the abnormality determination related data is data indicating the number of times each type of signal data is used in the abnormality determination conditions used in the monitoring and control server to determine an abnormality in the equipment, and the priority determination unit increases the priority determined for the signal data included in the message acquired by the message acquisition unit as the number of times of use indicated by the abnormality determination related data increases.
3. A control program as described in claim 1 or 2, wherein the device assigns date and time data to the signal data, the date and time being data indicating the date and time when the signal data was generated; the message acquisition unit is capable of acquiring the message including specific signal data, the signal data to which date and time data indicating a specific date and time has been assigned from the device; and the message transmission unit is capable of transmitting the message including the specific signal data.
4. The control program according to any one of claims 1 to 3, wherein the gateway device and the device are integrated.
5. A monitoring and control system comprising a monitoring and control server which monitors and controls a facility to be monitored via a network, equipment installed in the facility, and a gateway device which acquires signal data from the equipment and transmits it to the monitoring and control server, wherein the gateway device comprises: a message acquisition unit which acquires a message including the signal data from the equipment; an abnormality determination related data storage unit which stores abnormality determination related data which is data relating to a type of the signal data used in the monitoring and control server for abnormality determination of the facility; a priority determination unit which determines a priority of the signal data included in the message acquired by the message acquisition unit based on the abnormality determination related data stored in the abnormality determination related data storage unit; and a message transmission unit which transmits the message acquired by the message acquisition unit to the monitoring and control server, wherein when an abnormality occurs in the network and then is resolved, the message transmitting unit transmits the message including the signal data with a higher priority determined by the priority determination unit to the monitoring and control server in preference to the message including the signal data with a lower priority.
6. A gateway device that transmits signal data acquired from equipment installed in equipment to be monitored in a monitoring and control system via a network to a monitoring and control server that monitors the equipment, comprising: a message acquisition unit that acquires a message including the signal data from the equipment; an abnormality determination related data storage unit that stores abnormality determination related data which is data relating to the type of the signal data used in the monitoring and control server to determine an abnormality in the equipment; a priority determination unit that determines a priority of the signal data included in the message acquired by the message acquisition unit based on the abnormality determination related data stored in the abnormality determination related data storage unit; and a message transmission unit that transmits the message acquired by the message acquisition unit to the monitoring and control server, wherein when an abnormality occurs in the network and then is resolved, the message including the signal data with a higher priority determined by the priority determination unit is transmitted to the monitoring and control server in priority to the message including the signal data with a lower priority.
7. A control method for a gateway device that transmits signal data acquired from an apparatus installed in equipment to be monitored in a monitoring and control system via a network to a monitoring and control server that monitors the equipment, comprising: a message acquisition step of acquiring a message including the signal data from the equipment; a priority determination step of determining a priority of the signal data included in the message acquired in the message acquisition step based on abnormality determination related data which is data related to the type of the signal data used in the monitoring and control server to determine an abnormality in the equipment; and a message transmission step of transmitting the message acquired in the message acquisition step to the monitoring and control server, wherein in the message transmission step, if an abnormality occurs in the network and then the abnormality is resolved, the message including the signal data with a higher priority determined in the priority determination step is transmitted to the monitoring and control server in preference to the message including the signal data with a lower priority.
Citation Information
Patent Citations
Information processing device and program
JP2018110286A
Gateway device and message transmission processing method
JP2020162063A
Communication method of monitoring control system and monitoring control system
WO2012056551A1
