Automatic instrument design method and device
By building a standard component library and a symbol library for automated instrument design, the connection between the device creation table and the pre-planning navigator is achieved, the problem of inefficiency in manual drawing is solved, standardized drawings and statistical reports are generated, design efficiency and standardization are improved, and the design efficiency and standardization are achieved. Efficient conversion of complex process data.
Patent Information
- Application Number
- CN202411188513.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-31
AI Technical Summary
The existing automated instrument design relies on manual drawing, which is inefficient and prone to errors, and the drawings designed by different personnel are inconsistent, which affects standardization construction.
By building a standard component library and symbol library for automated instrument design, we can realize the correlation between the device creation table and the pre-planning navigator, and automatically form diagrams to ensure the consistency and accuracy of data and graphics, and generate standardized drawings and statistical reports.
It greatly improves design efficiency and standardization, realizes efficient conversion of complex process data to standard design files, and reduces design errors and inconsistencies.
Smart Images

Figure CN119227168A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automation instruments, and in particular to a design method and device for automation instruments. Background Art
[0002] Automation instruments are widely used in various industrial fields. They are used to collect and detect on-site operation data of public and auxiliary facilities. They are crucial to the standardization and safety of controlling the production and manufacturing process. Therefore, improving the level of automation instrument design is of great significance to the development of various industrial fields.
[0003] At present, the design of automation instrumentation devices in most industrial design companies is still mainly based on manual drawing. It is necessary to manually query relevant standards, manually draw schematic symbols, manually draw circuit diagrams, gas supply and power supply system diagrams, and manually edit various statistical reports. The work is repetitive, cumbersome, and inefficient. The manually drawn graphics and report data are not related before and after. When the design changes, special attention must be paid to not omit the modification information, which is very time-consuming and labor-intensive, and prone to errors. Moreover, drawings designed by different personnel are likely to have different styles of symbols and drawing structures, which is not conducive to the standardization of the enterprise.
[0004] With the development and application of digital technology, many companies have begun to use EPLAN software for schematic design of electromechanical equipment. The software adopts the concept of digital structured drawing, has efficient data processing capabilities, and the drawings drawn are compact and highly standardized. The software can achieve the uniqueness of the ID of each component in the drawing by customizing standard symbol libraries, component libraries, and report files. No matter how many times it appears in the drawing structure, it can generate data connections for easy indexing. Preplanning, as an auxiliary function plug-in of EPLAN P8, can help the design of automated instruments to draw PCT loops and establish the hierarchical structure of loops through pre-planning functions.
[0005] However, EPLAN's primary drawing function is a universal function, and the statistical function and formatting of reports still require manual participation, and its automation capabilities are still lacking. Summary of the invention
[0006] In response to the problems in the prior art, this application provides an automated instrument design method and device, which can realize the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally map the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization level, and realizes the efficient conversion of complex process data to standard design files.
[0007] In order to solve at least one of the above problems, the present application provides the following technical solutions:
[0008] According to a first aspect of an embodiment of the present application, the present application provides an automated instrument design method, comprising:
[0009] Constructing a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model, and circuit description of the components;
[0010] Building a standard drawing environment, the environment including an equipment creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a printing configuration file;
[0011] Importing the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establishing an instrument loop hierarchical structure and generating an instrument system diagram, and generating a standardized report file based on the data and location codes in the system diagram;
[0012] An automated design drawing embedded with a report function is generated according to the system diagram and the standardized report file.
[0013] According to any implementation manner of the present application, after constructing the device creation table, it also includes:
[0014] The power supply circuit data, gas supply circuit data and isolated power distribution data in the equipment creation table are respectively split into three sub-pages and converted into corresponding import tables;
[0015] The corresponding power supply circuit number is determined according to the power supply circuit data.
[0016] According to any embodiment of the present application, the instrument system diagram includes a loop diagram, a gas supply system diagram, a power supply system diagram, and an isolated power distribution system diagram, and the process equipment data in the equipment creation table is imported into each structure segment of the pre-planning navigator according to the pre-planning import rules, and the instrument loop hierarchical structure is established and the instrument system diagram is generated, including:
[0017] Importing the total page data of the equipment creation table into the loop structure section of the pre-planning navigator to establish a loop hierarchy structure to generate a loop diagram;
[0018] Importing the import table containing the power supply circuit data into the power supply system structure section of the pre-planning navigator to generate a power supply system diagram;
[0019] Importing the import table containing the gas supply circuit data into the gas supply system structure section of the pre-planning navigator to generate a gas supply system diagram;
[0020] The import table containing the isolated power distribution data is imported into the isolated power distribution structure section of the pre-planning navigator to generate an isolated power distribution system diagram.
[0021] According to any embodiment of the present application, the standardized report file includes a standardized equipment table, material table, pressure pipe table, processing and prefabrication table and cable table generated according to the data and location codes in the system diagram.
[0022] According to any embodiment of the present application, the automated design drawing embedded with a report function includes one or any combination of the following:
[0023] Drawing catalogue;
[0024] Schematic diagram of instrument control cabinet layout and table of embedded materials;
[0025] Schematic diagram of remote cabinet layout and table of embedded equipment materials;
[0026] Installation wiring diagram;
[0027] Instrument panel terminal wiring diagram and embedded equipment material list.
[0028] According to a second aspect of an embodiment of the present application, the present application provides an automated instrument design device, including:
[0029] The parameter construction module is used to: construct a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model and circuit description of the component;
[0030] An environment building module, used to: build a standard drawing environment, the environment including a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file and a print configuration file;
[0031] A file generation module is used to: import the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establish the instrument loop hierarchical structure and generate the instrument system diagram, and generate a standardized report file according to the data and location code in the system diagram;
[0032] The drawing generation module is used to generate an automated design drawing embedded with a report function according to the system diagram and the standardized report file.
[0033] According to any implementation manner of the present application, after the device creation table is constructed, a table arrangement module is also included, which is specifically used to:
[0034] The power supply circuit data, gas supply circuit data and isolated power distribution data in the equipment creation table are respectively split into three sub-pages and converted into corresponding import tables;
[0035] The corresponding power supply circuit number is determined according to the power supply circuit data.
[0036] According to any embodiment of the present application,
[0037] The instrument system diagram includes a loop diagram, a gas supply system diagram, a power supply system diagram, and an isolated power distribution system diagram, and the file generation module includes:
[0038] The first generating unit is used to: import the total page data of the equipment creation table into the loop structure section of the pre-planning navigator to establish a loop hierarchical structure to generate a loop diagram;
[0039] The second generating unit is used to: import the import table where the power supply loop data is located into the power supply system structure section of the pre-planning navigator to generate a power supply system diagram;
[0040] A third generating unit is used to: import the import table where the gas supply circuit data is located into the gas supply system structure section of the pre-planning navigator to generate a gas supply system diagram;
[0041] The fourth generating unit is used to: import the import table containing the isolated power distribution data into the isolated power distribution structure section of the pre-planning navigator to generate an isolated power distribution system diagram.
[0042] According to any embodiment of the present application, the standardized report file includes a standardized equipment table, material table, pressure pipe table, processing and prefabrication table and cable table generated according to the data and location codes in the system diagram.
[0043] According to any embodiment of the present application, the automated design drawing embedded with a report function includes one or any combination of the following:
[0044] Drawing catalogue;
[0045] Schematic diagram of instrument control cabinet layout and table of embedded materials;
[0046] Schematic diagram of remote cabinet layout and table of embedded equipment materials;
[0047] Installation wiring diagram;
[0048] Instrument panel terminal wiring diagram and embedded equipment material list.
[0049] According to a third aspect of an embodiment of the present application, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the automated instrument design method when executing the program.
[0050] According to a fourth aspect of the embodiments of the present application, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the automated instrument design method when executed by a processor.
[0051] According to a fifth aspect of the embodiments of the present application, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the automated instrument design method when executed by a processor.
[0052] It can be seen from the above technical scheme that the present application provides an automated instrument design method and device, which constructs a standard drawing environment by constructing a standard component library and symbol library for automated instrument device design; imports the process equipment data in the equipment creation table into each structural segment of the pre-planning navigator according to the pre-planning import rules, establishes an instrument loop hierarchy and generates an instrument system diagram, and generates a standardized report file based on the data and location code in the system diagram; generates an automated design drawing embedded with a report function based on the system diagram and the standardized report file, and the present application realizes the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally maps symbols and component information in the automatic drawing process to ensure the consistency and accuracy of data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization level, and realizes the efficient conversion of complex process data to standard design files. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] 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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0054] Figure 1 One of the flow charts of the automated instrument design method in the embodiment of the present application;
[0055] Figure 2 This is a second flow chart of the automated instrument design method in an embodiment of the present application;
[0056] Figure 3 A schematic diagram of the device creation table operation interface in an embodiment of the present application;
[0057] Figure 4 The third flowchart of the automated instrument design method in the embodiment of the present application;
[0058] Figure 5 This is a fourth flow chart of the automated instrument design method in an embodiment of the present application;
[0059] Figure 6 This is a schematic diagram of the data analysis and processing operation interface in the embodiment of the present application;
[0060] Figure 7 This is a schematic diagram of the batch import operation interface in an embodiment of the present application;
[0061] Figure 8 It is a schematic diagram of the drawing style in the embodiment of this application;
[0062] Fig. 9 This is a fifth flow chart of the automated instrument design method in the embodiment of the present application;
[0063] Fig.10 A structural diagram of an automated instrument design device in an embodiment of the present application;
[0064] Fig.11 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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.
[0066] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0067] Considering that the current primary mapping function based on EPLAN only has universal functions, the statistical function and format formulation of the report still require manual participation, and the automation capability is still lacking, this application provides an automated instrument design method and device, which realizes the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally maps the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization level, and realizes the efficient conversion of complex process data to standard design files.
[0068] For this application, the standardized component library and symbol library are customized to achieve the association between the equipment creation table and the pre-planning navigator, and the symbols and component information are bidirectionally mapped in the automatic drawing process to ensure the consistency and accuracy of data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization level, and realizes the efficient conversion of complex process data to standard design files. This application provides an embodiment of an automated instrument design method, see Figure 1 The automation instrument design method specifically includes the following contents:
[0069] Step S101: constructing a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model, and circuit description of the components.
[0070] First, a standardized component library and symbol library are constructed. These library files contain all the components and their corresponding digital properties required in the design process of automated instrumentation. These properties include, but are not limited to, the capacity, model, and circuit description of the components. By constructing these libraries, designers can quickly and accurately select and apply standardized components during the design process, ensuring the consistency and efficiency of the entire design process. In addition, the construction of standard component libraries and symbol libraries enables design data to be reused throughout the project, reducing duplication of work and improving the accuracy of the design, helping to maintain the uniformity of the design and ensuring that all components used meet the technical specifications and requirements of the project.
[0071] Step S102: constructing a standard drawing environment, which includes a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a print configuration file.
[0072] After that, a standardized drawing environment is established to support the smooth design of automation instrumentation. The drawing environment includes several key elements, such as equipment creation tables, pre-planning configuration files, basic project templates, structural segment templates, report output rule configuration files, and print configuration files. The equipment creation table is used to record and manage the data of all process equipment in the design. Pre-planning configuration files and templates provide a standardized framework and rules for the design process to ensure the consistency and maintainability of the design. The report output rule configuration file defines how to generate various statistical reports from the design data, while the print configuration file ensures that drawings and reports can be correctly output in a predefined format. By building this standardized drawing environment, the entire design process becomes more efficient, and standard data can be dynamically adjusted and maintained to meet the needs of different projects. For example, the custom library file allows the use of both SQL and Access formats, and users can choose according to their needs.
[0073] Step S103: Import the process equipment data in the equipment creation table into each structural segment of the pre-planning navigator according to the pre-planning import rules, establish the instrument loop hierarchy structure and generate the instrument system diagram, and generate a standardized report file based on the data and location codes in the system diagram.
[0074] Import the process equipment data in the equipment creation table into the various structural segments (such as loop structure segments, isolated power distribution structure segments, and power supply system structure segments) in the pre-planning navigator of the EPLAN software according to the pre-defined import rules. Among them, the pre-planning navigator will establish a hierarchical structure of the instrument loop based on these data, and automatically generate related system diagrams, such as loop diagrams, gas supply system diagrams, power supply system diagrams, and isolated power distribution system diagrams. Each device and loop in the drawing will be assigned a unique "location code" to ensure that the equipment in the design drawings and reports can be correctly identified and referenced. Based on the data and location codes in the system diagram, standardized report files can also be automatically generated. These reports include equipment tables, material tables, pressure pipe tables, processing prefabrication tables, and cable tables. Through this step, the drawing generation and data management of the entire design process become more automated and efficient.
[0075] Step S104: Generate an automation design drawing embedded with a report function according to the system diagram and the standardized report file.
[0076] Design drawings embedded with report functions are automatically generated based on previously generated system diagrams and standardized report files. These drawings include not only conventional engineering drawings, such as drawing catalogs, instrument control cabinet layout diagrams, and remote cabinet layout diagrams, but also related report information such as material lists and equipment material lists embedded therein. By embedding reports directly into drawings, designers and subsequent construction teams can directly obtain relevant equipment and material information while viewing drawings, which improves the transparency and work efficiency of the design. In addition, equipment material lists are also embedded in key drawings such as HOOKUP diagrams and instrument panel terminal wiring diagrams to ensure the consistency of all design documents and reduce errors caused by inconsistent information. Through this automated process, the entire design process, from data import to drawing generation to report output, forms a complete closed loop, improving the quality and efficiency of the design.
[0077] From the above description, it can be seen that the automated instrument design method provided by the embodiment of the present application can realize the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally map the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of the data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization, and realizes the efficient conversion of complex process data to standard design files.
[0078] In one embodiment of the automated instrument design method of the present application, see Figure 2 , after constructing the device creation table, it also includes:
[0079] Step S102A: split the power supply circuit data, gas supply circuit data and isolated power distribution data in the equipment creation table into three sub-pages respectively and convert them into corresponding import tables.
[0080] Step S102B: Determine the corresponding power supply circuit number according to the power supply circuit data.
[0081] First, if Figure 3 As shown, the function of "equipment table creation operation" is developed based on Excel. That is, when the equipment table is prepared, the power supply circuit (sheet name is external power supply), gas supply circuit (sheet name is gas supply table), and isolation distributor power distribution system diagram (sheet name is isolation distribution) are separated into three independent sheet pages. Then, by generating the instrument power supply function, the power supply circuit number is automatically generated in the external power supply table, and by generating the import table function, the data of the above forms are converted into preparation tables for importing into EPLAN to automatically generate schematic diagrams.
[0082] The above EXCEL operation process is as follows Figure 4 As shown, first open the Excel file and prepare the basic data of the equipment creation table, including detailed information of all process equipment. After the data preparation is completed, the data in the equipment creation table is split into three independent Sheet pages according to different system requirements, namely the isolated power distribution page, the external power supply page and the gas supply table, which correspond to the data of the isolated power distribution system diagram, the power supply circuit and the gas supply circuit respectively. Then, through the automation function of Excel, the instrument power supply function will automatically generate the power supply circuit number in the external power supply table. Finally, through the function of generating the import table, the data in the above three forms are converted into a preparation table for importing into the EPLAN software, and then the corresponding schematic diagram is automatically generated in EPLAN.
[0083] In one embodiment of the automated instrument design method of the present application, the instrument system diagram includes a loop diagram, a gas supply system diagram, a power supply system diagram, and an isolated power distribution system diagram. The process equipment data in the equipment creation table is imported into each structure segment of the pre-planning navigator according to the pre-planning import rules, and the instrument loop hierarchical structure is established and the instrument system diagram is generated. Figure 5 ,include:
[0084] Step S103A: importing the total page data of the equipment creation table into the loop structure section of the pre-planning navigator to establish a loop hierarchical structure to generate a loop diagram;
[0085] Step S103B: importing the import table containing the power supply loop data into the power supply system structure section of the pre-planning navigator to generate a power supply system diagram;
[0086] Step S103C: importing the import table containing the gas supply circuit data into the gas supply system structure section of the pre-planning navigator to generate a gas supply system diagram;
[0087] Step S103D: Import the import table containing the isolated power distribution data into the isolated power distribution structure section of the pre-planning navigator to generate an isolated power distribution system diagram.
[0088] For example, first, by developing data analysis and processing functions on the EPLAN side, all functions are planned as intuitive UI interfaces, such as Figure 6 shown.
[0089] 1) Set the “Location Code”.
[0090] "Location code" contains the higher-level code (=) and the user-defined code (-). This setting information will be used for all drawings and report pages in the project. For example, =200B.230A.231A-ID000286.
[0091] 2) "Batch import" device creation table.
[0092] Import the sheet1 page (total page), isolated power distribution page, external power supply page, and gas supply meter page in the equipment creation table into the pre-planning navigator according to the pre-planning import rules. The sheet1 page will be imported into the Loop structure segment of the pre-planning navigator; the isolated power distribution page will be imported into the GL structure segment of the pre-planning navigator; the external power supply page will be imported into the PS structure segment of the pre-planning navigator; and the gas supply meter page will be imported into the IA structure segment of the pre-planning navigator. In summary, combined with Preplanning customized PCT loops, establish the instrument loop hierarchical structure, such as Figure 7 As shown, the circuit diagram, gas supply system diagram, power supply system diagram, and isolated distribution system diagram are automatically generated.
[0093] In an optional embodiment, the standardized report file includes a standardized equipment table, material table, pressure pipe table, processing and prefabrication table and cable table generated according to the data and location codes in the system diagram.
[0094] Among them, five standardized report files are generated through EPLAN customization, including equipment table, material table, pressure pipe table, processing prefabrication table and cable table. Specifically, EPLAN will automatically parse the drawing data and location codes in each structural segment, and then automatically calculate and logically judge by reading the data in these drawings and related component information to ensure that the generated reports are accurate. Finally, the parameters obtained by these calculations and judgments will be automatically stored in the database for subsequent management and use.
[0095] In an optional embodiment, if Figure 8As shown, the automated design drawings embedded with report functions include one or any combination of the following:
[0096] Drawing catalogue;
[0097] Schematic diagram of instrument control cabinet layout and table of embedded materials;
[0098] Schematic diagram of remote cabinet layout and table of embedded equipment materials;
[0099] Installation wiring diagram;
[0100] Instrument panel terminal wiring diagram and embedded equipment material list.
[0101] Among them, the drawing catalog is the catalog part of the design drawings, which lists all the drawings in the entire project and provides a clear structure and reference order.
[0102] The instrument control cabinet layout diagram and embedded material list shows the layout of the instrument control cabinet, and the material list is embedded directly in the drawing. The material list lists all the equipment and materials used in the control cabinet, ensuring that the drawing reader can clearly understand the specific materials used while viewing the layout.
[0103] The remote cabinet layout diagram and embedded equipment material table are similar to the instrument control cabinet layout diagram, but for remote cabinets. The equipment material table embedded in the drawing lists all the equipment used in the remote cabinet and their detailed information for easy reference and management.
[0104] The installation wiring diagram, also known as the HOOKUP diagram, shows the specific installation and wiring methods of the equipment and is an important drawing used to guide on-site installation.
[0105] The instrument panel terminal wiring diagram and embedded equipment material list show the terminal wiring of the instrument panel, and embed the equipment material list related to these terminal connections in the drawing, providing detailed information on the connected equipment to ensure the accuracy of installation and inspection.
[0106] For example, a specific operation flow chart is as follows: Fig. 9 As shown, the whole process starts from the start of the program. The designer first creates a new design task by creating a new project to ensure that all subsequent operations are performed in the project environment.
[0107] Next, the user clicks the "Batch Import" button to batch import the data in the pre-prepared equipment creation table into EPLAN. At this time, the system will import the data in the equipment creation table into different structure segments of the EPLAN pre-planning navigator according to different categories of data.
[0108] For example, the data of the total page will be imported into the LOOP structure segment, which represents the loop hierarchy of the entire project; the data of the isolated distribution page will be imported into the GL structure segment, which is responsible for processing the related design of the isolated distribution system; the data of the external power supply page will be imported into the PS structure segment, which processes the design data of the power supply system; and the data of the gas supply meter will be imported into the IA structure segment, which represents the design of the gas supply system.
[0109] After the data is imported, EPLAN will automatically parse the data in these structural segments and generate a variety of standardized reports, such as equipment tables, material tables, pressure pipe tables, processing and prefabrication tables, and cable tables, etc. These reports ensure that all design data is accurately counted and presented in a standardized format for easy subsequent management and use.
[0110] In addition, the system will automatically generate a variety of design drawings with embedded report functions based on the generated report data. These drawings not only show the graphic information of the design, but also combine the corresponding report data, such as embedding material tables, equipment tables and other information in the drawings, so that designers and construction teams can obtain relevant data while viewing the drawings.
[0111] For this application, the standardized component library and symbol library are customized to achieve the association between the equipment creation table and the pre-planning navigator, and the symbols and component information are bidirectionally mapped in the automatic drawing process to ensure the consistency and accuracy of data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization level, and realizes the efficient conversion of complex process data to standard design files. This application provides an embodiment of an automated instrument design device for realizing all or part of the contents of the automated instrument design method, see Fig.10 The automatic instrument design device specifically includes the following contents:
[0112] The parameter construction module 1101 is used to: construct a standard component library and symbol library for the design of automated instrumentation devices, wherein the component library includes the capacity, model and circuit description of the component;
[0113] An environment construction module 1102 is used to: construct a standard drawing environment, which includes a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a print configuration file;
[0114] The file generation module 1103 is used to: import the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establish the instrument loop hierarchical structure and generate the instrument system diagram, and generate a standardized report file according to the data and location code in the system diagram;
[0115] The drawing generation module 1104 is used to generate an automated design drawing embedded with a report function according to the system diagram and the standardized report file.
[0116] According to any implementation manner of the present application, after the device creation table is constructed, a table arrangement module is also included, which is specifically used to:
[0117] The power supply circuit data, gas supply circuit data and isolated power distribution data in the equipment creation table are respectively split into three sub-pages and converted into corresponding import tables;
[0118] The corresponding power supply circuit number is determined according to the power supply circuit data.
[0119] According to any embodiment of the present application, the instrument system diagram includes a loop diagram, a gas supply system diagram, a power supply system diagram, and an isolated power distribution system diagram, and the file generation module includes:
[0120] The first generating unit is used to: import the total page data of the equipment creation table into the loop structure section of the pre-planning navigator to establish a loop hierarchical structure to generate a loop diagram;
[0121] The second generating unit is used to: import the import table where the power supply loop data is located into the power supply system structure section of the pre-planning navigator to generate a power supply system diagram;
[0122] A third generating unit is used to: import the import table where the gas supply circuit data is located into the gas supply system structure section of the pre-planning navigator to generate a gas supply system diagram;
[0123] The fourth generating unit is used to: import the import table containing the isolated power distribution data into the isolated power distribution structure section of the pre-planning navigator to generate an isolated power distribution system diagram.
[0124] According to any embodiment of the present application, the standardized report file includes a standardized equipment table, material table, pressure pipe table, processing and prefabrication table and cable table generated according to the data and location codes in the system diagram.
[0125] According to any embodiment of the present application, the automated design drawing embedded with a report function includes one or any combination of the following:
[0126] Drawing catalogue;
[0127] Schematic diagram of instrument control cabinet layout and table of embedded materials;
[0128] Schematic diagram of remote cabinet layout and table of embedded equipment materials;
[0129] Installation wiring diagram;
[0130] Instrument panel terminal wiring diagram and embedded equipment material list.
[0131] From the above description, it can be seen that the automated instrument design device provided in the embodiment of the present application can realize the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally map the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of the data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization, and realizes the efficient conversion of complex process data to standard design files.
[0132] From the hardware level, for this application, the standardized component library and symbol library are customized to achieve the association between the equipment creation table and the pre-planning navigator, and the symbols and component information are bidirectionally mapped during the automatic drawing process to ensure the consistency and accuracy of data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization level, and realizes the efficient conversion of complex process data to standard design files. This application provides an embodiment of an electronic device for implementing all or part of the contents of the automated instrument design method, and the electronic device specifically includes the following contents:
[0133] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the automation instrument design device and related devices such as the core business system, user terminal and related database; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the logic controller can be implemented with reference to the embodiment of the automation instrument design method and the embodiment of the automation instrument design device in the embodiment, and the contents thereof are incorporated herein, and the repeated parts are not repeated.
[0134] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.
[0135] In practical applications, part of the automated instrument design method can be executed on the electronic device side as described above, or all operations can be completed in the client device. The selection can be made based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.
[0136] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.
[0137] Fig.11 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig.11 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig.11 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.
[0138] In one embodiment, the automated instrument design method function may be integrated into the central processing unit 9100. The central processing unit 9100 may be configured to perform the following control:
[0139] Step S101: constructing a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model, and circuit description of the components;
[0140] Step S102: constructing a standard drawing environment, which includes a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a print configuration file;
[0141] Step S103: importing the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establishing an instrument loop hierarchical structure and generating an instrument system diagram, and generating a standardized report file according to the data and location codes in the system diagram;
[0142] Step S104: Generate an automation design drawing embedded with a report function according to the system diagram and the standardized report file.
[0143] From the above description, it can be seen that the electronic device provided by the embodiment of the present application realizes the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally maps the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of the data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization, and realizes the efficient conversion of complex process data to standard design files.
[0144] In another embodiment, the automated instrument design device may be configured separately from the central processor 9100. For example, the automated instrument design device may be configured as a chip connected to the central processor 9100, and the automated instrument design method function may be implemented under the control of the central processor.
[0145] like Fig.11 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig.11 In addition, the electronic device 9600 may also include Fig.11 For components not shown, reference may be made to the prior art.
[0146] like Fig.11 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.
[0147] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.
[0148] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.
[0149] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.
[0150] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0151] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0152] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.
[0153] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the method for designing an automated instrument in the above embodiment, where the execution subject is a server or a client. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all the steps in the method for designing an automated instrument in the above embodiment, where the execution subject is a server or a client, are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0154] Step S101: constructing a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model, and circuit description of the components;
[0155] Step S102: constructing a standard drawing environment, which includes a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a print configuration file;
[0156] Step S103: importing the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establishing an instrument loop hierarchical structure and generating an instrument system diagram, and generating a standardized report file according to the data and location codes in the system diagram;
[0157] Step S104: Generate an automation design drawing embedded with a report function according to the system diagram and the standardized report file.
[0158] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present application realizes the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally maps the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of the data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization, and realizes the efficient conversion of complex process data to standard design files.
[0159] The embodiments of the present application also provide a computer program product capable of implementing all the steps of the automation instrument design method in the above embodiments, where the execution subject is a server or a client. When the computer program / instruction is executed by a processor, the steps of the automation instrument design method are implemented. For example, the computer program / instruction implements the following steps:
[0160] Step S101: constructing a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model, and circuit description of the components;
[0161] Step S102: constructing a standard drawing environment, which includes a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a print configuration file;
[0162] Step S103: importing the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establishing an instrument loop hierarchical structure and generating an instrument system diagram, and generating a standardized report file according to the data and location codes in the system diagram;
[0163] Step S104: Generate an automation design drawing embedded with a report function according to the system diagram and the standardized report file.
[0164] From the above description, it can be seen that the computer program product provided by the embodiment of the present application realizes the association between the equipment creation table and the pre-planning navigator by customizing the standardized component library and symbol library, and bidirectionally maps the symbols and component information in the automatic drawing process to ensure the consistency and accuracy of the data and graphics. Through automatic calculation and logical judgment, standardized drawings and statistical reports are generated, which greatly improves the design efficiency and standardization, and realizes the efficient conversion of complex process data to standard design files.
[0165] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0166] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0167] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0168] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0169] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. An automated instrument design method, characterized in that: The method comprises: Constructing a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model, and circuit description of the components; Building a standard drawing environment, the environment including an equipment creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file, and a printing configuration file; Importing the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establishing an instrument loop hierarchical structure and generating an instrument system diagram, and generating a standardized report file based on the data and location codes in the system diagram; An automated design drawing embedded with a report function is generated according to the system diagram and the standardized report file.
2. The automation instrument design method according to claim 1, characterized in that: After constructing the device creation table, it also includes: The power supply circuit data, gas supply circuit data and isolated power distribution data in the equipment creation table are respectively split into three sub-pages and converted into corresponding import tables; The corresponding power supply circuit number is determined according to the power supply circuit data.
3. The automation instrument design method according to claim 2, characterized in that: The instrument system diagram includes a loop diagram, a gas supply system diagram, a power supply system diagram, and an isolated power distribution system diagram. The process equipment data in the equipment creation table is imported into each structure segment of the pre-planning navigator according to the pre-planning import rules, and the instrument loop hierarchical structure is established and the instrument system diagram is generated, including: Importing the total page data of the equipment creation table into the loop structure section of the pre-planning navigator to establish a loop hierarchy structure to generate a loop diagram; Importing the import table containing the power supply circuit data into the power supply system structure section of the pre-planning navigator to generate a power supply system diagram; Importing the import table containing the gas supply circuit data into the gas supply system structure section of the pre-planning navigator to generate a gas supply system diagram; The import table containing the isolated power distribution data is imported into the isolated power distribution structure section of the pre-planning navigator to generate an isolated power distribution system diagram.
4. The automation instrument design method according to claim 1, characterized in that: The standardized report file includes a standardized equipment table, a material table, a pressure pipe table, a processing and prefabrication table and a cable table generated according to the data and location codes in the system diagram.
5. The automation instrument design method according to claim 4, characterized in that: The automated design drawings embedded with report functions include one or any combination of the following: Drawing catalogue; Schematic diagram of instrument control cabinet layout and table of embedded materials; Schematic diagram of remote cabinet layout and table of embedded equipment materials; Installation wiring diagram; Instrument panel terminal wiring diagram and embedded equipment material list.
6. An automated instrument design device, characterized in that: The device comprises: The parameter construction module is used to: construct a standard component library and symbol library for designing automated instrumentation devices, wherein the component library includes the capacity, model and circuit description of the component; An environment building module, used to: build a standard drawing environment, the environment including a device creation table, a pre-planning configuration file, a basic project template, a structure segment template, a report output rule configuration file and a print configuration file; A file generation module is used to: import the process equipment data in the equipment creation table into each structure segment of the pre-planning navigator according to the pre-planning import rules, establish the instrument loop hierarchical structure and generate the instrument system diagram, and generate a standardized report file according to the data and location code in the system diagram; The drawing generation module is used to generate an automated design drawing embedded with a report function according to the system diagram and the standardized report file.
7. The automated instrument design device according to claim 6, characterized in that: After constructing the device creation table, a table sorting module is also included, which is specifically used to: The power supply circuit data, gas supply circuit data and isolated power distribution data in the equipment creation table are respectively split into three sub-pages and converted into corresponding import tables; The corresponding power supply circuit number is determined according to the power supply circuit data.
8. The automated instrument design device according to claim 7, characterized in that: The instrument system diagram includes a loop diagram, a gas supply system diagram, a power supply system diagram, and an isolated power distribution system diagram, and the file generation module includes: The first generating unit is used to: import the total page data of the equipment creation table into the loop structure section of the pre-planning navigator to establish a loop hierarchical structure to generate a loop diagram; The second generating unit is used to: import the import table where the power supply loop data is located into the power supply system structure section of the pre-planning navigator to generate a power supply system diagram; A third generating unit is used to: import the import table where the gas supply circuit data is located into the gas supply system structure section of the pre-planning navigator to generate a gas supply system diagram; The fourth generating unit is used to: import the import table containing the isolated power distribution data into the isolated power distribution structure section of the pre-planning navigator to generate an isolated power distribution system diagram.
9. The automated instrument design device according to claim 6, characterized in that: The standardized report file includes a standardized equipment table, a material table, a pressure pipe table, a processing and prefabrication table and a cable table generated according to the data and location codes in the system diagram.
10. The automated instrument design device according to claim 9, characterized in that: The automated design drawings embedded with report functions include one or any combination of the following: Drawing catalogue; Schematic diagram of instrument control cabinet layout and table of embedded materials; Schematic diagram of remote cabinet layout and table of embedded equipment materials; Installation wiring diagram; Instrument panel terminal wiring diagram and embedded equipment material list.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the automated instrument design method according to any one of claims 1 to 5 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the automated instrument design method according to any one of claims 1 to 5 are implemented.
13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the automated instrument design method according to any one of claims 1 to 5 are implemented.
