Parallel system three-dimensional model generation method and device based on DCS configuration file, medium and product
By generating a parallel system three-dimensional model based on DCS configuration files, the problem of difficult to achieve global, intuitive and three-dimensional DCS monitoring information display in the existing technology is solved, and efficient and accurate monitoring information display is achieved.
Patent Information
- Application Number
- CN202411728101.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-28
AI Technical Summary
It is difficult for the existing technology to display distributed control system (DCS) monitoring information in a global, intuitive and three-dimensional way.
By obtaining the DCS room layout diagram, equipment list, configuration table and fault measurement point table, the edge detection algorithm and corner detection algorithm are used to generate a three-dimensional model of the parallel system to display the historical operating status of DCS, the current operating status or the operating status after the preset period.
It realizes the ability to display DCS monitoring information in a global, intuitive and three-dimensional manner, and improves the display efficiency and accuracy of monitoring information.
Smart Images

Figure CN119540466A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of distributed control system monitoring, and in particular to a method, device, medium and product for generating a three-dimensional model of a parallel system based on a DCS configuration file. Background Art
[0002] With the increase of nuclear power units, the complexity of DCS (Distributed Control System) is also increasing. In the existing management and display methods, it is necessary to use the DCS configuration tool to complete the configuration of the HMI 2D screen to display and monitor the operation status of the DCS, and to discover the abnormal status of the abnormal system operation through alarm information, which cannot realize the global, intuitive and three-dimensional display of information. Summary of the invention
[0003] The purpose of this application is to provide a method, device, medium and product for generating a parallel system three-dimensional model based on a DCS configuration file, so as to realize a global, intuitive and three-dimensional display of DCS monitoring information.
[0004] To achieve the above objectives, this application provides the following solutions:
[0005] In a first aspect, the present application provides a method for generating a parallel system three-dimensional model based on a DCS configuration file, comprising:
[0006] Obtain the room layout diagram, equipment list and configuration table and fault measurement point table of the distributed control system;
[0007] Generate a parallel system three-dimensional model of the distributed control system according to the room layout diagram, the equipment list and configuration table, and the fault measurement point table to display the historical operating status, current operating status, or operating status after a preset period of time of the distributed control system;
[0008] According to the room layout diagram, the equipment list and configuration table and the fault measurement point table, a parallel system three-dimensional model of the distributed control system is generated, which specifically includes:
[0009] According to the room layout diagram, using an edge detection algorithm and a corner point detection algorithm, determining a parsed room layout diagram;
[0010] Establishing an initial three-dimensional model of the distributed control system based on the equipment list and configuration table and the parsed room layout diagram;
[0011] Based on the fault measurement point table, the initial three-dimensional model of the distributed control system is rendered to obtain a parallel system three-dimensional model of the distributed control system.
[0012] Optionally, according to the room layout diagram, an edge detection algorithm and a corner point detection algorithm are used to determine the parsed room layout diagram, specifically including:
[0013] According to the size of the room layout diagram, a canvas of a three-dimensional model of the same proportion as the distributed control system is established using an edge detection algorithm and a corner point detection algorithm;
[0014] According to the room layout diagram, establish a three-dimensional model of the room;
[0015] According to the room layout diagram, the coordinates of the device placement positions are marked in the three-dimensional model of the room to obtain a parsed room layout diagram.
[0016] Optionally, according to the equipment list and configuration table and the parsed room layout diagram, an initial three-dimensional model of the distributed control system is established, specifically including:
[0017] Selecting an existing equipment 3D model or component 3D model based on the equipment list and configuration table;
[0018] The selected equipment 3D model or component 3D model is placed at the corresponding position in the analyzed room layout diagram, and the 3D connection line drawing is automatically completed to obtain the initial 3D model of the distributed control system.
[0019] Optionally, based on the fault measurement point table, rendering the initial three-dimensional model of the distributed control system to obtain a parallel system three-dimensional model of the distributed control system specifically includes:
[0020] According to the fault measuring point table, a corresponding relationship between the fault measuring point and all the three-dimensional models of equipment or three-dimensional models of components in the initial three-dimensional model is obtained; the fault measuring point is stored in the fault measuring point table;
[0021] Binding the fault measurement point with a corresponding equipment three-dimensional model or component three-dimensional model according to the corresponding relationship;
[0022] Setting the display color of the equipment three-dimensional model or the component three-dimensional model and corresponding prompt information according to the severity level and health threshold of the fault measurement point;
[0023] The initial three-dimensional model of the distributed control system is rendered to obtain a parallel system three-dimensional model of the distributed control system.
[0024] Optionally, based on the parallel system three-dimensional model of the distributed control system, the current operating state of the distributed control system is displayed, specifically including:
[0025] Acquire real-time status data of fault measurement points collected by the distributed control system and the fault prediction and health management system;
[0026] Loading the real-time status data of the fault measurement point into the parallel system three-dimensional model of the distributed control system;
[0027] The real-time status data of the fault measuring points are updated layer by layer using the hierarchical analysis method, and are updated to the parallel system three-dimensional model of the distributed control system to display the current operating status of the distributed control system.
[0028] Optionally, based on the parallel system three-dimensional model of the distributed control system, displaying the operating status of the distributed control system after a preset period of time specifically includes:
[0029] Obtain the fault prediction data of the fault measurement point after the preset period in the fault prediction and health management system;
[0030] Comparing the fault measurement point prediction data with the corresponding health threshold to obtain a comparison result;
[0031] The display effect of the parallel system three-dimensional model of the distributed control system is modified and rendered according to the comparison result to display the operating status of the distributed control system after a preset period of time.
[0032] Optionally, based on the parallel system three-dimensional model of the distributed control system, displaying the historical operation status of the distributed control system specifically includes:
[0033] Obtain historical fault data of fault measurement points within a preset historical time range in the fault prediction and health management system;
[0034] The historical fault data of the fault measuring point is loaded into the parallel system three-dimensional model of the distributed control system to display the historical operation status of the distributed control system.
[0035] In a second aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-mentioned methods for generating a three-dimensional model of a parallel system based on a DCS configuration file.
[0036] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-mentioned methods for generating a three-dimensional model of a parallel system based on a DCS configuration file.
[0037] In a fourth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for generating a parallel system three-dimensional model based on a DCS configuration file.
[0038] According to the specific embodiments provided in this application, this application has the following technical effects:
[0039] The present application provides a method, device, medium and product for generating a parallel system three-dimensional model based on a DCS configuration file, obtaining a room layout diagram, a list of equipment, a configuration table and a fault measurement point table of a distributed control system; generating a parallel system three-dimensional model of a distributed control system according to the room layout diagram, the list of equipment, the configuration table and the fault measurement point table, so as to display the historical operation status, the current operation status or the operation status after a preset period of time of the distributed control system, specifically including: determining the parsed room layout diagram according to the room layout diagram using an edge detection algorithm and a corner point detection algorithm; establishing an initial three-dimensional model of the distributed control system according to the list of equipment, the configuration table and the parsed room layout diagram; rendering the initial three-dimensional model of the distributed control system based on the fault measurement point table, and obtaining a parallel system three-dimensional model of the distributed control system. The present application realizes a global, intuitive and three-dimensional display of DCS monitoring information. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A schematic diagram of a flow chart of a method for generating a parallel system three-dimensional model based on a DCS configuration file provided in an embodiment of the present application;
[0042] Figure 2 A flow chart showing the parallel system of DCS health data for this application;
[0043] Figure 3 It is a display logic diagram of the three-dimensional model of the parallel system;
[0044] Figure 4 It is the functional structure diagram of the three-dimensional model of the parallel system;
[0045] Figure 5 Create flow charts for parallel system 3D models;
[0046] Figure 6 Display flow chart for real-time data of parallel system 3D model;
[0047] Figure 7 Display flow chart for predicting data for parallel system three-dimensional model;
[0048] Figure 8Display flow chart for historical data of parallel system 3D model;
[0049] Fig. 9 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0052] In an exemplary embodiment, Figure 1 and Figure 2 As shown, a method for generating a parallel system three-dimensional model based on a DCS configuration file is provided, comprising the following steps:
[0053] S1: Obtain the room layout diagram, equipment list and configuration table and fault measurement point table of the distributed control system.
[0054] In practical applications, after obtaining the room layout diagram, equipment list and configuration table, and fault measurement point table of the distributed control system, it is also necessary to sort out and unify the annotation relationship between the three.
[0055] S11: Unify the equipment labels in the room layout diagram and the equipment names in the equipment list table.
[0056] S12: The equipment label to which each measuring point in the unified fault measuring point table belongs should be consistent with the equipment name in the equipment list table.
[0057] S2: Generate a parallel system three-dimensional model of the distributed control system based on the room layout diagram, the equipment list and configuration table, and the fault measurement point table to display the historical operating status, current operating status, or operating status after a preset period of time of the distributed control system. In actual applications, the parallel system three-dimensional model of the DCS is automatically generated based on the data obtained in S1.
[0058] Among them, S2 specifically includes:
[0059] S21: According to the room layout diagram, an edge detection algorithm and a corner point detection algorithm are used to determine a parsed room layout diagram, that is, the room layout diagram is imported and parsed based on edge detection and corner point detection methods in image recognition technology.
[0060] As an optional implementation, S21 specifically includes:
[0061] S211: According to the size of the room layout diagram, a canvas of a three-dimensional model of the same proportion as the distributed control system is established using an edge detection algorithm and a corner detection algorithm.
[0062] In practical applications, a canvas of a proportional 3D model is created based on the dimensions of the S11 room layout.
[0063] S212: Building a three-dimensional model of the room according to the room layout diagram.
[0064] S213: According to the room layout diagram, marking the coordinates of the device placement positions in the three-dimensional model of the room to obtain a parsed room layout diagram.
[0065] S214: The parsed description data of the room layout diagram is stored in a structured database of the system for regenerating a three-dimensional canvas and a three-dimensional model of the room layout.
[0066] S22: Establishing an initial three-dimensional model of the distributed control system according to the equipment list and configuration table and the parsed room layout diagram, that is, importing the equipment list and configuration table, and creating an initial three-dimensional model of the DCS based on the parsed room layout diagram.
[0067] As an optional implementation, S22 specifically includes:
[0068] S221: Select an existing equipment 3D model or component 3D model based on the equipment list and the configuration table.
[0069] In actual applications, based on the information in the S12 equipment list and configuration table, the existing equipment 3D models or components are selected to automatically assemble the corresponding 3D models. Because this system is a parallel system dedicated to DCS, commonly used electronic devices or components such as chassis, cabinets, controllers, IO motherboard terminals, etc. are provided in the form of a model library; when a certain model of equipment or component is used in the equipment list and configuration table, the 3D model assembly work can be automatically performed according to the program algorithm.
[0070] S222: Placing the selected equipment 3D model or component 3D model at a corresponding position in the parsed room layout diagram, and automatically completing the 3D connection line drawing to obtain an initial 3D model of the distributed control system.
[0071] In actual applications, based on the equipment placement coordinates marked in the 3D model created by S213 and the information in the S12 equipment list and configuration table, the 3D model of the equipment or the 3D model of the components is placed in the corresponding position, and the 3D connection line drawing is automatically completed.
[0072] S223: The equipment model and placement information are stored in a structured database in the form of parameters. The processing process is as follows: Figure 3 shown.
[0073] S23: Based on the fault measurement point table, the initial three-dimensional model of the distributed control system is rendered to obtain a parallel system three-dimensional model of the distributed control system, that is, the fault measurement point table is imported and parsed.
[0074] As an optional implementation, S23 specifically includes:
[0075] S231: Obtaining, according to the fault measuring point table, a correspondence between a fault measuring point and all three-dimensional models of equipment or three-dimensional models of components in the initial three-dimensional model; the fault measuring point is stored in the fault measuring point table.
[0076] In practical applications, the corresponding relationship between the fault measuring points and all the equipment three-dimensional models or component three-dimensional models generated in step S22 is obtained according to the analysis of the fault measuring point table.
[0077] S232: Binding the fault measurement point with a corresponding equipment three-dimensional model or component three-dimensional model according to the corresponding relationship.
[0078] In actual applications, the fault measurement points are bound to the 3D model of the equipment. For example, the temperature measurement points, program health measurement points, and network traffic measurement points of the server are bound to the server equipment.
[0079] S233: Setting the display color of the equipment three-dimensional model or the component three-dimensional model and corresponding prompt information according to the severity level and the health threshold in the fault measurement point.
[0080] In actual applications, the display color of the equipment 3D model and the corresponding prompt information are set according to the severity level and health threshold of the fault measurement point. For example, if the server temperature is higher than 75 degrees, it is a serious fault. The server equipment model should be displayed in red and flashing, with a yellow exclamation mark on the equipment model and the message "Temperature is higher than 75°" should be displayed.
[0081] S234: Rendering the initial three-dimensional model of the distributed control system to obtain a parallel system three-dimensional model of the distributed control system.
[0082] In practical applications, various attribute information generated by processes S231 to S233 are stored in a structured database for 3D model rendering and process processing. Figure 2 shown.
[0083] S24: The finally generated model is stored in the model library in the form of a file for subsequent use; the model can also be exported to the obj format as needed for use in other 3D software.
[0084] As an optional implementation manner, based on the parallel system three-dimensional model of the distributed control system, the current operating state of the distributed control system is displayed, specifically including:
[0085] Acquire the real-time status data of the fault measuring points collected by the distributed control system and the fault prediction and health management system.
[0086] The real-time status data of the fault measuring point is loaded into the parallel system three-dimensional model of the distributed control system.
[0087] The real-time status data of the fault measuring points are updated layer by layer using the hierarchical analysis method, and are updated to the parallel system three-dimensional model of the distributed control system to display the current operating status of the distributed control system.
[0088] In practical applications, Figure 2 S3-S6 in it are based on the parallel system three-dimensional model of the distributed control system, showing the current operating status of the distributed control system.
[0089] S3: Access the fault measurement point data, as follows:
[0090] S31: Construct the data structure in the time series database based on the fault measurement point table in S1.
[0091] S32: Obtain the real-time status data of the fault measurement point provided by DCS and PHM through data acquisition service; Figure 3 As shown: the real-time status data of the fault measurement points of DCS and PHM (Prognostic and Health Management) needs to be output to the parallel system through a single firewall and saved to the time series database to be loaded and used by the three-dimensional model created by S1~S2.
[0092] S33: The prediction data provided by PHM is stored in a structured database, such as Figure 3 shown.
[0093] S4: Automatically bind data according to the fault measurement points of S2 and S3, as follows:
[0094] S41: Start the three-dimensional model created in steps S1 to S2 in the parallel system to generate a three-dimensional display screen.
[0095] S41: Load the last piece of data saved to the time series database in S32 to display the instantaneous state of the current system.
[0096] S5: Update the data layer by layer based on the hierarchical analysis method and update it to the parallel system three-dimensional model, as follows:
[0097] S51: Based on S3 to S4, a three-dimensional model bound with the fault measuring point data is created, and the fault measuring point data updated by step S32 is continuously obtained.
[0098] S52: In the process of creating the three-dimensional model in S1 to S3, the hierarchical structure of each component of the model has been clarified, that is, the fault measurement point belongs to the bottom layer, and the three-dimensional model of the equipment belongs to the top layer.
[0099] S53: To avoid the overflow of processing capacity caused by a large amount of data update in a short period of time, based on the three-dimensional model with spatial attributes created in steps S1 to S3, data is periodically updated locally to the model, as follows:
[0100] S531: The model is updated from left to right or from right to left, that is, data is updated in batches by dividing the area.
[0101] S532: Update in the form of continuous backend detection, that is, through the backend data monitoring service, continuously detect data changes in all models, and push data to the model for rendering and display after the change occurs.
[0102] S54: To ensure that the parallel system three-dimensional model can display the abnormalities of the distributed control system in the most intuitive form, when an abnormality occurs at any measuring point under the device three-dimensional model, the device model will also be synchronously changed and displayed in the three-dimensional page based on the predefined display style.
[0103] S6: Change the operating status of the corresponding equipment in the parallel system three-dimensional model according to the updated data, as follows:
[0104] S61: After the model display page obtains the changed data, the rendering system compares the changed data with the health threshold of the model configuration according to S232~S233. If the comparison result meets the threshold for changing the model status, the display effect of the model is changed and rendered for display.
[0105] As an optional implementation manner, based on the parallel system three-dimensional model of the distributed control system, the operating state of the distributed control system after a preset period of time is displayed, specifically including:
[0106] Obtain the fault prediction data of the fault measurement points after the preset period in the fault prediction and health management system.
[0107] The fault measurement point prediction data is compared with the corresponding health threshold to obtain a comparison result.
[0108] The display effect of the parallel system three-dimensional model of the distributed control system is modified and rendered according to the comparison result to display the operating status of the distributed control system after a preset period of time.
[0109] In practical applications, Figure 2 S7 in the figure shows the operation status of the distributed control system after a preset period of time based on the parallel system three-dimensional model of the distributed control system.
[0110] S7: Switch to the prediction mode, and execute S5 and S6 according to the selected prediction time, and display the prediction results of PHM in the form of parallel system + description chart, as follows:
[0111] S71: Switching to the prediction mode will interrupt the operation state of the S6 stage, and the backend data will be switched from the time series library to the structured data storing the PHM prediction data.
[0112] S72: The model compares the predicted data of the fault measurement point value stored in the structured data with the health threshold configured for the model in steps S232 to S233, modifies the display effect of the three-dimensional model according to the comparison result, and renders the display.
[0113] S73: The prediction results provide four types of results: 7 days later, 30 days later, 60 days later and 90 days later. The result after 7 days is displayed by default. The operator can switch the displayed prediction results through the buttons provided on the 3D page.
[0114] S74: Based on the data in S72, the prediction results are outputted in parallel at the upper left corner of the 3D model page.
[0115] As an optional implementation manner, based on the parallel system three-dimensional model of the distributed control system, the historical operation status of the distributed control system is displayed, specifically including:
[0116] Obtain historical fault data of fault measurement points within a preset historical time range in the fault prediction and health management system.
[0117] The historical fault data of the fault measuring point is loaded into the parallel system three-dimensional model of the distributed control system to display the historical operation status of the distributed control system.
[0118] In practical applications, Figure 2S8 in the figure is based on the parallel system three-dimensional model of the distributed control system, and displays the historical operation status of the distributed control system.
[0119] S8: Switch to fault reproduction mode, select a time range to load historical data and execute steps S5 and S6 to reproduce the fault process in a playback or step-by-step manner, including:
[0120] S81: When switching to fault reproduction mode, the backend service will change from scheduled update to on-demand update.
[0121] S82: After switching to the fault reproduction mode, a time range selection component appears on the 3D model display page.
[0122] S83: After the operator selects the time range, he can choose to play step by step or automatically.
[0123] S831: When playing step by step, the interval of each step can be set, such as 500ms or 5s. The operator needs to click the next step / previous step to control the loading data and affect the display effect of the 3D model.
[0124] S832: The playback speed can be set for automatic playback, i.e. the speed of loading data, and playback can be paused at any time.
[0125] like Figure 4 As shown, the functional architecture of the software system of the present application is divided into a storage layer, a service layer and a presentation layer according to the function.
[0126] The storage layer provides a model library, a structured storage library, and a time series library for the corresponding data of each other.
[0127] The service layer parses the imported layout files, device files, and measurement point files, and stores the parsed data in the storage layer; uses the stored data and model components in the model library through the 3D model construction service to build a parallel system 3D model of the target system; binds the data to the measurement point equipment in the model through the binding service; displays the historical, current, and future status of the 3D model through the rendering service; implements system configuration, personnel management, resource management and other functions through system management; generates model operation reports through the reporting service and supports export; and exports the 3D model in the system into a model file of a specified format through the model export service for use by other 3D systems.
[0128] The presentation layer completes human-computer interaction functions such as file upload, project configuration, system management, resource management, and station management through WEB pages.
[0129] Implementation example 1: Automatically create a three-dimensional model of a parallel system.
[0130] This example is only used to quickly build a three-dimensional model through the automated modeling components of the parallel system three-dimensional model.
[0131] like Figure 5 As shown, this example uses the system's 3D model automatic construction function to complete the model assembly, model placement, model connection relationship configuration, and model automatic rendering of the parallel system 3D model in the canvas based on the layout file, configuration file, and measurement point file, and stores the constructed parallel system 3D model in Figure 3 This example works on Figure 2 Steps S1 to S2 in .
[0132] Step S101, create a 3D model project page in the system; obtain the room layout diagram, equipment list and configuration table and fault measurement point table, sort out and unify the annotation relationship between the three, unify the labels of the equipment in the room layout diagram and the names in the equipment list table, and unify the equipment labels to which each measurement point in the fault measurement point table belongs to be consistent with those in the equipment list table.
[0133] Step S102, in the project, upload the space drawings in the specified format according to the system guidance, click to confirm and submit, the system calls the drawing parsing service to parse the room layout size through the edge detection and corner detection methods in the image recognition technology to create a proportional three-dimensional model canvas; based on the grayscale analysis technology, create a three-dimensional model of the room on the three-dimensional model canvas; based on the spatial coordinate analysis technology, mark the coordinates of the equipment placement position on the three-dimensional model; finally, the generated three-dimensional model description data parameters and the three-dimensional model description data parameters of the drawing parsing are stored in a structured database, and the parsing success is returned.
[0134] Step S103, in the project, upload the device configuration table in the specified format according to the system guidance, click to confirm and submit, the system calls the configuration table parsing service, stores the information in the configuration table into the structured database, and returns a successful parsing.
[0135] Step S104: Upload the health measurement point configuration table in the specified format according to the guidance in the project. The measurement point configuration will be linked with the equipment configuration for verification. After confirming that the data is consistent, it will be stored in the structured database and the parsing success will be returned.
[0136] Step S201, using the data from S103 to S104, a corresponding file is generated to describe the three-dimensional model.
[0137] Step S202 , using the data of S102 and the three-dimensional model generated in S201 to perform parallel system configuration in the canvas.
[0138] Step S203, rendering the configured parallel system in the canvas using the default / set material to achieve the target effect.
[0139] Step S204, the finally generated 3D model is stored in the model library in the form of a file for subsequent use. Subsequent use can directly select the historical project, and when the project is loaded, the system finds the corresponding model loaded project in the model library and renders it into the 3D screen of the project; or when creating a new project, it can directly select an existing model in the model library and load it into the 3D model design screen, and complete the creation of the new model by updating the fault point table.
[0140] Implementation example 2: Real-time display of the current DCS operating status.
[0141] This example is used to display the operating status of the DCS in real time through a parallel system three-dimensional model, and to indicate whether there is a fault in the system through the actual status of the model.
[0142] like Figure 6 As shown in the figure, this example uses the system's built 3D model and data acquisition components to obtain real-time data binding, instant update, real-time rendering and other functions to display the current DCS health status in real time. This example works on Figure 1 Steps S3 to S6 in .
[0143] Step S301, loading a 3D model project page in the system.
[0144] Step S302: The health measurement point data in the DCS and PHM are collected into the system's time series database through the system's data collection function.
[0145] Step S401, bind the time series data of the measurement points used in the model with the corresponding components in the three-dimensional model. The binding process is based on the room layout diagram, equipment list and configuration table and fault measurement point table of S1, sorting out and unifying the annotation relationship between the three, unifying the equipment labels in the room layout diagram and the equipment names in the equipment list table; unifying the equipment labels to which each measurement point in the fault measurement point table belongs and the equipment names in the equipment list table. When the three-dimensional model is started in the parallel system and a three-dimensional display screen is generated, the system will load the last data of the corresponding fault measurement point from the time series database according to the fault point name attribute in the three-dimensional model, which is used to display the instantaneous state of the current system.
[0146] Step S501: parse the data status of all measurement points used in the parallel system in real time. If the data status changes, the display effect in the parallel system is updated synchronously. The parsing process is updated in the form of continuous back-end detection, which is mainly divided into two ways:
[0147] 1) The data acquisition component service monitors the data with status attributes uploaded by the DCS and PHM systems in real time. When a specific status mark appears, the data is saved to the time series library, and the status is pushed to the model rendering service through the internal interface. After obtaining the information, the model rendering service updates the status to the 3D model rendering and displays it.
[0148] 2) The data acquisition component periodically obtains data from the time series library and compares it with the threshold of the fault measurement point in the 3D model. If the fault state is not triggered, the data will not be updated to the 3D model rendering service; if the data triggers the threshold, the data will be converted into the data format of the 3D model rendering service (for example, the xx measurement point under the xx device triggers a serious fault, and the fault information includes "xxx") and pushed to the rendering service. After the model rendering service obtains the information, it updates the state to the 3D model rendering and displays it.
[0149] Step S601: Generate a user display page for the parallel system according to the status of the measurement point data.
[0150] Implementation example three shows the predicted status of future DCS system health.
[0151] This example is used to statically display the operating status of the DCS system in the next 7 days, 30 days, 60 days and 90 days through a parallel system 3D model.
[0152] like Figure 7 As shown in the figure, this example uses the built 3D model of the system and the future prediction data provided by the PHM system to bind and display the health status of the DCS system within a specified future time range through the real-time rendering function. Figure 1 Steps S3, S4, S5 and S7 in .
[0153] Step S301, load the 3D model project page in the system; obtain the PHM system's prediction data on the health status of the DCS system, and store the data in the structure library; in the parallel system, store all fault measurement point attributes bound to the 3D model in the structure library, and each fault measurement point will store the result value of each prediction, and save the date corresponding to the result value. Used when loading prediction data for the 3D model.
[0154] Step S401 : Binding the future structural data of the fault measuring point used in the model with the corresponding components in the three-dimensional model.
[0155] Step S501, switch the parallel system 3D model to the prediction mode, the backend data will be switched from the time series library to the structured data storing the PHM prediction data, the most recent prediction result will be loaded into the 3D model by default, and the effect will be displayed in the 3D page. The prediction results provide 4 types of results: 7 days later, 30 days later, 60 days later, and 90 days later. The result after 7 days is displayed by default. The operator can switch the displayed prediction results through the buttons provided on the 3D page.
[0156] Step S701, generating a user display page of the parallel system according to the state of the measurement point data, and outputting the prediction results in parallel at the upper left corner of the three-dimensional model page.
[0157] Implementation example 4: Real-time display of the historical DCS system health change process:
[0158] Used to load data within a user-specified time range, which can be used to reproduce historical faults and to locate the specific location of the fault.
[0159] like Figure 8 As shown in the figure, this example binds the historical data of the measurement points within the specified range stored in the system's built 3D model and the system's timing library, loads the historical data one by one in the form of playback and renders it to the model, or in the form of step-by-step execution, the operator controls the loading of historical data into the model, and displays the status of the parallel system corresponding to the currently loaded data. This example works on Figure 1 Steps S3, S4, S5 and S8 in .
[0160] Step S303, loading the parallel system 3D model project page in the system; switching the parallel system 3D model to the fault mode; and displaying a time range selection component on the 3D model display page.
[0161] Step S401, obtaining historical data from the time series library according to the time range input / selected by the user on the page, and binding the historical time series data used in the model with the corresponding components in the parallel system three-dimensional model.
[0162] Step S501, updating the display effect in the parallel system three-dimensional model.
[0163] Step S801: Generate a user display page of the parallel system three-dimensional model according to the status of the measurement point data.
[0164] Step S802: After the operator selects the time range, he can choose to play step by step or play automatically. Optionally, the interval between each step can be set during step by step playback, such as 500ms or 5s, and the operator needs to click the next step / previous step to control the loading of data and affect the display effect of the 3D model. Optionally, the playback speed can be set for automatic playback, that is, the speed of loading data, and the playback can be paused at any time.
[0165] This application reasonably uses the room layout diagram, equipment list and configuration table and fault measurement point table of the distributed control system DCS to build a parallel system three-dimensional model, which greatly reduces the modeling cost and improves the modeling efficiency.
[0166] This application uses the binding of DCS health data to accurately display the location and attribute information of the faulty equipment in 3D, which greatly reduces the troubleshooting personnel's search for the equipment location and improves work efficiency.
[0167] The system of the present application realizes a step-by-step analysis of the fault occurrence process by loading the DCS historical health data, providing accurate process information and decision support for detection personnel and developers.
[0168] This application is different from CN117131708B. The modeling method and application of the parallel system seismic mechanism model of nuclear industry DCS equipment only implements the parallel system mechanism model of a single DCS device, focusing on the 3D display of the health status information of the entire DCS system.
[0169] This application is different from CN116009415B. It is a 2D model three-dimensionalization system, method, and storage medium based on Unity, which only realizes the 3D animation effect of OMI symbols, and truly realizes the full 3D simulation of the entire DCS system to the granularity of components;
[0170] This application is different from CN116756693A. A data fusion method for parallel systems and subsystems of a chemical plant provides active numbering for various types of data, and automatically completes model construction and attribute correspondence through room layout diagrams, equipment configuration tables and fault measurement point tables.
[0171] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the above-mentioned method for generating a parallel system three-dimensional model based on a DCS configuration file is implemented.
[0172] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, which, when executed by a processor, implements the above-mentioned method for generating a parallel system three-dimensional model based on a DCS configuration file.
[0173] In an exemplary embodiment, a computer program product is provided, including a computer program, which implements the above-mentioned method for generating a parallel system three-dimensional model based on a DCS configuration file when executed by a processor.
[0174] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a parallel system three-dimensional model generation method based on a DCS configuration file is implemented.
[0175] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0176] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0177] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0178] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0180] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for generating a parallel system three-dimensional model based on a DCS configuration file, characterized in that: include: Obtain the room layout diagram, equipment list and configuration table and fault measurement point table of the distributed control system; Generate a parallel system three-dimensional model of the distributed control system according to the room layout diagram, the equipment list and configuration table, and the fault measurement point table to display the historical operating status, current operating status, or operating status after a preset period of time of the distributed control system; According to the room layout diagram, the equipment list and configuration table and the fault measurement point table, a parallel system three-dimensional model of the distributed control system is generated, which specifically includes: According to the room layout diagram, using an edge detection algorithm and a corner point detection algorithm, determining a parsed room layout diagram; Establishing an initial three-dimensional model of the distributed control system based on the equipment list and configuration table and the parsed room layout diagram; Based on the fault measurement point table, the initial three-dimensional model of the distributed control system is rendered to obtain a parallel system three-dimensional model of the distributed control system.
2. The method for generating a parallel system three-dimensional model based on a DCS configuration file according to claim 1, characterized in that: According to the room layout diagram, an edge detection algorithm and a corner point detection algorithm are used to determine a parsed room layout diagram, specifically including: According to the size of the room layout diagram, a canvas of a three-dimensional model of the same proportion as the distributed control system is established using an edge detection algorithm and a corner detection algorithm; According to the room layout diagram, establish a three-dimensional model of the room; According to the room layout diagram, the coordinates of the device placement positions are marked in the three-dimensional model of the room to obtain a parsed room layout diagram.
3. The method for generating a parallel system three-dimensional model based on a DCS configuration file according to claim 2, characterized in that: According to the equipment list and configuration table and the parsed room layout diagram, an initial three-dimensional model of the distributed control system is established, including: Selecting an existing equipment 3D model or component 3D model based on the equipment list and configuration table; The selected equipment 3D model or component 3D model is placed at the corresponding position in the analyzed room layout diagram, and the 3D connection line drawing is automatically completed to obtain the initial 3D model of the distributed control system.
4. The method for generating a parallel system three-dimensional model based on a DCS configuration file according to claim 3, characterized in that: Based on the fault measurement point table, the initial three-dimensional model of the distributed control system is rendered to obtain a parallel system three-dimensional model of the distributed control system, specifically including: According to the fault measuring point table, a corresponding relationship between the fault measuring point and all the three-dimensional models of equipment or three-dimensional models of components in the initial three-dimensional model is obtained; the fault measuring point is stored in the fault measuring point table; Binding the fault measurement point with a corresponding equipment three-dimensional model or component three-dimensional model according to the corresponding relationship; Setting the display color of the equipment three-dimensional model or the component three-dimensional model and the corresponding prompt information according to the severity level and the health threshold in the fault measurement point; The initial three-dimensional model of the distributed control system is rendered to obtain a parallel system three-dimensional model of the distributed control system.
5. The method for generating a parallel system three-dimensional model based on a DCS configuration file according to claim 1, characterized in that: Based on the parallel system three-dimensional model of the distributed control system, the current operating status of the distributed control system is displayed, specifically including: Acquire real-time status data of fault measurement points collected by the distributed control system and the fault prediction and health management system; Loading the real-time status data of the fault measurement point into the parallel system three-dimensional model of the distributed control system; The real-time status data of the fault measuring points are updated layer by layer using the hierarchical analysis method, and are updated to the parallel system three-dimensional model of the distributed control system to display the current operating status of the distributed control system.
6. The method for generating a parallel system three-dimensional model based on a DCS configuration file according to claim 1, characterized in that: Based on the parallel system three-dimensional model of the distributed control system, the operating status of the distributed control system after a preset period of time is displayed, specifically including: Obtain the fault prediction data of the fault measurement point after the preset period in the fault prediction and health management system; Comparing the fault measurement point prediction data with the corresponding health threshold to obtain a comparison result; The display effect of the parallel system three-dimensional model of the distributed control system is modified and rendered according to the comparison result to display the operating status of the distributed control system after a preset period of time.
7. The method for generating a parallel system three-dimensional model based on a DCS configuration file according to claim 1, characterized in that: Based on the parallel system three-dimensional model of the distributed control system, the historical operation status of the distributed control system is displayed, specifically including: Obtain historical fault data of fault measurement points within a preset historical time range in the fault prediction and health management system; The historical fault data of the fault measuring point is loaded into the parallel system three-dimensional model of the distributed control system to display the historical operation status of the distributed control system.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for generating a parallel system three-dimensional model based on a DCS configuration file according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a parallel system three-dimensional model based on a DCS configuration file described in any one of claims 1 to 7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating a parallel system three-dimensional model based on a DCS configuration file described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Modeling method and application of digital twin seismic mechanism model for DCS equipment in nuclear industry
CN117131708B