Control logic configuration method, device, equipment and medium of distributed control system

By monitoring and installing the configuration logic objects of the distributed control system, incremental editing and legality verification of the control logic are achieved, and the problem of inability to implement incremental editing and lack of self-test mechanism in the existing technology is solved, and online editing and disturbance-free configuration of the control logic are realized.

CN115755781BActive Publication Date: 2025-04-22STATE NUCLEAR POWER AUTOMATION SYST ENGCO
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211103904.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2025-04-22
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

In the prior art, the control logic configuration of the decentralized control system cannot realize incremental editing of the control logic, and the configuration process lacks a self-test mechanism.

Method used

By monitoring the instructions for modifying the configuration logic objects of the decentralized control system, the target configuration logic objects are determined, and the control logic characterized by them is loaded into the corresponding controller. This method includes legality verification, if passed, the control logic is installed, and if not passed, an alarm prompt is generated.

Benefits of technology

The online and incremental editing of the control logic is realized, and the control logic of the changed target configuration logic object is only installed, and the unchanged configuration logic object does not affect the unchanged configuration logic object, ensuring that there is no disturbance to other configuration logic objects other than the target configuration logic object.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115755781B_ABST
    Figure CN115755781B_ABST
Patent Text Reader

Abstract

The present invention discloses a control logic configuration method, device, equipment, and medium for a distributed control system. The distributed control system includes a controller, wherein the method includes: monitoring whether there is an instruction to modify the configuration logic object of the distributed control system; when the instruction is detected, determining the target configuration logic object targeted by the instruction; and downloading the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object. The present invention realizes online and incremental editing of the control logic. The control logic can be executed for a specific target configuration logic object, that is, only the control logic of the changed target configuration logic object is downloaded, and the control logic of the unchanged configuration logic object is not affected, so as to achieve non-disturbance to other configuration logic objects other than the target configuration logic object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer and automatic control technology, and in particular to a control logic configuration method, device, electronic equipment and medium for a distributed control system. Background Art

[0002] Distributed Control System (DCS) has been widely used in power generation control of medium and large power plants with a single unit of more than 600,000 kilowatts. The power generation control process of this system has the characteristics of more data collection points and data control points and complex control logic.

[0003] At present, the control logic configuration method generally adopts the language form, such as Siemens' statement list language and Rockwell's ladder diagram language. The control logic configuration process requires the computer language to be compiled and then downloaded to the controller of the control system for the configuration to take effect. Moreover, the configuration process from compilation to downloading is carried out on the entire system, and it is impossible to realize incremental editing of the control logic, and the configuration process lacks a self-checking mechanism. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the defect that the control logic configuration in the prior art cannot realize incremental editing of the control logic, and to provide a control logic configuration method, device, electronic device, and medium for a distributed control system.

[0005] The present invention solves the above technical problems through the following technical solutions:

[0006] In a first aspect, a control logic configuration method of a distributed control system is provided, wherein the distributed control system includes a controller; the control logic configuration method includes:

[0007] Monitor whether there are any instructions for modifying the configuration logic objects of the distributed control system;

[0008] When the instruction is detected, determining the target configuration logic object targeted by the instruction;

[0009] The control logic represented by the target configuration logic object is downloaded to the controller corresponding to the target configuration logic object.

[0010] Optionally, the target configuration logic object includes a configuration page and / or an algorithm model;

[0011] The configuration page is the carrier of the algorithm model;

[0012] One of the configuration pages carries at least one of the algorithm models.

[0013] Optionally, before the step of downloading the control logic represented by the target CLO into the controller corresponding to the target CLO, the method further includes:

[0014] Performing a validity check on the target configuration logic object;

[0015] If the verification is passed, the step of downloading the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object is executed;

[0016] If the verification fails, an alarm is generated.

[0017] Optionally, performing a validity check on the target configuration logic object includes at least one of the following:

[0018] Performing a validity check on the parameters configured by the target configuration logic object;

[0019] The legality of the input and output relationship of the target configuration logic object is checked.

[0020] Optionally, the target configuration logic object is represented by an icon;

[0021] The control logic represented by the target configuration logic object is downloaded to the controller corresponding to the target configuration logic object, including:

[0022] Determine the target control logic corresponding to the icon of the target configuration logic object according to the corresponding relationship between the icon and the control logic;

[0023] The target control logic is downloaded to the controller corresponding to the target configuration logic object.

[0024] Optionally, performing a modification operation on the configuration logic object of the distributed control system includes at least one of the following:

[0025] Insertion operation on the configuration logic object;

[0026] Parameter setting operation for the configuration logic object;

[0027] Deletion operation on the configuration logic object;

[0028] enabling operation on the configuration logic object;

[0029] A disabling operation on the configuration logic object.

[0030] Optionally, the instruction includes a configuration page command and / or an algorithm model command; and the control logic configuration method further includes:

[0031] In response to the configuration page command, performing a modification operation on at least one of the configuration pages targeted by the configuration page command;

[0032] In response to the algorithm model command, a modification operation is performed on at least one of the algorithm models targeted by the algorithm model command.

[0033] In a second aspect, a control logic configuration device of a distributed control system is provided, comprising:

[0034] A monitoring module is used to monitor whether there are instructions for modifying the configuration logic objects of the distributed control system;

[0035] A determination module, used for determining the target configuration logic object targeted by the instruction when the instruction is detected;

[0036] The download module is used to download the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object.

[0037] According to a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the control logic configuration method of the distributed control system described in any one of the above items is implemented.

[0038] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the control logic configuration method of the distributed control system described in any one of the above items is implemented.

[0039] The positive and progressive effects of the present invention are:

[0040] The control logic configuration method of the present invention realizes online and incremental editing of the control logic. The control logic can be executed for a specific target configuration logic object, that is, only the control logic of the changed target configuration logic object is downloaded, and the control logic of the unchanged configuration logic object is not affected, so as to achieve non-interference to other configuration logic objects other than the target configuration logic object. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flow chart of a control logic configuration method of a distributed control system provided by an exemplary embodiment of the present invention;

[0042] Figure 2 A schematic diagram of a configuration page command format provided for an exemplary embodiment of the present invention;

[0043] Figure 3 A schematic diagram of an algorithm model command format provided by an exemplary embodiment of the present invention;

[0044] Figure 4 A flowchart of a new configuration page and algorithm model provided for an exemplary embodiment of the present invention;

[0045] Figure 5 A flowchart for modifying an algorithm model provided by an exemplary embodiment of the present invention;

[0046] Figure 6 A flowchart of modifying a configuration page provided by an exemplary embodiment of the present invention;

[0047] Figure 7 A module schematic diagram of a control logic configuration device of a distributed control system provided by an exemplary embodiment of the present invention;

[0048] Figure 8 The present invention is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0050] Figure 1 A flowchart of a control logic configuration method of a distributed control system provided by an exemplary embodiment of the present invention, the method comprising the following steps:

[0051] Step 101: monitor whether there is an instruction to modify the configuration logic object of the distributed control system.

[0052] The distributed control system is online, waiting for instructions from the operation terminal. The operation terminal can be computer hardware, and the operator can use the operation terminal to configure the control logic of the distributed control system. The entire process of control logic configuration has no special requirements for the physical layer of communication. Therefore, the instructions can be transmitted through Ethernet, serial port transmission (RS485 / 422 / 232) and other transmission protocols.

[0053] The configuration logic object includes a configuration page and / or an algorithm model. The configuration page is the carrier of the algorithm model, and a configuration page can carry at least one algorithm model. However, when carrying multiple algorithm models, the multiple algorithm models can be the same or different. Therefore, the instruction for modifying the configuration logic object of the distributed control system includes a configuration page command and an algorithm model command.

[0054] The modification operations for the configuration logic objects of the distributed control system include:

[0055] like Figure 4 As shown, a new configuration page is first created, and then a new algorithm model is added to the newly created configuration page. In one embodiment, the steps include:

[0056] Step 401, create a new configuration through the configuration page command of the insert operation;

[0057] Step 402, determine whether the controller responds to the modification successfully, if not, repeat the configuration page command of step 401, if successful, execute step 403;

[0058] Step 403, adding an algorithm model 1 through an algorithm model command of an insert operation;

[0059] Step 404: Check the validity of the algorithm model parameters of the algorithm model 1. If the validity fails, an alarm is given. If the validity passes, step 405 is executed.

[0060] Step 405, executing the algorithm model command of the insert operation;

[0061] Step 406, determining whether the controller responds to the modification successfully, if unsuccessful, returning to step 405 to repeat the algorithm model command, if successful, executing step 407;

[0062] Step 407, adding an algorithm model 2 through the algorithm model command of the insert operation;

[0063] Step 408: Check the validity of the algorithm model parameters of the algorithm model 2. If the validity fails, an alarm is given. If the validity passes, step 409 is executed.

[0064] Step 409, executing the algorithm model command of the insert operation;

[0065] Step 410, determining whether the controller responds to the modification successfully, if unsuccessful, repeating the algorithm model command of step 409, if successful, executing step 411;

[0066] Step 411, modifying the input-output relationship of the algorithm model through the algorithm model command set by the parameters;

[0067] Step 412: Perform a legality check on the input-output relationship between all algorithm models. If the check fails, an alarm is given. If the check passes, step 413 is executed.

[0068] Step 413, executing the algorithm model command of parameter setting;

[0069] Step 414, determine whether the controller responds to the modification successfully. If unsuccessful, repeat the algorithm model command of step 40. If successful, the process ends.

[0070] In this embodiment, the main steps of the process are to first create a new configuration page, and then add a new algorithm model on the new configuration page. More algorithm models can be added by repeating steps 407-410. In this embodiment, algorithm model 1 and algorithm model 2 can be the same algorithm model or different algorithm models. Repeating steps 407-410 can also add the same or different algorithm models.

[0071] like Figure 5 The existing algorithm model is modified as shown. In one embodiment, the steps include:

[0072] Step 501: For an existing algorithm model, modify the algorithm model parameters through the algorithm model command of parameter setting;

[0073] Step 502: Check the validity of the set parameters. If the verification fails, an alarm is given. If the verification passes, step 503 is executed.

[0074] Step 503, executing the algorithm model command of parameter setting;

[0075] Step 504, determine whether the controller responds to the modification successfully, if not, repeat the algorithm model command of step 503, if successful, execute step 505;

[0076] Step 505, modifying the input-output relationship of the algorithm model through the algorithm model command set by the parameters;

[0077] Step 506: Check the legality of the input and output relationship of the algorithm model. If it fails, an alarm will be issued. If it passes, step 507 will be executed;

[0078] Step 507, executing the algorithm model command of parameter setting;

[0079] Step 508, determine whether the controller responds to the modification successfully. If not, repeat the algorithm model command of step 507. If it is successful, the process ends.

[0080] In this embodiment, a specific algorithm model on a specific configuration page can be modified to achieve the effect of incremental editing without disturbing irrelevant algorithm models.

[0081] like Figure 6 As shown, the existing configuration page is modified. In one embodiment, the steps include:

[0082] Step 601, for an existing configuration page, modify the configuration page parameters through the configuration page command of parameter setting;

[0083] Step 602: Check the validity of the set parameters. If the verification fails, an alarm is given. If the verification passes, step 603 is executed.

[0084] Step 603, executing the configuration page command for parameter setting;

[0085] Step 604, determine whether the controller responds to the modification successfully. If not, repeat the configuration page command of step 603. If yes, the process ends.

[0086] In this embodiment, a specific algorithm model on a specific configuration page can be modified to achieve the effect of incremental editing without disturbing irrelevant algorithm models.

[0087] The legitimacy check in any of the above embodiments includes: legitimacy check of algorithm parameters, that is, verifying whether each algorithm parameter matches the algorithm, for example, whether the PID parameter value is a negative value. If it is a negative number, the check fails, and if it is not a negative value, the check passes; for example, legitimacy check of input and output type parameters between algorithm model objects. The input and output types of the embodiments of the present invention include: AND operation, OR operation, and NOT operation. If they meet the input and output types, the check passes; if they do not meet the above types, for example, the analog signal does not belong to the input and output type, the check fails.

[0088] Among them, the configuration logic object of the distributed control system can be modified through instructions, including: inserting the configuration logic object, setting the parameters of the configuration logic object, deleting the configuration logic object, enabling the configuration logic object, and disabling the configuration logic object. The enabling operation of the configuration logic object is to enable the configuration of the existing configuration page, and the disabling operation of the configuration logic object is to disable the configuration of the existing configuration page.

[0089] Step 102: When an instruction is detected, determine the target configuration logic object targeted by the instruction.

[0090] In one embodiment, the target configuration logic object is represented by an icon, and the operation terminal can use the icon representation to perform visual operation and monitoring.

[0091] Step 103: Download the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object.

[0092] In one embodiment, downloading the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object includes:

[0093] According to the correspondence between the icon and the control logic, the target control logic corresponding to the icon of the target configuration logic object is determined, and the target control logic is downloaded to the controller corresponding to the target configuration logic object.

[0094] In the embodiment of the present invention, the target configuration logic objects and their mutual relationships in the control logic configuration process can be represented in the form of icons, which are clear at a glance, so that online visual monitoring can be achieved from the editing of the control logic to the downloading and completion of the configuration. Moreover, this embodiment realizes the incremental editing of the control logic, and the control logic can be executed for a specific target configuration logic object to achieve non-interference with other configuration logic objects other than the target configuration logic object.

[0095] In one embodiment, before the step of downloading the control logic represented by the target CLO into the controller corresponding to the target CLO, the method further includes:

[0096] Perform a validity check on the configuration logic object; if the check passes, execute the step of downloading the control logic represented by the target configuration logic object to the controller corresponding to the target configuration logic object; if the check fails, generate an alarm prompt.

[0097] In the embodiment of the present invention, before the control logic is downloaded, a validity check is performed on the target configuration logic object, so as to ensure the correctness of the download execution.

[0098] The legitimacy check of the target configuration logic object includes at least one of the following:

[0099] Perform legality check on the parameters configured by the target configuration logic object;

[0100] Perform legality check on the input and output relationship of the target configuration logic object.

[0101] Taking the configuration page as an example, a possible implementation of a control logic configuration method of a distributed control system is provided below. The method includes the following steps:

[0102] Step 201: monitor whether there is a configuration page command for modifying the configuration page of the distributed control system.

[0103] The configuration page command format can be as follows: Figure 2 The frame identifier is the download frame mark, and the configuration page operation code includes: configuration page insert operation code, configuration page parameter setting operation code, configuration page delete operation code, configuration page enable operation code, and configuration page disable operation code. The page number is the configuration page number corresponding to the configuration page command. The data is the parameters configured for the target configuration logic object, such as input pin information, output pin information, reference tag name, and status information. The data length is the byte length occupied by the data in the computer. The check is a mark of the legality check result. If the mark is legal, the command is executed according to the parameters configured in the data. If the mark is illegal, the command is not executed.

[0104] The above configuration page operation codes can perform modification operations on the configuration page including: downloading a new configuration page, downloading an existing configuration page, deleting an existing configuration page, enabling an existing configuration page, and disabling an existing configuration page.

[0105] Step 202: When a configuration page command is detected, determine the configuration page targeted by the configuration page command.

[0106] The parameters of the configuration page include: the size of the configuration page, the operation cycle of the configuration page, the description of the configuration page, the modification time of the configuration page, the configuration status (use / disable), the page number of the configuration page, and the execution sequence number. Among them, the page number of the configuration page cannot be repeated in the configuration page of the entire distributed control system and is unique.

[0107] According to the page number in the configuration page command format of step 201, a specific configuration page can be located, and this configuration page is the configuration page targeted by the configuration page command of this step.

[0108] Step 203: Download the control logic represented by the configuration page into the controller corresponding to the configuration page.

[0109] Before the control logic represented by the configuration page is downloaded to the controller corresponding to the configuration page, the configuration page is checked for legality. If the check passes, the step of downloading the control logic represented by the configuration page to the controller corresponding to the configuration page is executed; if the check fails, an alarm prompt is generated.

[0110] In the above steps 201 - 203 , a modification operation may be performed on at least one configuration page targeted by the configuration page command through the configuration page command.

[0111] Taking the algorithm model as an example, a possible implementation of a control logic configuration method of a distributed control system is provided below. The method includes the following steps:

[0112] Step 301: monitor whether there is an algorithm model command for modifying the algorithm model of the distributed control system.

[0113] The algorithm model command format can be as follows Figure 3Define it. Among them, the frame identifier is the download frame mark, and the algorithm model operation code includes: algorithm model insertion operation code, algorithm model parameter setting operation code, algorithm model deletion operation code, algorithm model enable operation code, and algorithm model disable operation code. The page number is the configuration page number corresponding to the algorithm model command. The data is the parameters configured for the target configuration logic object, such as input pin information, output pin information, reference tag name, and status information. The data length is the byte length occupied by the data in the computer. The check is a mark of the legality check result. If the mark is legal, the command is executed according to the parameters configured in the data. If the mark is illegal, the command is not executed. The identification number is a unique number for the algorithm model, and a specific algorithm model can be located by the identification number.

[0114] The modification operations that the above algorithm model operation codes can perform on the algorithm model include: creating a new algorithm model, downloading an existing algorithm model, deleting an existing algorithm model, enabling an existing algorithm model configuration, and disabling an existing algorithm model configuration.

[0115] Step 302: When an algorithm model command is detected, determine the algorithm model targeted by the algorithm model command.

[0116] The algorithm model's own parameters include: the algorithm model's location information on the configuration page, the algorithm model's size information on the configuration page, the identification number, the algorithm model execution sequence number, the algorithm model quality, the algorithm model quality change mark, the algorithm model configuration parameters, the algorithm model input pin information, the algorithm model output pin information, the algorithm model input data reference tag name, the algorithm model status information, the algorithm model input data and output data. Among them, the identification number cannot be repeated in the algorithm model of the entire distributed control system and is unique.

[0117] According to the page number and identification number in the algorithm model command format of step 301, a specific algorithm model can be located, and the algorithm model is the algorithm model targeted by the algorithm model command of this step.

[0118] Step 303: Download the control logic represented by the algorithm model into the controller corresponding to the algorithm model.

[0119] Before the control logic represented by the algorithm model is downloaded to the controller corresponding to the algorithm model, the algorithm model is verified for legality. If the verification passes, the step of downloading the control logic represented by the algorithm model to the controller corresponding to the algorithm model is executed; if the verification fails, an alarm is generated.

[0120] Among them, the legality verification of the algorithm model includes:

[0121] Perform a validity check on the parameters configured by the algorithm model. The configured parameters may be PID parameters.

[0122] The legality of the input-output relationship of the algorithm model is checked, and the input-output relationship is ANDed, ORed, and NOTed.

[0123] In the above steps 301-303, the algorithm model command can be used to perform a modification operation on at least one algorithm model targeted by the algorithm model command.

[0124] Figure 7 A schematic diagram of a module of a control logic configuration device of a distributed control system provided by an exemplary embodiment of the present invention, the control logic configuration device comprising:

[0125] A monitoring module 71 is used to monitor whether there is an instruction to modify the configuration logic object of the distributed control system;

[0126] A determination module 72, for determining a target configuration logic object targeted by the instruction when an instruction is detected;

[0127] The download module 73 is used to download the control logic represented by the target configuration logic object to the controller corresponding to the target configuration logic object.

[0128] Optionally, the target configuration logic object includes a configuration page and / or an algorithm model;

[0129] The configuration page is the carrier of the algorithm model;

[0130] A configuration page carries at least one algorithm model.

[0131] Optionally, the download module is specifically used for:

[0132] Perform legality check on the target configuration logic object;

[0133] If the verification passes, the step of downloading the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object is executed;

[0134] If the verification fails, an alarm is generated.

[0135] Optionally, the target configuration logic object is subjected to a validity check, including at least one of the following:

[0136] Perform legality check on the parameters configured by the target configuration logic object;

[0137] Perform legality check on the input and output relationship of the target configuration logic object.

[0138] Optionally, the target configuration logic object is represented by an icon;

[0139] The download module is specifically used for:

[0140] According to the correspondence between the icon and the control logic, determine the target control logic corresponding to the icon of the target configuration logic object;

[0141] Download the target control logic to the controller corresponding to the target configuration logic object.

[0142] Optionally, performing a modification operation on a configuration logic object of the distributed control system includes at least one of the following:

[0143] Insertion operation on configuration logic objects;

[0144] Parameter setting operations for configuration logic objects;

[0145] Deletion operation on configuration logic objects;

[0146] Enable operations on configuration logic objects;

[0147] Disables operations on configured logic objects.

[0148] Optionally, the instruction includes a configuration page command and / or an algorithm model command; and the control logic configuration device further includes:

[0149] A modification module, configured to, in response to a configuration page command, perform a modification operation on at least one configuration page targeted by the configuration page command;

[0150] The modification module is also used to perform a modification operation on at least one algorithm model targeted by the algorithm model command in response to the algorithm model command.

[0151] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.

[0152] Figure 8 The schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present invention shows a block diagram of an exemplary electronic device 80 suitable for implementing the embodiment of the present invention. Figure 8 The electronic device 80 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0153] like Figure 8As shown, the electronic device 80 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 80 may include, but are not limited to: at least one processor 81, at least one memory 82, and a bus 83 connecting different system components (including the memory 82 and the processor 81).

[0154] The bus 83 includes a data bus, an address bus, and a control bus.

[0155] The memory 82 may include a volatile memory, such as a random access memory (RAM) 821 and / or a cache memory 822 , and may further include a read-only memory (ROM) 823 .

[0156] The memory 82 may also include a program tool 825 (or utility) having a set (at least one) of program modules 824, such program modules 824 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0157] The processor 81 executes various functional applications and data processing by running the computer program stored in the memory 82, such as the method provided in any of the above embodiments.

[0158] The electronic device 80 may also communicate with one or more external devices 84 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 85. Furthermore, the model-generated electronic device 80 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 86. As shown, the network adapter 86 communicates with other modules of the model-generated electronic device 80 via a bus 83. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated electronic device 80, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0159] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0160] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method provided by any of the above embodiments is implemented.

[0161] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0162] In a possible implementation manner, the embodiment of the present invention may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute a method for implementing any of the above embodiments.

[0163] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0164] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A control logic configuration method for a distributed control system, characterized in that: The distributed control system includes a controller; the control logic configuration method includes: Monitor whether there are any instructions for modifying the configuration logic objects of the distributed control system; When the instruction is detected, determining the target configuration logic object targeted by the instruction; Downloading the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object; Before the step of downloading the control logic represented by the target CLO into the controller corresponding to the target CLO, the method further includes: Performing a validity check on the target configuration logic object; If the verification is passed, the step of downloading the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object is executed; If the verification fails, an alarm is generated.

2. The control logic configuration method of a distributed control system according to claim 1, characterized in that: The target configuration logic object includes a configuration page and / or an algorithm model; The configuration page is the carrier of the algorithm model; One of the configuration pages carries at least one of the algorithm models.

3. The control logic configuration method of a distributed control system according to claim 1, characterized in that: Performing a validity check on the target configuration logic object includes at least one of the following: Performing a validity check on the parameters configured by the target configuration logic object; The legality of the input and output relationship of the target configuration logic object is checked.

4. The control logic configuration method of a distributed control system according to any one of claims 1 to 3, characterized in that: The target configuration logic object is represented by an icon; The control logic represented by the target configuration logic object is downloaded to the controller corresponding to the target configuration logic object, including: Determine the target control logic corresponding to the icon of the target configuration logic object according to the corresponding relationship between the icon and the control logic; The target control logic is downloaded to the controller corresponding to the target configuration logic object.

5. The control logic configuration method of a distributed control system according to claim 1, characterized in that: The modification operation is performed on the configuration logic object of the distributed control system, including at least one of the following: Insertion operation on the configuration logic object; Parameter setting operation for the configuration logic object; Deletion operation on the configuration logic object; enabling operation on the configuration logic object; A disabling operation on the configuration logic object.

6. The control logic configuration method of a distributed control system according to claim 2, characterized in that: The instructions include configuration page commands and / or algorithm model commands; The control logic configuration method also includes: In response to the configuration page command, performing a modification operation on at least one of the configuration pages targeted by the configuration page command; In response to the algorithm model command, a modification operation is performed on at least one of the algorithm models targeted by the algorithm model command.

7. A control logic configuration device for a distributed control system, characterized in that: include: A monitoring module is used to monitor whether there are instructions for modifying the configuration logic objects of the distributed control system; A determination module, used for determining the target configuration logic object targeted by the instruction when the instruction is detected; A download module, used to download the control logic represented by the target configuration logic object into the controller corresponding to the target configuration logic object; The download module is further used to perform a legitimacy check on the target configuration logic object; if the check passes, the step of downloading the control logic represented by the target configuration logic object to the controller corresponding to the target configuration logic object is executed; If the verification fails, an alarm is generated.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the control logic configuration method of the distributed control system according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control logic configuration method of the distributed control system according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Off-line configuration comparison method and system for distributed control system

    CN113778038A

  • Method and system for generating communication data between DCS controllers, equipment and storage medium

    CN113778041A

  • Configuration creation method of distributed control system, system and equipment and medium

    CN113791594A