CN113156902B - Configuration consistency checking and processing method of DCS (distributed control system) - Google Patents

Configuration consistency checking and processing method of DCS (distributed control system) Download PDF

Info

Publication number
CN113156902B
CN113156902B CN202110395539.1A CN202110395539A CN113156902B CN 113156902 B CN113156902 B CN 113156902B CN 202110395539 A CN202110395539 A CN 202110395539A CN 113156902 B CN113156902 B CN 113156902B
Authority
CN
China
Prior art keywords
controller
configuration
configuration tool
inconsistent
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110395539.1A
Other languages
Chinese (zh)
Other versions
CN113156902A (en
Inventor
胡波
张军
谭良良
高少华
蔡丹
刘畅
陈宏君
柳曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NR Engineering Co Ltd
Xian Thermal Power Research Institute Co Ltd
Original Assignee
NR Engineering Co Ltd
Xian Thermal Power Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NR Engineering Co Ltd, Xian Thermal Power Research Institute Co Ltd filed Critical NR Engineering Co Ltd
Priority to CN202110395539.1A priority Critical patent/CN113156902B/en
Publication of CN113156902A publication Critical patent/CN113156902A/en
Application granted granted Critical
Publication of CN113156902B publication Critical patent/CN113156902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33273DCS distributed, decentralised controlsystem, multiprocessor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a method for checking and processing configuration consistency of a DCS (distributed control system), which comprises the following steps of: the configuration tool of the DCS control system is successively connected with the controller of the DCS control system, the configuration file in the controller is loaded to the configuration tool, and the configuration tool analyzes the parameters of the functional blocks in the configuration file; the configuration tool acquires debugging data sent by the controller; comparing the local function block parameters in the configuration tool with the function block parameters in the configuration file obtained by analysis, and acquiring the information of inconsistent function block parameters; and comparing the local debugging data in the configuration tool with the debugging data sent by the controller to acquire inconsistent information of the debugging data. The invention can eliminate the problem of inconsistent configuration parameters, improve the engineering debugging efficiency and eliminate potential safety hazards.

Description

Configuration consistency checking and processing method of DCS (distributed control system)
Technical Field
The invention belongs to the field of configuration design of industrial control systems, and particularly relates to a configuration consistency checking and processing method of a DCS (distributed control system).
Background
In a large DCS system, there are 40 more pairs of controllers for 1 project, and a single controller can have a 1000-page configuration. In the engineering debugging stage, because the method is limited by working condition simulation, in order to facilitate debugging but not frequently download configuration, the parameters of functional blocks of some visual logic configuration pages are modified on line, so as to debug complex logic.
The failure of configuration downloading operation after the on-line modification of the logical page parameters results in inconsistency between the logical configuration page file parameters and the parameters in the controller. Before the formal operation, the memory parameters and the file parameters of the controller in the configuration project need to be ensured to be consistent, the whole configuration is large in scale, and the logical configuration pages of the last ten thousand pages are checked and compared one by one manually, so that omission is easy.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a configuration consistency checking and processing method of a DCS control system, which can eliminate the problem of inconsistent configuration parameters, improve the engineering debugging efficiency and eliminate potential safety hazards.
In order to solve the technical problems, the invention is realized by the following technical scheme:
a configuration consistency checking and processing method of a DCS control system comprises the following steps:
the configuration tool of the DCS control system is successively connected with a controller of the DCS control system, a configuration file in the controller is loaded to the configuration tool, and the configuration tool analyzes the parameters of the functional blocks in the configuration file;
the configuration tool acquires debugging data sent by the controller;
comparing the local function block parameters in the configuration tool with the function block parameters in the configuration file obtained by analysis, and acquiring the information of inconsistent function block parameters; and comparing the local debugging data in the configuration tool with the debugging data sent by the controller to acquire inconsistent information of the debugging data.
Further, the configuration tool of the DCS control system is successively connected to the controller of the DCS control system, and the configuration tool is loaded with the configuration file in the controller, and specifically includes:
the configuration tool is connected with the controllers one by one according to the number of the controllers, and if the connection is unsuccessful, the next controller is continuously connected; if the connection is successful, sequentially inquiring the program organization unit list under the controller, and uploading the configuration file in the controller to a configuration tool.
Further, the acquiring, by the configuration tool, the debugging data sent by the controller specifically includes:
the configuration tool acquires a program organization unit list in the controller, issues debugging data messages to the controller according to the sequence of the program organization units, and receives debugging data sent by the controller;
and the configuration tool analyzes the debugging data of the current program organization unit and then fills the debugging data into the corresponding functional block.
Further, the configuration tool obtains the debugging data sent by the controller, and further includes:
and after the debugging data is filled into the corresponding functional block, closing the view corresponding to the current program organization unit and releasing the dynamically allocated memory data.
Further, after the information of the inconsistent parameters of the function blocks is obtained, the controllers are used as nodes, and the function blocks with inconsistent parameters of the function blocks are summarized and displayed according to the number of the program organization units in each controller.
Furthermore, the function blocks with inconsistent parameters of the function blocks are summarized and displayed according to the number of program organization units in each controller, and the function blocks comprise function block node numbers, function block instance names, inconsistent parameter types, inconsistent parameter names, inconsistent parameter memory values and file values.
Further, after the information that the parameters of the function blocks are inconsistent is obtained, the function blocks with inconsistent parameters of the function blocks are displayed through a consistency checking result display interface.
Further, when the function blocks with inconsistent function block parameters displayed on the consistency check result display interface are triggered, jumping to the logic configuration visualization page corresponding to the function blocks with inconsistent function block parameters, and directly positioning to the corresponding function blocks.
Further, after the function block is directly positioned, the function block is triggered to pop up the attribute setting dialog box of the function block, and the parameters of the function block are reset in the attribute setting dialog box according to the parameter comparison result.
Compared with the prior art, the invention at least has the following beneficial effects: the invention provides a configuration consistency check processing method of a DCS control system, which comprises the steps of successively connecting a controller of the DCS control system through a configuration tool of the DCS control system, uploading a configuration file in the controller to the configuration tool, and analyzing functional block parameters in the configuration file by the configuration tool; the configuration tool acquires debugging data sent by the controller; comparing the local function block parameters in the configuration tool with the function block parameters in the configuration file obtained by analysis, and acquiring the information of inconsistent function block parameters; and comparing the local debugging data in the configuration tool with the debugging data sent by the controller to acquire the inconsistent information of the debugging data. The consistency check function of the functional block parameters and the debugging data in the controller file and the configuration tool file in the industrial control system is realized, the system reliability and the engineering debugging efficiency are improved, the function of automatically searching the inconsistency of the parameters of the configuration functional blocks in the whole engineering is realized, the safety of DCS configuration is ensured, the configuration debugging efficiency is improved, and a better effect is achieved in the application of a plurality of thermal generator set configurations.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a configuration consistency check according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As a specific embodiment of the present invention, a configuration consistency checking processing method for a DCS control system includes the steps of:
the configuration tool of the DCS control system is successively connected with the controller of the DCS control system, the configuration file in the controller is loaded to the configuration tool, and the configuration tool analyzes the parameters of the functional blocks in the configuration file;
specifically, the configuration tool connects the controllers one by one according to the number of the controllers, and if the connection is unsuccessful, the configuration tool continues to connect the next controller; if the connection is successful, sequentially inquiring the program organization unit list under the controller, and uploading the configuration file in the controller to a configuration tool.
The configuration tool acquires debugging data sent by the controller, specifically, the configuration tool acquires a program organization unit list in the controller, sends a debugging data message to the controller according to the sequence of the program organization unit, and receives the debugging data sent by the controller; the configuration tool analyzes the debugging data of the current program organization unit, fills the debugging data into the corresponding functional block, closes the view corresponding to the current program organization unit and releases the dynamically allocated memory data after filling the debugging data into the corresponding functional block.
And comparing the local function block parameters in the configuration tool with the function block parameters in the configuration file obtained by analysis to obtain the information of inconsistent function block parameters, and comparing the local debugging data in the configuration tool with the debugging data sent by the controller to obtain the information of inconsistent debugging data.
In the invention, after the information of inconsistent parameters of the function blocks is obtained, the controllers are used as nodes, the function blocks with inconsistent parameters of the function blocks are summarized and displayed according to the number of program organization units in each controller, and the display specifically comprises the node number of the function block, the instance name of the function block, the type of the inconsistent parameters, the name of the inconsistent parameters, the memory value of the inconsistent parameters and the file value.
As a preferred embodiment, after the information that the parameters of the function blocks are inconsistent is obtained, the function blocks with inconsistent parameters of the function blocks are displayed on the display interface according to the consistency check result, and when the function blocks with inconsistent parameters of the function blocks displayed on the display interface according to the consistency check result are triggered, the logic configuration visualization page corresponding to the function blocks with inconsistent parameters of the function blocks is automatically skipped to, and the corresponding function blocks can be directly positioned. In the embodiment, the function blocks with inconsistent parameters can be clicked by a mouse; preferably, after the corresponding function block is located, the corresponding function block displays an outer enclosure box to display that the current function block is in the selected state.
As a preferred embodiment, after the function block is directly located, the function block can pop up the attribute setting dialog box by triggering the function block, and the parameters of the function block are reset in the attribute setting dialog box according to the result of parameter comparison. In this embodiment, a function block with inconsistent function block parameters can be clicked by double clicking a mouse, and a dialog box for setting the function block attributes can be triggered to pop up.
Examples
A DCS control system project comprises a plurality of controllers, products corresponding to visual logic configuration pages in a single controller are generated uniformly by taking program organization units as units, and the single controller supports at most 1000 program organization unit files (POUs). As shown in fig. 1, the specific implementation steps are as follows:
s1: reading a controller list DPU, wherein the number of controllers is M, and i =0 is set;
s2: the network is connected with a controller DPU [ i ], if the connection is unsuccessful, i = i +1, and the next controller is continuously connected;
s3: inquiring and acquiring a POU number list of a DPU [ i ] of a controller, wherein the total number of POUs is N, and j =0 is set;
s4: sending debugging data for checking DPU [ i ] and POU [ j ] to a controller, receiving the debugging data sent by the controller by a configuration tool, analyzing the debugging data of a current program organization unit, filling the debugging data into corresponding logic configuration function blocks, traversing all function blocks in a logic configuration page to carry out parameter consistency comparison, and summarizing a function block list with inconsistent parameters; after traversing all the function blocks, closing the visual view corresponding to the current program organization unit and releasing dynamically allocated memory data;
s5: continuously traversing the debugging data of the next program organization unit, and executing j = j +1; if j is larger than N, jumping to S6; if j < = N, jump to S4.
S6: continuously traversing the next controller, and executing i = i +1; if i is larger than M, jumping to S7; if i < = M, jumping to S2;
s7: taking a single controller as a display node, and hierarchically summarizing and displaying function blocks with inconsistent parameters in the consistency check result according to the task level; and clicking the corresponding function block to inquire the result list item, automatically jumping to the corresponding logic configuration visual page, and jumping to the corresponding function block, wherein the function block displays an outer surrounding frame to show that the current function block is in a selected state. According to the configuration consistency check result, double-clicking the corresponding function block on the visual page, popping up a corresponding function block attribute setting dialog box, and setting the comparison parameters in the dialog box. Taking a thermal power unit control system as an example, about 40 pairs of controllers are usually provided under one project, and a single controller has 1000 POUs at most, so that the processing method for checking the configuration consistency realizes the automation of checking the consistency of a large number of configuration pages, avoids the defect that the parameters of functional blocks need to be checked manually one by one in the prior art, greatly improves the configuration debugging efficiency of the thermal power unit, and obtains better application effect in the actual configuration project application.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the following descriptions are only illustrative and not restrictive, and that the scope of the present invention is not limited to the above embodiments: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (1)

1. A method for checking and processing configuration consistency of a DCS control system is characterized by comprising the following steps:
the configuration tool of the DCS control system is successively connected with the controller of the DCS control system, the configuration file in the controller is loaded to the configuration tool, and the configuration tool analyzes the parameters of the functional blocks in the configuration file;
the configuration tool acquires debugging data sent by the controller;
comparing local function block parameters in the configuration tool with function block parameters in a configuration file obtained through analysis to obtain information that the function block parameters are inconsistent, and summarizing and displaying the function blocks with inconsistent function block parameters, including function block node numbers, function block instance names, inconsistent parameter types, inconsistent parameter names, inconsistent parameter memory values and file values, according to the number of program organization units in each controller by taking the controllers as nodes after the information that the function block parameters are inconsistent is obtained; displaying the function blocks with inconsistent parameters of the function blocks through a consistency check result display interface;
comparing local debugging data in the configuration tool with debugging data sent by a controller to acquire inconsistent information of the debugging data;
the configuration tool of the DCS control system is successively connected with the controller of the DCS control system, and the configuration tool is loaded with the configuration files in the controller and specifically comprises the following steps:
the configuration tool connects the controllers one by one according to the number of the controllers, and if the connection is unsuccessful, the configuration tool continues to connect the next controller; if the connection is successful, sequentially inquiring a program organization unit list under the controller, and uploading a configuration file in the controller to a configuration tool;
the configuration tool obtains debugging data sent by the controller, and specifically comprises:
the configuration tool acquires a program organization unit list in the controller, issues debugging data messages to the controller according to the sequence of the program organization units, and receives debugging data sent by the controller;
the configuration tool analyzes the debugging data of the current program organization unit and then fills the debugging data into the corresponding functional block;
the configuration tool obtains debugging data sent by the controller, and further comprises:
after the debugging data is filled into the corresponding function block, closing the view corresponding to the current program organization unit and releasing the dynamically allocated memory data;
and when the function blocks with inconsistent function block parameters displayed on the consistency check result display interface are triggered, jumping to the logic configuration visual page corresponding to the function blocks with inconsistent function block parameters, directly positioning to the corresponding function blocks, popping up the attribute setting dialog box of the function blocks by triggering the function blocks, and resetting the parameters of the function blocks in the attribute setting dialog box according to the parameter comparison result.
CN202110395539.1A 2021-04-13 2021-04-13 Configuration consistency checking and processing method of DCS (distributed control system) Active CN113156902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110395539.1A CN113156902B (en) 2021-04-13 2021-04-13 Configuration consistency checking and processing method of DCS (distributed control system)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110395539.1A CN113156902B (en) 2021-04-13 2021-04-13 Configuration consistency checking and processing method of DCS (distributed control system)

Publications (2)

Publication Number Publication Date
CN113156902A CN113156902A (en) 2021-07-23
CN113156902B true CN113156902B (en) 2023-01-31

Family

ID=76890305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110395539.1A Active CN113156902B (en) 2021-04-13 2021-04-13 Configuration consistency checking and processing method of DCS (distributed control system)

Country Status (1)

Country Link
CN (1) CN113156902B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113759850B (en) * 2021-09-13 2022-12-13 西安热工研究院有限公司 Method for searching forced state function block by DCS (distributed control System) of thermal power plant
CN113568398B (en) * 2021-09-26 2021-12-07 西安热工研究院有限公司 Configuration deleting method and system for distributed control system
CN113759859B (en) * 2021-11-09 2022-02-11 西安热工研究院有限公司 Online configuration comparison method and system for distributed control system
CN113778038B (en) * 2021-11-09 2022-02-11 西安热工研究院有限公司 Offline configuration comparison method and system for distributed control system
CN113778041B (en) * 2021-11-11 2022-02-15 西安热工研究院有限公司 Method, system, equipment and storage medium for generating communication data between DCS controllers
CN117032196A (en) * 2023-10-09 2023-11-10 西安热工研究院有限公司 Method, system and equipment for reading back configuration parameters of industrial control system controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714468A (en) * 2014-12-31 2015-06-17 北京纵横机电技术开发公司 Method of comparison between continuous functional diagram files
CN106647675A (en) * 2017-01-17 2017-05-10 爱普(福建)科技有限公司 Industrial control system configuration file and configuration data real-time monitoring method
CN107844099A (en) * 2016-09-18 2018-03-27 南京南瑞继保电气有限公司 A kind of FBD on-line debugging method based on metadata schema
CN109743337A (en) * 2019-03-20 2019-05-10 中国核动力研究设计院 The lower dress means of communication in nuclear safe level DCS system based on Transmission Control Protocol

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0205951D0 (en) * 2002-03-14 2002-04-24 Ibm Methods apparatus and computer programs for monitoring and management of integrated data processing systems
US10572470B2 (en) * 2017-04-06 2020-02-25 International Business Machines Corporation Enhanced FSCK mechanism for improved consistency in case of erasure coded object storage architecture built using clustered file system
CN111401028B (en) * 2020-03-19 2023-12-26 北京广利核系统工程有限公司 Automatic comparison method and device for RPS software versions of nuclear power station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714468A (en) * 2014-12-31 2015-06-17 北京纵横机电技术开发公司 Method of comparison between continuous functional diagram files
CN107844099A (en) * 2016-09-18 2018-03-27 南京南瑞继保电气有限公司 A kind of FBD on-line debugging method based on metadata schema
CN106647675A (en) * 2017-01-17 2017-05-10 爱普(福建)科技有限公司 Industrial control system configuration file and configuration data real-time monitoring method
CN109743337A (en) * 2019-03-20 2019-05-10 中国核动力研究设计院 The lower dress means of communication in nuclear safe level DCS system based on Transmission Control Protocol

Also Published As

Publication number Publication date
CN113156902A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN113156902B (en) Configuration consistency checking and processing method of DCS (distributed control system)
CN109302522B (en) Test method, test device, computer system, and computer medium
EP3101547A1 (en) Control system, method, program and information processing device
CN108563579B (en) White box testing method, device and system and storage medium
CN110659198A (en) Application program test case execution method and device and software test system
CN112269744A (en) System abnormity testing method and device, computer equipment and storage medium
CN112241360A (en) Test case generation method, device, equipment and storage medium
CN110865840A (en) Application management method, device, server and storage medium
CN111767209A (en) Code testing method, device, storage medium and terminal
CN113189961B (en) Forced state searching processing method
CN112052070A (en) Application containerization evaluation method and device, electronic equipment and storage medium
CN111695238A (en) System and method for visualizing transient simulation data of power system
WO2004068347A1 (en) Method and apparatus for categorising test scripts
CN111638905A (en) Version number generation method and device, electronic equipment and readable storage medium
CN112905445A (en) Log-based test method and device and computer system
CN112395176A (en) Method, device, system, equipment, processor and storage medium for testing distributed cloud storage performance
US10303584B2 (en) Method for message-processing
CN117278384B (en) Linkage alarm realization method, system and device based on rule chain
CN110928219B (en) Method for quickly accessing working condition parameters of engineering machinery
CN113535537A (en) Machine abnormality simulation method, device, storage medium and apparatus
CN115794642A (en) Test environment deployment method, device, equipment and storage medium
CN114217569A (en) Industrial control plc data monitoring method, device, electronic device, and storage medium
CN114546697A (en) Information processing method and device
CN113778895A (en) Automatic interface testing method and device
CN115934553A (en) Software asset quality verification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant