Control device and control method
The control device synchronizes time and manages information across distributed control systems to accurately calculate control commands from diverse data sources, enhancing system precision and stability.
Patent Information
- Application Number
- JP2021081852
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-13
- Publication Date
- 2024-11-27
- Estimated Expiration
- 2041-05-13
AI Technical Summary
In distributed control systems, accurately utilizing time-stamped control data across different control devices is challenging due to differing time references, hindering effective control operations.
Implementing a control device with a time synchronization unit, communication unit, shared data storage, and calculation unit to synchronize time across devices, manage and select information based on time differences, and calculate control commands accurately.
Enables highly accurate control by calculating commands from information acquired at different times, improving product quality and stability.
Smart Images

Figure 0007590917000001 
Figure 0007590917000002 
Figure 0007590917000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device and a control method. [Background technology]
[0002] A control system is installed in various social infrastructure systems, and the control system manages the social infrastructure in an integrated manner. The control system is equipped with multiple control devices that perform arithmetic processing, and aims to automate and streamline the control system.
[0003] The control device constituting such a control system acquires information such as various state quantities from detection devices such as sensors installed in the field, and executes calculation processing using a central processing unit constituting the control device.Then, the control device outputs control commands (control data (control signals)) to operating devices (control targets) such as motors and actuators installed in the field, and controls the control targets in real time.
[0004] In the case of a control system for a large-scale social infrastructure system, multiple control devices are connected via a common network to form a distributed control system. The distributed control system consolidates information acquired from multiple detection devices installed in a vast field in a single control device and executes arithmetic processing. Such a distributed control system divides the roles of a control device that executes arithmetic processing and a control device that outputs control commands, thereby achieving efficient control.
[0005] A shared memory method is one of the communication methods between control devices in a distributed control system. In the shared memory method, each control device constituting the distributed control system has a shared memory, which is a collection of memory allocated to each control device, and each control device periodically broadcasts the data allocated to it to the other control devices. This allows data to be shared between the control devices, reducing the communication load between the control devices.
[0006] An example of a configuration that applies such a shared memory method is described in Patent Document 1. That is, Patent Document 1 describes a technology in which a shared memory and an internal memory are provided, a timestamp is added to control data in the shared memory, the data is stored in the internal memory, and the contents of the internal memory are saved in a storage medium. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] International Publication No. 2015 / 189969 Summary of the Invention [Problem to be solved by the invention]
[0008] As described in Patent Document 1, by adding a time stamp to the control data in the shared memory, the control state at the time the time stamp was added can be shared by each control device. However, even if control data with a time stamp is obtained, if the time of the control data acquired by each control device in the distributed control system differs, it is difficult to use the control data for control in each control device.
[0009] An object of the present invention is to provide a control device and a control method that realizes highly accurate control in each control device in a distributed control system based on information obtained from detection devices at different times. [Means for solving the problem]
[0010] In order to solve the above problems, for example, the configurations described in the claims are adopted. The present application includes multiple means for solving the above-mentioned problems. One example is a control device applied to a distributed control system having multiple control devices, each of which controls a controlled device, and includes a time synchronization unit that synchronizes time with other control devices that constitute the distributed control system, a communication unit that receives information about the controlled device, a shared data storage unit that stores information about the controlled device, a calculation unit that calculates a command value for the controlled device and stores the calculation result in the shared data storage unit, an information holding unit that holds the information stored in the shared data storage unit, an area setting unit that sets an area of the information holding unit in accordance with the information of the shared data and the amount of information required for calculation in the calculation unit, and an information selection unit that selects from the information stored in the information holding unit in accordance with the information of the shared data and the time, and the calculation unit calculates a command value using the information selected by the information selection unit. Effect of the Invention
[0011] According to the present invention, a control command for a controlled object can be calculated from information obtained from a detection device at different times, thereby improving product quality and achieving highly accurate control. Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0012] [Figure 1] 1 is a configuration diagram showing an example of an entire distributed control system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of a control device according to an embodiment of the present invention. [Diagram 3] 1 is a functional block diagram showing a configuration example (example 1) of a control device according to an embodiment of the present invention. FIG. [Figure 4] FIG. 4 is a functional block diagram showing a configuration example (example 2) of a control device according to an embodiment of the present invention. [Diagram 5] FIG. 4 is a timing diagram showing an example of the operation of the control device according to the embodiment of the present invention. [Figure 6]4 is a diagram showing an example of information held in an information holding unit of the control device according to the embodiment of the present invention; FIG. [Figure 7] 4 is a diagram showing an example of information selected by an information selection unit and a command value calculated by a calculation unit of a control device according to an embodiment of the present invention. FIG. [Figure 8] FIG. 4 is a timing diagram showing the sharing timing of shared data in the control device according to the embodiment of the present invention. [Figure 9] 5 is a flowchart showing a process flow in which a control device (control system) according to an embodiment of the present invention shares information acquired from a sensor. [Figure 10] 5 is a flowchart showing a process flow in which a control device (control system) according to a first embodiment of the present invention calculates a control command and the control device (control system) shares the control command. [Figure 11] 1 is a configuration diagram showing an example in which a control device according to an embodiment of the present invention is applied to an FA (Factory Automation) system. [Figure 12] 1 is a configuration diagram illustrating an example in which a control device according to an embodiment of the present invention is applied to an iron and steel system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] An embodiment of the present invention (hereinafter, referred to as "this embodiment") will be described below with reference to the accompanying drawings. Note that substantially the same or similar configurations are given the same reference numerals, and duplicated descriptions will be omitted.
[0014] [Configuration of distributed control system] FIG. 1 shows the configuration of the distributed control system of this example. In the system shown in FIG. 1, a first control device 101, a second control device 102, and a third control device 103 are connected to each other via a common network 1 so as to be able to communicate with each other, thereby forming a distributed control system.
[0015] Each of the control devices 101, 102, and 103 acquires information from sensors installed in the field. Then, each of the control devices 101, 102, and 103 outputs control commands (control data (control signals, command values)) to operation devices (control targets, controlled devices) such as motors and actuators based on the acquired information, and controls the control targets in real time. In other words, the distributed control system is composed of multiple control devices 101, 102, and 103 that execute control over the operation devices. In the following description, the control performed by the first control device 101 is referred to as control A, the control performed by the second control device 102 as control B, and the control performed by the third control device 103 as control C.
[0016] The common network 1 may be, for example, a network that performs data communication by a communication method configured by a series of IEEE standards called TSN (Time Sensitive Network) or an industrial network standardized by the IEC 61784 standard etc. These networks used as the common network 1 are networks that improve the time determinism of communication delays between control devices by using time slot communication based on time division control.
[0017] The first control device 101 includes a CPU (Central Processing Unit) 1001 and a memory 1002. Similarly, the second control device 102 includes a CPU 1011 and a memory 1012, and the third control device 103 includes a CPU 1021 and a memory 1022. The memory 1002 holds a program A that operates to perform control A in the first control device 101, and also has an area (shared data area) for holding shared data shared among the control devices 101 to 103 via the common network 1. The shared data here includes acquired information obtained in control A and control commands received from other control devices.
[0018] Similarly, memory 1012 has an area for holding program B and shared data (acquired information obtained in control B and received control commands) shared among each of the control devices 101 to 103. Memory 1022 has an area for holding program C and shared data (acquired information obtained in control C and calculated control commands), and held information C that collects and holds the shared data shared among each of the control devices 101 to 103.
[0019] Further, to the first control device 101, a sensor 7, a motor 8, and an actuator 9 are connected via a field network 20 in order to execute a control A. Similarly, to the second control device 102, a sensor 10 and a motor 11 are connected via a field network 21 in order to execute a control B, and to the third control device 103, a sensor 12 and a sensor 13 are connected via a field network 22 in order to execute a control C. For the field network 20, the field network 21, and the field network 22, for example, a network defined by IEC 61158 may be used. Also, the control device and the detection devices or the control targets may be directly connected by inputting and outputting digital signals or analog signals. In this case, the control device and each detection device or each control target are connected by a plurality of input / output signal lines.
[0020] The first control device 101 receives an input from the sensor 7 and shares data with the second control device 102 and the third control device 103 via the common network 1. Similarly, the second control device 102 receives an input from the sensor 10 and shares data with the first control device 101 and the third control device 103 via the common network 1. Furthermore, the third control device 103 receives input from the sensors 12 and 13 and shares shared data with the first control device 101 and the second control device 102 via the common network 1.
[0021] In particular, the third control device 103 calculates control commands (command values) for, for example, the motor 8, the actuator 9, and the motor 11 from the shared input data, stores the calculated control commands in the shared data, and shares the control commands with the first control device 101 and the second control device 102. On the other hand, the first control device 101 controls the motor 8 and the actuator 9 according to the shared control commands, and similarly, the second control device 102 controls the motor 11 according to the shared control commands. The sensors 7, 10, 12, and 13 installed in the field are detection devices that detect various state quantities such as flow rates, temperatures, pressures, tensions, and rotational speeds as acquired information.
[0022] [Control device configuration] Next, a description will be given of the configuration of the first control device 101. Here, the first control device 101 will be taken as an example for explanation, but the second control device 102 and the third control device 103 basically have the same configuration.
[0023] FIG. 2 shows the configuration of the first control device 101. The control device 101 includes a CPU 1001 , a memory 1002 , a communication control unit 1003 , an interface unit 1004 , a non-volatile storage medium 1005 , a bus 1006 , and an input / output unit 1007 .
[0024] The CPU 1001 is a central processing unit that controls the operation of each component of the first control device 101 . The memory 1002 is a temporary storage area for the operation of the CPU 1001, and stores an operating system (hereinafter referred to as "OS") and application programs transferred from a non-volatile storage medium 1005. The memory 1002 also has an area for storing the program A that runs on the first control device 101, and an area for storing shared data (information acquisition information and control commands that each control device acquires from a detection device or a control target) that is shared among the control devices 101 to 103. As already described, the shared data includes information acquisition information and control commands that each control device acquires from a detection device or a control target. As shown in FIG. 1, the memory 1022 of the third control device 103 has an area for holding held information C that collects and holds shared data shared among the control devices 101-103.
[0025] The communication control unit 1003 executes data communication with the second control device 102 and the third control device 103 via the common network 1. As a method of data communication, for example, a function of the MAC (Media Access Control) layer of the IEEE802.3 standard is implemented. Examples of implementation of the communication control unit 1003 include an integrated circuit (IC), a field programmable gate array (FPGA), a gate array, etc. The communication control unit 1003 may be integrated with the CPU 1001.
[0026] Furthermore, the communication control unit 1003 has a function of executing a time synchronization protocol using a network. That is, the communication control unit 1003 has a function of counting the time when transmitting and receiving a time synchronization packet, and a function of setting and adding a correction value to the time synchronization packet. As such a time synchronization protocol, IEEE1588, IEEE802.1AS, NTP, and SNTP are used. The communication control unit 1003 also has a function of communicating synchronized time information to the second control device 102 and the third control device 103 as a time management function based on the synchronized time. Although FIG. 2 shows a configuration in which there is one communication control unit 1003, there may be a configuration in which there are multiple communication control units.
[0027] The interface unit 1004 transmits and receives data to and from the common network 1. The interface unit 1004 implements, for example, a function of the physical layer of IEEE802.3. The interface unit 1004 may be included in the communication control unit 1003. Also, the configuration of the interface unit 1004 as a single unit is merely an example, and a plurality of units may be used.
[0028] The non-volatile storage medium 1005 is a non-volatile storage medium for information, and is used, for example, to store the OS, applications, device drivers, etc., to store programs that operate the CPU 1001, and to store the results of program execution. The non-volatile storage medium 1005 is, for example, a hard disk drive, a solid state drive, a flash memory, etc. The non-volatile storage medium 1005 may also be an external storage medium such as a USB memory or a solid state drive that is easily removable.
[0029] The input / output unit 1007 is an input / output interface connected to the first control device 101, for example, that acquires information from the sensor 7 and controls the motor 8 and the actuator 9. The input / output unit 1007 is implemented with, for example, the functions of the various field networks 20 described above, a digital input / output function, and an analog input / output function. Note that, although FIG. 2 shows a case where there is one signal line from the input / output unit 1007, there may be multiple signal lines. The bus 1006 connects the CPU 1001, the memory 1002, the communication control unit 1003, the non-volatile storage medium 1005, and the input / output unit 1007.
[0030] Next, the configuration of the first control device 101 from the viewpoint of its functions will be described. FIG. 3 shows a configuration example (example 1) of the first control device 101 in terms of its functions. Here, the configuration of the first control device 101 will be described, but the second control device 102 has a similar functional configuration. In addition, in this example, the third control device 103 is configured as shown in Fig. 4, which will be described later, but depending on the system configuration, the third control device 103 may have the configuration shown in Fig. 3.
[0031] The first control device 101 has a time synchronization unit 300, a communication unit 301, a synchronization update unit 302, a shared data storage unit 303, a time management unit 304, and an input / output control unit 305. Each of these components is configured by executing a program A stored in the memory 1002 of the first control device 101.
[0032] The time synchronization unit 300 is a functional unit that executes the procedure of the time synchronization process. The time synchronization protocol that is executed is the above-mentioned IEEE1588, IEEE802.1AS, NTP, or SNTP. The time synchronization unit 300 uses the time measured at the time of transmission or reception of a time synchronization packet by a communication unit 301 described later, and performs time synchronization with the second control device 102 and the third control device 103. In other words, the time synchronization unit 300 performs time synchronization with other control devices that configure the distributed control system.
[0033] The time synchronization unit 300 may be realized by an application that runs on the CPU 1001, or may be realized as hardware when the communication control unit 1003 is configured with an IC or FPGA. Also, the time synchronization unit 300 may be configured with both the software of the CPU 1001 and the hardware of the communication control unit 1003. In this case, the measurement function of the transmission timing and reception timing of the time synchronization packet and the generation of the time synchronization packet format are processed by the communication control unit 1003.
[0034] The communication unit 301 is connected to the common network 1, and executes communication processing based on the communication protocol of the common network 1. For example, the communication unit 301 is composed of software that runs on the CPU 1001, a communication control unit 1003, and an interface unit 1004. That is, the communication unit 301 transmits information about its own control device to other control devices and receives information about other control devices from other control devices via the common network 1. The communication unit 301 transmits information (sensor information) that its own control device has acquired from a sensor or the like, and receives information (sensor information) that has been acquired by other control devices.
[0035] The synchronous update unit 302 holds the communication contents received from the communication unit 301. The synchronous update unit 302 reflects the held information in the shared data storage unit 303 described later, based on the synchronous time information (including time notification and time notification interrupt) notified from the time management unit 304 described later. In other words, the synchronous update unit 302 executes storage of the shared data (information) in the shared data storage unit 303 in its own control device, in synchronization with the storage of the shared data (information) in the shared data storage unit in the other control device, or in synchronization with the storage of the shared data (information) from the shared data storage unit in the other control device.
[0036] The shared data storage unit 303 executes a shared data storage process for storing shared data (information) shared between each control device. A shared data area in the memory 1002 is assigned to the shared data storage unit 303. For example, each control device executes periodic broadcast communication, and the control device that receives the broadcast identifies the control device that sent the broadcast and updates the corresponding shared data area. Then, the shared data storage unit 303 stores the shared data transmitted from the other control devices.
[0037] The time management unit 304 manages the synchronized time information of the input / output control unit 305 in each control device based on the synchronized time. The input / output control unit 305 is a functional unit that acquires information from the sensor 7 connected to the first control device 101, controls the motor 8 and the actuator 9, and executes input / output of information. In other words, the input / output control unit 305 acquires information from a detection device and executes input / output of information for controlling a control target.
[0038] When the input / output control unit 305 acquires information from the sensor 7, it may add synchronized time information notified by the time management unit 304 (sensor information with the time when the sensor information was acquired added), i.e., the time when the sensor information was acquired, to the sensor information and pass it to the shared data storage unit 303. In this way, each of the control devices 101-103 in this example has a time synchronization unit 300 that synchronizes time with other control devices constituting the distributed control system. Also, each of the control devices 101-103 in this example has a communication unit 301 that transmits information about its own control device to other control devices and receives information about other control devices from other control devices. Furthermore, each of the control devices 101-103 in this example has a shared data storage unit 303 that stores shared data as information input and output by the input / output control unit 305.
[0039] Next, another functional configuration (example 2) of the control device of this embodiment will be described. 4 is a diagram showing another functional configuration (example 2) of the control device. The control device shown in FIG. 4 is an example applied to the third control device 103, but may be applied to the first control device 101 or the second control device 102.
[0040] The control device shown in FIG. 4 includes a time synchronization unit 300, a communication unit 301, a synchronization update unit 302, a shared data storage unit 303, a time management unit 304, an area setting unit 401, an information holding unit 402, an information selection unit 403, and a calculation unit 404. The time synchronization unit 300, communication unit 301, synchronization update unit 302, shared data storage unit 303, and time management unit 304 are similar to the respective functional units already described in FIG. 3, and therefore description thereof will be omitted.
[0041] The area setting unit 401 executes an area setting process to set a storage area size (area) of the information storage unit 402 described later. The storage area size is set based on the time difference between the processes of the control devices calculated by the time management unit 304 and the amount of time-series information required by the calculation unit 404 described later. Here, the time difference in processing of each control device includes, for example, the time difference in acquisition of information (sensor information) obtained from the shared data storage unit 303, and the time difference calculated from the flow speed of the control system based on control commands to the control objects connected to each control device.
[0042] In other words, the area setting unit 401 sets the size of the storage area of the information storage unit 402 according to the time difference between the processes of the control devices, i.e., the time difference between acquiring the shared data (sensor information), and the amount of time-series information required for command value calculation. That is, the time difference between the processing of each control device is the time difference between information, which is the difference (acquisition time difference) between the acquisition time of information (sensor information) acquired by another control device and the acquisition time of information (sensor information) acquired by the control device itself. The time-series information required by the calculation unit 404 is, for example, the amount of information required when performing calculations using time-series information for a certain period of time, such as FFT (Fast Fourier Transform) analysis or tracking control.
[0043] Basically, the size of the holding area increases toward the upstream when viewed from a downstream control device in the control system. In the case of the system of this example, the holding area size decreases in the order of the first control device 101, the second control device 102, and the third control device 103. In other words, the area setting unit 401 sets an area for holding information of a control device located upstream in the production line that acquires information earlier to be larger than an area for holding information of a control device located downstream in the production line that acquires information later.
[0044] The size of the holding area is set to be larger as the amount of time-series information required by the calculation unit 404 increases. Furthermore, even if the time difference between the processes of the control devices varies, the size of the holding area can be dynamically set according to the time difference. Alternatively, an area of a certain size may be determined in advance based on the variation in the processing time difference or the amount of time-series information required, but the former setting method can minimize the occupation of memory 1022.
[0045] The information holding unit 402 performs an information holding process for holding the sensor information shared by the shared data storage unit 303. The information holding unit 402 is a ring buffer having a holding area size set by the area setting unit 401. When storing the sensor information, the information storage unit 402 stores the synchronized time information (sensor information to which the time when the sensor information was synchronously acquired is added) notified from the time management unit 304, that is, the time when the sensor information was synchronously acquired and the sensor information. Then, the information storage unit 402 adds the synchronized time information to the information and stores the sensor information.
[0046] The information selection unit 403 selects information necessary for calculating a command value in the calculation unit 404 from the information held in the information holding unit 402. Then, the information selection unit 403 inputs the selected held information to the calculation unit 404. That is, the information selection unit 403 selects information necessary for calculating a command value from the information held in the information holding unit 402, and inputs it to the calculation unit 404. The information selection unit 403 selects the retained information based on the time difference between the sensor information acquisitions and the amount of time-series information required for command value calculation. The time management unit 304 calculates the time difference between the sensor information acquisitions based on the time when each control device acquires the sensor information or based on a control command to the controlled object.
[0047] The information selection unit 403 selects information based on the synchronization time information added to each piece of information. That is, this information is selected based on, for example, the time difference between the processes of each control device, for example, the acquisition time difference between the sensor information acquired by each control device from the shared data storage unit 303, or the time difference (acquisition time difference) calculated from the flow speed of the control system by the control command to the control target connected to each control device. Furthermore, the information selection unit 403 selects information required for calculating the command value in the calculation unit 404, for example, the time-series information for a certain period of time already explained, taking into account the time difference between the processes of each control device.
[0048] 4 (for example, the third control device 103) includes a calculation unit 404. Note that the control device (for example, the first control device 101) shown in FIG.
[0049] The calculation unit 404 is a functional unit that calculates necessary control commands to control motors and actuators connected to the input / output control unit 305 (see FIG. 3). The calculation process in the calculation unit 404 is executed using information (sensor information) acquired by each control device from the information selection unit 403. The calculation unit 404 reads the acquired information (sensor information) stored in the information selection unit 403 and calculates a control command. The control command calculated by the calculation unit 404 is stored in the shared data storage unit 303 and shared with the other control devices (the first control device 101 and the second control device 102). That is, the calculation unit 404 calculates a control command for the control target based on the shared data transmitted by the communication unit 301.
[0050] A control command assigned to the control device (first control device 101 and second control device 102) is read from the shared data storage unit 303 of the control device and output to a motor or actuator connected to the input / output unit 1007 shown in Fig. 2 (the input / output control unit 305 shown in Fig. 3). The calculation unit 404 is realized by software that runs on the CPU 1001.
[0051] As a result, each of the control devices 101 to 103 in this example can calculate a control command for the controlled object from information acquired from the detection device at different times, thereby improving product quality and achieving highly accurate control. Furthermore, each of the control devices 101 to 103 in this example does not estimate a past state from a current state, nor does it calculate a control command to a controlled object based on this estimation result, so that errors that occur in the control command to the controlled object can be suppressed, thereby realizing stable control.
[0052] [Control device operation and processing flow] Next, the operation timing of each of the control devices 101 to 103 in this embodiment will be described. FIG. 5 shows the operation timing of each of the control devices 101 to 103 in this embodiment. The example of Figure 5 shows a case in which a first control device 101, a second control device 102, and a third control device 103 are installed from the upstream process to the downstream process of the production line, and shows the process in which the manufactured objects flow in sequence from the upstream side to the downstream side.
[0053] The area setting unit 401 of the third control device 103 sets the size of the storage area of the information storage unit 402 of the third control device 103 based on the time difference between the processes of the production line and the information required to calculate the command value in the calculation unit 404. As the time difference between the processes of the production line, the time difference between the acquisition times of the sensor information is used. As the information required to calculate the command value in the calculation unit 404, for example, the time series information for a certain period of time already described is used.
[0054] When focusing on one workpiece, at time t3, the first control device 101 observes (senses) the machining state by the sensor 7, and at time t5, the second control device 102 observes (senses) the machining state by the sensor 10. Furthermore, at time t7, the third control device 103 observes (senses) the machining state by the sensors 12 and 13. Here, the second control device 102 secures a storage area size for the third control device 103 to store time series information for a certain period of time, the time difference between t7 and t5, as the time difference between processing in each control device, based on the processing time (time t7) of the downstream control device 103. Also, the first control device 101 secures a storage area size for the third control device 103 to store information for the time difference between t7 and t3.
[0055] At time t3, the first control device 101 acquires information such as shape and position from the target object using the sensor 7, and stores the information in the shared data storage unit 303 of the first control device 101. The information stored in the shared data storage unit 303 is acquired from the shared data storage unit 303 by the third control device 103 at time t4, and the third control device 103 stores the acquired information in the information storage unit 402. At time t5, the second control device 102 acquires information such as shape and position from the target object using the sensor 10, and stores the acquired information in the shared data storage unit 303 of the second control device 102.
[0056] The information stored in the shared data storage unit 303 is acquired from the shared data storage unit 303 by the third control device 103 at time t6, and the third control device 103 stores the information in the information holding unit 402. Furthermore, at time t7, the third control device 103 acquires information such as shape and position from the object to be manufactured by the sensors 12 and 13, and stores the information in the shared data storage unit 303 of the third control device 103 and also stores it in the information holding unit 402. Note that these processes proceed sequentially as time passes. The sensor information stored in the shared data storage unit 303 of each control device is transmitted to the other control devices. Then, each of the control devices 101 to 103 updates the sensor information stored in the respective shared data storage units 303 by the synchronous update unit 302.
[0057] Furthermore, at time t7, the third control device 103 calculates a control command based on the stored sensor information and stores the calculated control command in the shared data storage unit 303. Then, this stored control command is transmitted to the first control device 101 and the second control device 102, and at time t8, the first control device 101 and the second control device 102 refer to their respective shared data storage units 303 and execute control of the corresponding motors and actuators based on the stored control command.
[0058] In this way, according to this embodiment, the control command can be calculated based on the sensor information related to the same manufacturing object, which makes it possible to suppress errors occurring in the control command to the controlled object and realize stable control.
[0059] Next, an example of the contents of the information storage unit 402 of the control devices 101, 102, and 103 of this embodiment will be described. FIG. 6 shows an example of the contents of the information storage unit 402 of the control devices 101, 102, and 103. FIG. 6(a) shows the relationship between the acquisition time and the sensor information stored in the sensor information storage area 60 of the sensor 7 of the first control device 101. FIG. 6(b) shows the relationship between the acquisition time and the sensor information stored in the sensor information storage area 61 of the sensor 10 of the second control device 102. 6(c) shows the relationship between the acquisition time and the sensor information stored in the storage area 62 for the sensor information of the sensors 12 and 13 of the third control device 103. In FIG.
[0060] In the holding area 60, sensor information acquired by the sensor 7 connected to the first control device 101 is stored together with the time of acquisition from time t1 onwards. In the holding area 61, sensor information acquired by the sensor 10 connected to the second control device 102 is stored together with the time of acquisition from time t4 onwards. In the holding area 62, sensor information acquired by the sensors 12 and 13 connected to the third control device 103 is stored together with the time of acquisition from time t5 onwards.
[0061] Here, it is assumed that, as time-series information required by the calculation unit 404, for example, three samples are used for the sensor 7, two samples for the sensor 10, and three samples for the sensors 12 and 13. In this case, the sensor information (data values a-1 to a-7) acquired between time t1 and time t7 is stored in the storage area 60. The sensor information (data values b-4 to b-7) acquired between time t4 and time t7 is stored in the storage area 61. The sensor information (data values c1-5 to c1-7 and c2-5 to c2-7) acquired between time t5 and time t7 is stored in the storage area 62.
[0062] As explained in the timing diagram of Figure 5, the time difference between the processing of each control device 101, 102, and 103 is that the second control device 102 has a time difference of t7-t5 from the third control device 103, and the first control device 101 has a time difference of t7-t3 from the third control device 103.
[0063] The first control device 101 and the second control device 102 each hold time series information of the time difference required by the calculation unit 404. As shown in Fig. 6, in this example, the holding area size becomes smaller in the order of the first control device 101, the second control device 102, and the third control device 103. As a result, in this example, it is not necessary for each of the control devices 101, 102, and 103 to hold information of the time difference of t7-t1, and each of the control devices 101, 102, and 103 only needs to hold the minimum necessary information.
[0064] At time t7, the calculation unit 404 of the third control device 103 calculates a control command using information selected by the information selection unit 403 from the data information acquired from other control devices stored in the information storage unit 402 of the third control device 103 and the data information acquired by its own control device 103.
[0065] In other words, this calculation uses sensor information from sensor 7 acquired by the first control device 101 at times t1, t2, and t3, sensor information from sensor 10 acquired by the second control device 102 at times t4 and t5, and sensor information from sensors 12 and 13 acquired by the third control device 103 at times t5, t6, and t7.
[0066] Next, an example of the contents of the shared data storage unit 303 of the control devices 101, 102, and 103 of this embodiment will be described. FIG. 7 shows an example of the contents of the information selected by the information selection unit 403 of the third control device 103 and the command value calculated by the calculation unit 404. In FIG. At time t7, the third control device 103 selects sensor information (sensor values a-1 to a-3) acquired by the sensor 7 at times t1, t2, and t3 in the first control device 101 from the information stored in the information storage unit 402 using the information selection unit 403, and provides the selected information to the calculation unit 404.
[0067] Also, at time t7, the third control device 103 selects the sensor information (sensor values b-4, b-5) acquired by the sensor 10 at times t4 and t5 in the second control device 102 from the information stored in the information storage unit 402 using the information selection unit 403, and provides the selected information to the calculation unit 404. Furthermore, at time t7, the third control device 103 selects sensor information (data values c1-5 to c1-7 and c2-5 to c2-7) acquired by sensors 12 and 13 at times t5, t6, and t7 from the information stored in the information storage unit 402 using the information selection unit 403, and provides the information to the calculation unit 404.
[0068] In other words, the selection data 70 shown in FIG. 7 is the minimum sensor information required for the third control device 103 to calculate a control command at time t7, and is sensor information selected according to the time difference in processing of the control devices for the same manufacturing object (the time difference in the sensor information). Then, the calculation unit 404 calculates a control command based on this sensor information, and stores the calculated control command in the shared data storage unit 303. At this time, the calculated control command for motor 8 (command value aM-7), the command value for actuator 9 (command value aM-7), and the control command for motor 11 (command value bM-7) are stored as command values 71 in the shared data storage unit 303. Similarly, these processes proceed sequentially as time passes, and selection data 72, 74 at subsequent times t8, t9 and command values 73, 75 as the calculation results of the control commands are obtained.
[0069] Next, the timing of sharing the shared data of the control device in this embodiment will be described. Fig. 8 is a timing chart showing the sharing timing of the shared data, which illustrates a state in which the control system executes a process based on a predetermined control period.
[0070] The upper timing chart in FIG. 8 (FIG. 8(a)) shows that the first control device 101, the second control device 102, and the third control device 103 share each shared data at the beginning of a control period. The first control device 101 shares data, and when the data sharing time of the first control device 101 ends, the second control device 102 shares the data, and when the data sharing time of the second control device 102 ends, the third control device 103 shares the data (sensing). Then, when the data sharing time of the third control device 103 ends, the CPUs 1001, 1011, and 1021 of each of the control devices 101, 102, and 103 execute other processes such as calculations and control (holding and selection) until the start time of the next control cycle.
[0071] In other words, each control device 101, 102, 103 acquires and stores sensor information until the next data sharing time, and the synchronous update unit 302 updates the shared data storage unit 303 of each control device 101, 102, 103 every control period, and the data is shared.
[0072] The lower timing chart of FIG. 8 (FIG. 8(b)) shows that the third control device 103 calculates a control command and shares the calculation result (control command). When the data sharing period of the second control device 102 ends, the third control device 103 calculates a control command based on the sensor information, which is the shared data transmitted from the first control device 101 and the second control device 102, and the sensor information in the third control device 103. Then, during the next data sharing time, the control commands obtained by the calculation are shared, and the first control device 101 and the second control device 102 execute control of the corresponding motors and actuators based on the control commands transmitted from the third control device 103.
[0073] Here, for example, in the case where the time required for the control command calculation is extended due to an increase in other processing loads in the CPU 1011 of the second control device 102, and the control command is not calculated in time for the next control cycle, the control command can be calculated in the next control cycle. In other words, if the next control cycle is not in time, the information selection unit 403 selects the latest information stored in the information storage unit 402 at that time and inputs it to the calculation unit 404, so that the control command can always be calculated from the most suitable acquired information.
[0074] Next, a process flow in which the control device (control system) of this embodiment shares information acquired from a sensor will be described. FIG. 9 is a flowchart showing a flow in which the control device of this embodiment shares information acquired from the sensor. First, when the operation of the control system starts (step S91), the control system is activated (step S92). Next, each control device acquires sensor information (step S93). Thereafter, the acquired sensor information is shared among the control devices (step S94). Then, the information acquisition in step S93 and the sharing process in step S94 are repeated for each control period.
[0075] Next, a process flow in which the control device of this embodiment calculates a control command and shares the calculated control command will be described. FIG. 10 is a flowchart showing a process flow for explaining a flow in which the control device of this embodiment calculates a control command and the control device shares the control command. First, the control device starts its operation (step S101), and the control device starts up (step S102). After the start-up, the selected sensor information is shared by each control device (step S103). Note that the information sharing in step S103 corresponds to step S94 in the flowchart of FIG. 9.
[0076] Next, the area setting unit 401 sets the size of the holding area of the information holding unit 402 (step S104). Note that the flow speed of the control device may not always be constant, and in this case, it is preferable to set the holding area size according to the change in the flow speed. Then, the sensor information acquired by each control device is stored in the information storage unit 402 together with the time of acquisition (step S105). After storing the sensor information, the information selection unit 403 selects sensor information based on the synchronization time information added to the sensor information stored in the information holding unit 402 and the amount of time-series information required for command value calculation (step S106). Then, the calculation unit 404 calculates a control command (step S107). Furthermore, the calculated control command is shared by each control device (step S108). The processes from step S103 to step S108 are repeated for each control period.
[0077] As described above, according to the control device of this example, when the third control device 103 calculates the control commands to be output to the motors and actuators connected to the first control device 101 and the second control device 102, the control commands can be calculated from the sensor information acquired at the time the object is processed. Therefore, the control commands can be calculated from optimal acquired information, and highly accurate control can be realized.
[0078] The control device that calculates the control command does not necessarily have to be a control device installed downstream, and may be any control device that acquires shared data. Also, the shared data does not have to be shared by all control devices, and the control device that calculates the control command may acquire sensor information required for the calculation and perform the calculation. Similarly, the control command does not have to be shared by all control devices, and may be acquired by a control device to which a motor or actuator is connected.
[0079] [Examples of control device applications] FIG. 11 shows an example in which the control device of this embodiment is applied to an FA (Factory Automation) system. The FA system shown in FIG. 11 controls a first control device 101 and a second control device 102 connected to a control LAN 621 using a server 520 connected to an information LAN (Local Area Network) 620 and a monitoring terminal 521 connected to the information LAN 620.
[0080] The first control device 101 controls PLCs (Programmable Logic Controllers) 720, 721, and 722 connected to a control LAN 621, and the second control device 102 controls a PLC 723 connected to the control LAN 621. In other words, the PLCs 720, 721, and 722 are controlled by the first control device 101, and the PLC 723 is controlled by the second control device 102. The PLC 720 controls a picking robot 822, and the PLC 721 controls a conveyor motor 823 and a camera 821. The PLC 722 controls a painting robot 824, and the PLC 723 controls a camera 825.
[0081] The products (products) placed on the belt conveyor 826 are placed in a predetermined (regular) position (eg, in the product orientation) by a picking robot 822 controlled by the PLC 720. The belt conveyor 826 moves at a predetermined speed due to a conveyor motor 823 controlled by the PLC 721 . Products moving on the belt conveyor 826 are photographed by a camera 821 controlled by the PLC 721, and this camera 821 observes whether or not the products are placed in the predetermined position.
[0082] The PLC 721 acquires an image of the product captured by the camera 821 and performs an inspection to determine whether the product is placed in a predetermined position. A painting robot 824 controlled by the PLC 722 paints the surface of the product. A camera 825 controlled by the PLC 723 photographs the painted product and observes whether the product is painted correctly. The PLC 723 acquires an image of the product taken by the camera 825 and performs an inspection to determine whether the product is painted correctly.
[0083] Then, camera information (sensor information) from camera 821 is input to the first control device 101, and camera information (sensor information) from camera 852 is input to the second control device . The first control device 101 and the second control device 102 share the input camera information between the control devices as shared data. Then, the second control device 102 selects the shared data, which is camera information selected according to the time difference between the camera information for the same product, and calculates control commands for the picking robot 822 and the painting robot 824 based on the shared data.
[0084] The time when the picking robot 822 places the product, the time when the camera 821 photographs the product, the time when the painting robot 824 paints the product, and the time when the camera 825 photographs the product are managed by the time management unit 304 of each control device. Here, the time difference between the managed times is obtained from the speed of the conveyor motor 823 and the positions (the distances between them) of the picking robot 822, camera 821, painting robot 824, and camera 825.
[0085] As described above, by applying the control device of this example to an FA system, the second control device 102 can calculate the control commands from the camera information acquired at the time the product passed when calculating the control commands to be output to the picking robot 822 and the painting robot 824 connected to the first control device 101. Therefore, the control commands can be calculated from optimally acquired information, and high-quality, high-precision control can be realized.
[0086] FIG. 12 shows an example in which the control device of this embodiment is applied to an iron and steel system. In the steel system, a first control device 101, a second control device 102, a third control device 103, a fourth control device 104, and a fifth control device 105 control a hot rolling facility 800 for steel. The first control device 101, the second control device 102, the third control device 103, the fourth control device 104, and the fifth control device 105 are controlled by a terminal 500 connected to a common network 600.
[0087] Steel heated in a heating furnace 801 is fed into a hot rolling facility 800. The hot rolling facility 800 includes a roughing mill 802, a finishing mill 803, a cooling facility 804, and a winder 805. The temperature of the heating furnace 801 acquired by the temperature sensor 700 is input to the first control device 101 via the field network 601 . The second control device 102 controls the feed control / strip speed sensor unit 701, adjusts the rotation speed of the roughing mill 802, and detects the feed speed of the steel.
[0088] The third control device 103 controls the rolling control / thickness sensor unit 702, adjusts the rotation speed and tension of the finishing rolling mill 803, and detects the thickness of the steel. The temperature of the cooling equipment 804 acquired by the temperature sensor 703 is input to the fourth control device 104 . The fifth control device 105 controls the winding control / thickness sensor / speed sensor unit 704, adjusts the rotation speed of the winder 805, and detects the thickness of the steel and the winding speed of the steel. The fifth control device 105 also executes calculations of control commands for each control device.
[0089] Each of the control devices 101 to 105 executes control in accordance with the operation flows shown in FIGS. Here, the processing time in each control device 101-105, that is, the time it takes for the steel to pass through, is obtained from the steel feed speed obtained from the feed control / strip speed sensor unit 701 and the steel winding speed obtained from the winding control / strip thickness sensor / strip speed sensor unit 704. Furthermore, the time it takes for the steel to pass through is also obtained from the distance between the heating furnace 801 and the hot rolling equipment 800, and the positions (distances between these) of the roughing mill 802, the finishing mill 803, the cooling equipment 804, and the winding machine 805. However, any of this information may be omitted in order to obtain the time it takes for the steel to pass through.
[0090] In addition, the aforementioned temperature, tension, and plate thickness obtained by each sensor are analyzed for their fluctuation amplitude and fluctuation period using information over a certain period of time as time-series data, and the third control device 103 controls the finishing rolling mill 803 so that the plate thickness is uniform.
[0091] As described above, by applying the control device of this example to an iron and steel system, each control command can be calculated. Specifically, when calculating a control command for adjusting the rotation speed of the roughing mill 802, a control command for adjusting the rotation speed and tension of the finishing mill 803, and a control command for adjusting the rotation speed of the winder 805, the calculations can be performed from the sensor information acquired at the time when the steel passes through. Therefore, compared to a method in which past states are estimated from the current state and control commands for the controlled object are calculated based on this estimation result, it is possible to calculate control commands from optimal obtained information, thereby achieving high-quality, high-precision control.
[0092] [Variations] The control devices described so far can be used in various control systems such as water and sewage treatment systems, power generation control systems, elevator control systems, railway control systems, automobile control systems, and construction machinery control systems, in addition to the FA system shown in Fig. 11 and the iron and steel system shown in Fig. 12. Even in the case of an FA system or an iron and steel system, the system configurations shown in Fig. 11 and Fig. 12 are merely examples, and the configuration, such as the number of control devices, varies depending on the control system to which it is applied.
[0093] Furthermore, the present invention is not limited to the above-described embodiment, but includes various modified examples. For example, the above-described embodiment has been specifically described in order to explain the present invention in an easily understandable manner, and the present invention is not necessarily limited to all of the configurations described. Also, a part of the configuration of one embodiment can be replaced with a part of the configuration of another embodiment. Also, the configuration of one embodiment can be added to the configuration of another embodiment. Also, part of the configuration of each embodiment can be deleted, and part of another configuration can be added or replaced with part of another configuration.
[0094] In addition, in the diagrams showing the configurations such as Figures 2, 3, and 4, only the control lines and information lines considered necessary for explanation are shown, and not all the control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all the configurations are interconnected.
[0095] 3 and 4 may be configured with software (programs) and executed by a computer, or may be configured with dedicated hardware that executes some or all of the processes. When configured with programs, information such as the programs can be stored in non-volatile storage such as HDDs (hard disk drives) and SSDs (solid state drives), as well as in recording media such as semiconductor memories, memory cards, and optical disks. Furthermore, when a part or the whole of the control device is configured with hardware, it can be configured with, for example, an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit). [Explanation of symbols]
[0096] 1, 600...common network, 20, 21, 22, 601...field network, 1001, 1011, 1021...CPU, 1002, 1012, 1022...memory, 7, 10, 12, 13...sensor, 8, 11...motor, 9...actuator, 100, 102, 103, 104, 105...control device, 1003...communication control unit, 1004...interface unit, 1005...non-volatile storage medium, 1006...bus, 1007...input / output unit, 300...time synchronization unit, 301...communication unit, 302...synchronization update unit, 303...shared data storage unit, 304...time management unit, 305...input / output control unit, 401...area setting unit, 40 2...information storage unit, 403...information selection unit, 404...calculation unit, 520...server, 521...monitoring terminal, 620...information LAN, 621...control LAN, 700, 703...temperature sensor, 701...feed control, strip speed sensor, 702...rolling control, strip thickness sensor, 704...winding control, strip thickness sensor, strip speed sensor, 720, 721, 722, 723...PLC, 822...picking robot, 821...camera, 823...conveyor motor, 824...painting robot, 825...camera, 826...belt conveyor, 800...rolling equipment, 801...heating furnace, 802...roughing rolling machine, 803...finishing rolling machine, 804...cooling equipment, 805...winding machine
Claims
1. A control device applied to a distributed control system having a plurality of control devices each of which controls a controlled device, A time synchronization unit that synchronizes time with other control devices that configure the distributed control system; A communication unit that receives information regarding the controlled device; A shared data storage unit for storing information related to the controlled device; a calculation unit that calculates a command value for the controlled device and stores the calculation result in the shared data storage unit; an information storage unit that stores information stored in the shared data storage unit; an area setting unit that sets an area of the information storage unit according to information of the shared data and an amount of information necessary for an operation in the operation unit; an information selection unit that selects information stored in the information storage unit according to information on the shared data and a time; The calculation unit calculates a command value using the information selected by the information selection unit. Control device.
2. The apparatus further includes a synchronous update unit that controls the storage of the information in the shared data storage unit in synchronization with the storage in the shared data storage unit in the other control device. The control device according to claim 1 .
3. Further, a time management unit for managing the synchronous time information based on the synchronous time is provided. The control device according to claim 1 .
4. The communication unit transmits the shared data including the command value calculated by the calculation unit. The control device according to claim 1 .
5. The information about the controlled device stored in the shared data storage unit is added with time information when the information was acquired. The control device according to claim 1 .
6. The area setting unit sets an area for storing information based on a time difference between acquisition of the information. The control device according to claim 1 .
7. The region setting unit sets a region for holding time-series information required for computing the command value. The control device according to claim 1 .
8. The information selection unit selects information about the controlled device based on a time difference between acquisition times of the information about the controlled device. The control device according to claim 1 .
9. The information selection unit acquires a time difference for acquiring information related to the controlled device from the command value. The control device according to claim 7 or 8.
10. A control method applied to a control device of a distributed control system having a plurality of control devices each of which controls a controlled device, comprising: A time synchronization process for synchronizing time with other control devices constituting the distributed control system; A communication process for receiving information about the controlled device; A shared data storage process for storing information related to the controlled device; A calculation process for calculating a command value for the controlled device and storing the calculation result in the shared data storage process; an information storage process for storing the information stored in the shared data storage process; an area setting process for setting an area for storing information in the information storing process according to information of the shared data and an amount of information required for calculation in the calculation process; an information selection process for selecting information of the shared data from the information stored by the information storage process according to information and time, In the arithmetic process, a command value is calculated using the information selected in the information selection process. Control methods.
Citation Information
Patent Citations
Control device and distributed control system
JP2021068200A
Logging system, logging device, and data logging method
WO2015189969A1
