CN117290909A - Method for automatically generating electrical schematic diagram through parameter configuration - Google Patents

Method for automatically generating electrical schematic diagram through parameter configuration Download PDF

Info

Publication number
CN117290909A
CN117290909A CN202310367070.XA CN202310367070A CN117290909A CN 117290909 A CN117290909 A CN 117290909A CN 202310367070 A CN202310367070 A CN 202310367070A CN 117290909 A CN117290909 A CN 117290909A
Authority
CN
China
Prior art keywords
schematic diagram
electrical schematic
series
configuration
template
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.)
Pending
Application number
CN202310367070.XA
Other languages
Chinese (zh)
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.)
Yichun Wanshen Pharmaceutical Machinery Co Ltd
Original Assignee
Yichun Wanshen Pharmaceutical Machinery 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 Yichun Wanshen Pharmaceutical Machinery Co Ltd filed Critical Yichun Wanshen Pharmaceutical Machinery Co Ltd
Priority to CN202310367070.XA priority Critical patent/CN117290909A/en
Publication of CN117290909A publication Critical patent/CN117290909A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for automatically generating an electrical schematic diagram through parameter configuration, belongs to the technical field of electrical design, and particularly relates to a method for automatically generating an electrical schematic diagram through parameter configuration. The method comprises the following specific steps: series equipment analysis, an electrical parameter table, an electrical schematic diagram of each model, drawing influence factors, a series template drawing, a parameter configuration table, a CAD-VBA program and an electrical schematic diagram. By the method, the electrical schematic diagram corresponding to the template CAD electrical schematic diagram can be automatically generated by selecting parameter configuration in the form of the check frame, the drawings of the whole series of equipment can be uniformly managed and controlled, the working efficiency is greatly improved, and human errors are avoided.

Description

Method for automatically generating electrical schematic diagram through parameter configuration
Technical Field
The invention belongs to the technical field of electrical design, and particularly relates to a method for automatically generating an electrical schematic diagram through parameter configuration.
Background
The design and drawing of the electrical schematic are the basis and premise for achieving the electrical engineering goal, especially in the non-standard automatic design field, the drawing requirement period of the electrical schematic is usually very short, so the design requirement on the electrical schematic is relatively high.
In general, when designing an electrical schematic diagram, one drawing can only represent one device, but cannot represent a series of devices, and the drawings of different devices are different, so that in order to meet the use requirements of different clients, the design of the schematic diagram is usually designed according to the different client requirements, and therefore, various designed drawing contents can appear, and particularly, different engineers have different design styles, so that the difference is more obvious. Along with the conditions that nonstandard design often requires short design time and very urgent delivery period, the existing design method is low in efficiency and easy to generate errors, and cannot meet the requirements of electrical engineers.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method for automatically generating an electrical schematic diagram through parameter configuration, which comprises the following steps:
1) Serial device analysis: analyzing the same series of equipment, summarizing the structural configuration and the electrical configuration of the series of equipment, and analyzing the standard configuration and the nonstandard configuration of the equipment;
2) Electrical parameter table: refining an electrical parameter table from the analysis result of the step 1), summarizing nonstandard configuration, and parameterizing the nonstandard configuration;
3) Electrical schematic diagram of each model: according to the electric parameter table, combining the existing standard drawing and non-standard drawing, making a template electric schematic diagram of each model;
4) Drawing influencing factors: synthesizing the template electrical schematic diagram of each model, and extracting factors influencing the electrical schematic diagram of the equipment of the whole series of models from the template electrical schematic diagram;
5) A series of template drawings;
6) Parameter configuration table: extracting all factors affecting the electrical schematic diagram from the series of template electrical schematic diagrams, and summarizing the factors into a parameter configuration table;
7) CAD-VBA program: the series of template drawings and the parameter configuration table are associated in a CAD-VBA macro program development mode, and the program automatically generates an electrical schematic diagram corresponding to the series of template drawings under the support of the series of template drawings through the parameter values in the parameter configuration table;
8) Electrical schematic diagram: under the function of CAD-VBA program, a required electrical schematic diagram is obtained and can be directly printed.
Preferably, the series of template drawings in the step 5) is an electrical schematic diagram of a complete series of equipment, the drawing embodies the electrical schematic diagram under the full configuration, and the drawing conditions under the nonstandard configuration can be distinguished by colors, frames, layers and the like, so that VBA program processing is facilitated.
Preferably, the factors affecting the electrical schematic in the step 6) mainly include: the same part, the influence of different models, the selection of more parts, the presence or absence of the case, or the other case.
Compared with the prior art, the invention has the following advantages:
by the method, the electrical schematic diagram corresponding to the template CAD electrical schematic diagram can be automatically generated by selecting parameter configuration in the form of the check frame, the drawings of the whole series of equipment can be uniformly managed and controlled, the working efficiency is greatly improved, and human errors are avoided.
Drawings
FIG. 1 is a schematic diagram of the steps of the method of the present invention;
FIG. 2 is a schematic diagram of a drawing generated by the method of the present invention;
FIG. 3 shows nonstandard parameters of a fixed elevator without a PLC control system in an embodiment of the invention;
fig. 4 is an example of a fixed elevator material influencing parameter without a PLC control system in an embodiment of the present invention.
Description of the embodiments
The present invention will be described in further detail with reference to specific examples.
Examples
A method for automatically generating an electrical schematic diagram through parameter configuration comprises the following steps:
1) Serial device analysis: analyzing the same series of equipment, summarizing the structural configuration and the electrical configuration of the series of equipment, and analyzing the standard configuration and the nonstandard configuration of the equipment;
2) Electrical parameter table: refining an electrical parameter table from the analysis result of the step 1), summarizing nonstandard configuration, and parameterizing the nonstandard configuration;
3) Electrical schematic diagram of each model: according to the electric parameter table, combining the existing standard drawing and non-standard drawing, making a template electric schematic diagram of each model;
4) Drawing influencing factors: synthesizing the template electrical schematic diagram of each model, and extracting factors influencing the electrical schematic diagram of the equipment of the whole series of models from the template electrical schematic diagram;
5) Series of template drawings: the series template drawing is a complete electrical schematic diagram of the whole series equipment, the drawing embodies the electrical schematic diagram under the full configuration, and the drawing conditions under the nonstandard configuration can be distinguished by colors, frames, layers and the like, so that VBA program processing is facilitated;
6) Parameter configuration table: all factors affecting the electrical schematic are extracted from the series of template electrical schematic, and are summarized into a parameter configuration table, wherein the factors affecting the electrical schematic mainly comprise: the same part, the influence of different models, multiple selection of one part, the presence or absence of the condition, or the other one, namely the two conditions;
7) CAD-VBA program: the series of template drawings and the parameter configuration table are associated in a CAD-VBA macro program development mode, and the program automatically generates an electrical schematic diagram corresponding to the series of template drawings under the support of the series of template drawings through the parameter values in the parameter configuration table;
8) Electrical schematic diagram: under the function of CAD-VBA program, a required electrical schematic diagram is obtained and can be directly printed.
Fig. 2 is a principle of automatically generating an electrical drawing by a program, as shown in the following: the influencing factors in the parameter configuration table mainly comprise the following 5 types: the effects of "same part", "different model", the "one-out-of-multiple" part, the "with or without" case, the "not-that is" one-out-of-multiple "case. For the same part, the program does not process, and the figures are the same by default in the electrical schematic diagram, and all devices are common; the program is written according to the changing condition of drawings caused by the influence of different models on the series of equipment; for example, a large-load elevator is not easy to manually rotate, a power distribution motor rotating structure is needed, and wiring diagrams of the mechanism are different; a "one-out-of-multiple (one-out-of-multiple)" section, the program calculating and displaying a drawing of the apparatus in this case based on the values in the one-out-of-multiple; "with or without" such parameters if "with" is selected, the program adds and displays the portion of the drawing in the manifest; "not this is the case of" alternative "which is similar to" alternative "and directly shows the drawing corresponding thereto; when the program processes the same part, the fixed drawing is directly displayed without any change; when the program processes the condition that other 4 classes have changes, the program directly operates fixed positions in a series of template drawings, and generates a final electric list in a mode of layer development, page replacement, block replacement, super block, text replacement and the like according to a change rule.
Taking a fixed elevator without a PLC control system as an example, after analysis of series equipment according to the method of the invention, the following conclusion is drawn: the lifting power is controlled by the oil pump hydraulic pressure, 2 conditions exist/not (the power of the turnover mechanism is provided by the lifting hydraulic pressure), 2 conditions exist/not (the power of the rotation mechanism is provided by a common three-phase motor), and 3 conditions exist in the blanking valve, namely, the blanking valve is not provided with a pneumatic butterfly valve or an electric butterfly valve; 3 nonstandard parameters can be refined in the electrical parameter table (as shown in fig. 3);
combining the nonstandard factors and the original electrical schematic diagram to distinguish a standard drawing and a nonstandard drawing, thereby preparing a template drawing of each model; comparing the drawings, and combining the non-standard parameters to extract drawing influencing factors, wherein the factors are shown in fig. 4; comparing fig. 3 and 4, it was found that a "device model" factor was added, since for devices above the heavy load 1000, the rotating mechanism would necessarily be present.
After determining the drawing influencing factors, combining the template drawings of each model, and writing a complete series of template drawings according to the series of equipment drawing logics. The drawing is to be classified, the local drawing (modularized drawing) under each influencing factor is made and placed in a fixed area or page, and the module drawings are made into the editable objects of programs such as different layers, superblocks, common blocks, texts with attribute values, common editable texts and the like, and the objects are used as the acting objects of the CAD-VBA program.
After the series of template drawings are finished, drawing influencing factors are arranged in a certain page in the drawings, and a hook or selectable pattern is made, so that a designer can conveniently select; and then writing a CAD-VBA program, associating a parameter configuration table with a series of template drawings, and automatically generating a final electrical schematic diagram under different parameter configurations by editing an editable object made in the template drawings.
The foregoing is merely exemplary embodiments of the present invention, and it should be noted that various changes, modifications, substitutions and alterations can be made herein by those skilled in the art without departing from the technical principles of the present invention, which are also intended to be regarded as the scope of the invention.

Claims (3)

1. A method for automatically generating an electrical schematic by parameter configuration, comprising the steps of:
1) Serial device analysis: analyzing the same series of equipment, summarizing the structural configuration and the electrical configuration of the series of equipment, and analyzing the standard configuration and the nonstandard configuration of the equipment;
2) Electrical parameter table: refining an electrical parameter table from the analysis result of the step 1), summarizing nonstandard configuration, and parameterizing the nonstandard configuration;
3) Electrical schematic diagram of each model: according to the electric parameter table, combining the existing standard drawing and non-standard drawing, making a template electric schematic diagram of each model;
4) Drawing influencing factors: synthesizing the template electrical schematic diagram of each model, and extracting factors influencing the electrical schematic diagram of the equipment of the whole series of models from the template electrical schematic diagram;
5) A series of template drawings;
6) Parameter configuration table: extracting all factors affecting the electrical schematic diagram from the series of template electrical schematic diagrams, and summarizing the factors into a parameter configuration table;
7) CAD-VBA program: the series of template drawings and the parameter configuration table are associated in a CAD-VBA macro program development mode, and the program automatically generates an electrical schematic diagram corresponding to the series of template drawings under the support of the series of template drawings through the parameter values in the parameter configuration table;
8) Electrical schematic diagram: under the function of CAD-VBA program, a required electrical schematic diagram is obtained and can be directly printed.
2. The method for automatically generating an electrical schematic diagram according to claim 1, wherein the series of template drawings in step 5) is an electrical schematic diagram of a complete series of devices, the drawing represents the electrical schematic diagram in the full configuration, and the drawing in the nonstandard configuration can be distinguished by colors, frames, layers and the like, so that VBA program processing is facilitated.
3. A method for automatically generating an electrical schematic through parameter configuration according to claim 1, wherein the factors influencing the electrical schematic in step 6) mainly include: the same part, the influence of different models, the selection of more parts, the presence or absence of the case, or the other case.
CN202310367070.XA 2023-04-07 2023-04-07 Method for automatically generating electrical schematic diagram through parameter configuration Pending CN117290909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310367070.XA CN117290909A (en) 2023-04-07 2023-04-07 Method for automatically generating electrical schematic diagram through parameter configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310367070.XA CN117290909A (en) 2023-04-07 2023-04-07 Method for automatically generating electrical schematic diagram through parameter configuration

Publications (1)

Publication Number Publication Date
CN117290909A true CN117290909A (en) 2023-12-26

Family

ID=89255971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310367070.XA Pending CN117290909A (en) 2023-04-07 2023-04-07 Method for automatically generating electrical schematic diagram through parameter configuration

Country Status (1)

Country Link
CN (1) CN117290909A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118095147A (en) * 2024-04-24 2024-05-28 山东电工时代能源科技有限公司 Method, system, device and medium for generating electrical drawing of electrochemical energy storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118095147A (en) * 2024-04-24 2024-05-28 山东电工时代能源科技有限公司 Method, system, device and medium for generating electrical drawing of electrochemical energy storage device

Similar Documents

Publication Publication Date Title
CN108376376B (en) BIM model-based construction engineering quality management standardization method
CN117290909A (en) Method for automatically generating electrical schematic diagram through parameter configuration
DE102015100024A1 (en) Reusable graphics elements with fast editable features for use in plant monitor system user displays
DE112005001045T5 (en) Script graphic in a process environment
DE112009002304T5 (en) Efficient design and configuration of elements in a process control system
US20070208464A1 (en) System and method of interactively compiling a database for an in-vehicle display device
JP4302146B2 (en) Program creation support device
CN110837703A (en) Pro/E-based hydraulic cylinder rapid design system and method
CN109145359B (en) Steel structure material preparation method based on BIM system and CAD software
CN108053460B (en) Drawing method and device of electric power system diagram
CN105183966B (en) Instrument floor plan fast drawing method based on database
CN116305384A (en) Detailed drawing method for deepened member based on Revit and Dynamo
CN102024077B (en) Engineering drawing processing method
TWI746271B (en) Scada web hmi system
CN113468261B (en) Method and system for constructing entity relationship of Internet of things based on graphic editing engine
CN110806871B (en) Configurable ship management system
CN103246784A (en) Parameterization drawing system for drawing escalator construction layout drawings
CN111898349A (en) Method and system for producing test detection form of highway water transport engineering
US8839124B2 (en) Apparatus for configuring a diagnostics module for an industrial plant
CN115576529A (en) Mobile application generation method and system, readable storage medium and electronic device
CN107944083A (en) A kind of automatic method for making PCB circuits and cutting copper
CN117131846A (en) Method for automatically generating electric list through parameter configuration
CN101051327B (en) Part assembling hole design system and method
CN109299527A (en) A kind of automation method for platemaking and automation automatic platemaker
CN114138222B (en) Automatic construction method and system for large data visualization screen

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