Control device, control method, and control system
By introducing a control device with communication, acquisition and computing section in the process control system, the simulation function problem when the I/O connection instrument is missing in the publicized system is solved, and the simulation function is realized and normal operation in a multi-merchant environment is realized. .
Patent Information
- Application Number
- CN202410686382.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-01
- Filing Date
- 2024-05-30
- Publication Date
- 2024-12-03
AI Technical Summary
After the disclosure of the process control system has been realized, it is difficult for users to perform action tests of simulation functions without preparing I/O connected instruments, and the simulation of I/O connected instruments and general controllers in multi-merchant environments The function does not correspond, causing the system to fail to run normally.
A control device is proposed, including a communication unit, a acquisition unit and an operation unit, which communicates with the I/O connection instrument and information processing device through the network, acquires equipment information and performs control operations, and even performs operation tests without a real machine. Implement simulation functions.
It realizes the simulation function in the public process control system, reduces the system's hardware and merchant dependence, can operate normally in multiple control devices, and supports simulation function testing in multi-merchant environments.
Smart Images

Figure CN119065281A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a control device, a control method and a control system. Background Art
[0002] Process control systems control various state quantities (such as pressure, temperature, flow, etc.) in industrial processes in workshops, factories, etc. (hereinafter collectively referred to as "workshops") and perform high-level automatic operations (for example, refer to Patent Document 1).
[0003] The current process control system is composed of a dedicated controller with unique specifications of the vendor as the core. The dedicated controller obtains state quantities based on I / O input values from multiple sensors (flow meters, thermometers, etc.) through I / O connection parts.
[0004] Here, the I / O connection unit is located between a control unit such as a dedicated controller and an I / O input device such as a sensor, and an I / O output device such as an actuator, and provides functions required for the exchange of I / O data between the two.
[0005] Next, the dedicated controller obtains the operation amount of the I / O output device (actuator such as a valve) based on the state amount. And, the dedicated controller assigns the I / O output value corresponding to the operation amount to the I / O output device through the I / O connection unit and operates it. The above-mentioned various state amounts are controlled by the three functions of the dedicated controller.
[0006] Patent Document 1: Japanese Patent Application Publication No. 2021-157391
[0007] However, in recent years, in process control systems that have become open, general-purpose controllers have been proposed that replace dedicated controllers and incorporate standard control functions (e.g., control functions based on IEC61131-3) into general-purpose instruments (e.g., PCs, workstations, etc.). There are an increasing number of systems that connect this general-purpose controller to I / O connection instruments (hereinafter also referred to as I / O connection instruments) that support the network using a general-purpose network (e.g., OPC-UA (Open Platform Communications Unified Architecture)).
[0008] In this context, a system environment in which a user of a process control system desires to reduce the cost of introducing the system and to easily introduce digital conversion (DX) technology can be cited. In addition, a multi-vendor environment in which a user, in order to realize this system environment, urges vendors to realize control functions and I / O connection devices using a public network can be cited.
[0009] Even in the process control system that has been made public, simulation functions equivalent to those of the current process control system are sought. However, in the process control system that has been made public, simulation may be performed in a state where I / O connection devices and a part of the general controller cannot be prepared. Summary of the invention
[0010] Therefore, the present disclosure proposes a control device, a control method, and a control system that can realize a simulation function in a process control system that has been made public.
[0011] A control device according to one aspect includes a communication unit, an acquisition unit, and a calculation unit. The communication unit communicates with an I / O connection device and an information processing device to which an I / O device is connected via a network. The acquisition unit acquires the device information from at least one of a first storage unit that is owned by the I / O connection device and stores the device information related to the I / O device, and a second storage unit that is owned by the information processing device and stores the device information. The calculation unit performs a control calculation related to the I / O device using the device information.
[0012] Effects of the Invention
[0013] According to the present invention, a simulation function can be realized in a process control system that has been made public. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a diagram showing a functional configuration example of a process control system using a dedicated controller.
[0015] Figure 2 This is a diagram showing an example of I / O definition information.
[0016] Figure 3 This is a diagram showing an example of soft wiring definition information.
[0017] Figure 4 This is a flowchart showing an example of the flow of control processing.
[0018] Figure 5 This is a flowchart showing an example of the flow of refresh processing.
[0019] Figure 6 This is a flowchart showing an example of the flow of the reload (flush) process.
[0020] Figure 7 This is a flowchart showing an example of the flow of wiring execution processing.
[0021] Figure 8This is a flowchart showing an example of the overall processing flow.
[0022] Fig. 9 It is a block diagram showing a configuration example of a process control system according to an embodiment of the present disclosure.
[0023] Fig.10 : is a table showing an example of network device ID information according to an embodiment of the present disclosure.
[0024] Fig.11 This is a diagram showing an example of software wiring definition information according to an embodiment of the present disclosure.
[0025] Fig.12 This is a flowchart showing an example of the flow of control processing according to the embodiment of the present disclosure.
[0026] Fig.13 This is a flowchart showing an example of the flow of update processing according to the embodiment of the present disclosure.
[0027] Fig.14 This is a flowchart showing an example of the flow of soft wiring execution processing according to the embodiment of the present disclosure.
[0028] Fig.15 It is a diagram showing a configuration example of a process control system according to another embodiment of the present disclosure.
[0029] Fig.16 It is a diagram showing a configuration example of a process control system according to another embodiment of the present disclosure.
[0030] Fig.17 This is a flowchart showing an example of the flow of an update process of an I / O connection unit according to another embodiment of the present disclosure.
[0031] Fig.18 This is a diagram for explaining an example of the hardware configuration of a control device. DETAILED DESCRIPTION
[0032] Below, the embodiments of the control device, control method and control system disclosed in the present application are described in detail based on the accompanying drawings. In addition, the invention of the present application is not limited by the embodiments described here. In addition, the same reference numerals are marked on the same elements and repeated descriptions are appropriately omitted. In addition, each embodiment can be appropriately combined within the scope of non-contradiction.
[0033] <<1. Introduction>>
[0034] <1.1. Definition of terms>
[0035] In describing the technology of the present disclosure, several terms used herein are defined in the following manner.
[0036] (Control function (control unit))
[0037] The control unit with control function obtains the state quantity of the industrial process from the I / O input device such as the sensor as an input at a fixed period. The control unit uses the obtained state quantity as input to execute the control logic created by the user. Based on the execution result of the control logic, the control unit outputs the operation quantity of the I / O output device such as the actuator. The control logic executed by the control unit includes PID control, sequencing control, and control of compiled language.
[0038] (I / O cutoff function (I / O cutoff section))
[0039] The I / O disconnection function of the I / O disconnection unit is a function of partially disconnecting or connecting an I / O input device and an I / O output device (hereinafter, the I / O input device and the I / O output device are collectively referred to as I / O devices) in software. With this function, even if the I / O device is not actually connected to the process control system, the user can test the control logic based on the control function.
[0040] (Soft wiring function (soft wiring part))
[0041] The soft wiring function of the soft wiring unit is a function of performing virtual wiring (wiring) on the software. The soft wiring unit takes the output information (operation amount) of the control function as input. For example, the output information is obtained from the I / O image described later. The I / O image stores the input and output values of the I / O device (output information from the control unit and input information to the control function) at a fixed period.
[0042] The soft wiring unit uses the acquired output information as input to execute the operation logic created by the user. The soft wiring unit outputs the input information to the control function (e.g., the state simulation quantity that simulates the state quantity of the industrial process) based on the execution result of the operation logic. For example, the soft wiring unit outputs the input information to the I / O image.
[0043] The soft wiring function of the soft wiring unit allows the user to test the control logic without using the actual I / O device. Examples of the soft wiring function of Yokogawa include the wiring function of CENTUM and the soft wiring function of STARDOM (reference URL: http: / / www.yokogawa.co.jp / pdf / provide / J / GW / TI / 0000031416 / 0 / TI34P02P25-01.pdf).
[0044] (Specialized controller)
[0045] A dedicated controller is a controller with a unique specification of a business with a control function. For example, a dedicated controller has a control function (control unit) for controlling the state quantity of an industrial process, and an I / O connection function (I / O connection unit) for managing the input and output values of an I / O device. For example, a dedicated controller made by Yokogawa can be FCS (Field Control Station).
[0046] (Universal Controller)
[0047] The general controller is a controller for general use with a control function. The general controller is connected to the I / O connection device for the network described later via a network. For example, the general controller has a control function (control unit) for controlling the state quantity of an industrial process, and a communication function (communication unit) for a general network that can perform I / O input and output, such as OPC-UA (reference URL: https: / / reference.opcfoundation.org / ).
[0048] (I / O connection instrument)
[0049] The I / O connection instrument is an instrument having an I / O connection function (I / O connection unit). The I / O connection instrument is connected to the control function of the general controller via a network. The I / O connection instrument has a network communication function (communication unit) for accepting I / O input and output requests such as OPC-UA, and an I / O connection function (I / O connection unit) for managing the input and output values of the I / O device. For example, as an I / O connection instrument made by "Yokogawa", N-IODCN (Network-I / O Distributed Control Node) can be cited.
[0050] <1.2. Background>
[0051] The technology proposed in the present disclosure relates to a simulation function of an I / O connection instrument in a process control system using the I / O connection instrument to cope with a network.
[0052] The process control system controls various state quantities (such as pressure, temperature, and flow rate) of the industrial process in the workshop, thereby performing a high level of automatic operation.
[0053] The current process control system is composed of a dedicated controller with unique specifications of the vendor as the center. The dedicated controller obtains the I / O input values from multiple sensors (such as flow meters and thermometers) as state quantities via the IOM (Input / Output Module). Next, the dedicated controller obtains the operation quantity of the actuator (such as a valve, etc.) based on the state quantity. The dedicated controller assigns the I / O output value corresponding to the operation quantity to the actuator via the IOM, thereby operating the actuator. The above-mentioned various state quantities are controlled using these functions of the dedicated controller.
[0054] The simulation function is provided for debugging the control logic of the dedicated controller and for testing the operation of hardware such as sensors and actuators. The simulation function includes the above-mentioned I / O disconnection function and soft wiring function. With these functions, the dedicated controller can confirm the operation even when the hardware is not complete.
[0055] On the other hand, in recent years, the process control system has been open. The process control system that has realized openness has, for example, a general controller and a DCN (Distributed Control Node). The general controller is a device that replaces the dedicated controller, for example, a PC (Personal Computer), a workstation, and other general-purpose equipment to realize standard control functions (for example, control functions based on IEC61131-3, etc.). The general controller and the DCN are connected by, for example, a public network (for example, OPC-UA, etc.).
[0056] By making process control systems public, the cost of introducing the system can be kept relatively low. In addition, by making it public, a system environment that is easy to introduce DX technology can be built. Therefore, users of process control systems have mobilized system vendors to implement a multi-vendor environment (such as OPAF (Open Process Automation Forum (reference URL: https: / / www.productivity.be / en / page.php?r=O-PAS))) that connects control functions and IOMs using a public network.
[0057] In a process control system in a multi-vendor environment, network-connected I / O devices are required to be able to handle I / O input and output from multiple general-purpose controllers. In addition, the network-connected I / O devices are required to have simulation functions that can be connected to the network.
[0058] <1.3. Process control system using dedicated controller>
[0059] <1.3.1. Example of process control system configuration>
[0060] Here, first, an example of a simulation function using a dedicated controller is described. Figure 1 This is a diagram showing a functional configuration example of a process control system Sa using a dedicated controller.
[0061] The process control system Sa includes a dedicated controller 10a and I / O devices 20a1 and 20a2. When the I / O devices 20a1 and 20a2 are not distinguished, they are simply referred to as I / O devices 20a. Figure 1 Although two I / O devices 20a1 and 20a2 are shown in the figure, the number of the I / O devices 20a is not limited to two, and may be one, or may be greater than or equal to three.
[0062] (Dedicated controller 10a)
[0063] The dedicated controller 10a includes a control unit 110a, an I / O connection unit 120a, an I / O disconnection definition information DB (DataBase) 130a, a soft wiring unit 140a, and a soft wiring definition information DB 150a. The I / O connection unit 120a includes an I / O disconnection unit 121a and an I / O image 122a.
[0064] (Control Unit 110a)
[0065] The control unit 110a outputs a refresh request to the I / O disconnection unit 121a of the I / O connection unit 120a. The control unit 110a outputs a wiring execution request to the soft wiring unit 140a.
[0066] The control unit 110a reads the I / O input information from the I / O image 122a. The control unit 110a executes the control function based on the read I / O input information. As a result of the execution of the control function, the control unit 110a writes the I / O output information to the I / O image 122a and outputs a reload request to the I / O disconnection unit 121a.
[0067] The control unit 110a executes the above-mentioned operation in a fixed cycle (hereinafter also referred to as I / O access cycle).
[0068] (I / O connection unit 120a)
[0069] As described above, the I / O connection unit 120 a includes the I / O disconnection unit 121 a and the I / O image 122 a .
[0070] (I / O image 122a)
[0071] The I / O image 122a is a database that stores I / O input information (hereinafter also referred to as input information) read from the I / O device 20a and I / O output information (hereinafter also referred to as output information) output by the control unit 110a.
[0072] (I / O Cutting Unit 121a)
[0073] The I / O disconnection unit 121a has an I / O disconnection function and mediates between the I / O image 122a and the I / O device 20a. The I / O disconnection unit 121a operates in accordance with a refresh request and a reload request from the control unit 110a.
[0074] (I / O cutoff definition information DB 130a)
[0075] The I / O cutoff definition information DB 130a is a database storing I / O definition information. The I / O definition information is information for causing the I / O cutoff unit 121a to execute operations.
[0076] The I / O definition information is arranged in a storage area (I / O cut-off definition information DB 130a) that can be referenced from each part of the dedicated controller 10a before the I / O cut-off unit 121a performs an action. Even if each part of the dedicated controller 10a performs an action, the I / O definition information can be changed dynamically. The I / O definition information includes information indicating whether it is an I / O cut-off object for each I / O input / output data point. Here, the I / O input / output data point is a connection point between the I / O device 20a and the dedicated controller 10a. One I / O device 20a and one controller 10a can be connected at multiple connection points (I / O input / output data points).
[0077] Figure 2 This is a diagram showing an example of I / O definition information. Figure 2 As shown, the I / O definition information includes: an I / O input / output data point ID, which identifies the I / O input / output data point; and cutoff object information, which indicates whether the I / O input / output data point identified by the I / O input / output data point ID is an I / O cutoff object.
[0078] exist Figure 2 In the example, the I / O input / output data points with IDs "1", "3", "4", and "5" are cut-off targets ("TRUE"). On the other hand, the I / O input / output data point with ID "2" is not cut-off target ("FALSE").
[0079] (Soft Wiring Section 140a)
[0080] Back to Figure 1 The soft wiring unit 140a executes a soft wiring function for the input information and output information stored in the I / O image 122a. If the soft wiring unit 140a receives a wiring execution request from the control unit 110a, it executes a soft wiring operation.
[0081] (Soft wiring definition information DB150a)
[0082] The software wiring definition information DB 150a is a database for storing software wiring definition information. The software wiring definition information is information for causing the software wiring unit 140a to execute operations.
[0083] The soft wiring definition information is arranged in a storage area (soft wiring definition information DB 150a) that can be referenced by each part of the dedicated controller 10a before the soft wiring unit 140a operates. The soft wiring definition information can be dynamically changed even when each part of the dedicated controller 10a operates.
[0084] The soft wiring definition information includes information related to the I / O input / output data point of the wiring source, information related to the I / O input / output data point of the wiring destination, and information related to the operation logic.
[0085] Figure 3 is a diagram showing an example of soft wiring definition information. Figure 3 As shown, the soft wiring definition information includes the I / O input / output data point ID of the wiring source for identifying the I / O input / output data point of the wiring source. In addition, the soft wiring definition information includes the I / O input / output data point ID of the wiring destination for identifying the I / O input / output data point of the wiring destination. The soft wiring definition information includes the operation logic corresponding to the combination of the I / O input / output data point IDs of the wiring source and the wiring destination.
[0086] exist Figure 3 In the example, when the I / O input / output data point ID of the wiring source is "1" and the I / O input / output data point ID of the wiring destination is "3", the operation logic is y=2*x+1. In addition, when the I / O input / output data point ID of the wiring source is "4" and the I / O input / output data point ID of the wiring destination is "4", the operation logic is y=x^2+1. In addition, x represents the I / O input / output value of the wiring source. Y represents the I / O input / output value of the wiring destination.
[0087] (I / O device 20a)
[0088] Back to Figure 1 The I / O device 20a is, for example, a measuring instrument such as a sensor, an operating instrument such as an actuator, a valve, etc.
[0089] <1.3.2. Operation example of process control system>
[0090] (Control Processing)
[0091] Figure 4 This is a flowchart showing an example of the flow of control processing. Figure 4 The control process shown is executed by the control unit 110 a in an I / O access cycle, for example.
[0092] like Figure 4 As shown, the control unit 110a outputs a refresh request to the I / O disconnection unit 121a (step S11). The I / O disconnection unit 121a receives the refresh request and executes a refresh process (see Figure 5 ).
[0093] Then, the control unit 110a outputs a wiring execution request to the soft wiring unit 140a (step S12). The soft wiring unit 140a receives the wiring execution request and executes the wiring execution process (see Figure 7 ).
[0094] The control unit 110a reads input information from the I / O image 122a (step S13). Next, the control unit 110a performs control calculation using the read input information (step S14). The control unit 110a writes output information to the I / O image 122a based on the result of the control calculation (step S15).
[0095] The control unit 110a outputs the reload request to the I / O disconnection unit 121a (step S16), and the process ends. The I / O disconnection unit 121a receives the reload request and executes the reload process (see Figure 6 ).
[0096] (Refresh processing)
[0097] Figure 5 This is a flowchart showing an example of the flow of the refresh process. Figure 5 The refresh processing shown is executed by the I / O disconnection unit 121 a at the timing of receiving a refresh request from the control unit 110 a .
[0098] The I / O disconnection unit 121a selects one I / O input / output data point from all the I / O input / output data points of the I / O device 20a connected to the dedicated controller 10a (step S21). Hereinafter, the I / O input / output data point selected by the I / O disconnection unit 121a is also referred to as a selected data point.
[0099] The I / O cutoff unit 121a determines whether the selected data point is an I / O cutoff target (step S22). For example, the I / O cutoff unit 121a refers to the I / O cutoff definition information DB 130a to obtain the cutoff target information of the I / O input / output data point ID that identifies the selected data point. The I / O cutoff unit 121a determines whether the selected data point is an I / O cutoff target based on the obtained cutoff target information.
[0100] When the selected data point is an I / O cutoff target, that is, when the cutoff target information of the selected data point is "TRUE" (step S22; Yes), the I / O cutoff unit 121a proceeds to step S25.
[0101] On the other hand, if the selected data point is not an I / O cutoff target, that is, if the cutoff target information of the selected data point is "FALSE" (step S22; No), the I / O cutoff unit 121a reads input information from the I / O device 20a of the selected data point (step S23).
[0102] Next, the I / O disconnection unit 121 a writes the read input information into the I / O image 122 a (step S24 ).
[0103] The I / O disconnection unit 121a determines whether all the I / O input / output data points of all the I / O devices 20a are selected (step S25).
[0104] If there is an unselected I / O input / output data point (step S25; No), the I / O cutoff unit 121a returns to step S21. On the other hand, if all I / O input / output data points are selected (step S25; Yes), the I / O cutoff unit 121a ends the process.
[0105] (Reload process)
[0106] Figure 6 This is a flowchart showing an example of the flow of the refresh process. Figure 6 The refresh processing shown is executed by the I / O disconnection unit 121 a at the timing of receiving a reload request from the control unit 110 a .
[0107] The I / O disconnection unit 121a selects one I / O input / output data point from all the I / O input / output data points of the I / O device 20a connected to the dedicated controller 10a (step S31). Hereinafter, the I / O input / output data point selected by the I / O disconnection unit 121a is also referred to as a selected data point.
[0108] The I / O cutoff unit 121a determines whether the selected data point is an I / O cutoff target (step S32). For example, the I / O cutoff unit 121a refers to the I / O cutoff definition information DB 130a and obtains the cutoff target information of the I / O input / output data point ID that identifies the selected data point. The I / O cutoff unit 121a determines whether the selected data point is an I / O cutoff target based on the obtained cutoff target information.
[0109] When the selected data point is an I / O cutoff target, that is, when the cutoff target information of the selected data point is "TRUE" (step S32; Yes), the I / O cutoff unit 121a proceeds to step S35.
[0110] On the other hand, if the selected data point is not an I / O cutoff target, that is, if the cutoff target information of the selected data point is "FALSE" (step S32; No), the I / O cutoff unit 121a reads output information from the I / O device 20a of the selected data point (step S33).
[0111] Next, the I / O disconnection unit 121 a writes the read output information into the I / O image 122 a (step S34 ).
[0112] The I / O disconnection unit 121a determines whether all the I / O input / output data points of all the I / O devices 20a are selected (step S35).
[0113] If there is an unselected I / O input / output data point (step S35; No), the I / O cutoff unit 121a returns to step S31. On the other hand, if all I / O input / output data points are selected (step S35; Yes), the I / O cutoff unit 121a ends the process.
[0114] (Wiring execution processing)
[0115] Figure 7 This is a flowchart showing an example of the flow of wiring execution processing. Figure 7 The wiring execution process shown is executed by the soft wiring unit 140 a at the timing of receiving a wiring execution request from the control unit 110 a .
[0116] like Figure 7 As shown, the soft wiring unit 140a selects an I / O input / output data point of the wiring destination (step S41). For example, the soft wiring unit 140a selects one of the I / O input / output data point IDs of the wiring destination stored in the soft wiring definition information DB 150a. Hereinafter, the I / O input / output data point of the wiring destination selected by the soft wiring unit 140a is also referred to as a selected wiring destination data point.
[0117] The soft wiring unit 140a determines whether the selected wiring source data point is specified (step S42). Here, the selected wiring source data point is the I / O input / output data point of the wiring source corresponding to the selected wiring destination data point in the soft wiring definition information. For example, the soft wiring unit 140a refers to the soft wiring definition information DB 150a to determine whether there is an I / O input / output data point ID of the wiring source corresponding to the selected wiring destination data point.
[0118] If the selected wiring source data point is not specified (step S42; No), the soft wiring unit 140a proceeds to step S44. In other words, if the wiring definition information does not include the I / O input / output data point ID of the wiring source corresponding to the selected wiring destination data point, the soft wiring unit 140a proceeds to step S44.
[0119] When the selected wiring source data point is designated (step S42; Yes), the soft wiring unit 140a reads the output information of the selected wiring source data point from the I / O image 122a (step S43). That is, when the wiring definition information includes the I / O input / output data point ID of the wiring source corresponding to the selected wiring destination data point, the soft wiring unit 140a reads the output information of the selected wiring source data point from the I / O image 122a.
[0120] The soft wiring unit 140a generates input information based on the selection operation logic (step S44). Here, the selection operation logic is the operation logic corresponding to the selection wiring destination data point in the wiring definition information.
[0121] The soft wiring unit 140a writes the input information for selecting the wiring destination data point into the I / O image 122a (step S45). Here, the input information for selecting the wiring destination data point is the input information generated by the selection operation logic in step S44.
[0122] The soft wiring unit 140a determines whether all the I / O input / output data points of the wiring destinations are selected (step S46).
[0123] If there are unselected I / O input / output data points as the wiring destination (step S46; No), the soft wiring unit 140a returns to step S41. On the other hand, if all the I / O input / output data points as the wiring destination are selected (step S46; Yes), the soft wiring unit 140a ends the processing.
[0124] (Overall processing)
[0125] Next, an example of the overall processing executed by the process control system Sa will be described. Figure 8 This is a flowchart showing an example of the overall processing flow. Figure 8 The overall processing is executed by, for example, the process control system Sa in a fixed cycle.
[0126] The control unit 110a of the process control system Sa outputs a refresh request to the I / O disconnection unit 121a (step S51).
[0127] The I / O disconnection unit 121a reads the input information from the I / O device 20a (step S52). The I / O device 20a writes the read input information into the I / O image 122a (step S53).
[0128] The control unit 110a outputs a wiring execution request to the soft wiring unit 140a (step S54).
[0129] The soft wiring unit 140a reads the output information of the I / O image 122a, executes the arithmetic logic and calculates the input information (step S55). The soft wiring unit 140a writes the input information to the I / O image 122a (step S56).
[0130] The control unit 110a reads input information from the I / O image 122a and executes control calculation (step S57). The control unit 110a writes output information to the I / O image 122a (step S58). The control unit 110a outputs a reload request to the I / O disconnection unit 121a (step S59).
[0131] The I / O disconnection unit 121a reads the output information from the I / O image 122a (step S60). The I / O disconnection unit 121a outputs the output information to the I / O device 20a (step S61).
[0132] <1.4.Topic>
[0133] As described above, the simulation function of the dedicated controller 10a is used to perform an operation test of the control function, etc. Even when the process control system is made public, an equivalent simulation function is required.
[0134] For example, if the process control system is made public, devices corresponding to the above-mentioned control unit 110a, I / O connection unit 120a and soft wiring unit 140a (also respectively referred to as control device, I / O connection instrument and information processing device) can be connected on a public network.
[0135] An I / O connection device that supports a network may receive access requests for input information and output information (hereinafter also referred to as input / output information) from various control functions (control devices) existing on the network. In this case, for example, the following problems may occur.
[0136] (Topic 1)
[0137] It is required that the simulation function of a process control system (for example, an I / O connection device) that has been made public corresponds to the simulation function of a general-purpose controller, and the control function of an actual (real machine) general-purpose controller.
[0138] That is, the simulation function of the open process control system requires that the operation test of the process control system can be started even when a real machine of an I / O connection instrument or a part of a real machine of a general-purpose controller cannot be prepared.
[0139] (Topic 2)
[0140] It is required that the simulation function of a process control system (e.g., an I / O connection device) that has been made public disclose input and output information on a general network. By disclosing the input and output information, multiple general controllers or HMI (Human Machine Interface) etc. can access the simulation function of the I / O connection device corresponding to the network without causing any adverse situation. In addition, multiple general controllers or HMI etc. can access the simulation function without distinguishing (being aware) whether the I / O connection device is a simulation function or a real machine.
[0141] <1.5. Overview of proposed technology>
[0142] The proposed technology of the present disclosure relates to a process control system including an I / O connection device that supports a network, a control device, and an information processing device.
[0143] The control device includes a communication unit, an acquisition unit, and an execution unit. The communication unit communicates with an I / O connection device and an information processing device connected to an I / O device via a network. The acquisition unit acquires device information from at least one of a first I / O image (an example of a first storage unit) and a second I / O image (an example of a second storage unit). The first I / O image is owned by the I / O connection device and stores device information related to the I / O device. The second I / O image is owned by the information processing device and stores device information. The execution unit uses the device information to execute control operations related to the I / O device.
[0144] The control device accesses the second storage unit of the information processing device based on the first storage unit of the I / O connection device to obtain device information. Thus, even if a part of the actual machine of the I / O connection device cannot be prepared, the control device can start the operation test of the process control system.
[0145] In addition, the control device is not limited to a real machine, and may be a control device with a simulation function. Thus, even if the control device has a simulation function, that is, even if part of the real machine of the control device cannot be prepared, the process control system can start the operation test.
[0146] In addition, the control device stores device information (eg, input / output information) related to the I / O devices in the I / O connection equipment and the information processing device connected via the network. Therefore, the control device of the proposed technology can access the device information disclosed on the network.
[0147] In this way, even if the control device is connected to the I / O connection device and the information processing device via the network, that is, the process control system is made public, the control device according to the proposed technology can realize the simulation function.
[0148] <<2. Example of process control system configuration>>
[0149] Fig. 9 1 is a block diagram showing a configuration example of a process control system S according to an embodiment of the present disclosure. Fig. 9 The process control system S includes a control device 100 , an I / O connection device 200 , an information processing device 300 , and I / O devices 400_1 and 400_2 .
[0150] In addition, when the I / O devices 400_1 and 400_2 are not distinguished, they are also simply referred to as I / O devices 400. Fig. 9 Although two I / O devices 400_1 and 400_2 are shown in the figure, the number of the I / O devices 400 is not limited to two, and may be one, or may be greater than or equal to three.
[0151] The control device 100, the I / O connection device 200, and the information processing device 300 are connected to each other via a network. Fig. 9 ETHERNET (registered trademark) is shown as an example of a network, but the network is not limited to ETHERNET. The network may be any general-purpose network, and may be a WAN (Wide Area Network) or a LAN (Local Area Network) other than ETHERNET.
[0152] In addition, Fig. 9 In the example, the control device 100, the I / O connection device 200, and the information processing device 300 are each one, but the number of these devices is not limited to one, and may be greater than or equal to two. In addition, the I / O connection device 200 may not be connected to the network. That is, when the simulation is performed in the process control system S, the process control system S may not include the I / O connection device 200. In addition, the control device 100 may not be a real device, but may be a device with a simulation function.
[0153] In addition, Fig. 9 In the embodiment, only the components necessary for the description of the present embodiment are shown in the form of functional blocks, and descriptions of common components are omitted.
[0154] (Control device 100)
[0155] Fig. 9 The control device 100 shown is a general-purpose controller such as a PC or a workstation. The control device 100 includes a communication unit 110 and a control unit 120 .
[0156] (Communication Department 110)
[0157] The communication unit 110 is a processing unit that controls communication with the I / O connection device 200, the information processing device 300, and other devices. The communication unit 110 has a general network communication function that can perform I / O input and output, such as OPC-UA. The communication unit 110 is implemented by, for example, a communication interface.
[0158] (Control Unit 120)
[0159] The control unit 120 is a processing unit that controls the control device 100 as a whole. The control unit 120 has a control function of controlling the state quantity of the industrial process. The control unit 120 is implemented by, for example, a processor. The control unit 120 has an acquisition unit 121, a calculation unit 122, and an output unit 123. Here, the control unit 120 is equivalent to a so-called processor. The control unit 120 is implemented by a CPU (Central Processing Unit), an MPU (Micro Processing Unit), etc.
[0160] The control unit 120 reads a program stored in a storage unit (not shown) and executes the program using the RAM as a work area, thereby realizing the functions of the acquisition unit 121, the calculation unit 122, and the output unit 123. The control unit 120 can also be realized by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0161] (Acquisition Unit 121)
[0162] The acquisition unit 121 acquires input information (an example of device information) from at least one of the I / O connection device 200 and the information processing device 300. The acquisition unit 121 outputs the acquired input information to the calculation unit 122. In this way, the acquisition unit 121 acquires the input information (I / O input information) of the I / O device 400 without distinguishing between the I / O connection device 200 and the information processing device 300.
[0163] (Calculation unit 122)
[0164] The calculation unit 122 executes the control calculation based on the input information acquired by the acquisition unit 121. The calculation unit 122 outputs the execution result of the control calculation to the output unit 123.
[0165] (Output unit 123)
[0166] The output unit 123 outputs the calculation result of the calculation unit 122 as output information to at least one of the I / O connection device 200 and the information processing device 300. In this way, the output unit 123 outputs the output information (I / O output information) of the I / O device 400 without distinguishing between the I / O connection device 200 and the information processing device 300.
[0167] (I / O connection instrument 200)
[0168] Fig. 9 The I / O connection device 200 shown has an I / O connection function of connecting to the control unit 120 of the general-purpose control device 100 through a network. Fig. 9 The illustrated I / O connection device 200 includes a communication unit 210 , an I / O connection unit 220 , and an I / O disconnection definition information DB 230 .
[0169] (Communications Department 210)
[0170] The communication unit 210 is a processing unit that controls communication with the control device 100, the information processing device 300, and other devices. The communication unit 210 receives I / O input / output requests of OPC-UA and the like. The communication unit 210 is realized by, for example, a communication interface and the like.
[0171] (I / O connection unit 220)
[0172] The I / O connection unit 220 has a function of managing input and output values (input and output information) of the I / O device 400. Here, input information (input value) is information (value) input to the control device 100, and output information (output value) is information (value) output from the control device 100. Output information is information input to the I / O device 400, and input information is information output from the I / O device 400.
[0173] The I / O connection unit 220 includes an I / O disconnection unit 221 and a first I / O image 222 .
[0174] (I / O Cutoff Section 221)
[0175] The I / O disconnection unit 221 has a function of partially disconnecting or connecting the I / O device 400 in software. The I / O disconnection unit 221 mediates between the first I / O image 222 and the I / O device 400 .
[0176] Fig. 9The I / O cutting unit 221 performs operations in a fixed cycle (access cycle). Fig. 9 The I / O disconnection unit 221 operates asynchronously with the control unit 120 of the control device 100 and the soft wiring unit 340 described later.
[0177] (First I / O Image 222)
[0178] The first I / O image 222 is a database that stores input information read from the I / O device 400 and output information output by the control apparatus 100 . Fig. 9 The first I / O image 222 shown stores input / output information of the I / O devices 400_1 and 400_2 connected to the I / O connection device 200 in hardware (actually).
[0179] (I / O cutoff definition information DB230)
[0180] The I / O cutoff definition information DB 230 is a database storing I / O definition information. The I / O definition information is information for causing the I / O cutoff unit 221 to execute an operation.
[0181] The I / O definition information is stored in a storage area (I / O cutoff definition information DB 230) that can be referenced by each component of the control device 100 before the I / O cutoff unit 221 operates. The I / O definition information can be dynamically changed even when each component of the control device 100 operates.
[0182] The I / O definition information includes information indicating whether each I / O input / output data point is an I / O disconnection target. Here, the I / O input / output data point is a connection point between the I / O device 400 and the I / O connection instrument 200. One I / O device 400 and one I / O connection instrument 200 can be connected at multiple connection points (I / O input / output data points). In addition, the I / O definition information is stored in the I / O disconnection definition information DB 130a of the dedicated controller 10a (see Figure 2 )same.
[0183] (Information Processing Device 300)
[0184] Fig. 9 The information processing device 300 shown is a general-purpose device such as a PC or a workstation. The information processing device 300 is, for example, an engineering PC with an engineering function. The information processing device 300 has a soft wiring function.
[0185] Fig. 9 The information processing device 300 shown includes a communication unit 310 , a second I / O image 320 , a software wiring definition information DB 330 , and a software wiring unit 340 .
[0186] (Communication Department 310)
[0187] The communication unit 310 is a processing unit that controls communication with the control device 100, the information processing device 300, and other devices. The communication unit 310 is realized by, for example, a communication interface or the like.
[0188] Fig. 9 The communication unit 310 communicates with the second I / O image 320 according to a request from the soft wiring unit 340. The communication unit 310 exchanges input and output information with the second I / O image 320. The communication unit 310 outputs the input and output information of the second I / O image 320 to the control device 100 or the soft wiring unit 340. In addition, the communication unit 310 outputs the input and output information received from the control device 100 or the soft wiring unit 340 to the second I / O image 320.
[0189] (Second I / O Image 320)
[0190] The second I / O image 320 is an I / O image provided for simulating the I / O connection device 200 of the network. The second I / O image 320 has the same structure and function as the first I / O image 222 of the I / O connection device 200.
[0191] However, the second I / O image 320 is different from the first I / O image 222 in that all input / output data points are always disconnected from the I / O device 400 .
[0192] That is, the second I / O image 320 is a database that simulates the first I / O image 222 of an I / O connection device 200 (not shown) that is not connected to the network. If the I / O connection device 200 is connected to the network, the input / output information equivalent to the input / output information stored in the first I / O image 222 of the connected I / O connection device 200 is deleted from the second I / O image 320.
[0193] If all the I / O connection devices 200 are connected to the network, all the input / output information stored in the second I / O image 320 is deleted, or the second I / O image 320 is deleted.
[0194] (Soft wiring definition information DB330)
[0195] The soft wiring definition information DB 330 is a database that stores network device ID information and soft wiring definition information.
[0196] (Network device ID information)
[0197] The network device ID information includes, for example, identification information for identifying the I / O connection device 200 corresponding to the I / O input / output data point of the wiring source or the wiring destination included in the soft wiring definition information.
[0198] In addition, the network device ID information may include identification information for identifying the I / O connection equipment 200 that is not connected to the network in addition to the I / O connection equipment 200 that is connected to the network.
[0199] The identification information identifying the I / O connection device 200 not connected to the network may also be referred to as information identifying the second I / O image 320 emulating the first I / O image 222 of the I / O connection device 200 not connected to the network.
[0200] In other words, the network device ID information includes identification information for identifying the first I / O image 222 and the second I / O image 320 of the I / O connection device 200 .
[0201] The network device ID information is information for causing the soft wiring unit 340 to execute an action. The network device ID information is arranged in a storage area (soft wiring definition information DB 330) that can be referenced by each part of the information processing device 300 before the soft wiring unit 340 executes an action. Even if each part of the information processing device 300 executes an action, the network device ID information can be dynamically changed.
[0202] The network device ID information includes identification information (network device ID) for identifying the I / O connection device 200 and an access cycle. The access cycle is information that specifies the minimum period during which the soft wiring unit 340 accesses the I / O connection device 200. The soft wiring unit 340 accesses the I / O connection device 200 and the second I / O image 320 according to the access cycle to obtain input and output information. In addition, the access cycle is a cycle during which the I / O connection device 200 performs a refresh process and a reload process.
[0203] Fig.10 is a diagram showing an example of network device ID information involved in an embodiment of the present disclosure. Fig.10 As shown, the network device ID information includes the network device ID and the access period.
[0204] exist Fig.10 In the example, the access cycle of the network device ID "172.18.32.1" is "4000 (msec)". The access cycle of the network device ID "172.18.32.2" is "1000 (msec)".
[0205] also, Fig.10The network device ID shown is an example. The network device ID can be any information that identifies the I / O connection device 200 (or information processing device 300) corresponding to the I / O input / output data point of the wiring source or wiring destination, and can be an IP address, host name, domain name, etc.
[0206] (Soft wiring definition information)
[0207] The soft wiring definition information is arranged in a storage area (soft wiring definition information DB 330) that can be referenced by each part of the control device 100 before the soft wiring unit 340 operates. Even if each part of the control device 100 operates, the soft wiring definition information can be dynamically changed.
[0208] Fig.11 This is a diagram showing an example of software wiring definition information according to an embodiment of the present disclosure.
[0209] The soft wiring definition information includes information on the I / O input / output data point and network device ID of the wiring source, information on the I / O input / output data point and network device ID of the wiring destination, and information on operation logic.
[0210] The information related to the I / O input / output data point of the wiring source includes an I / O input / output data point ID for identifying the I / O input / output data point of the wiring source. In addition, the network device ID of the wiring source is information for identifying the I / O connection device 200 having the I / O input / output data point identified by the I / O input / output data point ID of the wiring source.
[0211] Furthermore, when the I / O connection device 200 is not connected to the network, the network device ID of the wiring source may be information for identifying the second I / O image 320 (or the information processing apparatus 300 ).
[0212] The information related to the I / O input / output data point of the wiring destination includes an I / O input / output data point ID for identifying the I / O input / output data point of the wiring destination. In addition, the network device ID of the wiring destination is information for identifying the I / O connection device 200 having the I / O input / output data point identified by the I / O input / output data point ID of the wiring destination.
[0213] Furthermore, when the I / O connection device 200 is not connected to the network, the network device ID of the wiring destination may be information for identifying the second I / O image 320 (or the information processing apparatus 300 ).
[0214] The operation logic is information indicating the I / O input / output value (input / output information) of the I / O input / output data point of the wiring destination relative to the I / O input / output value (input / output information) of the I / O input / output data point of the wiring source. The operation logic is used for the execution of the operation logic in the soft wiring unit 340.
[0215] exist Fig.11 In the example, the network device ID of the wiring source is "172.18.32.1", the I / O input-output data point ID is "3", the network device ID of the wiring destination is "172.18.32.1", and the I / O input-output data point ID is "1", and the operation logic is y=2*x+1.
[0216] In addition, when the network device ID of the wiring source is "172.18.32.4", the I / O input / output data point ID is "1", and the network device ID of the wiring destination is "172.18.32.3", and the I / O input / output data point ID is "3", the operation logic is y = x. In addition, x represents the I / O input / output value of the wiring source. y represents the I / O input / output value of the wiring destination.
[0217] The soft wiring definition information sets the network device ID of the wiring destination and the I / O input / output data point ID as a composite primary key.
[0218] (Soft wiring section 340)
[0219] Back to Fig. 9 The soft wiring unit 340 performs a soft wiring function on the input information and output information stored in the first and second I / O images 222 and 320. The soft wiring unit 340 performs the soft wiring function at a fixed cycle.
[0220] The soft wiring unit 340 determines a wiring source or a wiring destination based on the network device ID and the I / O input / output data point ID.
[0221] The execution cycle of the wiring operation by the soft wiring unit 340 is, for example, an access cycle corresponding to the network device ID of the wiring destination. Fig. 9 The execution cycle (fixed cycle) of the soft wiring function is less than or equal to the access cycle of each network device ID.
[0222] That is, the execution cycle of the soft wiring function is less than or equal to the shortest access cycle of the access cycle of each network device ID (for example, Fig.10 In the example, 50 msec.
[0223] Fig. 9 The illustrated soft wiring unit 340 includes an acquisition unit 341 , an execution unit 342 , and an output unit 343 .
[0224] (Acquisition unit 341)
[0225] The acquisition unit 341 acquires input / output information (an example of device information) from at least one of the first I / O image 222 and the second I / O image 320 of the I / O connection device 200. The acquisition unit 341 acquires input / output information of an I / O input / output data point of a wiring source by referring to, for example, the soft wiring definition information DB 330.
[0226] The acquisition unit 341 outputs the acquired input / output information to the execution unit 342. In this way, the acquisition unit 341 acquires the input / output information (I / O input / output information) of the I / O device 400 without distinguishing between the first and second I / O images 222 and 320.
[0227] (Execution unit 342)
[0228] The execution unit 342 executes the arithmetic logic based on the input / output information acquired by the acquisition unit 341. The execution unit 342 executes the arithmetic logic corresponding to the I / O input / output data point of the wiring source by referring to the soft wiring definition information DB 330, for example. The execution unit 342 outputs the execution result of the arithmetic logic to the output unit 343.
[0229] (Output unit 343)
[0230] The output unit 343 outputs the execution result of the execution unit 342 as input / output information to at least one of the first I / O image 222 and the second I / O image 320 of the I / O connection device 200. The output unit 343 refers to the soft wiring definition information DB 330, for example, to specify the I / O input / output data point of the wiring destination corresponding to the I / O input / output data point of the wiring source, and outputs the input / output information.
[0231] The output unit 343 outputs the input / output information (I / O input / output information) of the input / output data point of the wiring destination without distinguishing between the first I / O image 222 and the second I / O image 320 of the I / O connection device 200 .
[0232] <<3. Process control system processing example>>
[0233] <3.1. Control Processing Example>
[0234] Fig.12 This is a flowchart showing an example of the flow of control processing according to the embodiment of the present disclosure. Fig.12 The control process is executed by the control device 100 in a first cycle.
[0235] like Fig.12As shown, the control device 100 reads input information from at least one of the first and second I / O images 222 and 320 (step S101 ).
[0236] The control device 100 executes a control operation using the read input information (step S102 ). The control device 100 writes output information, which is a result of the operation, to at least one of the first and second I / O images 222 and 320 (step S103 ).
[0237] In this way, Fig.12 In the control process, the control device 100 does not send a refresh request or a reload request to the I / O connection device 200, and does not send a soft wiring execution request to the soft wiring unit 340. The control device 100 does not perform actions synchronously (asynchronously) with the I / O connection device 200 and the information processing device 300.
[0238] <3.2. Update Processing Example>
[0239] Fig.13 This is a flowchart showing an example of the flow of update processing according to the embodiment of the present disclosure. Fig.13 The updating process of is executed by the I / O connection device 200 in a second cycle. In addition, the second cycle is a cycle that is not synchronized with the first cycle. The second cycle may be the same as or different from the first cycle.
[0240] The I / O connection device 200 performs a refresh process (step S201). The refresh process performed by the I / O connection device 200 is similar to the Figure 5 The refresh processing shown is the same, so the description is omitted.
[0241] like Fig.13 As shown in FIG. 1 , after executing the refresh process, the I / O connection instrument 200 executes the reload process (step S202). The reload process executed by the I / O connection instrument 200 is similar to the reload process executed by the I / O connection instrument 200. Figure 6 The reloading process shown is the same, so the description is omitted.
[0242] As described above, the I / O connection device 200 of the present embodiment executes the refresh process and the reload process in a constant cycle (second cycle) without following an instruction from the control device 100 .
[0243] <3.3. Example of soft wiring execution processing>
[0244] Fig.14 This is a flowchart showing an example of the flow of soft wiring execution processing according to the embodiment of the present disclosure. Fig.14 The soft wiring execution process is executed by the information processing device 300 in the third cycle.
[0245] In addition, the third cycle is a cycle that is not synchronized with each of the first cycle and the second cycle. The third cycle may be the same as or different from at least one of the first cycle and the second cycle.
[0246] The information processing device 300 selects an I / O connection device 200 (step S301). Here, the I / O connection device 200 selected by the information processing device 300 is not limited to an I / O connection device 200 connected to the network, and may be an I / O connection device 200 that has not yet been connected to the network. Hereinafter, the I / O connection device 200 selected by the information processing device 300 is also referred to as a selected device 200.
[0247] The information processing apparatus 300 determines whether a time greater than or equal to the access cycle of the selected instrument 200 has elapsed since the previous access to the selected instrument 200 (step S302 ).
[0248] When a time equal to or greater than the access period has not elapsed (step S302 ; No), the information processing apparatus 300 proceeds to step S310 .
[0249] On the other hand, when the time equal to or greater than the access cycle has elapsed (step S302; Yes), the information processing device 300 selects an I / O input / output data point of a wiring destination (step S303). The selected I / O input / output data point of the wiring destination is also referred to as a selected wiring destination data point.
[0250] The information processing device 300 determines whether the I / O connection device 200 of the selected wiring destination data point is identical to the selected device 200 (step S304). The information processing device 300 refers to the soft wiring definition information DB 330 to determine whether the network device ID of the wiring destination corresponding to the I / O input / output data point ID of the selected wiring destination data point is identical to the network device ID of the selected device 200.
[0251] When the I / O connection device 200 that selects the wiring destination data point does not match the selected device 200 (step S304; No), the information processing apparatus 300 proceeds to step S309.
[0252] On the other hand, when the I / O connection device 200 that selects the wiring destination data point matches the selection device 200 (step S304; Yes), the information processing device 300 determines whether the I / O input / output data point ID of the selected wiring source data point is specified (step S305).
[0253] Here, the selected wiring source data point is an I / O input / output data point of the wiring source corresponding to the selected wiring destination data point in the soft wiring definition information.
[0254] The information processing device 300 determines whether there is an I / O input / output data point ID of the wiring source corresponding to the I / O input / output data point ID of the selected wiring destination data point by referring to the soft wiring definition information DB 330. The information processing device 300 determines whether the I / O input / output data point ID of the selected wiring source data point is specified based on whether there is an I / O input / output data point ID of the wiring source.
[0255] When the I / O input / output data point ID of the selected wiring source data point is not designated (step S305; No), the information processing apparatus 300 proceeds to step S307.
[0256] On the other hand, when the I / O input / output data point ID of the selected wiring source data point is designated (step S305; Yes), the information processing device 300 reads the output information of the selected wiring source data point from at least one of the first and second I / O images 222 and 320 (step S306). The information processing device 300 uses the I / O input / output data point ID of the selected wiring source data point to read the output information of the selected wiring destination data point.
[0257] The information processing device 300 generates input information according to the selection operation logic (step S307). Here, the selection operation logic is the operation logic corresponding to the selection wiring destination data point in the wiring definition information.
[0258] The information processing device 300 writes input information for selecting a wiring destination data point into at least one of the first and second I / O images 222 and 320 (step S308). The input information is the result of the operation of the selection operation logic.
[0259] The information processing device 300 determines whether all the I / O input / output data points of the wiring destinations are selected (step S309 ).
[0260] When there is an unselected I / O input / output data point (step S309 ; No), the information processing device 300 returns to step S303 .
[0261] On the other hand, when all the I / O input / output data points of the wiring destination are selected (step S309; Yes), the information processing device 300 determines whether all the I / O connection devices 200 are selected (step S310).
[0262] The I / O connection device 200 is not limited to an I / O connection device 200 that is connected to a network, that is, an actual device, but may include an I / O connection device 200 that is not connected to a network, that is, an actual device.
[0263] If there is an unselected I / O connection device 200 (step S310; No), the information processing device 300 returns to step S301. On the other hand, if all I / O connection devices 200 are selected (step S310; Yes), the information processing device 300 ends the process.
[0264] As described above, the process control system S according to the present embodiment includes the I / O connection device 200 connected to the I / O device 400, the information processing device 300, and the control device 100. The control device 100 includes the communication unit 110, the acquisition unit 121, and the calculation unit 122.
[0265] The communication unit 110 communicates with the I / O connection device 200 and the information processing device 300 via a network. The acquisition unit 121 acquires input information from at least one of the first I / O image 222 and the second I / O image 320. The first I / O image 222 is owned by the I / O connection device 200. The first I / O image 222 stores input and output information related to the I / O device 400. The second I / O image 320 is owned by the information processing device 300. The second I / O image 320 stores input and output information related to the I / O device 400. The operation unit 122 performs control operation related to the I / O device 400 using the input information.
[0266] The process control system S according to the present embodiment can solve the above-mentioned problems 1 and 2. In addition, the process control system S can perform simulation without changing the structure of the first I / O image 222 of the I / O connection device 200. Therefore, the control device 100 can read the input information without distinguishing (being aware of) whether the object of reading the input information is the first I / O image 222 or the second I / O image 320. Therefore, the hardware dependence and vendor dependence of the process control system S are small, and it can respond to I / O input and output requests from various control devices 100.
[0267] By using the process control system S according to this embodiment, even when the user cannot prepare actual machines of the I / O connection equipment 200 and the I / O device 400 , the operation confirmation test of the control device 100 can be performed in a state closer to the actual environment.
[0268] <<4. Other embodiments>>
[0269] <4.1. Alias Management Server>
[0270] In the above-mentioned process control system S, the user can designate a communication destination using an alias. In order to realize this function, the process control system S_A according to the present embodiment includes an alias management server.
[0271] Fig.15 FIG. 1 is a diagram showing a configuration example of a process control system S_A according to another embodiment of the present disclosure. Fig. 9 The same structures in the process control system S shown are denoted by the same reference numerals and the description thereof will be omitted.
[0272] The process control system S_A includes a control device 100A, an I / O connection device 200A, an information processing device 300A, and a management device 500 .
[0273] (Control Device 100A)
[0274] The control device 100A has an alias reference unit 130. The alias reference unit 130 stores the correspondence between the alias (pseudonym) and the communication object. The communication object may be, for example, a device identified by a network ID (e.g., an I / O connection device 200A, an information processing device 300A, etc.), or an I / O input / output data point identified by an I / O input / output data point ID.
[0275] The alias reference unit 130 specifies a communication destination based on the alias specified by the communication unit 110, for example, and notifies the communication unit 110 of the specified communication destination. The communication unit 110 communicates with the communication destination specified by the alias reference unit 130, for example.
[0276] The alias reference unit 130 receives an alias change notification from the management device 500 that manages the alias, and notifies the control unit 120 of the alias change content. Thus, the acquisition unit 121 can acquire input / output information from the I / O images 222 and 320 based on the alias managed by the management device 500.
[0277] (I / O connection instrument 200A)
[0278] The I / O connection device 200A includes an alias registration unit 240. The alias registration unit 240 requests the management device 500 to register an alias. For example, the alias registration unit 240 associates the network device ID, I / O input / output data point ID, etc. of the I / O connection device 200A with the alias and requests registration. For example, the alias registration unit 240 associates the I / O input / output data point ID corresponding to the I / O input / output data point of the first I / O image 222 with the alias and requests registration. The alias registration unit 240 requests the management device 500 to register an alias related to the I / O device 400.
[0279] (Information Processing Device 300A)
[0280] The information processing device 300A includes an alias registration unit 350 and an alias reference unit 360 .
[0281] The alias registering unit 350 requests the management device 500 to register the alias. For example, the alias registering unit 350 associates the network device ID, I / O input / output data point ID, etc. of the information processing device 300A with the alias and requests the registration. For example, the alias registering unit 350 associates the I / O input / output data point ID corresponding to the I / O input / output data point of the second I / O image 320 with the alias and requests the registration. The alias registering unit 350 requests the management device 500 to register the alias associated with the I / O device 400 corresponding to the I / O input / output data point of the second I / O image 320.
[0282] Alias reference unit 360 specifies a communication destination based on the alias specified by communication unit 310, for example, and notifies communication unit 310 of the specified communication destination. Communication unit 310 communicates with the communication destination specified by alias reference unit 360, for example.
[0283] In addition, the alias reference unit 360 receives an alias change notification from the management device 500 that manages the aliases, and notifies the software wiring definition information DB 330 of the changed contents of the alias.
[0284] (Management Device 500)
[0285] The management device 500 is a general-purpose controller such as a PC or a workstation. The management device 500 includes a communication unit 510 , an alias management unit 530 , and an alias management DB 520 .
[0286] The communication unit 510 is a processing unit that controls the communication with the control device 100A, the I / O connection device 200A, the information processing device 300A, and other devices. The communication unit 510 has a general network communication function that can perform I / O input and output such as OPC-UA. The communication unit 510 is implemented by, for example, a communication interface.
[0287] The alias management DB 520 is a database storing alias information. The alias information is information that associates an alias with a network device ID or an I / O input / output data point ID that is a communication target.
[0288] The alias management unit 530 manages aliases. The alias management unit 530 registers aliases in response to requests from the alias registration unit 240 of the I / O connection device 200A and the alias registration unit 350 of the information processing apparatus 300A.
[0289] For example, the alias management unit 530 registers alias information that associates the alias included in the registration request from the alias registration unit 240 or 350 with the network device ID or the I / O input / output data point ID.
[0290] The alias management unit 530 stores the alias information in, for example, the alias management DB 520. In addition, the alias management unit 530 notifies the alias information to the alias reference unit 130 of the control device 100 and the alias reference unit 360 of the information processing device 300A.
[0291] In addition, when the network device ID or I / O input / output data point ID included in the alias registration request has already been registered, the alias management unit 530 updates (modifies) the alias information. For example, the alias management unit 530 overwrites the alias corresponding to the network device ID or I / O input / output data point ID with the alias included in the registration request.
[0292] The alias management unit 530 notifies the alias reference unit 130 of the control device 100 and the alias reference unit 360 of the information processing device 300A of the updated alias information.
[0293] In addition, here, the alias registration unit 240, 350 registers and updates (changes) the alias using a registration request, but the alias registration unit 240, 350 may update (change) the alias using a change request.
[0294] <4.2. Synchronization of processing>
[0295] In the above embodiment, the I / O connection device 200 and the information processing apparatus 300 respectively execute the update process and the soft wiring execution process asynchronously, but the above processes may be executed synchronously.
[0296] For example, when the wiring destination of the soft wiring definition information stored in the soft wiring definition information DB 330 is the actual device of the I / O connection device 200 , synchronization of the soft wiring unit 340 and the I / O connection device 200 is required.
[0297] If the I / O connection device 200 as a real machine and the soft wiring unit 340 (simulation function of the I / O connection device 200) operate asynchronously, if the cycles of each operation are disrupted, the operation of the process control system S may become abnormal as a simulation.
[0298] Specifically, when the soft wire section 340 generates a pulse signal that turns on only in one cycle, the operation cycles of the I / O connection device 200 and the soft wire section 340 are disrupted. In this case, the control section 120 may miss the timing when the pulse signal turns on.
[0299] The actual machine is different from the simulation and has a structure with no cycle disturbance, so this problem does not occur. However, in many cases, the machines used for ordinary simulators do not have such a specification of consistent cycle.
[0300] Therefore, here, a process control system S_B including the I / O connection device 200B and the information processing device 300B that perform operations synchronously will be described.
[0301] Fig.16 FIG. 1 is a diagram showing a configuration example of a process control system S_B according to another embodiment of the present disclosure. Fig. 9 The same structures in the process control system S shown are denoted by the same reference numerals and the description thereof will be omitted.
[0302] The process control system S_B includes an I / O connection device 200B and an information processing apparatus 300B. The I / O connection device 200B includes an I / O disconnection unit 221B.
[0303] The I / O disconnection unit 221B transmits a wiring execution request for requesting the soft wiring unit 340B of the information processing device 300B to execute a soft wiring execution process. The I / O disconnection unit 221B transmits the wiring execution request via the communication unit 210 .
[0304] The other operations of the I / O disconnection unit 221B are the same as those of Fig. 9 The I / O cutoff unit 221B is the same as the I / O cutoff unit 221 shown in FIG. The I / O cutoff unit 221B operates asynchronously with the control unit 120 of the control device 100. That is, the update process by the I / O cutoff unit 221B is executed asynchronously with the control process by the control unit 120.
[0305] The information processing device 300B includes a soft wiring unit 340B. The soft wiring unit 340B includes an execution unit 342B. The execution unit 342B executes a soft wiring execution process in response to a wiring execution request from the I / O disconnection unit 221B of the I / O connection device 200B.
[0306] Fig.17 This is a flowchart showing an example of the flow of the update process of the I / O connection device 200B according to another embodiment of the present disclosure. Fig.17 The updating process of is executed by the I / O connection device 200B in the second cycle. The second cycle is a cycle that is not synchronized with the first cycle of the control process executed by the control device 100. The second cycle may be the same as or different from the first cycle.
[0307] The I / O connection device 200B executes a refresh process (step S201). The refresh process executed by the I / O connection device 200B is similar to the Figure 5 The refresh processing shown is the same, so the description is omitted.
[0308] like Fig.17As shown in FIG. 1 , after executing the refresh process, the I / O connection instrument 200B sends a wiring execution request to the information processing device 300B (step S401). Then, the I / O connection instrument 200B executes the reload process (step S202). The reload process executed by the I / O connection instrument 200B is similar to the reload process executed by the I / O connection instrument 200B. Figure 6 The reloading process shown is the same, so the description is omitted.
[0309] In this way, the I / O connection device 200B transmits a wiring execution request to the information processing device 300B, so that the I / O connection device 200B and the information processing device 300B can perform operations synchronously.
[0310] The process control system S_B can obtain the same effects as the process control system S, and can more normally perform the simulation by causing the I / O connection device 200B and the information processing apparatus 300B to operate synchronously.
[0311] <5. System>
[0312] The information including the processing sequence, control sequence, specific names, various data, and parameters shown in the above description and drawings can be changed arbitrarily unless otherwise specified.
[0313] In addition, the components of each device shown in the drawings are functional concepts and do not necessarily need to be physically configured as shown in the drawings. That is, the specific method of distributing and integrating each device is not limited to the method shown in the drawings. That is, all or part of them can be functionally or physically distributed or integrated in arbitrary units according to various loads, usage conditions, etc.
[0314] Furthermore, all or any part of each processing function performed by each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware based on wired logic.
[0315] <6. Hardware>
[0316] Next, a hardware configuration example of the control device 100 will be described. Fig.18 2 is a diagram for explaining an example of the hardware configuration of the control device 100. Fig.18 As shown, the control device 100 includes a communication device 100a, a HDD (Hard Disk Drive) 100b, a memory 100c, and a processor 100d. Fig.18 The components shown are connected to each other using a bus or the like.
[0317] The communication device 100a is a network interface card, etc., and communicates with other servers. Fig. 9The program and DB that execute the functions shown are stored.
[0318] The processor 100d reads and executes data from the HDD 100b or the like. Fig. 9 The same processing program is developed in the memory 100c in each processing unit, thereby executing Fig. 9 The process of each function described in the above etc. executes the action. For example, this process executes the same function as each processing unit of the control device 100. Specifically, the processor 100d reads a program having the same function as the acquisition unit 121, the calculation unit 122, the output unit 123, etc. from the HDD 100b, etc. Then, the processor 100d executes the following process, that is, executes the same processing as the acquisition unit 121, the calculation unit 122, the output unit 123, etc.
[0319] In this way, the control device 100 performs actions as a device that executes various processing methods by reading and executing programs. In addition, the control device 100 uses a medium reading device to read the above program from the recording medium and executes the read program, thereby achieving the same functions as the above embodiment. In addition, the program mentioned in this other embodiment is not limited to being executed by the control device 100. For example, when other computers or servers execute the program, or when they cooperate to execute the program, the present invention can also be applied in the same way.
[0320] The program can be distributed via a network such as the Internet. In addition, the program is recorded on a computer-readable recording medium such as a hard disk, a floppy disk (FD), a CD-ROM, an MO (Magneto-Optical disk), or a DVD (Digital Versatile Disc), and can be read from the recording medium and executed by a computer.
[0321] In addition, although the hardware configuration example of the control device 100 is described here, the control device 100A, the I / O connection devices 200, 200A, 200B, the information processing devices 300, 300A, 300B, etc. can also be realized by the same hardware configuration.
[0322] <7. Others>
[0323] Several examples of combinations of disclosed technical features are described below.
[0324] (1) A control device, wherein the control device comprises:
[0325] a communication unit that communicates with an I / O connection device and an information processing device to which the I / O device is connected via a network;
[0326] an acquisition unit that acquires the device information from at least one of a first storage unit that is possessed by the I / O connection instrument and stores device information related to the I / O device, and a second storage unit that is possessed by the information processing device and stores the device information; and
[0327] A calculation unit performs control calculations related to the I / O device using the device information.
[0328] (2) A control device according to (1), wherein:
[0329] The control device further includes an output unit that stores an execution result of the control operation in at least one of the first storage unit and the second storage unit.
[0330] (3) A control device according to (1) or (2), wherein:
[0331] The information processing device acquires the device information corresponding to the result of the control operation of the operation unit from at least one of the first storage unit and the second storage unit,
[0332] Execute the operation logic related to the I / O device,
[0333] The execution result of the operation logic is stored in at least one of the first storage unit and the second storage unit.
[0334] (4) A control device according to (3), wherein:
[0335] The information processing device executes the operation logic related to the I / O device based on the wiring definition information,
[0336] The wiring definition information includes information for identifying the I / O connection device connected to the I / O device.
[0337] (5) A control device according to (3) or (4), wherein:
[0338] The information processing apparatus acquires the device information according to an access cycle corresponding to the I / O connection instrument.
[0339] (6) A control device according to (5), wherein:
[0340] The information processing device executes the operation logic when the access cycle elapses.
[0341] (7) The control device according to any one of (3) to (6), wherein:
[0342] The information processing device executes the operation logic of the I / O device for each of the I / O connected devices.
[0343] (8) A control device according to (7), wherein:
[0344] When the I / O device at the wiring destination is connected to the I / O connection device as the execution target of the operation logic, the information processing apparatus executes the operation logic of the I / O device.
[0345] (9) The control device according to any one of (1) to (8), wherein:
[0346] The acquisition unit acquires the device information based on the alias managed by the alias management device.
[0347] (10) A control device according to (9), wherein:
[0348] The I / O connection device includes an alias registration unit that requests the alias management device to register the alias associated with the I / O device corresponding to the device information stored in the first storage unit.
[0349] (11) A control device according to (9) or (10), wherein:
[0350] The information processing device includes an alias registration unit that requests the alias management device to register the alias associated with the I / O device corresponding to the device information stored in the second storage unit.
[0351] (12) A control device according to any one of (1) to (11), wherein:
[0352] The information processing device executes the operation logic when receiving a request to execute the operation logic from the I / O connection device.
[0353] (13) A control method, wherein:
[0354] The control method comprises the following steps:
[0355] Communicates with an I / O connection device and an information processing device connected to the I / O device via a network;
[0356] acquiring the device information from at least one of a first storage unit that is provided by the I / O connection device and stores device information related to the I / O device, and a second storage unit that is provided by the information processing apparatus and stores the device information; and
[0357] The device information is used to perform control operations related to the I / O device.
[0358] (14) A control system, wherein:
[0359] The control system has:
[0360] I / O connection instrument, which is connected to the I / O device;
[0361] information processing device; and
[0362] Control device,
[0363] The control device has:
[0364] a communication unit that communicates with the I / O connection device and the information processing device via a network;
[0365] an acquisition unit that acquires the device information from at least one of a first storage unit that is possessed by the I / O connection instrument and stores device information related to the I / O device, and a second storage unit that is possessed by the information processing device and stores the device information; and
[0366] A calculation unit performs control calculations related to the I / O device using the device information.
Claims
1. A control device, in, The control device has: a communication unit that communicates with an I / O connection device and an information processing device to which the I / O device is connected via a network; an acquisition unit that acquires the device information from at least one of a first storage unit that is possessed by the I / O connection device and stores device information related to the I / O device, and a second storage unit that is possessed by the information processing apparatus and stores the device information; as well as A calculation unit performs control calculations related to the I / O device using the device information.
2. The control device according to claim 1, in, The control device further includes an output unit that stores an execution result of the control operation in at least one of the first storage unit and the second storage unit.
3. The control device according to claim 1, in, The information processing device acquires the device information corresponding to the result of the control operation of the operation unit from at least one of the first storage unit and the second storage unit, Execute the operation logic related to the I / O device, The execution result of the operation logic is stored in at least one of the first storage unit and the second storage unit.
4. The control device according to claim 3, in, The information processing device executes the operation logic related to the I / O device based on the wiring definition information, The wiring definition information includes information for identifying the I / O connection device connected to the I / O device.
5. The control device according to claim 3, in, The information processing apparatus acquires the device information according to an access cycle corresponding to the I / O connection instrument.
6. The control device according to claim 5, in, The information processing device executes the operation logic when the access cycle has passed.
7. The control device according to claim 3, in, The information processing device executes the operation logic of the I / O device for each of the I / O connected devices.
8. The control device according to claim 7, in, When the I / O device at the wiring destination is connected to the I / O connection device as the execution target of the operation logic, the information processing apparatus executes the operation logic of the I / O device.
9. The control device according to claim 1, in, The acquisition unit acquires the device information based on the alias managed by the alias management device.
10. The control device according to claim 9, in, The I / O connection device includes an alias registration unit that requests the alias management device to register the alias associated with the I / O device corresponding to the device information stored in the first storage unit.
11. The control device according to claim 9, in, The information processing device includes an alias registration unit that requests the alias management device to register the alias associated with the I / O device corresponding to the device information stored in the second storage unit.
12. The control device according to claim 1, in, The information processing device executes the operation logic when receiving a request to execute the operation logic from the I / O connection device.
13. A control method, in, The control method comprises the following steps: Communicates with an I / O connection device and an information processing device connected to the I / O device via a network; acquiring the device information from at least one of a first storage unit that is included in the I / O connection device and stores device information related to the I / O device, and a second storage unit that is included in the information processing apparatus and stores the device information; as well as The device information is used to perform control operations related to the I / O device.
14. A control system, in, The control system has: I / O connection instrument, which is connected to the I / O device; information processing devices; as well as Control device, The control device has: a communication unit that communicates with the I / O connection device and the information processing device via a network; an acquisition unit that acquires the device information from at least one of a first storage unit that is possessed by the I / O connection device and stores device information related to the I / O device, and a second storage unit that is possessed by the information processing apparatus and stores the device information; as well as A calculation unit performs control calculations related to the I / O device using the device information.
