Monitoring control system
The supervisory control system addresses processing delays and stagnation by using a monitoring and control device with an engineering tool to manage and recover periodic processes, ensuring timely execution through skipping or prioritization.
Patent Information
- Application Number
- JP2023029418
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2043-02-28
AI Technical Summary
Existing supervisory control systems experience processing delays and stagnation when the number of regular periodic processes increases, leading to a backlog that cannot be recovered, causing all subsequent processing to be delayed.
A supervisory control system that includes a monitoring and control device, an engineering tool, periodic processing data, schedule management data, and a feedback mechanism to monitor and recover from processing stagnation by skipping or prioritizing processes based on predefined criteria.
The system effectively restores the schedule of periodic processing by skipping or prioritizing tasks, ensuring timely execution even in the presence of delays or stagnation.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to a supervisory control system. [Background technology]
[0002] In recent years, a monitoring and control system for a plant or the like has been made up of devices arranged in the plant, a monitoring and control device that monitors and controls the devices, and an engineering tool that performs various settings on the monitoring and control device. The monitoring and control device repeatedly performs various processes at regular intervals (for example, see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2002-6944 A Summary of the Invention [Problem to be solved by the invention]
[0004] When the amount of fixed-cycle processing in a monitoring control device increases, there is a problem that delays and backlogs in processing occur. Therefore, in Patent Document 1, a control means is provided in a display device with a control function, which provides priority to fixed-cycle processing of control processing, so that important display parts are displayed, and display parts with low priority are also displayed at regular intervals. However, when performing a predetermined fixed-cycle processing according to a schedule, if a backlog occurs in processing, there is no means to restore the schedule, which means that all subsequent processing is delayed from the schedule.
[0005] The present application discloses technology for solving the problems described above, and aims to provide a monitoring and control system that can restore a schedule even if a processing backlog occurs when performing a series of periodic processes according to a schedule. [Means for solving the problem]
[0006] The monitoring and control system disclosed in the present application comprises: A monitoring and control device that monitors and controls devices connected via a network, and an engineering tool that sets the monitoring and control device and instructs processing, The engineering tool comprises: Periodic processing data that records a series of periodic processing; schedule management data for recording a schedule for repeatedly executing the series of fixed-period processes; a data creation unit that creates the periodic processing data and the schedule management data; a periodic processing instruction unit that monitors whether the series of periodic processing performed by the monitoring and control device is progressing according to the schedule, The monitoring and control device includes a periodic process execution unit that executes the series of periodic processes; a feedback unit that reports a total execution time of the series of fixed cycle processes to the data creation unit; The fixed-period processing instruction unit determines, based on the fixed-period processing data, the schedule management data, and the total execution time, whether or not a backlog has occurred in which the series of fixed-period processing prior to the Nth iteration (N is a natural number greater than or equal to 3) has been executed beyond the scheduled start time of the Nth iteration (N is a natural number greater than or equal to 3) of the series of fixed-period processing executed by the monitoring and control device, and if a backlog has occurred, skips all of the series of fixed-period processing prior to the Nth iteration that has not been executed yet. Effect of the Invention
[0007] According to the monitoring and control system disclosed in the present application, even if a process backlog occurs, the schedule for a series of periodic processes can be restored. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing a schematic configuration of a monitoring and control system according to a first embodiment. [Diagram 2] FIG. 4 is a diagram showing a configuration of periodic processing data in accordance with the first embodiment. [Diagram 3] FIG. 4 is a diagram showing a configuration of periodic processing data in accordance with the first embodiment. [Figure 4] FIG. 2 is a diagram showing a configuration of schedule management data in accordance with the first embodiment. [Diagram 5] 4 is a flowchart showing a flow of periodic processing by the monitoring and control system according to the first embodiment. [Figure 6] 1 is a diagram illustrating a hardware configuration of a monitoring control device and an engineering tool according to a first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Embodiment 1 FIG. 1 is a block diagram showing a schematic configuration of a monitoring and control system 100 according to the first embodiment. FIG. 2 is a diagram showing the structure of the fixed-period processing data 32A, showing data in a state in which no delay occurs. FIG. 3 is a diagram showing the structure of periodic processing data 32A, and shows data in a state in which a delay occurs. FIG. 4 is a diagram showing the configuration of the schedule management data 32B.
[0010] This specification will mainly explain a technique for recovering from a delay when a delay occurs in the repetition of a series of periodic processes performed by the monitoring and control device 20 in accordance with the schedule management data 32B created by the engineering tool 30 of the monitoring and control system 100. Note that, although periodic processes 1 to 6 are taken as an example of a series of periodic processes, the number of processes is merely an example.
[0011] The monitoring and control system 100 includes a monitoring and control device 20 that monitors and controls devices 10A to 10X connected via a network 4, and an engineering tool 30 that performs various settings on the monitoring and control device 20 and issues instructions for processing.
[0012] The engineering tool 30 has a data creation unit 31, a data storage unit 32, and a fixed-cycle processing instruction unit 33. The data creation unit 31 has a function of creating, maintaining, and updating fixed-cycle processing data 32A, and a function of creating and maintaining schedule management data 32B used for repeatedly executing fixed-cycle processing 1 to fixed-cycle processing 6 recorded in the fixed-cycle processing data 32A. The fixed-cycle processing data 32A and schedule management data 32B created by the data creation unit 31 are stored in the data storage unit 32.
[0013] The fixed-cycle processing data 32A shown in Fig. 2 is data of a series of fixed-cycle processing groups executed at fixed cycles. In the fixed-cycle processing by the monitoring and controlling device 20, fixed-cycle processing 1 to fixed-cycle processing 6 recorded in the fixed-cycle processing data 32A shown in Fig. 2 are executed continuously as a series of processes, and this series of fixed-cycle processing 1 to fixed-cycle processing 6 is repeated as one process group according to the schedule recorded in the schedule management data 32B shown in Fig. 4. Note that Fig. 2 shows the contents in a state where the series of fixed-cycle processing 1 to fixed-cycle processing 6 are executed normally, and Fig. 3 shows a state where a delay, which will be described later, occurs.
[0014] In the "item" field of the fixed-period processing data 32A, the name of the process to be processed at the fixed period is recorded. In the "execution period" field, the specified execution period of each process is recorded. In this embodiment, the execution period of all fixed-period processes is basically the same unless a delay or backlog occurs, as described later. In the "execution time" field, the time required for each of the fixed-period processes 1 to 6 is overwritten and saved when the series of fixed-period processes 1 to 6 is executed immediately before. In the "total fixed-period processing execution time" field, the total "execution time" required for the immediately preceding execution of each of the fixed-period processes 1 to 6 included in the fixed-period processing data 32A is recorded. This is the time required for the entire execution of the series of fixed-period processes 1 to 6. In the "allowable delay time" field, the allowable delay time for determining whether or not to execute priority processing is recorded, and will be described in detail later. The check box in the "priority" field is used to specify the fixed-period process as the target process for priority processing.
[0015] The schedule management data 32B shown in FIG. 4 shows a schedule for continuously processing the fixed-period processes 1 to 6 recorded in the fixed-period process data 32A as a series of fixed-period processes. The horizontal axis represents the time axis in units of 500 ms, with the scheduled start time of the first series of fixed-period processes 1 to 6 set as 0. The vertical axis records the scheduled times for executing the series of fixed-period processes 1 to 6, starting from the first time, with the series of fixed-period processes 1 to 6 set as one unit. In FIG. 4, the first series of fixed-period processes 1 to 6 is scheduled to be executed in a time slot from 0 seconds to less than 1 second. The scheduled start time of the second series of fixed-period processes 1 to 6 is 1 second after the start time of the first time, and the scheduled end time is scheduled less than 2 seconds after the same. Similarly, it shows that 1 second is scheduled for each of the series of fixed-period processes 1 to 6 that are continuously repeated. The range of solid line A in FIG. 4 is the time (time zone) between the scheduled start time and scheduled end time as relative times assuming that the start time of the first series of periodic processing is 0.
[0016] The time actually taken to execute the series of periodic processes 1 to 6 is recorded below the scheduled time for each run. The range indicated by dashed line B is the time during which all of periodic processes 1 to 6 were executed. The range indicated by dashed line C is the time during which only periodic processes 2, 3, and 4, which have been designated as priority processes as shown in Figure 2, were executed. The range marked "skip" indicates that all of the series of periodic processes 1 to 6 scheduled for that time were skipped and not executed.
[0017] The fixed-cycle processing instruction unit 33 of the engineering tool 30 instructs the monitoring control device 20 to start the series of fixed-cycle processing scheduled above, execute priority processing, eliminate congestion, stop the series of fixed-cycle processing, etc. The fixed-cycle processing instruction unit 33 monitors whether the series of fixed-cycle processing 1 to 6 performed by the monitoring control device 20 are progressing as scheduled based on the fixed-cycle processing data 32A and the schedule management data 32B, and issues an instruction to the monitoring control device 20 to recover from delays as necessary.
[0018] The monitoring and control device 20 has a fixed-period processing execution unit 21 and a feedback unit 22. The fixed-period processing execution unit 21 repeatedly executes a series of fixed-period processing instructed by a fixed-period processing instruction unit 33 of the engineering tool 30. That is, in response to an execution instruction based on the schedule management data 32B of FIG. 2, fixed-period processing 1 to fixed-period processing 6 are executed consecutively. When the series of fixed-period processing 1 to fixed-period processing 6 ends, the feedback unit 22 reports the execution time of each of the fixed-period processing 1 to fixed-period processing 6 and the total execution time of the series of fixed-period processing to the data creation unit 31 of the engineering tool 30. The data creation unit 31, which receives this execution time, updates the "execution time" and "total fixed-period processing execution time" of the fixed-period processing data 32A.
[0019] When the Nth series of fixed-period processing is completed, the fixed-period processing instruction unit 33 compares the scheduled end time (relative time from the start time) of the Nth series of fixed-period processing recorded in the schedule management data 32B of the data storage unit 32 with the actual end time (relative time from the start time) and determines how to proceed with the subsequent series of fixed-period processing.
[0020] Next, the operation of a series of periodic processes will be described. Fig. 5 is a flowchart showing the flow of a series of periodic processes performed by the monitoring control system 100. As pre-processing for the series of periodic processes, periodic process data 32A shown in Fig. 2 and schedule management data 32B shown in Fig. 4 are created in advance.
[0021] First, the fixed-period process instructing unit 33 of the engineering tool 30 instructs the fixed-period process executing unit 21 of the monitoring control device 20 to start a series of fixed-period processes 1 to 6 (step S001). At this time, the fixed-period process instructing unit 33 passes the names and order of processes included in the series of fixed-period processes executed by the monitoring control device 20 to the fixed-period process executing unit 21 of the monitoring control device 20. The fixed-period process executing unit 21 executes the series of fixed-period processes 1 to 6 in order.
[0022] The periodic process instruction unit 33 judges whether or not a delay that exceeds an allowable range has occurred in the execution of the series of periodic processes 1 to 6 (where "delay" refers to a state in which the series of periodic processes (N-1) is executed after the scheduled start time of the series of periodic processes (N is a natural number equal to or greater than 2)). The allowable range is recorded in the periodic process data 32A as an "allowable delay time".
[0023] Here, the allowable range is 0.05 seconds or less. Therefore, if the (N-1)th series of fixed-period processes 1 to 6 is being executed 0.05 seconds or more after the scheduled start time of the Nth series of fixed-period processes 1 to 6, the process proceeds to delay recovery processing (step S002-YES). If the delay is within the allowable range of 0.05 seconds, the fixed-period process instruction unit 33 determines that no delay exceeding the allowable time has occurred, and passes the names (fixed-period processes 1 to 6) and order of all the fixed-period processes to the fixed-period process execution unit 21 of the monitoring and control device 20 as targets for the (N+1)th series of fixed-period processes (step S002-NO-step S003).
[0024] 3, if a delay that exceeds an allowable range occurs in the execution of the previous series of periodic processes 1 to 6, the periodic process instruction unit 33 judges whether the delay is equal to or greater than the time (here, 1 second) allocated to one series of periodic processes, that is, whether a stagnation occurs in the series of periodic processes 1 to 6 (step S004). "Stagnation" refers to a state in which a series of periodic processes prior to the N-2th one is being executed beyond the scheduled start time of the Nth series of periodic processes (N is a natural number of 3 or more).
[0025] If a delay exceeding the allowable range has occurred but no backlog has occurred (step S004-NO, see FIG. 4, second execution time), the fixed-period processing instruction unit 33 instructs that only the fixed-period processing designated as priority be executed as the next series of fixed-period processing (see FIG. 4, third execution) (step S005). In this case, the fixed-period processing designated as priority, which has a check mark in the check box at the beginning of each process in the fixed-period processing data 32A shown in FIG. 2, is the fixed-period processing 2, 3, and 4. For the next fixed-period processing, only the series of fixed-period processing 2, 3, and 4 is executed to recover from the delay of the entire fixed-period processing.
[0026] If a delay and backlog has occurred (step S004-YES), all unexecuted series of periodic processes that have already passed the start time of the series of periodic processes scheduled in the schedule management data 32B are skipped (step S006, see Figure 4, 5th time).
[0027] Then, if there is no scheduled start time of a series of periodic processes scheduled within a predetermined time (e.g., 0.3 seconds) from the current time starting from the start time of the first series of periodic processes (step S007-NO, see Figure 4, the fourth end time and sixth execution time with the fifth skipped), the periodic process instructing unit 33 instructs the periodic process executing unit 21 of the monitoring control device 20 to continue and execute only the series of periodic processes 2, 3, and 4 that correspond to the priority processing (step S005).
[0028] On the other hand, if there is a scheduled start time of a series of fixed-period processing within a predetermined time (e.g., 0.3 seconds) from the current time starting from the start time of the first series of fixed-period processing (step S007-YES, see Figure 4, the end time of the 6th series and the 9th series in which the 7th and 8th series are skipped), the fixed-period processing instructing unit 33 waits until that time (step S008), and then instructs the fixed-period processing executing unit 21 of the monitoring and control device 20 to return to the scheduled series of fixed-period processing.
[0029] When step S003 or step S005 is completed, the feedback unit 22 of the monitoring and controlling device 20 transmits to the data creation unit 31 of the engineering tool 30 the time required for each of the previous fixed-period processes - to 6 and the total execution time of the series of fixed-period processes 1 to 6 (step S009), and the data creation unit 31 receiving the data updates the fixed-period processing data 32A and the schedule management data 32B.
[0030] Next, the fixed-period processing instruction unit 33 of the engineering tool 30 determines whether or not a command to stop the series of fixed-period processing has been input (step S010). If input, the processing ends there (step S010-YES). If not input, the processing returns to step S001 and continues with the next series of fixed-period processing (step S010-NO).
[0031] As shown in FIG. 6, the monitoring control device 20 and the engineering tool 30 are configured with a processor 100A and a storage device 101A. The storage device 101A includes a volatile storage device such as a random access memory and a non-volatile auxiliary storage device such as a flash memory, which are not shown. Alternatively, an auxiliary storage device such as a hard disk may be included instead of the flash memory. The processor 100A executes a program input from the storage device 101A. In this case, the program is input from the auxiliary storage device to the processor 100A via the volatile storage device. The processor 100A may output data such as a calculation result to the volatile storage device of the storage device 101A, or may store the data in the auxiliary storage device via the volatile storage device.
[0032] According to the monitoring and control system of the first embodiment, A monitoring and control device that monitors and controls devices connected via a network, and an engineering tool that sets the monitoring and control device and instructs processing, The engineering tool comprises: Periodic processing data that records a series of periodic processing; schedule management data for recording a schedule for repeatedly executing the series of fixed-period processes; a data creation unit that creates the periodic processing data and the schedule management data; a periodic processing instruction unit that monitors whether the series of periodic processing performed by the monitoring and control device is progressing according to the schedule, The monitoring and control device includes a periodic process execution unit that executes the series of periodic processes; a feedback unit that reports a total execution time of the series of fixed cycle processes to the data creation unit; The fixed-period processing instruction unit determines, based on the fixed-period processing data, the schedule management data, and the total execution time, whether or not a backlog has occurred in which the series of fixed-period processing prior to the Nth time (N is a natural number greater than or equal to 3) has been executed beyond the scheduled start time of the Nth time (N is a natural number greater than or equal to 3) of the series of fixed-period processing executed by the monitoring and control device, and if a backlog has occurred, all of the series of fixed-period processing prior to the Nth time that has not been executed is skipped, so that even if a backlog occurs in the processing, the schedule for the series of fixed-period processing can be restored. Moreover, according to the monitoring and control system according to the first embodiment, When the congestion occurs, if the scheduled start time of the series of fixed-periodic processing is within a predetermined time after the end time of the series of fixed-periodic processing, the fixed-periodic processing instruction unit of the engineering tool instructs the fixed-periodic processing execution unit of the monitoring and control device to wait until the scheduled start time, thereby forcibly restoring the schedule of the series of fixed-periodic processing. Moreover, according to the monitoring and control system according to the first embodiment, The fixed-period processing data can specify a target for priority processing for each of the fixed-period processing, If the congestion occurs and there is no scheduled start time for the series of fixed-periodic processing within a predetermined time after the end time of the series of fixed-periodic processing, the fixed-periodic processing instruction unit of the engineering tool instructs the fixed-periodic processing execution unit of the monitoring and control device to continue to execute only the fixed-periodic processing that corresponds to the priority processing.Therefore, if there is leeway in the scheduled start time, the priority processing is executed, thereby making it possible to recover the schedule for the series of fixed-periodic processing while making effective use of time. Moreover, according to the monitoring and control system according to the first embodiment, the fixed-period processing data has an allowable delay time indicating an allowable range of delay in the series of fixed-period processing, If the delay is within the tolerance, the fixed-cycle process instruction unit processes the process assuming that no delay has occurred, so that if the delay is minor, it can be expected that the delay will be recovered from in the series of subsequent fixed-cycle processes.
[0033] Although exemplary embodiments are described herein, the various features, aspects, and functions described in the embodiments are not limited to application to a particular embodiment, but may be applied to the embodiments alone or in various combinations. Therefore, countless modifications not illustrated are expected within the scope of the technology disclosed in this application, including, for example, modifying, adding, or omitting at least one component. [Explanation of symbols]
[0034] 100 monitoring and control system, 10A to 10X equipment, 20 monitoring and control device, 21 fixed-period processing execution unit, 22 feedback unit, 30 engineering tool, 31 data creation unit, 32 data storage unit, 32A periodic processing data, 32B schedule management data, 33 periodic processing instruction section, 4 network, 100A processor, 101A storage device.
Claims
1. A monitoring and control device that monitors and controls devices connected via a network, and an engineering tool that sets the monitoring and control device and instructs processing, The engineering tool comprises: Periodic processing data that records a series of periodic processing; schedule management data for recording a schedule for repeatedly executing the series of fixed-period processes; a data creation unit that creates the periodic processing data and the schedule management data; a periodic processing instruction unit that monitors whether the series of periodic processing performed by the monitoring and control device is progressing according to the schedule, The monitoring and control device includes a periodic process execution unit that executes the series of periodic processes; a feedback unit that reports a total execution time of the series of fixed cycle processes to the data creation unit; The fixed-period processing instruction unit determines, based on the fixed-period processing data, the schedule management data, and the total execution time, whether or not a backlog has occurred in which the series of fixed-period processing prior to the N-2th time has been executed beyond the scheduled start time of the Nth time (N is a natural number greater than or equal to 3) of the series of fixed-period processing performed by the monitoring and control device, and if a backlog has occurred, skips all of the series of fixed-period processing prior to the Nth time that has not been executed.
2. 2. The monitoring and control system according to claim 1, wherein when the congestion occurs, if the scheduled start time of the series of fixed-period processing is within a predetermined time after the end time of the series of fixed-period processing, the fixed-period processing instruction unit of the engineering tool instructs the fixed-period processing execution unit of the monitoring and control system to wait until the scheduled start time.
3. The fixed-period processing data can specify a target for priority processing for each of the fixed-period processing, 2. The monitoring and control system of claim 1, wherein when the congestion occurs and there is no scheduled start time for the series of fixed-period processing within a predetermined time after the end time of the series of fixed-period processing, the fixed-period processing instruction unit of the engineering tool instructs the fixed-period processing execution unit of the monitoring and control system to continue to execute only the fixed-period processing that corresponds to priority processing.
4. the fixed-period processing data has an allowable delay time indicating an allowable range of delay in the series of fixed-period processing, 4. The monitoring and control system according to claim 1, wherein, when the delay is within the allowable range, the fixed-cycle process instruction unit performs processing assuming that no delay has occurred.
Citation Information
Patent Citations
Control computation device
JP2017161994A
Control device, control method, and control program
JP2018181315A
Control device and control system
WO2015136973A1
Indicator with control function
JP2002006944A
Cited By
Game machine
JP2024138124A
Game machine
JP2024138126A
Game machine
JP2024138127A
Game machine
JP2024138128A
Game machine
JP2024138129A
