Remote control device and control device

The remote control device addresses the challenge of maintaining periodic control calculations by receiving necessary data and notifications, enabling it to execute control programs and ensuring continuous operation despite communication failures, thus maintaining system reliability.

WO2024189949A1PCT designated stage expired Publication Date: 2024-09-19KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/036955
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-10
Filing Date
2023-10-12
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Existing remote control systems fail to maintain periodicity and execute control programs effectively when switching between on-site and remote control devices due to communication failures in wide area networks, leading to potential real-time control issues.

Method used

The remote control device receives transition start notifications, sensor data, and control calculations from the on-site control device, and includes a communication unit for receiving intermediate control information, enabling it to execute control programs based on sensor data and control information, thus ensuring continuous and periodic control calculations even during network failures.

Benefits of technology

This solution allows for seamless transfer of control program execution from the on-site device to the remote device, ensuring continuous and uninterrupted control calculations, even after communication failures are resolved, without data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023036955_19092024_PF_FP_ABST
    Figure JP2023036955_19092024_PF_FP_ABST
Patent Text Reader

Abstract

According to one embodiment, a remote control device comprises a communication unit that receives, from a control device that performs control computations for equipment to be controlled, a migration start notification about migration of the control computations and a reception value that includes data from a sensor of the equipment to be controlled and control information from during computation of the control computations. The remote control device also comprises a control program execution unit that, after reception of the migration start notification, executes a control program for the control operations on the basis of the data from the sensor and the control information from during the computation.
Need to check novelty before this filing date? Find Prior Art

Description

Remote control and control device

[0001] FIELD OF THE INVENTION Embodiments of the present invention relate to remote control devices and control devices.

[0002] Control devices such as PLCs (Programmable Logic Controllers) are installed in factories and the like, and use data collected from sensors to perform control calculations to operate controlled equipment. Control programs for periodically executing control calculations are also stored in the controlled equipment on-site, and all of the component devices, including the control devices, sensors, and controlled equipment, are managed on-site.

[0003] In recent years, the construction of a control system has been considered in which the control calculations currently performed by a control device are executed by a remote control device installed remotely via a wide area network. In this control system, the control program is also stored in the remote control device, and the control calculations are executed by the remote control device. By constructing a system that can perform control calculations remotely, resources can be allocated to the remote control device to distribute the load, and this is also effective from the perspective of system redundancy.

[0004] Patent No. 593767

[0005] There is a technique for switching from a pre-update control program to an updated control program within the same control device. In this technique, when switching the control program, the control device outputs a switching signal, and switches the control program after the execution of the periodic program is completed.

[0006] However, this technology does not take into consideration switching of control programs between the on-site control device and the remote control device. For example, if a communication failure in the wide area network prevents the switching signal from arriving, or if the control device is unable to receive the control calculation results from the remote control device, it may not be possible to control the equipment to be controlled in real time.

[0007] Therefore, an embodiment of the present invention provides a control device and a remote control device that can execute a control program while maintaining the periodicity of control calculations.

[0008] According to one embodiment, the remote control device includes a communication unit that receives, from a control device that performs control calculations for a control target facility, a transition start notification regarding the transition of the control calculation and received values ​​including sensor data of the control target facility and control information during the control calculation. The remote control device further includes a control program execution unit that, after receiving the transition start notification, executes a control program for the control calculation based on the sensor data and the control information during the calculation.

[0009] 1 is an example of an overall configuration diagram of a control system in the first embodiment. FIG. 2 is an example of a block diagram of the control system in the first embodiment. FIG. 3 is a block diagram of another example of the control system in the first embodiment. FIG. 4 is a diagram showing an example of a processing sequence before startup of a remote control device in the first embodiment. FIG. 5 is a diagram showing an example of a processing sequence at the time of control transition between a remote control device and a control device in the first embodiment. FIG. 6 is a timing chart of a processing sequence of a remote control device and a control device in normal operation in the first embodiment. FIG. 7 is a diagram showing an example of a processing sequence at the time of control transition between a remote control device and a control device in the first embodiment. FIG. 8 is a diagram showing an example of a processing sequence at the time of control transition between a remote control device and a control device in the second embodiment. FIG. 9 is a diagram showing an example of a processing sequence at the time of control transition between a remote control device and a control device in the third embodiment. FIG. 10 is a diagram showing an example of a processing sequence when a control device starts storing received values ​​in the third embodiment. FIG. 11 is a diagram showing another example of a processing sequence at the time of control transition between a remote control device and a control device in the third embodiment. FIG. 12 is a hardware configuration diagram of a remote control device in the fourth embodiment.

[0010] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The present invention is not limited to these embodiments. The drawings are schematic or conceptual, and the proportions of the various parts are not necessarily the same as those in reality. In the specification and drawings, elements similar to those described above with reference to the previous drawings are designated by the same reference numerals, and detailed descriptions thereof will be omitted as appropriate.

[0011] First Embodiment FIG. 1 is an example of an overall configuration diagram of a control system according to a first embodiment.

[0012] The control system 100 includes a remote control device 1 , a wide area network 2 , a control device 3 , a sensor 4 , an actuator 5 and an HMI (Human Machine Interface) 40 .

[0013] The remote control device 1 and the control device 3 can communicate with each other via a wide area network 2 .

[0014] The remote control device 1 is installed, for example, in a control center away from the factory. The remote control device 1 may also be installed in the cloud instead of in the control center. After the remote control device 1 is started up, it receives data from the sensor 4 from the control device 3 via the wide area network 2 and executes control calculations to control the equipment to be controlled (not shown). The results of the control calculations are sent to the control device 3 via the wide area network 2.

[0015] The control device 3 is installed in, for example, a plant such as a factory. Before the remote control device 1 is started up, the control device 3 performs control calculations within the device and generates a control signal for controlling the actuator 5 based on the results of the control calculations. Furthermore, when a control calculation is performed by the remote control device 1, the control device 3 generates a control signal for controlling the actuator 5 based on the results of the control calculations received from the remote control device 1. The control signal drives the actuator 5, causing the controlled equipment to operate.

[0016] The wide area network 2 is constructed using wired lines such as optical lines or metal lines, as well as wireless lines such as 4G (4th Generation) lines, 5G (5th Generation) lines, multiplexed wireless lines, or satellite lines. Network equipment such as routers in each network 20, 21 will not be described. The wide area network 2 may be constructed as a dedicated line, or may be constructed using a public line such as the Internet. The wide area network 2 may also be configured as a LAN (Local Area Network) rather than a WAN (Wide Area Network).

[0017] 1, in a control system 100, a plurality of control devices 3 are connected to one remote control device 1 via a wide area network 2, and each control device 3 controls a different piece of equipment to be controlled. In this embodiment, an example in which two control devices 3 are connected will be described. For the sake of explanation, one of the two control devices 3 will be referred to as control device A and the other as control device B. Furthermore, a sensor 4 and an actuator 5 are connected to each of control devices A and B.

[0018] A user of the control system 100 monitors the status of the remote control device 1 and the control device 3 via the HMI 40. User programs for operating these devices can also be downloaded through the HMI 40. While this diagram shows an example in which the HMI 40 is connected to the remote control device 1 and centrally monitors the control system 100, the HMI 40 may also be configured to be connected to the control device 3.

[0019] FIG. 2 is an example of a block diagram of the control system according to the first embodiment.

[0020] 2, a block diagram of the remote control device 1 and the control devices A and B will be described. In addition, since the control devices A and B have the same block diagram, they will be described as the control device 3.

[0021] The remote control device 1 includes a communication unit 11, a control program execution unit 12, and a control memory 13. The remote control device 1 can be realized by installing a program for the remote control device 1 in, for example, a PC (Personal Computer). A CPU (Central Processing Unit) in the remote control device 1 executes the program for the remote control device 1, thereby realizing the functions of the communication unit 11, the control program execution unit 12, and the control memory 13. The control memory 13 is constructed on, for example, a RAM (Random Access Memory). The remote control device 1 may also be implemented as a VM (Virtual Machine) on the PC.

[0022] After the remote control device 1 is started up, the communication unit 11 communicates with a communication unit 31 of the control device 3 (described later) via the wide area network 2. Transmission of control calculation results to the control device 3 and reception of data of the sensor 4 from the control device 3 are performed via the communication unit 11.

[0023] The control program execution unit 12 executes control calculations for controlling the equipment to be controlled.

[0024] The control memory 13 stores data from the sensor 4, the results of control calculations, and control information during the calculations. The control program execution unit 12 reads out the data from the sensor 4 stored in the control memory 13 and executes the control calculations.

[0025] The results of the control calculations calculated by the control program execution unit 12 are stored in the control memory 13 and transmitted to the control device 3 via the communication unit 11 .

[0026] The control information during the calculation is, for example, the value of a variable used in the control calculation. More specifically, the control information during the calculation is data from the sensor 4, the number of times that the results of previously calculated control calculations have exceeded a threshold, or values ​​used in past control calculations, and corresponds to the intermediate information required to output the results of the control calculation. Hereinafter, the control information during the calculation is also simply referred to as control information.

[0027] The control device 3 includes a communication unit 31, a control program execution unit 32, a control memory 33, and a control switching determination unit 34. The control device 3 can be realized by installing a program for the control device 3 in, for example, a PC (Personal Computer). A CPU (Central Processing Unit) in the control device 3 executes the program for the control device 3, thereby realizing the functions of the communication unit 31, the control program execution unit 32, the control memory 33, and the control switching determination unit 34. The control memory 33 is constructed on, for example, a random access memory (RAM) such as a memory. The control device 3 may also be implemented as a PLC.

[0028] After the remote control device 1 is started up, the communication unit 31 communicates with the communication unit 11 via the wide area network 2. Data from the sensor 4 to be sent to the remote control device 1 and the results of control calculations received from the remote control device 1 are transmitted and received via the communication unit 31.

[0029] Before the remote control device 1 is started up, the control program execution unit 32 executes control calculations for controlling the equipment to be controlled.

[0030] Before the remote control device 1 is started up, the control memory 33 stores the data from the sensor 4, as well as the results of control calculations calculated by the control device 3 and control information during the calculations.

[0031] After the remote control device 1 starts up, the control memory 33 receives and stores the data from the sensor 4, as well as the results of control calculations performed by the remote control device 1 and control information during the calculations.

[0032] When the control device 3 executes a control calculation, the control program execution unit 32 reads out the data of the sensor 4 stored in the control memory 33 as an input value and executes the control calculation.

[0033] Furthermore, when the control device 3 executes a control calculation, the result of the control calculation is stored in the control memory 33 and then transmitted to the actuator 5 by the communication unit 31 as a control signal.

[0034] The control switching determination unit 34 determines whether to switch the control calculation when the remote control device 1 is started up. For example, when the control switching determination unit 34 determines that the control calculation should be switched from the control device 3 to the remote control device 1, the control calculation is executed by the control program execution unit 12 of the remote control device 1 after the switching process.

[0035] FIG. 3 is a block diagram of another example of the control system according to the first embodiment.

[0036] FIG. 3 shows an example in which multiple virtual remote control devices 1 are operating within a single physical PC 50. In this example, two virtual remote control devices 1 share resources such as the CPU and memory of the single physical PC 50. In this example, the remote control device 1 that executes the control calculations of control device A is referred to as remote control device A, and the remote control device 1 that executes the control calculations of control device B is referred to as remote control device B. In this way, the remote control device 1 may be implemented as a separate VM that operates each control device 3. Furthermore, data such as variables handled by each device in the control system 100 may be stored in, for example, a ring buffer and shared between the devices. This allows the control system 100 to suppress an increase in memory usage in each device. Below, to explain the switching operation from the control device 3 to the remote control device 1, switching between one remote control device 1 and one control device 3 will be described.

[0037] FIG. 4 is a diagram showing an example of a processing sequence before the start-up of the remote control device in the first embodiment.

[0038] 4 shows, for example, a processing sequence before the start-up of the remote control device 1. Before the start-up of the remote control device 1, control calculations are executed by the on-site control device 3. Before the start-up of the remote control device 1, processes T1 and T6 are executed independently in this order. Furthermore, T1 and T6 are executed periodically by a T1 period timer and a T6 period timer.

[0039] T1 is a communication process between the control device 3 and the sensor 4 and actuator 5. The communication unit 31 receives data from the sensor 4 and stores it as an input value in the control memory 33. The communication unit 31 also reads the result of the control calculation from the control memory 33 as an output value for the actuator 5 and transmits it to the actuator 5.

[0040] T6 is a process of executing a control program in the control device 3. Specifically, the control program execution unit 32 reads the data of the sensor 4 from the control memory 33 and executes a control calculation. Furthermore, the control program execution unit 32 stores the control information during the calculation in the control memory 33 in addition to the result of the control calculation.

[0041] The control program execution unit 32 in this embodiment stores control information calculated by the control device 3 during calculation so that the remote control device 1 can execute control calculations after the remote control device 1 has started up.

[0042] FIG. 5 is a diagram showing an example of a processing sequence at the time of control transfer between the remote control device and the control device in the first embodiment.

[0043] Here, we will explain an example of process T7, in which after the remote control device 1 is started up, the execution location of the control program is transferred from the control device 3 to the remote control device 1 without stopping the control calculations being executed by the control device 3.

[0044] Meanwhile, the remote control device 1 and the control device 3 perform periodic communication. The control device 3 confirms that the remote control device 1 has started up by confirming communication between the devices through periodic communication. Furthermore, when communication is confirmed through this periodic communication in the wide area network 2 connecting the devices, each device confirms recovery. Furthermore, periodic communication between the devices may be performed using a general communication confirmation method such as PING (Packet InterNet Groper).

[0045] At T7, the control switching determination unit 34 first sends a transition start notification to the communication unit 31 to transition the control calculation, and sends a control stop notification to stop the control calculation to the control program execution unit 32. Upon receiving the transition start notification, the communication unit 31 transmits the input value and the transition start notification, starts storing the received value, and starts the T2 period timer.

[0046] In transmitting the input value and transition start, the communication unit 31 reads the data of the sensor 4 and the control information in the middle of calculation from the control memory 33 as input values ​​and transmits them to the communication unit 11. When transmitting the input value, the communication unit 31 also transmits a transition start notification. This transition start notification may be transmitted as transmission data separate from the input value, or may be transmitted as the same transmission data by adding, for example, an identification header to the transmission data of the input value.

[0047] When starting to store received values, after the remote control device 1 starts the control calculation, the communication unit 31 receives the results of the control calculation and control information during the calculation, and starts the process of storing these data as received values ​​in the control memory 33.

[0048] In the T2 period timer start, the control device 3 starts the T2 period timer in order to start the process T2 in which the control device 3 periodically transmits the contents of the control memory 33 to the remote control device 1. The details of the process T2 will be described later.

[0049] In addition, when the control program execution unit 32 receives a control stop notification, it stops the T6 period timer to prevent confusion between the results of the control calculation received from the remote control device 1 and the results of the control calculation executed by the control program execution unit 32.

[0050] The communication unit 11 of the remote control device 1 receives the input value and the transition start notification from the control device 3, stores the received value, notifies the control start, and starts the T4 period timer.

[0051] In the received value storage step, the communication unit 11 stores the data of the sensor 4 received from the communication unit 31 and the control information in the middle of calculation as received values ​​in the control memory 13. In the control start notification step, the communication unit 11 issues a control start notification to the control program execution unit 12 to start control calculation. In the T4 period timer start step, the control device 3 starts the T4 period timer to start process T4, which periodically repeats transmission to the control device 3. Details of process T4 will be described later.

[0052] Furthermore, upon receiving the control start notification, the control program execution unit 12 reflects the control information, performs control calculations, and starts the T3 period timer.

[0053] In the control information reflection step, the control program execution unit 12 reads out control information currently being calculated from the control memory 13 and reflects it as internal information of the program. In the control calculation step, the control program execution unit 12 reads out data from the sensor 4 from the control memory 13, executes control calculation using this data, and stores the results in the control memory 13. In the T3 period timer start step, the control device 3 starts a T3 period timer that periodically executes control calculations in the remote control device 1. Details of the process T3 will be described later.

[0054] The above processing sequence transitions from a state in which T1 and T6 are being executed to a state in which T1 to T4 are being executed independently in this order by T7. T1 to T4 are also periodically executed by the T1 to T4 periodic timers, respectively.

[0055] FIG. 6 is a timing chart of a processing sequence in normal operation of the remote control device and the control device in the first embodiment.

[0056] Under normal circumstances, the processing sequence is executed by periodically repeating T1 to T4 in this order, thereby achieving remote control calculation. In this embodiment, the time interval between the execution of each of T1 to T4 and the execution of each of T1 to T4 again in the next cycle is referred to as the cycle time. In FIG. 6, the cycle times of each of T1 to T4 are represented by t1 to t4, respectively. In this example, since processes T1 to T4 are executed in order in each cycle, t1 to t4 are set to the same value. The execution start times of these cycle times are managed by cycle timers T1 to T4.

[0057] FIG. 7 is a diagram illustrating an example of a processing sequence during normal operation between the remote control device and the control device in the first embodiment.

[0058] T1 is the same process as described above, and therefore its explanation will be omitted. T2 is a process of transmitting the contents of the control memory 33 of the control device 3 to the remote control device 1. The communication unit 31 of the control device 3 reads the data of the sensor 4 from the control memory 33 as an input value and transmits it to the remote control device 1. Furthermore, the communication unit 11 of the remote control device 1, which has received the data of the sensor 4, stores that value in the control memory 13 as a received value. Note that, since the control device 3 is not performing a control calculation at T2, the communication unit 31 of the control device 3 does not transmit control information in the middle of calculation to the remote control device 1. Therefore, at T2, the control information in the middle of calculation is not included in the received value of the communication unit 11 of the remote control device 1.

[0059] T3 is a process of executing a control program on the remote control device 1. The control program execution unit 12 reads the data of the sensor 4 from the control memory 13 and executes a control calculation. The remote control device 1 stores the results of the executed control calculation and control information during the calculation in the control memory 13.

[0060] T4 is a process for transmitting data stored in the control memory 13 of the remote control device 1 to the control device 3. The communication unit 11 of the remote control device 1 reads the control calculation result and the control information in the middle of the calculation from the control memory 13, and transmits them as output values ​​to the control device 3. The communication unit 31 of the control device 3 receives the control calculation result and the control information in the middle of the calculation, and stores these values ​​in the control memory 33 as received values.

[0061] Furthermore, if a control calculation is being performed by the control device 3 due to a communication failure in the wide area network 2, the control system 100 can transfer the execution location of the control program using a similar processing sequence when the control calculation is performed by the remote control device 1 after the communication failure is recovered.

[0062] According to this embodiment, the control system 100 can transition from a state in which T1 and T6 are executed, i.e., a state in which control calculations are executed by the control device 3, to a state in which T1 to T4 are executed, i.e., a state in which control calculations are executed by the remote control device 1. This allows the control system 100 to transfer the execution location of the control program from the on-site control device 3 to the remote control device 1.

[0063] Furthermore, according to this embodiment, the control device 3 stores control information during calculation in the control memory 33 and transmits it to the remote control device 1 via the communication unit 31. The remote control device 1 also receives this value from the control device 3 and stores it in the control memory 13. The remote control device 1 can reflect past data in the control calculation by reading this value when starting execution of the control program. As a result, when the remote control device 1 confirms communication with the control device 3 or when remotely executing a control calculation after a communication failure on the wide area network 2 is resolved, the remote control device 1 can remotely and continuously execute the control calculation without any data loss between the remote control device 1 and the control device 3.

[0064] Second Embodiment FIG. 8 is a diagram showing an example of a processing sequence during normal operation between a remote control device and a control device in a second embodiment.

[0065] Since T1 to T3 are the same processes as those in the first embodiment, the explanation will be omitted.

[0066] At T4, the communication unit 11 of the remote control device 1 reads the control calculation result and the control information during the calculation from the control memory 13 and transmits them as output values ​​to the control device 3. The communication unit 31 of the control device 3 receives the control calculation result and the control information during the calculation and stores these values ​​as received values ​​in the control memory 33. The communication unit 31 also notifies the control switching determination unit 34 of the reception time of the received value. When the control switching determination unit 34 is notified of the reception time from the communication unit 31, it updates the reception timer.

[0067] This embodiment differs from the first embodiment in that the control switching determination unit 34 updates the reception timer based on the reception time of the received value.

[0068] FIG. 9 is a diagram showing an example of a processing sequence at the time of control transfer between the remote control device and the control device in the second embodiment.

[0069] The processing sequence of FIG. 9 is a continuation of the processing sequence explained in FIG. 8, and is executed when a communication failure occurs in the wide area network 2, for example.

[0070] T5 is a process for transferring the execution location of the control program from the remote control device 1 to the control device 3. The control switching determination unit 34 monitors, using a reception timer, whether or not it has received the control calculation results and the control information in the middle of the calculation from the remote control device 1. As described in the processing sequence of FIG. 8 , after the communication unit 31 receives the control calculation results and the control information in the middle of the calculation from the remote control device 1, it notifies the control switching determination unit 34 of the reception time (see T4). While the normal processing sequence is being executed, the reception timer in the control switching determination unit 34 updates the reception time each time a received value is received at T4. If the reception time is not updated within a certain period of time since the last updated reception time, a timeout occurs, and the control switching determination unit 34 determines that communication between the remote control device 1 and the control device 3 is not possible, and starts the processing sequence for control transfer.

[0071] Here, the fixed time for timeout is set to a value shorter than the periodic times t1 to t4 of T1 to T4. For example, if the periodic time t4 of T4 is 1 second, the fixed time may be set to half that, or 0.5 seconds. If the processing at the time of control transition requires 0.2 seconds, the fixed time may be set to 0.8 seconds.

[0072] Furthermore, after setting the fixed time for timeout, it is necessary to notify the reception time at T4 shorter than the fixed time for timeout. Methods for achieving this include shortening t4 and transmitting a communication packet for confirming survival at T4 at a different cycle time from the output value transmission. By shortening t4, the remote control device 1 transmits the output value shorter than the fixed time for timeout, allowing the control device 3 to notify the reception time before the timeout. Furthermore, for the survival confirmation communication packet, another timer separate from the output value transmission is provided at T4, and a communication packet for confirming survival is transmitted at a different cycle time from the output value transmission, allowing the reception time notification to be performed before the timeout. Because the communication packet for confirming survival does not require the results of the control calculation or control information during the calculation, this reduces the communication load compared to shortening t4.

[0073] T5 is a process for transferring the control calculation from the remote control device 1 to the control device 3. If a timeout occurs at T5, the control switching determination unit 34 issues a control start notification to the control program execution unit 32 of the control device 3 to start the processing sequence for control transfer. The control switching determination unit 34 also issues a received value storage stop notification to the communication unit 31 so as not to store the received value from the remote control device 1 in the control memory 33. In this processing sequence, an example is shown in which the control start notification is sent first and the received value storage stop notification is sent later, but the order of these notifications may be reversed.

[0074] Upon receiving the control start notification, the control program execution unit 32 reflects the control information, reads the control information in the middle of calculation from the control memory 33, and reflects it as internal information of the program. After the reflection, the control program execution unit 32 reads the data of the sensor 4 from the control memory 33, executes the control calculation, and stores the results of the control calculation in the control memory 33. Thereafter, the control device 3 starts a T6 period timer to start T6, in which the control device 3 periodically executes the control calculation.

[0075] The communication unit 31, which receives the notification to stop storing received values ​​at T5, does not store the received values ​​from the remote control device 1 after the notification to stop storing received values ​​in the control memory 33 in order to avoid confusion between the results of the control calculation of the remote control device 1, which arrived late, and the results of the control calculation executed by the control program execution unit 32.

[0076] After completion of T5, the control device 3 may stop execution of T2. Furthermore, the control program execution unit 12 of the remote control device 1 may update the reception timer when storing the received value (see T2), similar to the control switching determination unit 34 of the control device 3. As a result, if the reception time is not updated within a certain period of time, the remote control device 1 may time out and stop execution of T3 and T4.

[0077] At T6, the control program execution unit 32 reads the data of the sensor 4 from the control memory 33 and executes the control calculation. Furthermore, the control program execution unit 32 stores the control information during the calculation in the control memory 33 in addition to the result of the control calculation.

[0078] The control device 3 periodically executes T1 and T6 in accordance with the T1 period timer and the T6 period timer.

[0079] Furthermore, after the communication failure in the wide area network 2 is restored, the execution location of the control program can be shifted from the control device 3 to the remote control device 1 by executing T7, as in the first embodiment.

[0080] According to this embodiment, the control device 3 updates the reception timer every time it receives a control calculation result or the like from the remote control device 1, and checks the soundness of communication between the control device 3 and the remote control device 1. Furthermore, the control device 3 switches the execution location of the control program from the remote control device 1 to the control device 3 based on the timeout of the reception timer, thereby enabling the control calculation to continue even if the control calculation result cannot be received from the remote control device 1.

[0081] Furthermore, according to this embodiment, the remote control device 1 stores control information during calculation in the control memory 13 and transmits it to the control device 3 via the communication unit 11. The control device 3 receives this value from the remote control device 1 and stores it in the control memory 33. The control device 3 can reflect past data in the control calculation by reading this value when starting to execute the control program. This allows the control device 3 to continuously execute the control calculation on-site without losing data between the remote control device 1 and the control device 3, even if a communication failure occurs in the wide area network 2.

[0082] Furthermore, according to this embodiment, when the control program execution unit 32 executes a control calculation, the control device 3 stops storing the received value from the remote control device 1. This makes it possible to avoid confusion between the delayed result of the control calculation of the remote control device 1 and the result of the control calculation executed by the control program execution unit 32.

[0083] Third Embodiment FIG. 10 is a diagram showing an example of a processing sequence at the time of control transfer between a remote control device and a control device in a third embodiment.

[0084] When a communication failure in the wide area network 2 is restored, if the remote control device 1 is unable to receive the sensor 4 data, the control information in the middle of calculation, and the transition start notification transmitted from the control device 3, the control system 100 will stop the control calculation in both the remote control device 1 and the control device 3. Therefore, in the third embodiment, the control system 100 repeats communication between the remote control device 1 and the control device 3 multiple times, and stops the control calculation in the control device 3 after confirming that the communication status of the wide area network 2 has stabilized.

[0085] At T7', some of the processes executed at T7 are not executed. Specifically, at T7', the control switching determination unit 34 does not issue a control stop notice and the communication unit 31 does not start storing received values.

[0086] Since the control switching determination unit 34 does not issue a control stop notification, the control program execution unit 32 continues to execute the control calculation (T6). Also, since the communication unit 31 does not start storing the received value at T4, the received value received by the communication unit 31 is not stored in the control memory 33.

[0087] FIG. 11 is a diagram showing an example of a processing sequence when the control device starts storing received values ​​in the third embodiment.

[0088] The communication unit 31 does not start storing the received value at time T7', but instead performs a reception count determination in the control switching determination unit 34 in order to confirm the stability of the communication status of the wide area network 2. In the reception count determination, the control switching determination unit 34 determines whether the number of times the communication unit 31 has been able to receive the output value transmitted by the communication unit 11 of the remote control device 1, that is, the control calculation result and the control information during the calculation, within a certain period of time exceeds a threshold value. Hereinafter, in this embodiment, the control calculation result and the control information during the calculation received by the communication unit 31 will be described as a received value.

[0089] 11, the communication unit 31 notifies the control switching determination unit 34 of the time when the received value was received, and the control switching determination unit 34 updates the reception timer based on this notification. The control switching determination unit 34 also performs a processing sequence to determine the number of receptions each time the reception timer is updated. As shown in FIG. 7, when the reception timer is not updated, the control device 3 may be configured such that the communication unit 31 transmits a signal to the control switching determination unit 34 indicating that the received value was received within a certain period of time, and the control switching determination unit 34 determines the number of receptions.

[0090] T4' is a processing sequence when it is determined that the number of times the received value has been received does not exceed the threshold value, and T4'' is a processing sequence when it is determined that the number of times the received value has been received exceeds the threshold value. The execution cycles of both T4' and T4'' are managed by a T4 cycle timer.

[0091] At T4'', if it is determined that the number of times the received value has been received exceeds the threshold, the control device 3 executes a control stop notification and starts storing the received value. In the control stop notification, the control switching determination unit 34 notifies the control program execution unit 32, and the control switching determination unit 34 stops the T6' period timer. Furthermore, the control switching determination unit 34 notifies the communication unit 31 to start storing the received value, and the communication unit 31 executes the received value storage process. After the received value storage start process is executed, T4 is executed instead of the process of T4''.

[0092] As a result of the above, the control system 100 can transition from a state in which T1 and T6 are executed to a state in which T1 to T4 and T6 are each executed independently and periodically by T7'. Furthermore, when the number of times the communication unit 31 receives a received value exceeds a threshold, T4' is executed by T4''. As a result, T6 is stopped and T4 is restarted, and the control system 100 can transition to a state in which T1 to T4 are each executed independently and periodically. In other words, the control system 100 can recover to a normal processing sequence in which the remote control device 1 performs control calculations.

[0093] This threshold value may be set to any value by the user of the control system 100. The larger the threshold value, the greater the number of reception count determinations, and therefore the control switching determination unit 34 can determine that the communication status of the wide area network 2 is stable.

[0094] FIG. 12 is a diagram showing another example of a processing sequence at the time of control transfer between the remote control device and the control device in the third embodiment.

[0095] 11 shows an example of a processing sequence for determining the number of times an output value is received within a certain period of time, while FIG. 12 shows an example of a processing sequence when the reception timer times out.

[0096] The control switching determination unit 34 determines whether the output value from the remote control device 1 has been stably received based on the reception timer and the number of receptions. The reception timer in the control switching determination unit 34 updates the reception timer at T4' each time a reception time notification is received. If a timeout occurs, the control switching determination unit 34 resets the number of receptions and starts T7' again. Here, the T2 to T4 periodic timers that are started again at T7' are overwritten by the control switching determination unit 34. As a result, even if a timeout occurs and T7' is executed again, T6 continues to be executed, so the control program does not stop. Furthermore, by overwriting each periodic timer, the control switching determination unit 34 does not need to manage multiple timers.

[0097] According to this embodiment, the control device 3 stores control information during calculation in the control memory 33 and transmits it to the remote control device 1 via the communication unit 31. The remote control device 1 also receives this value from the control device 3 and stores it in the control memory 13. When starting execution of the control program, the remote control device 1 reads this value, thereby allowing past data to be reflected in the control calculation. As a result, when the remote control device 1 confirms communication with the control device 3 or when remotely executing a control calculation after a communication failure on the wide area network 2 is resolved, the remote control device 1 can remotely and continuously execute the control calculation without any data loss between the remote control device 1 and the control device 3.

[0098] Furthermore, according to this embodiment, the control system 100 repeats communication between the remote control device 1 and the control device 3 multiple times, and after confirming that the communication status of the wide area network 2 has stabilized, stops the control calculation in the control device 3. In this way, the control system 100 can prevent the control calculation in both the remote control device 1 and the control device 3 from being stopped.

[0099] Furthermore, according to this embodiment, when the reception timer times out, the control switching determination unit 34 resets the number of receptions and starts counting them again. This allows the control system 100 to stop the control calculation in the control device 3 after confirming that the communication status of the wide area network 2 has become more stable, and prevents the control calculation from being stopped in both the remote control device 1 and the control device 3.

[0100] Fourth Embodiment FIG. 13 is a hardware configuration diagram of a remote control device according to a fourth embodiment.

[0101] 13 includes a processor 52 such as a CPU, a main memory device 53 such as a RAM, an auxiliary memory device 54 such as an HDD, a network interface 55 such as a LAN (Local Area Network) board, a device interface 56 such as a memory slot or memory port, and a bus 57 that interconnects these devices. The remote control device 1 is, for example, a computer such as a PC, and includes input devices such as a keyboard and a mouse, and an output device such as an LCD (Liquid Crystal Display) monitor.

[0102] In this embodiment, a program for causing a computer to execute information processing of the remote control device 1 is installed in the auxiliary storage device 54. The remote control device 1 loads this program into the main storage device 53 and executes it using the processor 52. This enables the functions of each block shown in FIG. 2 to be realized within the remote control device 1, and enables the transition of the processing sequence described in the first embodiment. Note that data generated by this information processing is temporarily held in the main storage device 53, or stored and saved in the auxiliary storage device 54.

[0103] This program can be installed, for example, by attaching an external device 58 on which the program is recorded to the device interface 56 and storing the program from the external device 58 in the auxiliary storage device 54. Examples of the external device 58 include a computer-readable recording medium and a recording device incorporating such a recording medium. Examples of recording media include a CD-ROM (Compact Disk Read Only Memory), a CD-R (Compact Disk Recordable), a flexible disk, a DVD-ROM (Digital Versatile Disk Read Only Memory), and a DVD-R (Digital Versatile Disk Recordable), and an example of a recording device is a HDD. Furthermore, this program can be installed, for example, by downloading the program via the network interface 55.

[0104] According to this embodiment, the functions of the remote control device 1 in the first embodiment can be realized by software. Similarly, the control device 3 can also be realized by software.

[0105] Although several embodiments have been described above, these embodiments are presented as examples only and are not intended to limit the scope of the invention. The novel remote control device 1 and control device 3 described in this specification can be embodied in various other forms. Furthermore, various omissions, substitutions, and modifications can be made to the remote control device 1 and control device 3 described in this specification without departing from the spirit of the invention. The appended claims and their equivalents are intended to cover such forms and modifications that fall within the scope and spirit of the invention.

[0106] 1: Remote control device, 2: Wide area network, 3: Control device, 4: Sensor, 5: Actuator, 11: Communication unit, 12: Control program execution unit, 13: Control memory, 31: Communication unit, 32: Control program execution unit, 33: Control memory, 34: Control switching determination unit, 40: HMI, 52: Processor, 53: Main storage device, 54: Auxiliary storage device, 55: Network interface, 56: Device interface, 57: Bus, 58: External device

Claims

1. A remote control device comprising: a communication unit that receives, from a control device that performs control calculation of a controlled equipment, a transition start notification regarding the transition of the control calculation and received values ​​including sensor data of the controlled equipment and control information during the calculation of the control calculation; and a control program execution unit that executes a control program for the control calculation based on the sensor data and the control information during the calculation after receiving the transition start notification.

2. A remote control device according to claim 1, wherein the control program execution unit reflects the control information during the calculation as internal information of the control program, and executes the control program using data from the sensor.

3. A control device comprising: a communication unit that receives received values ​​including the result of the control calculation and control information during the control calculation from a remote control device that remotely performs control calculation of a controlled facility; a control switch determination unit that issues a control start notification regarding the start of a control program for the control calculation if the received values ​​are not received within a certain period of time; and a control program execution unit that executes the control program based on the control information during the calculation after receiving the control start notification.

4. The control device according to claim 3, wherein the control program execution unit reflects the control information during the calculation as internal information of the control program, and executes the control program using sensor data of the equipment to be controlled.

5. The control device according to claim 3, wherein the control switching determination unit further issues a received value storage stop notification to stop storage of the received value from the remote control device, and the communication unit stops storing the received value after receiving the received value storage stop notification.

6. The control device according to claim 3, wherein the control switching determination unit further issues a transition start notification regarding the transition of the control calculation, and issues a control stop notification to stop control of the control device based on the number of times the received value is received.

Citation Information

Patent Citations

  • A control device that outputs a switching notice signal when switching a sequence program

    JP5937637B2

  • Information processing system

    JP2015032152A

  • System transition program, system transition method, and information processing system

    JP2015099521A

  • Remote control system and remote control method

    JP2018085576A

  • Control device and distributed processing method

    WO2020235088A1