A method, apparatus, and storage medium for generating nuclear power plant control logic diagrams.

CN117786785BActive Publication Date: 2026-09-01CHINA TECHENERGY
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311841328.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2026-09-01
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

[0003]但是,核电项目实现方案多样,核电站控制设备多,控制逻辑多且复杂,对于工程设计人员的技能要求较高,人工进行功能逻辑组态难度较大,组态效率低,且会产生较多的人因错误

Benefits of technology

[0049]This application discloses a method, apparatus, and storage medium for generating nuclear power plant control logic diagram (CLD) engineering. The method includes: parsing and identifying a mold library file using a Visio object model to obtain first structured information; converting the first structured information into a resource library file corresponding to the configuration platform; parsing and identifying a control logic diagram (CLD) file using a Visio object model to obtain second structured information; parsing and identifying an equipment list using an Excel object model to obtain third structured information; and generating a CLD engineering project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file. As can be seen, this application embodiment utilizes the Visio object model and the Excel object model to perform batch parsing and identification of mold library files, CLD files, and equipment lists. This solves the problem of the difficulty and time-consuming nature of manually parsing CLD files. Furthermore, the automatic generation of the CLD engineering project based on the parsing and identification results allows engineering designers to make corresponding configuration adjustments based on the CLD engineering project to obtain the corresponding functional diagram of the CLD file. This reduces the difficulty of functional logic configuration, improves the efficiency of functional logic configuration, and reduces human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117786785B_ABST
    Figure CN117786785B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, and storage medium for generating nuclear power plant control logic diagram (CLD) projects. The method includes: parsing and identifying a template library file using a Visio object model to obtain first structured information; converting the first structured information into a resource library file; parsing and identifying a control logic diagram (CLD) file using a Visio object model to obtain second structured information; parsing and identifying an equipment list using an Excel object model to obtain third structured information; and generating a CLD project corresponding to a configuration platform using the second structured information, the third structured information, and the resource library file. This automatic generation of CLD projects allows engineers to make corresponding configuration adjustments based on the CLD project to obtain the corresponding control logic diagram (FD), reducing configuration difficulty and improving configuration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of nuclear power digital instrumentation and control system technology, and more specifically, to a method, apparatus and storage medium for generating nuclear power control logic diagrams. Background Technology

[0002] Currently, the digital control system (DCS) for nuclear power plants inputs a control logic diagram (CLD), and then engineers manually configure the functional logic based on the CLD to obtain the corresponding functional diagram (FD).

[0003] However, nuclear power projects have diverse implementation schemes, numerous control devices, and complex control logic. This places high demands on the skills of engineering designers, making manual configuration of functional logic difficult, inefficient, and prone to human error. Summary of the Invention

[0004] In view of this, embodiments of this application disclose a method, apparatus and storage medium for generating nuclear power control logic diagram (FD) engineering, which automatically generates FD engineering corresponding to FD files, enabling engineering designers to make corresponding configuration adjustments based on the FD engineering to obtain the corresponding FD. This can reduce the difficulty of functional logic configuration, improve the efficiency of functional logic configuration, and reduce human error.

[0005] The technical solutions provided in this application are as follows:

[0006] In a first aspect, embodiments of this application provide a method for generating a nuclear power plant control logic diagram, the method comprising:

[0007] The mold library file is parsed and identified using the Visio object model to obtain the first structured information; the mold library file is in Visio format.

[0008] The first structured information is converted into a resource library file corresponding to the configuration platform;

[0009] The control logic diagram (CLD) file is parsed and identified using the Visio object model to obtain second structured information; the CLD file is in Visio format.

[0010] The equipment list is parsed and identified using the Excel object model to obtain third-party structured information; the equipment list is in Excel format.

[0011] Using the second structured information, the third structured information, and the resource library file, the CLD project corresponding to the configuration platform is generated.

[0012] In one possible implementation, the method further includes:

[0013] Determine the signal encoding in the third structured information that matches the second structured information;

[0014] The attribute values ​​corresponding to the signal encoding in the third structured information are assigned to the second structured information to obtain the fourth structured information;

[0015] The step of generating the CLD project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file includes:

[0016] Using the fourth structured information and the resource library file, the CLD project corresponding to the configuration platform is generated.

[0017] In one possible implementation, the step of parsing the stencil library file using the Visio object model to obtain first structured information includes:

[0018] By accessing the methods, properties, and events in the Visio object model, the template library file is parsed and identified to obtain the first structured information;

[0019] The process involves parsing and recognizing the Control Logic Diagram (CLD) file using the Visio object model to obtain second structured information; the CLD file is in Visio format and includes:

[0020] By accessing the methods, properties, and events in the Visio object model, the CLD file is parsed and identified to obtain the second structured information.

[0021] The process of parsing and identifying the equipment list using the Excel object model yields third structured information, including:

[0022] By accessing the methods, properties, and events in the Excel object model, the device list is parsed and identified to obtain third-party structured information.

[0023] In one possible implementation, the first structured information includes: mold shape information, mold naming information, mold pin information, and mold parameter information;

[0024] The second structured information includes: connection information, CLD module information, CLD point information, and functional description information;

[0025] The third structured information includes: sensor information, actuator information, and signal information.

[0026] Secondly, embodiments of this application provide an apparatus for generating nuclear power plant control logic diagrams, the apparatus comprising:

[0027] The processing module is used to parse and identify the mold library file using the Visio object model to obtain the first structured information; the mold library file is in Visio format.

[0028] The conversion module is used to convert the first structured information into a resource library file corresponding to the configuration platform;

[0029] The processing module is also used to parse and identify the control logic diagram (CLD) file using the Visio object model to obtain second structured information; the CLD file is in Visio format.

[0030] The processing module is also used to parse and identify the equipment list using the Excel object model to obtain third structured information; the equipment list is in Excel format.

[0031] The generation module is used to generate the CLD project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file.

[0032] In one possible implementation, the device further includes:

[0033] A determining module is used to determine the signal code in the third structured information that matches the second structured information;

[0034] The assignment module is used to assign the attribute values ​​corresponding to the signal encoding in the third structured information to the second structured information to obtain the fourth structured information;

[0035] The generation module is specifically used to generate the CLD project corresponding to the configuration platform using the fourth structured information and the resource library file.

[0036] In one possible implementation, the processing module is specifically used for:

[0037] By accessing the methods, properties, and events in the Visio object model, the template library file is parsed and identified to obtain the first structured information;

[0038] By accessing the methods, properties, and events in the Visio object model, the CLD file is parsed and identified to obtain the second structured information.

[0039] By accessing the methods, properties, and events in the Excel object model, the device list is parsed and identified to obtain third structured information.

[0040] In one possible implementation, the first structured information includes: mold shape information, mold naming information, mold pin information, and mold parameter information;

[0041] The second structured information includes: connection information, CLD module information, CLD point information, and functional description information;

[0042] The third structured information includes: sensor information, actuator information, and signal information.

[0043] Thirdly, embodiments of this application provide an apparatus for generating nuclear power plant control logic diagrams, the apparatus comprising:

[0044] Memory, used to store instructions;

[0045] A processor for executing the instructions in the memory to perform the method for generating a nuclear power control logic diagram as described in any of the first aspects above.

[0046] Fourthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the method for generating nuclear power control logic diagram engineering as described in any of the first aspects above.

[0047] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute the nuclear power control logic diagram engineering generation method described in any of the first aspects above.

[0048] Based on the above technical solution, this application has the following beneficial effects:

[0049] This application discloses a method, apparatus, and storage medium for generating nuclear power plant control logic diagram (CLD) engineering. The method includes: parsing and identifying a mold library file using a Visio object model to obtain first structured information; converting the first structured information into a resource library file corresponding to the configuration platform; parsing and identifying a control logic diagram (CLD) file using a Visio object model to obtain second structured information; parsing and identifying an equipment list using an Excel object model to obtain third structured information; and generating a CLD engineering project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file. As can be seen, this application embodiment utilizes the Visio object model and the Excel object model to perform batch parsing and identification of mold library files, CLD files, and equipment lists. This solves the problem of the difficulty and time-consuming nature of manually parsing CLD files. Furthermore, the automatic generation of the CLD engineering project based on the parsing and identification results allows engineering designers to make corresponding configuration adjustments based on the CLD engineering project to obtain the corresponding functional diagram of the CLD file. This reduces the difficulty of functional logic configuration, improves the efficiency of functional logic configuration, and reduces human error. Attached Figure Description

[0050] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the published drawings without creative effort.

[0051] Figure 1 This is a flowchart illustrating a method for generating a nuclear power plant control logic diagram, as disclosed in an embodiment of this application.

[0052] Figure 2 This is a schematic diagram showing a portion of the contents of a mold library file disclosed in an embodiment of this application;

[0053] Figure 3 This is a partial schematic diagram of a CLD file disclosed in an embodiment of this application;

[0054] Figure 4 This is a schematic diagram showing a portion of a sensor list disclosed in an embodiment of this application;

[0055] Figure 5 This is a schematic diagram illustrating a portion of an execution agency list disclosed in an embodiment of this application;

[0056] Figure 6 This is a schematic diagram of a portion of a signal list disclosed in an embodiment of this application;

[0057] Figure 7 This is a partial schematic diagram of a CLD project disclosed in an embodiment of this application;

[0058] Figure 8 This is a flowchart of another method for generating a nuclear power plant control logic diagram according to an embodiment of this application;

[0059] Figure 9 This is a schematic diagram of an interface for generating resource library files, as disclosed in an embodiment of this application.

[0060] Figure 10 This is a schematic diagram of a resource library disclosed in an embodiment of this application;

[0061] Figure 11 This is a schematic diagram of an interface for generating a CLD project disclosed in an embodiment of this application;

[0062] Figure 12 This is a schematic diagram of the structure of a nuclear power control logic diagram generation device disclosed in an embodiment of this application. Detailed Implementation

[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0064] See Figure 1 This application discloses a flowchart of a method for generating a nuclear power plant control logic diagram, the method comprising:

[0065] S101. Use the Visio object model to parse and identify the mold library file to obtain the first structured information.

[0066] The mold library files are in Visio format and are editable.

[0067] See Figure 2 This is a schematic diagram of a portion of a mold library file disclosed in an embodiment of this application. Figure 2 The mold library includes molds such as MOS_L, BAH_L, BAH_OT, BAH_L_OT, MOS_N, and MOV_SC.

[0068] The first set of structured information includes: mold shape information, mold naming information, mold pin information, mold parameter information, etc. This parsing process yields various mold information, facilitating accurate conversion into the corresponding resource library files.

[0069] Molds with similar functions are generally placed in the same mold library. In this application embodiment, in addition to parsing and identifying the information of a specific mold, it is also necessary to identify the mold library name or function. The mold library name determines whether parsing and identification are needed, because some mold libraries describe processes, which may not be required in the actual DCS platform implementation. For example, electrical isolation modules are not needed in software design. For the LEVEL2 mold library, in DCS implementation, its screen operation instructions communicate directly with the internal input / output structure of the logic algorithm, and this type of mold library in the CLD is not needed. It is understood that the above is only an illustrative example and should not be construed as a limitation on the embodiments of this application.

[0070] It should be noted that Office has a rich object model. Each object or collection of objects has many events, methods, and properties. By accessing these events, methods, and properties, you can manipulate objects and collections of objects and interact with them.

[0071] The Visio object model contains classes and interfaces provided and defined in Visio's interactive assembly. These objects are arranged in a hierarchical structure closely related to the user interface, including objects or collections such as Application, Document, and Page. Each object and collection has many events, methods, and properties. By accessing these events, methods, and properties, one can manipulate objects and collections to achieve the parsing, recognition, and processing of information from various parts of the template library file.

[0072] In one possible implementation, S101 in this embodiment may include: parsing and identifying the mold library file by accessing methods, attributes, and events in the Visio object model to obtain first structured information.

[0073] S102. Convert the first structured information into a resource library file corresponding to the configuration platform.

[0074] The configuration platform can be a self-developed IComposer platform. The underlying file storage format and method of the configuration files of the IComposer platform are clear and controllable. At the same time, the IComposer platform, like the mainstream nuclear power DCS platform, supports the import and export of PLCopen XML files. This XML format file is a standard language produced by the World Wide Web Consortium (W3C). This standard standardizes the logical intermediate file into a hierarchical structure of structure, content and semantics, and no longer limits the formatting of various elements.

[0075] The IComposer platform mainly includes a design environment (IC_IDE), functional diagram design (IC_FD), and screen design (IC_Graphic). In addition, the platform also integrates auxiliary design tools, making it a design platform that covers the entire range of engineering software design.

[0076] S103. Use the Visio object model to parse and identify the control logic diagram (CLD) file to obtain the second structured information.

[0077] The CLD file is in Visio format and is editable.

[0078] See Figure 3 This is a partial schematic diagram of a CLD file disclosed in an embodiment of this application. Figure 3 The module with BlockID 5002CG and BlockName CTRPanel_UD is connected to the module with BlockID 5002CG and BlockName GCM; the module with BlockID 0013PUL and BlockName PULSE_R is connected to the module with BlockID 5002CG and BlockName GCM; the module with BlockID 5001CG and BlockName CTRPanel is connected to the module with BlockID 5001CG and BlockName GCC; the module with BlockID OR_0243 and BlockName OR is connected to the module with BlockID 5001CG and BlockName GCC, and so on.

[0079] The second type of structured information includes: connection information, CLD module information, CLD point information, functional description information, etc. CLD module information includes: module name, information about items within the module, usage information, defined range information, module size information, etc. CLD point information includes: signal type, input data source, etc. Functional description information describes the specific computational function. By parsing this information, various types of CLD information are obtained, facilitating the accurate generation of the corresponding CLD project.

[0080] In one possible implementation, S103 may include: parsing and identifying the CLD file by accessing methods, properties, and events in the Visio object model to obtain second structured information.

[0081] S104. Use the Excel object model to parse and identify the equipment list to obtain third structured information.

[0082] The equipment list is in Excel format and the equipment list file is editable.

[0083] The third type of structured information includes sensor information, actuator information, signal information, and so on. By parsing this information, various device details are obtained, facilitating the accurate generation of the corresponding CLD project.

[0084] In this embodiment, the device list may include: a sensor list, an actuator list, a signal list, etc. The sensor list corresponds to sensor information, the actuator list corresponds to actuator information, and the signal list corresponds to signal information. Some fields in the sensor list, actuator list, and signal list are identical. By using multiple device lists, more device information can be parsed, facilitating the accurate generation of the corresponding CLD project.

[0085] See Figure 4 This is a schematic diagram of a partial sensor list disclosed in an embodiment of this application. The sensor list may include: version, device code, extension code, signal description, IO interface type, signal type, lower range limit, upper range limit, measurement unit, device function classification, seismic resistance, column, factory allocation, grouping G / S, drawing page number, remarks, system, etc. This embodiment of the application does not impose limitations on these, and they can be set according to actual needs. For example, a sensor information entry in the first sensor list could be: [Version: B, Device Code: XDCL1130MT, Extension Code: ---, Signal Description: Outdoor Temperature Measurement, IO Interface Type: AI4, Signal Type: Pt100, Lower Range Limit: -10, Upper Range Limit: 60, Measurement Unit: ℃, Device Function Classification: FC1*, Seismic Resistance: SSE1, Column: C, Factory Allocation: BSC, Grouping G / S: NR, Drawing Page Number: 3205C, Remarks: None, System: XDCL]. It is understood that the above is merely an illustrative example and should not be construed as a limitation on the embodiments of this application.

[0086] See Figure 5This is a schematic diagram illustrating a portion of an actuator list disclosed in an embodiment of this application. The actuator list may include: version, device code, extension code, signal description, actuator type, IO interface type, signal type, lower range limit, upper range limit, measurement unit, device function classification, seismic resistance, column, plant allocation, grouping G / S, drawing page number, remarks, system, etc., which are not limited in this embodiment. For example, an actuator information entry in the actuator list could be: [Version: B, Device Code: XDCL1201RA, Extension Code: OD, Signal Description: DCL1201RA Open (DO), Actuator Type: MOVC, IO Interface Type: DO1, Signal Type: NO, Lower Range Limit: ---, Upper Range Limit: ---, Measurement Unit: ---, Device Function Classification: FC1*, Seismic Resistance: SSE1, Column: A, Plant Allocation: BSA, Grouping G / S: NR, Drawing Page Number: 1201A, Remarks: None, System: XDCL]. It is understood that the above is merely an illustrative example and should not be construed as a limitation on the embodiments of this application.

[0087] See Figure 6 This is a schematic diagram of a portion of a signal list disclosed in an embodiment of this application. The first signal list may include: version, signal number, extension code, signal description, IO interface type, signal type, lower range limit, upper range limit, measurement unit, equipment function classification, seismic resistance, column, plant allocation, grouping G / S, signal source / target, drawing page number, remarks, system, etc., which are not limited in this embodiment. For example, a signal information entry in the signal list could be: [Version: B, Signal Number: XDCL1001CR, Extension Code: 1, Signal Description: DCL1001CR electrical fault, IO Interface Type: DI1, Signal Type: NO, Lower Range Limit: ---, Upper Range Limit: ---, Measurement Unit: ---, Equipment Function Classification: FC2, Seismic Resistance: SSE1, Column: A, Plant Allocation: BSA, Grouping G / S: G4, Signal Source / Target: XDCL1001CR, Drawing Page Number: 8607, Remarks: None, System: XDCL]. It is understood that the above is merely an illustrative example and should not be construed as a limitation on the embodiments of this application.

[0088] It's important to note that the Excel object model is similar to a user interface. An Excel application is an Application that contains many Workbooks, and a Workbook contains multiple Worksheets. Worksheets contain icons, markers, comments, controls, etc., all of which float on the Sheet, or Shapes. A Worksheet has many Range cells, and like Visio, they can access various methods, properties, and events in the object model for parsing, recognition, and processing.

[0089] In one possible implementation, S104 may include: parsing and identifying the device list by accessing methods, properties, and events in the Excel object model to obtain third structured information.

[0090] It should be noted that the execution order of S101, S103, and S104 is not restricted in the embodiments of this application. S101 can be executed first, followed by S103 and S104, or S103 can be executed first, followed by S101 and S104, or S101, S103, and S104 can be executed simultaneously, etc.

[0091] S105. Using the second structured information, the third structured information, and the resource library file, generate the CLD project corresponding to the configuration platform.

[0092] See Figure 7 This is a partial schematic diagram of a CLD project disclosed in an embodiment of this application.

[0093] The method for generating a nuclear power control logic diagram (CLD) project provided in this embodiment may further include: determining the signal code in the third structured information that matches the second structured information; assigning the attribute values ​​corresponding to the signal codes in the third structured information to the second structured information to obtain the fourth structured information; correspondingly, step S105 may include: using the fourth structured information and the resource library file to generate a CLD project corresponding to the configuration platform. This achieves the matching and assignment operation between the Visio version CLD file and the detailed equipment or point information in the Excel version equipment list, facilitating the subsequent rapid and accurate generation of the CLD project.

[0094] The attribute values ​​include: IO interface type, device function category, column information, parameter information, etc. The parameter information here mainly refers to the user-defined values ​​for each field in the function block, which may include: lower range limit information, upper range limit information, vibration resistance information, etc. It should be noted that the mold parameter information mentioned above is mainly the default parameter information of the function block and is general. Users will set the parameter information in a specific device function block as needed. If no settings are made, the parameter information built into the function block will be used. The mold parameter information can be modified accordingly using the parameter information here.

[0095] As can be seen, the Visio object model and Excel object model in this embodiment can be used to perform batch parsing and recognition of mold library files, CLD files, and equipment lists. This solves the problem of the difficulty and time-consuming nature of manually parsing CLD files. Moreover, the CLD project corresponding to the CLD file is automatically generated based on the parsing and recognition results, so that engineering designers can make corresponding configuration adjustments based on the CLD project to obtain the functional diagram corresponding to the CLD file. This reduces the difficulty of functional logic configuration, improves the efficiency of functional logic configuration, and reduces human error.

[0096] See Figure 8 This is a flowchart of another method for generating a nuclear power plant control logic diagram, as disclosed in an embodiment of this application. The method includes:

[0097] ① Using the Visio object model provided by Visio, the information of each part of the editable mold library file is parsed and identified to obtain the first structured information. The first structured information includes, but is not limited to, the shape information, naming information, pin information, parameter information, etc. of each part of the mold. The first structured information is automatically converted into the corresponding resource library file in the general configuration platform IComposer.

[0098] See Figure 9 This is a schematic diagram of an interface for generating resource library files disclosed in an embodiment of this application. Figure 9 The library file directory in the document refers to the storage path of the editable mold library files. The module resource files, data resource files, and graphic resource files are the storage paths of the converted resource library files. Module resource files mainly contain basic platform information, module information, and module pin information. Data resource files mainly contain basic module data class information, module parameter information, and user-defined data type information. Graphic resource files mainly contain graphic information. In this embodiment, the user can input or select the corresponding mold file directory through this interface, then click the "Generate Module Resource" button on the interface. The IComposer platform then performs the operations described in ① above to obtain the resource library files, and displays the storage path of the resource library files on this interface.

[0099] See Figure 10 This is a schematic diagram of a resource library disclosed in an embodiment of this application. It should be noted that when the converted resource library file is loaded into the IComposer platform, it appears as follows... Figure 10 As shown, users can directly drag and drop modules from the resource library, or use other shortcuts to access modules from the resource library.

[0100] ② Using the Visio object model provided by Visio, the information of each part of the editable CLD file is parsed and identified to obtain the second structured information. The second structured information includes, but is not limited to, CLD module information, CLD point information, connection information, and functional description information of each part of the CLD. Using the Excel object model provided by Excel, the editable equipment list is parsed and identified to obtain the third structured information. The third structured information includes, but is not limited to, sensor information, actuator information, and signal information. Based on the CLD module information and CLD point information obtained from the parsed second structured information, the corresponding signal codes are retrieved from the third structured information. Then, the remaining attribute values ​​of the signal codes, such as IO interface type, device function classification, and parameter information, are assigned to the corresponding module point attribute fields in the second structured information. This achieves the matching and assignment operation between the Visio version of the CLD drawing and the detailed equipment or point information in Excel, resulting in the fourth structured information. Based on the fourth structured information and the resource library file, the CLD project is generated.

[0101] See Figure 11 This is a schematic diagram of an interface for generating a CLD project disclosed in an embodiment of this application. Figure 11 The configuration file directory is the storage path for the editable CLD file and the editable equipment list. The process engineering path is the storage path for the CLD project, and the process engineering name is the name of the CLD project. In this embodiment, the user can input or select the corresponding configuration file directory through this interface, and then click the "CLD Conversion" button on the interface. The IComposer platform then performs the operation described in ② above to obtain the CLD project. After that, the storage path and name of the CLD project are displayed on the interface.

[0102] It should be noted that previously, upstream design institutes only provided CLD files. Through an agreement, upstream design institutes were asked to supplement them with mold library files and equipment lists, so that CLD projects could be automatically generated based on CLD files, mold library files, and equipment lists.

[0103] Understandably, CLD (Construction Line Deployment) engineering forms the basis for conversion to FD (Automatic Design) engineering. CLD is explained from the design institute's process perspective, while FD is implemented from the DCS (Distributed Control System) supplier's perspective. Most of the differences between the two are regular, and these regularities make automated processing possible.

[0104] As can be seen, the embodiments of this application fundamentally change the logic configuration method of nuclear power DCS. Through automated means, batch parsing and identification processing is performed to ultimately generate CLD engineering data, reducing the burden on engineering design and configuration personnel, minimizing human error in configuration logic, and improving engineering design efficiency. Furthermore, the research on automatic parsing and identification technology enhances the digitization and structuring of logic configuration information, thereby improving the standardization and automation of engineering design. It also facilitates subsequent data volume assessment, such as the statistics of changes between two versions of input, which is equally important for project management tasks such as workload assessment and work progress forecasting. In addition, due to the self-developed and controllable general configuration platform, the logic configuration is imported into the IComposer platform, and all software logic data of the project is digitized, providing a solid foundation for subsequent intelligent technologies such as big data governance.

[0105] See Figure 12 This application discloses a schematic diagram of a device for generating nuclear power plant control logic diagrams, which includes:

[0106] Processing module 100 is used to parse and identify the mold library file using the Visio object model to obtain first structured information; the mold library file is in Visio format;

[0107] The conversion module 200 is used to convert the first structured information into a resource library file corresponding to the configuration platform;

[0108] The processing module 100 is also used to parse and identify the control logic diagram (CLD) file using the Visio object model to obtain second structured information; the CLD file is in Visio format.

[0109] The processing module 100 is also used to parse and identify the equipment list using the Excel object model to obtain third structured information; the equipment list is in Excel format.

[0110] The generation module 300 is used to generate the CLD project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file.

[0111] As can be seen, the Visio object model and Excel object model in this embodiment can be used to perform batch parsing and recognition of mold library files, CLD files, and equipment lists. This solves the problem of the difficulty and time-consuming nature of manually parsing CLD files. Moreover, the CLD project corresponding to the CLD file is automatically generated based on the parsing and recognition results, so that engineering designers can make corresponding configuration adjustments based on the CLD project to obtain the functional diagram corresponding to the CLD file. This reduces the difficulty of functional logic configuration, improves the efficiency of functional logic configuration, and reduces human error.

[0112] In one possible implementation, the apparatus for generating nuclear power control logic diagrams provided in this embodiment further includes:

[0113] A determining module is used to determine the signal code in the third structured information that matches the second structured information;

[0114] The assignment module is used to assign the attribute values ​​corresponding to the signal encoding in the third structured information to the second structured information to obtain the fourth structured information;

[0115] The generation module 300 is specifically used to generate the CLD project corresponding to the configuration platform using the fourth structured information and the resource library file.

[0116] In one possible implementation, the processing module 100 in the nuclear power control logic diagram generation apparatus provided in this embodiment is specifically used for:

[0117] By accessing the methods, properties, and events in the Visio object model, the template library file is parsed and identified to obtain the first structured information;

[0118] By accessing the methods, properties, and events in the Visio object model, the CLD file is parsed and identified to obtain the second structured information.

[0119] By accessing the methods, properties, and events in the Excel object model, the device list is parsed and identified to obtain third-party structured information.

[0120] In one possible implementation, in the nuclear power control logic diagram generation device provided in this application embodiment, the first structured information includes: mold shape information, mold naming information, mold pin information, and mold parameter information;

[0121] The second structured information includes: connection information, CLD module information, CLD point information, and functional description information;

[0122] The third structured information includes: sensor information, actuator information, and signal information.

[0123] Furthermore, embodiments of this application also provide an apparatus for generating nuclear power plant control logic diagrams, the apparatus comprising:

[0124] Memory, used to store instructions;

[0125] A processor for executing instructions in memory to perform any of the above-described methods for generating nuclear power control logic diagrams.

[0126] Furthermore, embodiments of this application also provide a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to execute any of the above-described methods for generating the nuclear power control logic diagram.

[0127] Furthermore, this application also provides a computer program product, which, when run on a terminal device, causes the terminal device to execute any of the above-described methods for generating the nuclear power control logic diagram.

[0128] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0129] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0130] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0131] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0132] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for generating a nuclear power plant control logic diagram, characterized in that, The method includes: The mold library file is parsed and identified using the Visio object model to obtain the first structured information; the mold library file is in Visio format. The first structured information is converted into a resource library file corresponding to the configuration platform; The control logic diagram (CLD) file is parsed and identified using the Visio object model to obtain second structured information; the CLD file is in Visio format. The equipment list is parsed and identified using the Excel object model to obtain third-party structured information; the equipment list is in Excel format. Using the second structured information, the third structured information, and the resource library file, the CLD project corresponding to the configuration platform is generated.

2. The method according to claim 1, characterized in that, The method further includes: Determine the signal encoding in the third structured information that matches the second structured information; The attribute values ​​corresponding to the signal encoding in the third structured information are assigned to the second structured information to obtain the fourth structured information; The step of generating the CLD project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file includes: Using the fourth structured information and the resource library file, the CLD project corresponding to the configuration platform is generated.

3. The method according to claim 1, characterized in that, The process of parsing the stencil library file using the Visio object model to obtain the first structured information includes: By accessing the methods, properties, and events in the Visio object model, the template library file is parsed and identified to obtain the first structured information; The process of parsing and recognizing the Control Logic Diagram (CLD) file using the Visio object model to obtain the second structured information includes: By accessing the methods, properties, and events in the Visio object model, the CLD file is parsed and identified to obtain the second structured information. The process of parsing and identifying the equipment list using the Excel object model yields third structured information, including: By accessing the methods, properties, and events in the Excel object model, the device list is parsed and identified to obtain third structured information.

4. The method according to claim 1, characterized in that, The first structured information includes: mold shape information, mold naming information, mold pin information, and mold parameter information; The second structured information includes: connection information, CLD module information, CLD point information, and functional description information; The third structured information includes: sensor information, actuator information, and signal information.

5. A device for generating nuclear power plant control logic diagrams, characterized in that, The device includes: The processing module is used to parse and identify the mold library file using the Visio object model to obtain the first structured information; the mold library file is in Visio format. The conversion module is used to convert the first structured information into a resource library file corresponding to the configuration platform; The processing module is also used to parse and identify the control logic diagram (CLD) file using the Visio object model to obtain second structured information; the CLD file is in Visio format. The processing module is also used to parse and identify the equipment list using the Excel object model to obtain third structured information; the equipment list is in Excel format. The generation module is used to generate the CLD project corresponding to the configuration platform using the second structured information, the third structured information, and the resource library file.

6. The apparatus according to claim 5, characterized in that, The device further includes: A determining module is used to determine the signal code in the third structured information that matches the second structured information; The assignment module is used to assign the attribute values ​​corresponding to the signal encoding in the third structured information to the second structured information to obtain the fourth structured information; The generation module is specifically used to generate the CLD project corresponding to the configuration platform using the fourth structured information and the resource library file.

7. The apparatus according to claim 5, characterized in that, The processing module is specifically used for: By accessing the methods, properties, and events in the Visio object model, the template library file is parsed and identified to obtain the first structured information; By accessing the methods, properties, and events in the Visio object model, the CLD file is parsed and identified to obtain the second structured information. By accessing the methods, properties, and events in the Excel object model, the device list is parsed and identified to obtain third structured information.

8. The apparatus according to claim 5, characterized in that, The first structured information includes: mold shape information, mold naming information, mold pin information, and mold parameter information; The second structured information includes: connection information, CLD module information, CLD point information, and functional description information; The third structured information includes: sensor information, actuator information, and signal information.

9. A device for generating nuclear power plant control logic diagrams, characterized in that, The device includes: Memory, used to store instructions; A processor for executing the instructions in the memory to perform the method for generating a nuclear power control logic diagram according to any one of claims 1 to 4.

10. A computer-readable storage medium comprising instructions, when executed on a computer, causing the computer to perform the method for generating a nuclear power control logic diagram as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Automatic conversion method and device for function diagrams of digital control system

    CN118153490A