Hardware and logic design automatic conversion method and system of nuclear power instrument control system

Through the automatic conversion method of nuclear power instrument control system designed by modular and parameterized, the problem of insufficient processing of hardware and logical configuration information in the existing technology is solved, flexibility and automatic error checking capabilities are achieved, and DCS function integrity and Design accuracy shortens the design cycle.

CN119150546APending Publication Date: 2024-12-17SHANGHAI NUCLEAR ENGINEERING RESEARCH & DESIGN INSTITUTE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411210690.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The automatic conversion method of existing nuclear power instrument control systems is insufficient, and the hardware and logic configuration information cannot be processed simultaneously, resulting in a prolonged design cycle, lack of flexibility and automatic error checking capabilities, difficulty in adapting to device selection and parameter changes, and lack of visualization methods to Confirm data integrity.

Method used

Adopt the automatic conversion method of hardware and logic design with modular and parameterized design. By obtaining hardware and logic configuration data, identifying and checking data integrity, automatically completing parameters using the extensible markup language, generating visual inspection results, and importing distributions control system, introducing automatic error checking and visual detection mechanisms.

Benefits of technology

It realizes the simultaneous processing of hardware and logical configuration information, ensures the integrity of DCS functions, improves the flexibility of automatic conversion methods, shortens the design iteration cycle, reduces workload and cost, improves design accuracy and reliability, and can Quickly identify and correct data integrity issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150546A_ABST
    Figure CN119150546A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of nuclear power instrument control system engineering design, and provides an automatic conversion method and system for hardware and logic design of a nuclear power instrument control system, and the method comprises the steps: obtaining hardware and logic configuration data; identifying a configuration data object, performing integrity and validity check on the configuration data, binding error information with the configuration data object, and generating a visual check result; when a control strategy and a demand are changed, according to a preset extensible markup language, compiling the parameter mapping relationship in sequence, and automatically complementing each attribute parameter; and outputting the generated configuration file and importing the configuration file into the distributed control system. Hardware and logic configuration information can be processed at the same time, the integrity of DCS functions is ensured, modular and parameterized design is adopted, the flexibility of the automatic conversion method is improved, an automatic debugging and visual detection mechanism is introduced, the data integrity problem can be found and corrected in the early stage, and the design iteration period is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of nuclear power instrumentation and control system engineering design, and in particular to a method and system for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system. Background Art

[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.

[0003] In the instrumentation and control system of nuclear power plants, DCS (distributed control system) is the key technology for monitoring and controlling nuclear reactors and auxiliary systems. In the traditional design process, instrumentation and control system engineers use graphic drawing tools to design function diagrams, and software design engineers then perform configuration design of the DCS platform based on them. However, due to the large scale of the instrumentation and control system, the design cycle is extended. The existing technology reduces the workload by automatically converting function diagrams to configuration files, but there are the following shortcomings:

[0004] 1) Insufficient automatic conversion integrity.

[0005] The existing automatic conversion method is limited to software function configuration and does not cover hardware configuration information, such as controller, card and channel configuration, resulting in the inability to realize basic control functions such as signal input and command output, and it is difficult to support the function realization of DCS.

[0006] 2) The automatic conversion method is not flexible enough.

[0007] The existing methods are based on fixed-function design and lack adaptability to newly added control functions, and cannot meet the new functional requirements of nuclear power plant instrumentation and control systems brought about by changes in equipment selection and parameter standards.

[0008] 3) The automatic conversion error checking capability is weak.

[0009] Existing methods lack automatic error correction mechanisms and visualization methods, making it difficult for software design engineers to confirm the integrity and reliability of data at an early stage, which increases the software testing and iteration cycle. Summary of the invention

[0010] In view of the above-mentioned defects, the present invention proposes a method and system for automatic conversion of hardware and logic design of nuclear power instrumentation and control system, which can simultaneously process hardware and logic configuration information to ensure the integrity of DCS functions, adopt modular and parameterized design to improve the flexibility of the automatic conversion method, introduce automatic error checking and visual detection mechanism, which can discover and correct data integrity problems in the early stage and shorten the design iteration cycle.

[0011] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:

[0012] The first aspect of the present disclosure provides a method for automatically converting hardware and logic designs of a nuclear power instrumentation and control system, comprising the following steps:

[0013] Obtain hardware and logic configuration data;

[0014] Identify configuration data objects, check the integrity and validity of configuration data, bind error information to configuration data objects, and generate visual inspection results;

[0015] When the control strategy and requirements change, the parameter mapping relationship is written in sequence according to the preset extensible markup language, and various attribute parameters are automatically completed;

[0016] Export the generated configuration file and import it into the distributed control system.

[0017] As a further implementation method, the hardware and logic design is completed on the Engineering Base platform to form hardware and logic configuration data.

[0018] As a further implementation, the information of the hardware and logic configuration data is integrated together through a configurable XML file.

[0019] As a further implementation, the visual inspection result informs the user of error information in the form of an error log.

[0020] As a further implementation, the error information is bound to the configuration data object, specifically:

[0021] Get all the attributes in the attribute library and store them in the dictionary according to the attribute ID and attribute name so that log errors can be specific to object attributes.

[0022] As a further implementation method, when control strategies and requirements change, configuration files can be quickly and flexibly adapted and modified through configurable tools.

[0023] As a further implementation, the parameter configuration tool is used to modify the hardware configuration data, and the legend configuration tool is used to modify the logic configuration data.

[0024] A second aspect of the present disclosure provides a system for automatically converting hardware and logic designs of a nuclear power instrumentation and control system, comprising:

[0025] The data acquisition module is configured to: acquire hardware and logic configuration data;

[0026] The automatic checking module is configured to: identify the configuration data object, perform integrity and validity check on the configuration data, bind error information to the configuration data object, and generate visual checking results;

[0027] The parameter configuration module is configured to: when the control strategy and requirements change, the parameter mapping relationship is written in sequence according to the preset extensible markup language, and each attribute parameter is automatically completed;

[0028] The configuration conversion module is configured to: output the generated configuration file and import it into the distributed control system.

[0029] The third aspect of the present disclosure provides a medium on which a program is stored. When the program is executed by a processor, the steps of the method for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system described in the first aspect of the present disclosure are implemented.

[0030] The fourth aspect of the present disclosure provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the method for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system described in the first aspect of the present disclosure are implemented.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] The present disclosure proposes a method and system for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system, which can process hardware and logic configuration information at the same time and generate configuration files that can be recognized by the DCS platform to ensure the integrity of the DCS function. The modular and parametric design is adopted to provide flexibility of the automatic conversion method to adapt to the ever-changing control strategies and functional requirements. The use of parametric configuration tools allows users to adjust configuration parameters according to specific needs to achieve personalized system configuration. The modular design allows system components to be updated independently, reducing the workload and cost of the overall system upgrade. The introduction of automatic error checking and visual detection mechanisms provides data integrity and validity checks, and visualizes the inspection results, allowing engineers to discover and correct data integrity problems at an early stage, shorten the design iteration cycle, and improve design accuracy and reliability.

[0033] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.

[0035] Figure 1 It is a framework diagram of the method for automatic conversion of hardware and logic design of the nuclear power instrumentation and control system disclosed in the present invention;

[0036] Figure 2It is a flow chart of the method for automatic conversion of hardware and logic design of nuclear power instrumentation and control system disclosed in the present invention;

[0037] Figure 3 is the interface design diagram of the automatic conversion tool disclosed in the present invention;

[0038] Figure 4 It is a parameter configuration tool interface design diagram of the present disclosure;

[0039] Figure 5 It is a design diagram of the interface of the legend configuration tool of the present disclosure;

[0040] Figure 6 It is an example display of the automatic checking error log of hardware configuration data disclosed in the present invention;

[0041] Figure 7 It is an example display of the automatic error log of the logic configuration data disclosed in the present invention;

[0042] Figure 8 It is a display of the hardware configuration extensible markup language and configuration file examples disclosed in the present invention;

[0043] Fig. 9 It is a display of the logical configuration extensible markup language and configuration file examples disclosed in the present invention. DETAILED DESCRIPTION

[0044] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0045] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.

[0046] In the absence of conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other.

[0047] Embodiment 1

[0048] like Figure 1-2 As shown, the first embodiment of the present disclosure provides a method for automatically converting the hardware and logic design of a nuclear power instrumentation and control system, which mainly includes the following steps:

[0049] S1 obtains hardware and logic configuration data;

[0050] S2 identifies the configuration data object, performs integrity and validity checks on the configuration data, binds the error information to the configuration data object, and generates visual inspection results;

[0051] S3 When the control strategy and requirements change, the parameter mapping relationship is written in sequence according to the preset extensible markup language, and various attribute parameters are automatically completed;

[0052] S4 outputs the generated configuration file and imports it into the distributed control system.

[0053] The implementation of the technical solution of the present invention uses Engineering Base (hereinafter referred to as EB platform) as a platform, completes hardware and logic design on the Engineering Base platform, and forms hardware and logic configuration data. After completing the hardware design and logic design of the instrumentation and control system, the hardware configuration data and the logic configuration data are generated together in a text format recognizable by the DCS platform according to the EB object and attribute parameter data. After the design is completed, it can be downloaded to the DCS platform, and then supplemented by modular and parameterized configuration tools and visual automatic error checking functions, so that the automatic conversion method has the characteristics of personalized configuration, flexible adaptation and visualization.

[0054] The techniques and algorithms of this method include:

[0055] WPF UI design and interaction; obtaining data sources and using SQL stored procedures to filter data; searching and storing data in data tables; converting between .Net structured data and Extensible Markup Language serialization; comparing and locating text file contents; reading and storing property libraries; creating databases and data tables.

[0056] like Figure 1 As shown in the figure, the workflow and system components of the automatic conversion method are described in detail, where the core system components include:

[0057] Automatic check module: provides data integrity and validity checks, and visualizes the check results.

[0058] Parameter configuration module: provides the function of quickly adapting to changes in EB platform hardware configuration requirements.

[0059] Legend configuration module: provides the function of quickly adapting to changes in EB platform logic configuration requirements.

[0060] Extensible Markup Language: Provides data communication between programs, stores configuration file format information and data objects, and quickly adapts to changes in DCS platform configuration file formats and content.

[0061] Configuration conversion program: automatic conversion program that provides the function of generating configuration files.

[0062] The specific workflow of the automatic conversion method is as follows:

[0063] 1) Hardware and logic design.

[0064] Complete the hardware and logic design on the EB platform to form configuration data. Configuration data is defined and stored in the following ways:

[0065] The Matrix class is used to define and store IO matrix information.

[0066] The CardObject class is used to define and save the structural information of the card.

[0067] The IOSignal class is used to define and save signal-related information.

[0068] The Cabinet class is used to define and save cabinet-related information.

[0069] The LogicConfig class is used to define and save logic related information.

[0070] 2) Automatically check the configuration data.

[0071] According to the automatic check module, the integrity and validity of the configuration data are checked, and the check results are visualized. The error information is notified to the user in the form of an error log, and the error information is bound to the design object to quickly locate the problem. The automatic check program obtains all the attributes in the attribute library and stores them in the dictionary according to the attribute ID and attribute name, so that the log error can be specific to the object attribute. The DBCommand module is used to save functions for database-related operations, such as stored procedure creation and data query. During the conversion process, if the attribute parameter is missing, the conversion program will not be interrupted. After the conversion is completed, the error log can be saved in the system for viewing.

[0072] 3) Modify configuration tool parameters.

[0073] The present invention provides modular and parameterized data configuration tools, which are used to modify hardware configuration data (parameter configuration tool) and logic configuration data (legend configuration tool) respectively, and realize automatic conversion method. When the control strategy and demand change, the configuration file can be quickly and flexibly adapted and modified through the configurable tool. When the content format or attribute ID of the configuration txt file changes, the corresponding node content in the configuration file can be adjusted through the configuration tool to avoid modifying the program code. Among them:

[0074] The Configuration module is used to save commonly used constants and variables that may be modified later, such as attribute IDs.

[0075] The Common module is used to save commonly used general functions, such as configuration file export and upload.

[0076] 4) Run the configuration file conversion program.

[0077] The data information of hardware and logic configuration (including graphic information, connection relationship, etc.) is integrated together through various methods and functions, and written one by one according to the text format requirements of the DCS platform configuration file, and finally a complete configuration file is generated. Among them:

[0078] The ControllerCommon class is used to define and obtain various information of the control station and write it into a txt text file according to the configuration requirements.

[0079] The VirControllerCommon class is used to define and obtain various information of the virtual control station and write it into a txt text file according to the configuration requirements.

[0080] The CardChannalCommon class is used to define and obtain the information of all cards in the control station and write it into a txt text file according to the configuration requirements.

[0081] The PdirectoryCommon class is used to define various information of the required signals in the control station and write them into a txt text file according to the configuration requirements.

[0082] The LogicalCommon class is used to define and obtain the information of each logical block in the drawing and write it into a txt text file according to the configuration requirements.

[0083] The PointList class is used to define various information about switch and analog signals and write them into a txt file according to configuration requirements.

[0084] The automatic conversion process is as follows:

[0085] a) Get all attribute storage IDs and attribute names in the attribute library, and load all controller information.

[0086] b) Select all signals under the controller and automatically distinguish between switch signals and analog signals.

[0087] c) Automatically complete various attribute parameters on switch signals and analog signals through data point updates.

[0088] d) After the data point update is completed, perform "configuration information update" to obtain the relevant objects under the controller and complete the information of various objects required for the subsequent configuration txt file generation.

[0089] e) Automatic conversion to txt can only be performed after the information is completed.

[0090] f) According to the format of the controller information in the configuration file, obtain the controller-related information and write it into a txt file.

[0091] g) Check whether there is a "virtual device" file under the controller, and decide whether to write the corresponding virtual controller related information in the configuration file.

[0092] h) Get all the card information under the controller and sort them according to the card "hardware address*16+slot number". According to the sorted card order and the card type, find the corresponding card information format in the configuration file, grab the attribute parameters of the card itself, and the channel parameters in the card, and write them into a txt file.

[0093] i) Get all control logic objects and associated drawings under the controller, sort them according to the drawing page number, and write various attribute parameters into a txt file according to the logic page information format in the configuration file.

[0094] j) Filter the function block objects through the data table, sort them by "block number", and write each attribute parameter into the txt file in turn according to the legend configuration format.

[0095] k) Obtain all switch signals and analog signals under the controller, and according to the information format of the point directory in the configuration file, grab the required attribute parameters of all signals in the corresponding format and write them into a txt file.

[0096] l) Finally, import the generated txt file from the local to the EB project> Document> Configuration txt conversion file> User name folder.

[0097] 5) Import DCS platform.

[0098] Download the converted configuration file directly to the DCS platform to complete the configuration work of the DCS platform.

[0099] The technical solution disclosed in the present invention can process hardware and logic configuration information at the same time, ensure the integrity of DCS functions, solve the problem of limited logic configuration conversion in the prior art, and save about 99.66% of the total workload compared to manual hardware configuration.

[0100] Manual configuration: 1 day / control station, 59 pairs of control stations for a single unit, 2 rounds of iterations, total workload = 177 people / day.

[0101] Automatic conversion: 5 minutes / controller, total workload = 0.6 man / day.

[0102] The application of the automatic checking module can identify and report data integrity and validity issues at an early stage, reducing human errors. Through visual error logs and bound design objects, engineers can quickly locate and solve problems, thereby shortening the design iteration cycle. The error recognition rate is 99.99%, and the average time required to locate problems is reduced to less than 5% of the original time.

[0103] Modular and parameterized design allows the system to easily adapt to changes in hardware and logic configuration requirements without large-scale redesign. The time required for configuration changes is reduced to less than 1 hour. Among them, the use of parameterized configuration tools allows users to adjust configuration parameters according to specific needs and realize personalized system configuration. Modular design allows system components to be updated independently, reducing the workload and cost of overall system upgrades. In addition, the visual automatic error checking function and intuitive configuration tool interface improve the ease of use for non-professional users and reduce the difficulty of operation.

[0104] Embodiment 2

[0105] Embodiment 2 of the present disclosure provides a system for automatically converting hardware and logic designs of a nuclear power instrumentation and control system, including:

[0106] The data acquisition module is configured to: acquire hardware and logic configuration data;

[0107] The automatic checking module is configured to: identify the configuration data object, perform integrity and validity check on the configuration data, bind error information to the configuration data object, and generate visual checking results;

[0108] The parameter configuration module is configured to: when the control strategy and requirements change, the parameter mapping relationship is written in sequence according to the preset extensible markup language, and each attribute parameter is automatically completed;

[0109] The configuration conversion module is configured to: output the generated configuration file and import it into the distributed control system.

[0110] The more detailed steps are the same as those in the first embodiment and will not be repeated here.

[0111] Embodiment 3

[0112] Embodiment 3 of the present disclosure provides a medium on which a program is stored. When the program is executed by a processor, the steps in the method for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system as described in Embodiment 1 of the present disclosure are implemented.

[0113] The more detailed steps are the same as those in the first embodiment and will not be repeated here.

[0114] Embodiment 4

[0115] Embodiment 4 of the present disclosure provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the method for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system as described in Embodiment 1 of the present disclosure are implemented.

[0116] The more detailed steps are the same as those in the first embodiment and will not be repeated here.

[0117] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system, characterized in that: The following steps are involved: Obtain hardware and logic configuration data; Identify configuration data objects, check the integrity and validity of configuration data, bind error information to configuration data objects, and generate visual inspection results; When the control strategy and requirements change, the parameter mapping relationship is written in sequence according to the preset extensible markup language, and various attribute parameters are automatically completed; Export the generated configuration file and import it into the distributed control system.

2. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system as claimed in claim 1, characterized in that: Complete hardware and logic design on the Engineering Base platform to form hardware and logic configuration data.

3. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system as claimed in claim 2, characterized in that: The information of hardware and logical configuration data is integrated through configurable XML files.

4. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system as claimed in claim 1, characterized in that: The visual inspection result informs the user of error information in the form of an error log.

5. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system as claimed in claim 4, characterized in that: Bind the error information to the configuration data object, specifically: Get all the attributes in the attribute library and store them in the dictionary according to the attribute ID and attribute name so that log errors can be specific to object attributes.

6. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system as claimed in claim 1, characterized in that: When control strategies and requirements change, configuration files can be quickly and flexibly adapted and modified through configurable tools.

7. A method for automatically converting hardware and logic design of a nuclear power instrumentation and control system as claimed in claim 6, characterized in that: The parameter configuration tool is used to modify the hardware configuration data, and the legend configuration tool is used to modify the logic configuration data.

8. A system for automatically converting hardware and logic design of a nuclear power instrumentation and control system, characterized in that: include: The data acquisition module is configured to: acquire hardware and logic configuration data; The automatic checking module is configured to: identify the configuration data object, perform integrity and validity check on the configuration data, bind error information to the configuration data object, and generate visual checking results; The parameter configuration module is configured to: when the control strategy and requirements change, the parameter mapping relationship is written in sequence according to the preset extensible markup language, and each attribute parameter is automatically completed; The configuration conversion module is configured to: output the generated configuration file and import it into the distributed control system.

9. A medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system as described in any one of claims 1 to 7 are implemented.

10. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the method for automatic conversion of hardware and logic design of a nuclear power instrumentation and control system as described in any one of claims 1-7 are implemented.