CN109409005B - DCS design document generation method, device, equipment and readable storage medium - Google Patents

DCS design document generation method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN109409005B
CN109409005B CN201811354502.9A CN201811354502A CN109409005B CN 109409005 B CN109409005 B CN 109409005B CN 201811354502 A CN201811354502 A CN 201811354502A CN 109409005 B CN109409005 B CN 109409005B
Authority
CN
China
Prior art keywords
cabinet
measuring point
data
dcs
design document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811354502.9A
Other languages
Chinese (zh)
Other versions
CN109409005A (en
Inventor
侯伟军
程江涛
孙宁
刘栋
李志刚
刘俊杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hollysys Automation Co Ltd
Original Assignee
Hangzhou Hollysys Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hollysys Automation Co Ltd filed Critical Hangzhou Hollysys Automation Co Ltd
Priority to CN201811354502.9A priority Critical patent/CN109409005B/en
Publication of CN109409005A publication Critical patent/CN109409005A/en
Application granted granted Critical
Publication of CN109409005B publication Critical patent/CN109409005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a DCS design document generation method, which comprises the following steps: acquiring an IO (input/output) measuring point table of the DCS, traversing and inquiring each measuring point data in the IO measuring point table, and determining whether measuring point errors exist in the IO measuring point table; if not, summarizing the measuring point data in the IO measuring point table to obtain summarized data; if the summarized materials corresponding to the summarized data are in the appointed material range, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data; and generating a design document of the DCS by using the cabinet layout. The design staff is liberated from tedious design document arrangement work, so that the design staff is concentrated on the design, the work efficiency of the design staff is improved, meanwhile, the manual arrangement of the design documents is avoided, and the accuracy of the design documents can be improved. The invention also discloses a DCS design document generation device, a device and a readable storage medium, which have corresponding technical effects.

Description

DCS design document generation method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for generating a DCS design document.
Background
When one DCS (Distributed Control System ) design and deployment project is completed, multiple departments are often required to cooperate, and various data are required to be transferred between the departments. Specifically, completing a DCS design deployment project often involves multiple departments of management, procurement, design, packaging, configuration, testing, shipping, etc. The design part acquires original measuring point data, and needs to process the data to form module configuration and form differences; drawing a complete set of drawings to form a issuing drawing; a cabinet wiring table needs to be written to guide field installation; a measurement point database needs to be formed, and basic import data is provided for the configuration.
After acquiring the original IO data of the project, a designer generally needs a great deal of effort to check whether the bit number, the description, the measuring range and the unit of the measuring point are correct or not or whether the measuring point is missing, and then the measuring point is classified and counted to be compared with a required module; judging the space of the cabinet and the arrangement of the modules according to the number of the modules; meanwhile, the layout needs to be repeatedly arranged back and forth to finally obtain a reasonable layout, and then a complete CAD graph and a required BOM table are drawn according to the layout; and manually sorting out the wiring list and the test list of the project. These tasks are done manually, by experience, by each designer, and the quality of the process varies from person to person. The same design data, different designers will also make different, once the original IO data is changed, it may result in modification of the design document (such as CAD drawing, BOM table, wiring table, FAT test table) of the whole design work, and a great deal of effort is required for the designer to process, and the workload is not inferior to that of the re-work. Although usually, some part of processing can be assisted by using the menu function of EXCEL or CAD, most of the processing time is needed to be manually processed, and in the repeated manual processing process, not only is time and labor consumed, but also some low-level errors (such as data filling errors, repetition and the like) are easy to occur, so that the normal operation of the DCS system is affected.
In summary, how to obtain accurate and effective design documents in the DCS design process is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a DCS design document generation method, device and equipment and a readable storage medium, so as to obtain an accurate and effective design document in the DCS design process.
In order to solve the technical problems, the invention provides the following technical scheme:
a DCS design document generation method includes:
acquiring an IO (input/output) measuring point table of a DCS (distributed control system), traversing and inquiring each measuring point data in the IO measuring point table, and determining whether measuring point errors exist in the IO measuring point table;
if not, summarizing the measuring point data in the IO measuring point table to obtain summarized data;
if the summarized materials corresponding to the summarized data are in the appointed material range, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data;
generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
Preferably, if the summarized materials corresponding to the summarized data are within the specified material range, combining the cabinet use specification to generate a cabinet layout matched with the summarized data, including:
reading contract materials and reserve indexes, and determining a designated material range by utilizing the contract materials and the reserve indexes;
judging whether summarized materials corresponding to the summarized data are in the appointed material range or not;
if yes, combining the cabinet use specification to generate a cabinet layout;
and if not, adjusting the summarized data according to the appointed material range, and then generating the cabinet layout matched with the adjusted summarized data by combining the cabinet use specification.
Preferably, in combination with the cabinet usage specification, generating a cabinet layout matching the summarized data includes:
the quantity of each module, the adapter plate and the safety grating in each cabinet is determined by utilizing the summarized data;
the module, the adapter plate and the safety grating are distributed to the layout of the corresponding cabinet by combining with the cabinet use specification, and the type of the adapter plate or the safety grating and the corresponding module address are added;
and supplementing the type, the idle operation, the power supply module, the DP terminal module, the DP communication module and the DPU module of each column on the layout to obtain the layout of the cabinet.
Preferably, summarizing the measurement point data in the IO measurement point table to obtain summarized data, including:
summarizing the measuring point data in the IO measuring point table into a target array according to the type and cabinet information;
and assigning the data of the target array to a data summary table, and calculating summary data of measuring points, modules, materials and reserve in the data summary table.
Preferably, when the design document includes the CAD drawing, generating the design document of the DCS using the cabinet layout drawing includes:
calling and opening CAD drawing software, and traversing the cabinet layout;
and drawing a module in the CAD drawing software according to the number, the type and the connection relation of the materials in the cabinet layout diagram, modifying parameter information, connecting lines and text description, and obtaining the CAD diagram.
Preferably, when the design file includes the BOM table, generating a design document of the DCS using the cabinet layout map includes:
traversing the cabinet layout to obtain cabinet material information, and storing the cabinet material information into a BOM array according to a specified format;
generating a cabinet material table according to the BOM array;
and adding auxiliary materials into the cabinet material table to obtain a BOM table.
Preferably, when the design file includes the IO wiring table, generating a design document of the DCS by using the cabinet layout, including:
traversing the cabinet layout to obtain IO information;
storing the IO information into a specified IO list;
and generating the IO wiring table according to the appointed IO list.
A DCS design document generating device, comprising:
the measuring point error detection module is used for acquiring an IO (input/output) measuring point table of the DCS, traversing and inquiring each measuring point data in the IO measuring point table, and determining whether the IO measuring point table has measuring point errors or not;
the data summarizing module is used for summarizing the measuring point data in the IO measuring point table if not, so as to obtain summarized data;
the equipment cabinet layout generating module is used for generating an equipment cabinet layout matched with the summarized data according to equipment cabinet use specifications if the summarized materials corresponding to the summarized data are in a specified material range;
the design document generation module is used for generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
A DCS design document generating device, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the DCS design document generation method when executing the computer program.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the DCS design document generating method described above.
By applying the method provided by the embodiment of the invention, the IO measuring point table of the DCS is obtained, and each measuring point data in the IO measuring point table is traversed and inquired to determine whether the IO measuring point table has measuring point errors or not; if not, summarizing the measuring point data in the IO measuring point table to obtain summarized data; if the summarized materials corresponding to the summarized data are in the appointed material range, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data; generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
After the IO measuring point table of the DCS is obtained, each measuring point data in the IO measuring point table is inquired through variables, and whether measuring point errors exist in the IO measuring point table is determined. If no measuring point error exists, the IO measuring point table is indicated to be free of errors, and the measuring point data in the IO measuring point table can be summarized to obtain summarized data. And when the summarized materials corresponding to the summarized data are in the specified material range, the cabinet use specification can be combined, and a cabinet layout matched with the summarized data is generated. After the cabinet layout is obtained, a design document of the DCS can be generated according to the cabinet layout, wherein the design document specifically comprises at least one of a CAD drawing, a BOM table, an IO connection table, a test table and a configuration database. That is, a designer only needs to input the IO measurement point table of the DCS into an engineering aided design tool to which the DCS design document generating method provided by the embodiment of the invention is applied, and the aided design tool can perform measurement point error detection, data summarization, summary material judgment and DCS design document generation on the IO measurement point table. The design staff is liberated from tedious design document arrangement work, so that the design staff is concentrated on the design, the work efficiency of the design staff is improved, meanwhile, the manual arrangement of the design documents is avoided, and the accuracy of the design documents can be improved.
Correspondingly, the embodiment of the invention also provides a DCS design document generating device, a device and a readable storage medium corresponding to the DCS design document generating method, which have the technical effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating a DCS design document in an embodiment of the present invention;
FIG. 2 is a schematic diagram of an engineering auxiliary design tool according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for generating a DCS design document according to an embodiment of the present invention;
FIG. 4 is a partial code diagram of determining whether a measurement point error exists in an embodiment of the present invention;
FIG. 5 is a partial code schematic diagram of summarizing data in an embodiment of the invention;
FIG. 6 is a partial code schematic diagram for generating a rack layout in an embodiment of the invention;
FIG. 7 is a schematic diagram of a DCS design document generating device according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a DCS design document generating device according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a specific structure of a DCS design document generating device according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment one:
referring to fig. 1, fig. 1 is a flowchart of a DCS design document generating method according to an embodiment of the invention, the method may be used in an aided design tool, the method includes the steps of:
s101, acquiring an IO measuring point table of the DCS.
The DCS is the distributed control system to be designed and deployed. The IO measuring point table of the DCS can be obtained by reading the IO measuring point table or receiving the IO measuring point table.
S102, traversing and inquiring each measuring point data in the IO measuring point table, and determining whether the IO measuring point table has measuring point errors or not.
After the auxiliary design tool obtains the IO measuring point table of the DCS, traversing inquiry can be carried out on each measuring point data in the IO measuring point table so as to determine whether measuring point errors exist in the IO measuring point table. The measuring point error can be specifically whether the roll call, the point description, the measuring range, the content and the format of the IO measuring point have errors or not.
Specifically, the data in the IO measuring point table is read into an array, and whether the contents and formats of roll call, point description, measuring range and unit are wrong or not is judged by traversing the array. If the error exists, the IO measuring point diagram can be marked and displayed on a visual interface to prompt a designer to modify. If no measurement point error exists, the IO measurement point table is indicated to be error-free, and the operation of step S103 can be executed.
And S103, summarizing the measuring point data in the IO measuring point table to obtain summarized data.
In the process of deploying and designing the DCS, a BOM list, a cabinet deployment diagram and the like for purchasing are taken as modules instead of IO measuring points as basic units, so that measuring point data in the IO measuring point table is required to be summarized so as to determine the number and the types of the modules and other auxiliary materials. When the IO measuring point tables are summarized, the IO measuring point tables can be summarized according to the types of measuring points, cabinet information and the like. Specifically, the summarizing process for the measuring point data in the IO measuring point table comprises the following steps:
step one, summarizing the measuring point data in the IO measuring point table into a target array according to the type and cabinet information;
and secondly, assigning the data of the target array to a data summary table, and calculating summary data of measuring points, modules, materials and reserve in the data summary table.
For convenience of description, the two steps described above are combined to be described below.
And integrating a target array according to the type and cabinet information according to the measuring point data recorded in the IO measuring point table, then assigning the data of the target array into a data integration table, and then calculating the required modules and the spare amount according to the measuring points. Specifically, a formula can be written to calculate summarized data such as measuring points, materials, reserve and the like of the whole project.
And S104, if the summarized materials corresponding to the summarized data are in the specified material range, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data.
After the summarized data are obtained, judging whether summarized materials corresponding to the summarized data are in a specified material range, and if so, combining structural use specifications to generate a cabinet layout matched with the summarized data. The specified material range can be preset, and can also be determined according to contract material and reserve indexes.
When determining the specified material range according to the contract material and the reserve amount index, step S104 may specifically be:
step one, reading contract materials and reserve indexes, and determining a specified material range by using the contract materials and the reserve indexes;
step two, judging whether summarized materials corresponding to summarized data are in a specified material range or not;
thirdly, if so, combining the cabinet use specification to generate a cabinet layout;
and step four, if not, adjusting the summarized data according to the appointed material range, and then generating a cabinet layout matched with the adjusted summarized data by combining with cabinet use specifications.
For convenience of description, the above four steps are described in combination.
The specified material range should be less than or equal to the contract material, and the spare amount requirement is specifically redundancy backup or construction spare requirement. Namely, the material range needs to be simultaneously satisfied within the contract material range and meets the requirement of the reserve. If the aggregate material is within the specified material range, a cabinet layout diagram may be generated in conjunction with the cabinet usage specification. If the summarized materials are out of the appointed material range, the summarized data can be adjusted to meet the requirements of the appointed material range, and then the cabinet layout matched with the adjusted summarized data is generated by combining cabinet use specifications.
The specific process for generating the cabinet layout comprises the following steps:
step one, determining the number of each module, the adapter plate and the safety grating in each cabinet by utilizing summarized data;
step two, combining the cabinet use specification, distributing the module, the adapter plate and the safety grating to the layout of the corresponding cabinet, and adding the type of the adapter plate or the safety grating and the corresponding module address;
and thirdly, supplementing the type, the idle operation, the power supply module, the DP terminal module, the DP communication module and the DPU module of each column on the layout to obtain the layout of the cabinet.
For convenience of description, the following description will be given by combining the above three steps.
And automatically distributing the number of each module, the adapter plate and the safety grating in each cabinet to the layout of the corresponding cabinet according to the data summarization. When arranging materials on the layout, the cabinet use standard is observed, namely, each cabinet defaults to 60 module positions, and the types and addresses of the modules are added/filled from left to right and from top to bottom. Preferably, if the position exceeds 60, an error is reported to avoid erroneous deployment. Meanwhile, according to whether the adapter plate or the safety grating is needed, the type of the adapter plate or the safety grating and the corresponding module address are automatically filled in. And by analogy, all materials of all cabinets of the DCS are filled into the corresponding cabinets, and after filling, the types, the idle operation, the power supply modules, the DP terminal modules, the DP communication modules, the DPU modules and the like of the cabinets are supplemented, so that a cabinet deployment diagram corresponding to the cabinet with complete functions is obtained.
After the cabinet deployment map is obtained, the operation of step S105 may be performed.
S105, generating a design document of the DCS by using the cabinet layout.
The design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
The embodiment of the invention provides a CAD graph, a BOM table, an IO connection table, a test table and a configuration database generation mode. Corresponding design documents can be generated according to design deployment requirements of different periods. Specifically, if a CAD drawing showing design principles is used, a BOM table for purchase, an IO connection table used in a deployment construction stage, a test table used in a test stage, and a configuration database for importing configuration software to obtain project information, where the configuration database can be used to write measurement points required by a program.
When generating the design document, only one or more of a CAD drawing, a BOM table, an IO connection table, a test table, and a configuration database may be generated. The following sequentially details the generation process of various design documents.
1. Means for generating CAD drawings:
that is, when the design document includes a CAD drawing, generating the design document of the DCS using the cabinet layout drawing includes:
step one, calling and opening CAD drawing software, and traversing a cabinet layout;
and step two, drawing a module in CAD drawing software according to the number, the type and the connection relation of the materials in the cabinet layout, modifying parameter information, connecting lines and word description, and obtaining the CAD drawing.
Specifically, the number and type of materials (modules, power supplies, open, safety grids and terminals) in each cabinet can be obtained by traversing the data of the whole cabinet layout by the written VBA program, the VBA program can call and open CAD drawing software, corresponding blocks are inserted in corresponding coordinates according to the positions of the layout, corresponding parameter information is modified, corresponding lines are drawn in corresponding positions according to the layout of the cabinets, and corresponding text description is input, so that the CAD drawing can be obtained.
2. The manner in which the BOM table is generated:
that is, when the design file includes a BOM table, generating a design document of the DCS using the cabinet layout, including:
traversing a cabinet layout to obtain cabinet material information, and storing the cabinet material information into a BOM array according to a specified format;
generating a cabinet material table according to the BOM array;
and thirdly, adding auxiliary materials into the cabinet material table to obtain a BOM table.
Specifically, when generating the BOM table, a BOM array with a fixed number can be pre-established, and then the cabinet material information is obtained by traversing the data of the whole cabinet layout. And temporarily placing the cabinet material information into the BOM array. Generating a BOM array into a table, so that the materials of the cabinet form a plurality of tables, and adding corresponding auxiliary materials into the tables according to the characteristics of the materials, thereby finally forming the BOM table which can be purchased and used by a purchasing department.
3. The manner in which the IO wiring table is generated:
that is, when the design file includes the IO wiring table, generating a design document of the DCS using the cabinet layout, including:
traversing a cabinet layout diagram to obtain IO information;
step two, the IO information is stored in a designated IO list;
and thirdly, generating an IO wiring table according to the appointed IO list.
Specifically, by traversing the cabinet layout, IO information can be obtained, the IO information is stored in a designated IO list, and an IO connection table can be generated according to the IO list. The generation mode of the IO connection table is similar to that of the BOM table, but the template/array for storing temporary information is different, so that the generation mode of the IO connection table and the generation mode of the BOM table can be referred to each other. In addition, because the IO connection table, the test table and the configuration database have similar ideas, the IO list is traversed, and the corresponding information is modified, which is not described herein.
By applying the method provided by the embodiment of the invention, the IO measuring point table of the DCS is obtained, and each measuring point data in the IO measuring point table is traversed and inquired to determine whether the IO measuring point table has measuring point errors or not; if not, summarizing the measuring point data in the IO measuring point table to obtain summarized data; if the summarized materials corresponding to the summarized data are in the appointed material range, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data; generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
After the IO measuring point table of the DCS is obtained, each measuring point data in the IO measuring point table is inquired through variables, and whether measuring point errors exist in the IO measuring point table is determined. If no measuring point error exists, the IO measuring point table is indicated to be free of errors, and the measuring point data in the IO measuring point table can be summarized to obtain summarized data. And when the summarized materials corresponding to the summarized data are in the specified material range, the cabinet use specification can be combined, and a cabinet layout matched with the summarized data is generated. After the cabinet layout is obtained, a design document of the DCS can be generated according to the cabinet layout, wherein the design document specifically comprises at least one of a CAD drawing, a BOM table, an IO connection table, a test table and a configuration database. That is, a designer only needs to input the IO measurement point table of the DCS into an engineering aided design tool to which the DCS design document generating method provided by the embodiment of the invention is applied, and the aided design tool can perform measurement point error detection, data summarization, summary material judgment and DCS design document generation on the IO measurement point table. The design staff is liberated from tedious design document arrangement work, so that the design staff is concentrated on the design, the work efficiency of the design staff is improved, meanwhile, the manual arrangement of the design documents is avoided, and the accuracy of the design documents can be improved.
Embodiment two:
in order to facilitate a better understanding of the technical solution provided by the embodiments of the present invention for a person skilled in the art, a specific application scenario in which the technical solution provided by the embodiments of the present invention is applied to assist in designing in an engineering assistance design tool as shown in fig. 2 is taken as an example, and the technical solution provided by the embodiments of the present invention is described in detail below.
Referring to FIG. 3, when a designer takes the project data of the DCS, the designer can input the IO measurement table into the engineering aided design tool. The IO measuring point table is shown in table 1:
Figure BDA0001865733670000101
TABLE 1
After the engineering aided design tool obtains the IO measuring point table, the IO measuring point data can be checked and summarized. When the IO measurement point table is subjected to measurement point error detection, the data can be read into an array through programming (a specific program can refer to fig. 4), the array is traversed, and whether the contents and formats of roll call, point description, measuring range and unit are wrong or not is judged. The data with the measuring point errors can be marked so that the designer can correct the data in time. For example, repeated notes for roll calls may be red, point descriptions may be yellow, and ranges and units may not satisfy the red to prompt the designer for modification.
The data is summarized without error. The data summarization can be carried out by programming (a specific program can refer to fig. 5), a total array is assembled according to the information of the measuring points and the type and cabinet information, then the data of the array are assigned to a data summarization table, and then the summarized data of the measuring points, materials, the standby amount and the like of the whole project are calculated by programming a formula according to the modules and the standby amount required by the calculation of the measuring points, so that a basis is provided for integrally controlling the project. The summary data can be seen in table 2.
Figure BDA0001865733670000111
TABLE 2
As can be seen from Table 2, the overall project and the different types of measuring points in each cabinet (for example #11 cabinet) can be represented, all the summaries are calculated by adopting a formula, the local data are adjusted, and the whole data can be updated very conveniently.
And then, according to the requirements of contract materials and spare amount, the number of modules and safety grids is adjusted, and after the adjustment is reasonable, a cabinet layout is generated. After the position of the module is adjusted, the engineering auxiliary design tool can also automatically adjust the address number of the module and connect the corresponding adapter plates, so that the time and labor are saved, and the error is not easy to happen. Specifically, the method is realized through programming (a specific program can refer to fig. 6), the number of each module, the adapter plate and the safety grating in each cabinet determined according to data summarization is automatically distributed to a layout of the corresponding cabinet, each cabinet defaults to 60 module positions, the program fills in the types and addresses of the modules from left to right and from top to bottom, and if the positions exceed 60 positions, errors are reported. Meanwhile, according to whether the adapter plate or the safety grating is needed, the type of the adapter plate or the safety grating and the corresponding module address are automatically filled in. And similarly, all materials of all cabinets of the project are filled into the corresponding cabinets, after filling, the types of the cabinets are supplemented, and the cabinets are empty, power supply modules, DP terminal modules, DP communication modules, DPU modules and the like in each row, so that a cabinet layout with complete functions is formed, and a cabinet layout can be obtained.
Finally, based on the cabinet layout, a set of CAD graph, a corresponding BOM table (such as Table 3), an IO wiring table (such as Table 4), a test table (Table 5) and a configuration database (such as Table 6) are generated.
Figure BDA0001865733670000121
TABLE 3 Table 3
Figure BDA0001865733670000131
TABLE 4 Table 4
Figure BDA0001865733670000132
/>
TABLE 5
PN DS SN MT RD DN CN
Roll call Point description Stop sign Module type Whether or not to redundancy Device number Channel number
2_ZSTJLXL_ST Starting of double-layer discharger for feeding of regeneration tower 10 K-DO01 0 44 1
2_ZSTJLXL_SP Feeding double-layer discharger of regeneration tower is stopped 10 K-DO01 0 44 2
2_ZSTCLXL_ST Starting of double-layer discharger for discharging of regeneration tower 10 K-DO01 0 44 3
2_ZSTCLXL_SP Double-deck tripper of regeneration column ejection of compact stops 10 K-DO01 0 44 4
2_SXWXL_ST Starting the unloader under the screen of the vibrating screen 10 K-DO01 0 44 5
2_SXWXL_SP Vibrating screen undersize discharger stop 10 K-DO01 0 44 6
2_CLDXL_ST Storage bin bottom discharger start-up 10 K-DO01 0 44 7
2_CLDXL_SP Storage bin bottom discharger stop 10 K-DO01 0 44 8
TABLE 6
The above tables 1, 2, 3, 4, 5 and 6 are only schematic representations of partial data, and not all data of one DCS.
It can be seen that in completing a DCS (distributed control system) project, document data of each link, such as substation list, wiring table, and set of drawings, need to be completed, and some contents of these process data are related, and the requirements of the demand departments are different. The manual process is relatively time consuming for the designer, and the error rate varies from person to person. If the design of the initial end is changed in the design process, the analysis and modification are more complicated. The auxiliary design tool provided by the embodiment of the invention can collect and analyze the number and the allowance of the measuring points and the modules at each stage, can automatically produce different document materials according to the format, realizes automatic generation of the process document, greatly solves the problems that a designer processes multiple data and needs to repeat labor work, liberates the processing from the repeated labor, transfers the considered center from 'doing' to 'thinking', improves the level of analysis problems, and solves the problem of 'low-level errors' which are easy to make.
By way of example, when a tool is not used, roll calls of partial measuring points are repeated, and in the process of distributing or arranging the measuring points, the roll calls are not found until the database is required to be imported for configuration after the design is completed, and configuration software prompts that repeated roll calls exist, so that a series of document data is required to be modified, and after the tool is used, the phenomenon cannot happen; in the arrangement process of the module, no tool is used, the connection address of the corresponding adapter plate needs to be manually adjusted, and the tool can be used for automatically adjusting the connection address of the adapter plate.
Embodiment III:
corresponding to the above method embodiment, the embodiment of the present invention further provides a DCS design document generating device, which is described below and to which the DCS design document generating method described above can be referred correspondingly.
Referring to fig. 7, the apparatus includes the following modules:
the measuring point error detection module 101 is used for acquiring an IO measuring point table of the DCS, traversing and inquiring each measuring point data in the IO measuring point table, and determining whether the IO measuring point table has measuring point errors or not;
the data summarizing module 102 is configured to summarize the measurement point data in the IO measurement point table if not, to obtain summarized data;
the cabinet layout generation module 103 is configured to generate a cabinet layout matched with the summarized data according to the cabinet usage specification if the summarized material corresponding to the summarized data is within the specified material range;
a design document generation module 104 for generating a design document of the DCS using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
By applying the device provided by the embodiment of the invention, the IO measuring point table of the DCS is obtained, and each measuring point data in the IO measuring point table is traversed and inquired to determine whether the IO measuring point table has measuring point errors or not; if not, summarizing the measuring point data in the IO measuring point table to obtain summarized data; if the summarized materials corresponding to the summarized data are in the appointed material range, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data; generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
After the IO measuring point table of the DCS is obtained, each measuring point data in the IO measuring point table is inquired through variables, and whether measuring point errors exist in the IO measuring point table is determined. If no measuring point error exists, the IO measuring point table is indicated to be free of errors, and the measuring point data in the IO measuring point table can be summarized to obtain summarized data. And when the summarized materials corresponding to the summarized data are in the specified material range, the cabinet use specification can be combined, and a cabinet layout matched with the summarized data is generated. After the cabinet layout is obtained, a design document of the DCS can be generated according to the cabinet layout, wherein the design document specifically comprises at least one of a CAD drawing, a BOM table, an IO connection table, a test table and a configuration database. That is, a designer only needs to input the IO measurement point table of the DCS into an engineering aided design tool to which the DCS design document generating device provided by the embodiment of the invention is applied, and the aided design tool can perform measurement point error detection, data summarization, summary material judgment and DCS design document generation on the IO measurement point table. The design staff is liberated from tedious design document arrangement work, so that the design staff is concentrated on the design, the work efficiency of the design staff is improved, meanwhile, the manual arrangement of the design documents is avoided, and the accuracy of the design documents can be improved.
In one embodiment of the present invention, the cabinet layout generating module 103 is specifically configured to read the contract materials and the reserve indicators, and determine the designated material range by using the contract materials and the reserve indicators; judging whether summarized materials corresponding to summarized data are in a specified material range or not; if yes, combining the cabinet use specification to generate a cabinet layout; if not, the summarized data is adjusted according to the appointed material range, and then the cabinet layout matched with the adjusted summarized data is generated by combining with cabinet use specifications.
In one embodiment of the present invention, the cabinet layout generation module 103 is specifically configured to: the quantity of each module, the adapter plate and the safety grating in each cabinet is determined by utilizing summarized data; the method comprises the steps of combining cabinet use specifications, distributing modules, adapter plates and safety grids to a layout of a corresponding cabinet, and adding types of the adapter plates or the safety grids and corresponding module addresses; and supplementing the type, the idle operation, the power supply module, the DP terminal module, the DP communication module and the DPU module of each column on the layout to obtain the layout of the cabinet.
In a specific embodiment of the present invention, the data summarizing module 102 is specifically configured to summarize the measurement point data in the IO measurement point table into a target array according to the type and the cabinet information; and assigning the data of the target array to a data summary table, and calculating summary data of measuring points, modules, materials and reserve in the data summary table.
In one embodiment of the present invention, the design document generation module 104 is specifically configured to invoke and open CAD drawing software to traverse the cabinet layout when the design document includes a CAD drawing; and drawing a module in CAD drawing software according to the number, the type and the connection relation of the materials in the cabinet layout diagram, modifying parameter information, connecting lines and word description, and obtaining the CAD diagram.
In one embodiment of the present invention, the design document generation module 104 is specifically configured to traverse the cabinet layout when the design document includes a BOM table, obtain cabinet material information, and store the cabinet material information into a BOM array according to a specified format; generating a cabinet material table according to the BOM array; and adding auxiliary materials into the cabinet material table to obtain the BOM table.
In one embodiment of the present invention, the design document generation module 104 is specifically configured to traverse the cabinet layout to obtain the IO information when the design document includes the IO wiring table; storing IO information into a specified IO list; and generating an IO wiring table according to the appointed IO list.
Embodiment four:
corresponding to the above method embodiments, the present invention also provides a DCS design document generating device, which is described below and a DCS design document generating method described above can be referred to correspondingly to each other.
Referring to fig. 8, the DCS design document generating device includes:
a memory D1 for storing a computer program;
and the processor D2 is used for realizing the steps of the DCS design document generation method of the method embodiment when executing the computer program.
Specifically, referring to fig. 9, fig. 9 is a schematic diagram of a specific structure of a DCS design document generating device according to the present embodiment, where the DCS design document generating device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (e.g., one or more processors) and a memory 332, and one or more storage media 330 (e.g., one or more mass storage devices) storing application programs 342 or data 344. Wherein the memory 332 and the storage medium 330 may be transitory or persistent. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the data processing apparatus. Still further, the central processor 322 may be configured to communicate with the storage medium 330, and execute a series of instruction operations in the storage medium 330 on the DCS design document generating device 301.
The DCS design document generating device 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input output interfaces 358, and/or one or more operating systems 341. For example, windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The steps in the DCS design document generating method described above may be implemented by the structure of the DCS design document generating device.
Fifth embodiment:
corresponding to the above method embodiments, the embodiments of the present invention further provide a readable storage medium, where a readable storage medium described below and a DCS design document generating method described above may be referred to correspondingly with each other.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the DCS design document generating method of the above method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

Claims (10)

1. The DCS design document generation method is characterized by comprising the following steps:
acquiring an IO (input/output) measuring point table of a DCS (distributed control system), traversing and inquiring each measuring point data in the IO measuring point table, and determining whether measuring point errors exist in the IO measuring point table;
if yes, marking the IO measuring point table, and displaying the IO measuring point table on a visual interface;
if not, summarizing the measuring point data in the IO measuring point table to obtain summarized data;
judging whether summarized materials corresponding to the summarized data are in a specified material range or not;
if yes, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data;
if not, adjusting the summarized data according to the appointed material range, and then generating the cabinet layout matched with the adjusted summarized data by combining the cabinet use specification;
generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
2. The DCS design document generating method of claim 1, wherein obtaining the specified material range comprises:
and reading contract materials and reserve indexes, and determining a specified material range by using the contract materials and the reserve indexes.
3. The DCS design document generation method of claim 1, wherein generating a cabinet layout matching the summary data in combination with cabinet usage specifications comprises:
the quantity of each module, the adapter plate and the safety grating in each cabinet is determined by utilizing the summarized data;
the module, the adapter plate and the safety grating are distributed to the layout of the corresponding cabinet by combining with the cabinet use specification, and the type of the adapter plate or the safety grating and the corresponding module address are added;
and supplementing the type, the idle operation, the power supply module, the DP terminal module, the DP communication module and the DPU module of each column on the layout to obtain the layout of the cabinet.
4. The DCS design document generating method of claim 1, wherein the summarizing of the site data in the IO site table to obtain summarized data comprises:
summarizing the measuring point data in the IO measuring point table into a target array according to the type and cabinet information;
and assigning the data of the target array to a data summary table, and calculating summary data of measuring points, modules, materials and reserve in the data summary table.
5. The DCS design document generating method according to any one of claims 1 to 4, wherein when the design document includes the CAD drawing, generating the design document of the DCS using the cabinet layout drawing, comprises:
calling and opening CAD drawing software, and traversing the cabinet layout;
and drawing a module in the CAD drawing software according to the number, the type and the connection relation of the materials in the cabinet layout diagram, modifying parameter information, connecting lines and text description, and obtaining the CAD diagram.
6. The DCS design document generating method according to any one of claims 1 to 4, wherein when the design document includes the BOM table, generating the design document of the DCS using the cabinet layout map, comprises:
traversing the cabinet layout to obtain cabinet material information, and storing the cabinet material information into a BOM array according to a specified format;
generating a cabinet material table according to the BOM array;
and adding auxiliary materials into the cabinet material table to obtain a BOM table.
7. The DCS design document generating method according to any one of claims 1 to 4, wherein when the design document includes the IO connection table, generating the design document of the DCS using the cabinet layout map, comprises:
traversing the cabinet layout to obtain IO information;
storing the IO information into a specified IO list;
and generating the IO connection table according to the appointed IO list.
8. A DCS design document generating device, comprising:
the measuring point error detection module is used for acquiring an IO (input/output) measuring point table of the DCS, traversing and inquiring each measuring point data in the IO measuring point table, and determining whether the IO measuring point table has measuring point errors or not; if yes, marking the IO measuring point table, and displaying the IO measuring point table on a visual interface;
the data summarizing module is used for summarizing the measuring point data in the IO measuring point table if not, so as to obtain summarized data;
the equipment cabinet layout generation module is used for judging whether summarized materials corresponding to the summarized data are in a specified material range or not; if yes, combining the cabinet use specifications to generate a cabinet layout matched with the summarized data; if not, adjusting the summarized data according to the appointed material range, and then generating the cabinet layout matched with the adjusted summarized data by combining the cabinet use specification;
the design document generation module is used for generating a design document of the DCS by using the cabinet layout; the design document comprises at least one of a CAD graph, a BOM table, an IO connection table, a test table and a configuration database.
9. A DCS design document generating device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the DCS design document generating method of any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the DCS design document generating method of any one of claims 1 to 7.
CN201811354502.9A 2018-11-14 2018-11-14 DCS design document generation method, device, equipment and readable storage medium Active CN109409005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811354502.9A CN109409005B (en) 2018-11-14 2018-11-14 DCS design document generation method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811354502.9A CN109409005B (en) 2018-11-14 2018-11-14 DCS design document generation method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109409005A CN109409005A (en) 2019-03-01
CN109409005B true CN109409005B (en) 2023-05-16

Family

ID=65473467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811354502.9A Active CN109409005B (en) 2018-11-14 2018-11-14 DCS design document generation method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109409005B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175363A (en) * 2019-04-25 2019-08-27 西门子电站自动化有限公司 The generation method of the production drawing of Distributed Control System
CN110837724B (en) * 2019-11-07 2023-09-29 交控科技股份有限公司 Automatic processing method and device for data communication cabinet
CN110989515B (en) * 2019-11-21 2021-03-12 杭州和利时自动化有限公司 Configuration file generation method, device, equipment and readable storage medium
CN111832092A (en) * 2020-06-02 2020-10-27 珠海格力电器股份有限公司 Method, device and equipment for generating unit view and computer medium
CN111830918B (en) * 2020-07-20 2021-08-03 北京广利核***工程有限公司 EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system
CN114253222A (en) * 2020-09-25 2022-03-29 北京广利核***工程有限公司 Distributed control system DCS control cabinet set diagram generation method and device
CN112948384B (en) * 2021-03-01 2024-04-26 南京国联电力工程设计有限公司 DCS wiring table automatic generation method, readable storage medium and computer program product
CN113791595B (en) * 2021-11-15 2022-02-11 西安热工研究院有限公司 Measuring point data importing method, system, equipment and medium for distributed control system
CN115016606B (en) * 2022-06-01 2024-03-19 国核示范电站有限责任公司 Cabinet design method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104091000A (en) * 2014-06-25 2014-10-08 河北省电力勘测设计研究院 Method for distributing I/O cards for DCS (Data Communication System)
CN104965865A (en) * 2015-06-08 2015-10-07 北京广利核***工程有限公司 Quick inspection method of nuclear power plant DCS electronic alarm card
CN109343395A (en) * 2018-10-17 2019-02-15 深圳中广核工程设计有限公司 A kind of abnormality detection system and method for nuclear power plant DCS operation log

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369377B2 (en) * 2014-10-03 2016-06-14 Abb Technology Ag System analyzer and method for analyzing an impact of a change in a component of a distributed control system
US11036833B2 (en) * 2016-07-11 2021-06-15 Ricoh Company, Ltd. Image processing system, information processing method, and non-transitory computer-readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104091000A (en) * 2014-06-25 2014-10-08 河北省电力勘测设计研究院 Method for distributing I/O cards for DCS (Data Communication System)
CN104965865A (en) * 2015-06-08 2015-10-07 北京广利核***工程有限公司 Quick inspection method of nuclear power plant DCS electronic alarm card
CN109343395A (en) * 2018-10-17 2019-02-15 深圳中广核工程设计有限公司 A kind of abnormality detection system and method for nuclear power plant DCS operation log

Also Published As

Publication number Publication date
CN109409005A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109409005B (en) DCS design document generation method, device, equipment and readable storage medium
CN109451532B (en) Method and device for checking position of base station
CN108073146B (en) Automated process control hardware engineering planning using architecturally represented requirements
CN104111885A (en) Method and device for verifying interface test results
CN106327100A (en) Change list generation method and device
CN113220728B (en) Data query method, device, equipment and storage medium
CN115222376B (en) Aircraft tool changing method, device, equipment and storage medium
CN109492310A (en) A kind of method and check device of the inspection of line
CN107870980A (en) Electronic installation, billing data processing method and computer-readable storage medium
CN108388753B (en) Method, device and system for designing SIS cabinet wiring and storage medium
CN108255654A (en) Automatic testing method and device
CN106203796A (en) A kind of actual measurement actual quantities method based on engineering electronic drawing mark in situ
CN116090808A (en) RPA breakpoint reconstruction method and device, electronic equipment and medium
CN107146165B (en) Distribution network planning data management method and system
CN102930458A (en) Method and system for electricity price evaluation simulation
CN115936419A (en) Production monitoring method, device, equipment and storage medium based on MES
CN115378823A (en) Public cloud landing planning method and device, electronic equipment and storage medium
CN110058995A (en) A kind of the data library test method and system of the interference of avoidable type of database
CN108229016A (en) Electronic system arrangement method and device based on sequence graph model
CN111813738B (en) Data conversion method, data downloading method and related devices
CN114818044A (en) Node modeling method, device and storage medium
CN114253222A (en) Distributed control system DCS control cabinet set diagram generation method and device
CN113792052A (en) Data model processing method and device
CN111178780A (en) Operation and maintenance strategy setting method and device, storage medium and electronic equipment
CN104537468A (en) Device used for managing welder qualification information and working method thereof

Legal Events

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