CN112270091A - Real-time automatic generation system and method for electrical drawings - Google Patents

Real-time automatic generation system and method for electrical drawings Download PDF

Info

Publication number
CN112270091A
CN112270091A CN202011163692.3A CN202011163692A CN112270091A CN 112270091 A CN112270091 A CN 112270091A CN 202011163692 A CN202011163692 A CN 202011163692A CN 112270091 A CN112270091 A CN 112270091A
Authority
CN
China
Prior art keywords
power distribution
distribution cabinet
data
electrical
cabinet
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
CN202011163692.3A
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.)
Ningbo Dajia Xiaojia Network Technology Co ltd
Original Assignee
Ningbo Dajia Xiaojia Network Technology 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 Ningbo Dajia Xiaojia Network Technology Co ltd filed Critical Ningbo Dajia Xiaojia Network Technology Co ltd
Priority to CN202011163692.3A priority Critical patent/CN112270091A/en
Publication of CN112270091A publication Critical patent/CN112270091A/en
Pending legal-status Critical Current

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
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a real-time automatic generation system and a real-time automatic generation method for an electrical drawing, which solve the technical problem of automatically drawing the electrical drawing. The system comprises: the manager is used for acquiring electrical data of the power distribution system and exchanging data with the server through the Ethernet; the server is used for processing the electric data of the power distribution system uploaded by the manager and drawing an electric diagram according to the processed data; a browser capable of receiving signals from a server and rendering the electrical map. The method has the advantages of high efficiency, simplicity and convenience in data processing, high accuracy and capability of fully automatically generating the electrical drawing through the electrical data uploaded by the manager.

Description

Real-time automatic generation system and method for electrical drawings
Technical Field
The invention relates to a real-time automatic generation system and method of an electrical drawing, and belongs to the technical field of electrical drawings.
Background
The electrical system diagram is a simplified diagram depicting the electrical system layout and power transfer process. The management system is the basis of power system management, and the management of a power supply and distribution system which is away from a drawing cannot be done from the beginning. When a system is in fault, a power maintainer holds a paper drawing to check the problem on site.
With the development of electronic communication technology in recent years, paper drawings are gradually electronized, a manager can open a webpage through a computer or a mobile phone to view the drawings, and electric data on a current line can be displayed on the drawings. In order to achieve the function, the industry generally adopts an intelligent instrument, an internet access terminal, a data server and a web browser to realize the function at present. Their basic framework is shown in figure 1 below.
In the traditional industry, developers of the internet of things all adopt a static drawing mode to directly convert CAD drawings of electrical engineering drawings into pictures and then display the pictures on a webpage (part of the developers may adopt vector diagrams, and the display effect cannot be influenced when the developers are enlarged and reduced). And then, collecting the data of each instrument together by using a data concentrator, sending the data to a server by using a GPRS (general packet radio service) or other forwarding modules, classifying the data into a database by a server background program, and filling the data into a fixed position on a page according to a preset program. Therefore, the effect of showing the electric drawing and the data in real time is achieved.
In the prior art, the internet of things technology is applied to realize data transmission storage and simple display, but a drawing part is a whole picture which cannot be edited in real time, a system cannot read an electric diagram, and the current trend cannot be automatically analyzed and whether the current running state of each current cabinet is abnormal or not can be judged according to the drawing and the telemetering amount and teletraffic provided by hardware equipment.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, provides a system and a method for automatically generating an electrical drawing in real time, and solves the technical problem of automatically drawing the electrical drawing according to the electrical data provided by the drawing and hardware equipment.
In order to achieve the purpose, the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides an automatic real-time generation system for electrical drawings, including: the manager is used for acquiring the electrical data of the power distribution system of the power distribution cabinet and exchanging the data with the server through the Ethernet; the server is used for processing the electric data of the power distribution system uploaded by the manager and drawing an electric diagram according to the processed data; a browser capable of receiving signals from a server and rendering the electrical map.
Further, the server is connected with a plurality of managers through a router.
In a second aspect, the invention provides a real-time automatic generation method of an electrical drawing, which is based on the real-time automatic generation system of the electrical drawing and comprises the following steps: collecting electrical data of a power distribution system by taking a power distribution cabinet as a unit; the collected electrical data of the power distribution system are summarized and processed through a server, and an electrical diagram is drawn according to the processed electrical data; displaying the electrical diagram through a browser.
Further, the method for acquiring the electrical data of the power distribution system by taking the power distribution cabinet as a unit comprises the following steps: recording a distribution equipment bill of materials of the power distribution cabinet through a manager; uploading characteristic data of the power distribution cabinet through the mobile terminal equipment; and uploading the characteristic data of the power distribution cabinet and the recorded bill of materials of the power distribution equipment to a server through the Ethernet.
Further, the method for collecting and processing the collected electrical data of the power distribution system through the server includes: constructing a server data structure according to the collected electric data of the power distribution system; the server data structure comprises power distribution cabinet characteristic data, a power distribution equipment bill of materials and power distribution cabinet related data: the characteristic data of the power distribution cabinet is uploaded by mobile terminal equipment and comprises the installation position, the type and the title of the power distribution cabinet; the distribution equipment bill of materials in the power distribution cabinet is uploaded by a manager and comprises the serial number of the power distribution cabinet, the number of components, the component code, the model number of the components, the state of the components, the rated current of the components, the length of the components and the precision of the components; the related data of the power distribution cabinet comprises component attribute information pre-recorded into a database, and a power distribution cabinet unique identifier and a component unique identifier which are set by a server; the component attribute information pre-recorded into the database comprises component names, component graphic feature data, component graphic identifiers, main branch data and component drawing attributes.
Further, the method for drawing the electrical diagram according to the processed electrical data comprises the following steps: extracting a corresponding distribution equipment bill of materials and distribution cabinet related data in the distribution cabinet according to the distribution cabinet characteristic data; drawing a power distribution system and a connecting circuit thereof according to the extracted power distribution equipment bill of materials and the power distribution cabinet related data; and after the drawing of the power distribution system of the power distribution cabinet is finished, the program continues to search the next power distribution system and draw the next power distribution system until the drawing of all the power distribution systems is finished.
Further, the method for drawing the power distribution system and the connection lines thereof comprises the following steps: judging whether the direction attribute of the power distribution cabinet is effective or not, if so, drawing the direction of the power distribution cabinet according to the direction attribute, and otherwise, drawing the direction of the power distribution cabinet according to the direction attribute of the previous power distribution cabinet; judging whether the power distribution cabinet is a low-voltage incoming cabinet or not, and if so, processing a high-voltage outgoing cable between the high-voltage outgoing cabinet and the mortgage incoming cabinet; judging whether the power distribution cabinet is a capacitor cabinet or not, and if so, processing the distance between the power distribution cabinet and the previous power distribution cabinet; drawing components in the power distribution cabinet according to the power distribution equipment bill of materials; judging whether the current power distribution cabinet is an isolation cabinet, an incoming line cabinet or a metering cabinet, and if so, rotating the whole power distribution cabinet and the graphs of the components thereof by 180 degrees; and generating a title and detail viewing button of the power distribution cabinet.
Further, the method for drawing the components in the power distribution cabinet according to the power distribution equipment bill of materials comprises the following steps: calling corresponding graphic feature data in a database according to the component codes, wherein the graphic feature data comprise component vector graphics; constructing a connection mode of the component and other components through main branch data; optimizing and adjusting the drawing coordinates of the component vector graphics according to the component type; adjusting the scaling and the placing position of the vector graph of the component according to the type of the component; and arranging the component vector graphics on the canvas.
Furthermore, the vector graphics of the components are vector graphics files in an SVG format.
Further, the method for drawing the components in the power distribution cabinet according to the power distribution equipment bill of materials further comprises the following steps: monitoring the state of a power distribution system in the power distribution cabinet through a manager; and drawing the connecting circuit by adopting different colors according to the state of the current component.
Compared with the prior art, the invention has the following beneficial effects:
1. according to the invention, the manager arranged on the power distribution cabinet is used for editing and storing the bill of materials of the power distribution equipment in the corresponding power distribution cabinet, so that a user can visually compare whether the contents in the bill of materials are consistent with the real objects, thereby reducing errors to the maximum extent; the server automatically acquires the list data from the manager without manual intervention and then automatically draws the whole electrical diagram, so that human factors are reduced to the maximum extent, the accuracy and the efficiency of generating the electrical diagram are improved, and the trouble of manual drawing is avoided;
2. according to the distributed drawing generation system, the power distribution cabinet is used as a unit to collect the electrical data of the power distribution system, the collected electrical data of the power distribution system is collected and processed, the electrical drawing is drawn according to the processed electrical data, the distributed drawing is edited and stored, the whole data of the whole power supply and distribution drawing is scattered into each power distribution cabinet unit in a way of breaking up, the data processing is efficient and simple, the electrical drawing is generated automatically through the electrical data uploaded by the manager, and the accuracy is high;
3. the invention can automatically display the current trend and judge whether the current operation state of each cabinet is abnormal or not according to the drawing and the electrical data provided by the hardware equipment;
4. the invention displays the electrical data through the browser, automatically adjusts the line color according to the load condition, and further can fully automatically analyze the running state and troubleshoot faults;
5. the manager is connected with the server in real time, the manager adjusts data, and the server can be automatically updated;
6. the graphic file in the SVG format can ensure extensibility during zooming.
Drawings
FIG. 1 is a block diagram of a standard smart meter;
FIG. 2 is a manager and server function implementation framework;
FIG. 3 is a schematic diagram of a material sorting logic;
FIG. 4 is a diagram of a manager hardware configuration;
FIG. 5 is a manager material entry interface;
FIG. 6 is a schematic diagram of a manager application;
FIG. 7 is a schematic diagram of a server software architecture;
FIG. 8 is a server data structure;
FIG. 9 is a schematic diagram of the logic for performing the addGroup method;
FIG. 10 is a flow chart of a component drawing addImage method;
FIG. 11 is a library of component graphics material;
fig. 12 is an exemplary diagram of drawing effects of the completion.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The first embodiment is as follows:
the embodiment provides a real-time automatic generation system of electric drawing, includes: the manager is arranged on the power distribution cabinet and used for acquiring the electrical data of the power distribution system of the power distribution cabinet and exchanging data with the server through the Ethernet; the server is used for processing the electric data of the power distribution system uploaded by the manager and drawing an electric diagram according to the processed data; the server can be connected with the mobile terminal equipment through the Ethernet; a browser capable of receiving signals from a server and rendering the electrical map. The server is connected with a plurality of managers through a router.
In the embodiment, the manager installed on the power distribution cabinet is used for editing and storing the bill of materials of the power distribution equipment in the corresponding power distribution cabinet, so that a user can compare whether the content in the bill of materials conforms to a real object or not by himself/herself, and errors can be reduced to the maximum extent; the server automatically acquires the list data from the manager without manual intervention and then automatically draws the whole electrical diagram, so that human factors are reduced to the maximum extent, and the accuracy and the efficiency of generating the electrical diagram are improved.
Example two:
the embodiment provides a real-time automatic electric drawing generation method based on the electric drawing real-time automatic generation system in the first embodiment, and the method comprises the following steps: collecting electrical data of a power distribution system by taking a power distribution cabinet as a unit; the collected electrical data of the power distribution system are summarized and processed through a server, and an electrical diagram is drawn according to the processed electrical data; displaying the electrical diagram through a browser.
The embodiment gathers distribution system electrical data through using the switch board as the unit, gathers and handles distribution system electrical data who gathers to draw electric picture according to the electric data after handling, realize distributed drawing and edit the storage, with the whole part of the data of whole confession distribution drawing disperse each switch board unit in partly, data processing is high-efficient simple and convenient, the full automatic generation electric drawing of electrical data through the manager upload, the accuracy is high.
Example three:
the embodiment provides a system and a method for automatically generating an electrical drawing in real time. The hardware framework of the system provided by the embodiment is shown in fig. 2.
The embodiment is provided with a plurality of power distribution system managers which can be installed on power distribution cabinets of different types. The manager can collect various electrical data in the corresponding power distribution system, has a good man-machine interaction function, and uses the Ethernet to exchange data with the server. The manager system software introduces a data structure of a bill of materials, and the specific implementation idea is as follows: the electrical configuration in the electrical panel has a certain regularity, so that the summary of the electrical equipment in common use is given in fig. 3. In the embodiment, the common electrical equipment is divided into 4 major categories, which are respectively: the system comprises a power access point, power transformation equipment, disconnection equipment and other equipment. The materials are further subdivided according to the characteristics of each device, and a total of 56 subdivided materials are finally obtained, the material classification is shown in fig. 11, and the manager program records the names, default models, default specifications (length, rated current, precision), simplified diagrams, device electrical models and other data of the materials in 56 in advance. When a user uses the manager for the first time, the user needs to manually input the power distribution equipment in the power distribution cabinet in sequence, the user inputs the adding equipment one by one according to the configuration condition in the actual power distribution cabinet, and finally a bill of materials of the power distribution cabinet is formed.
The administrator will keep a bill of materials entered by the user and will automatically upload to the server over the ethernet. A complete set of power distribution system is composed of a plurality of power distribution cabinets, a manager of each power distribution cabinet can provide a corresponding list for a server, and the server draws a complete drawing through data after data aggregation. In this embodiment, the method is called as distributed bill of material editing and storage, and the essence is that the data of the whole power supply and distribution drawing is uploaded by the manager of each cabinet in a way of breaking up the whole part.
The manager, while uploading the bill of materials, also transmits a switch number, e.g., "# 1", to determine the switch location and data classification.
The hardware structure of the manager is shown in fig. 4, and the main chip of the manager is a 32-bit ARM architecture single chip with built-in high-speed AD (analog-to-digital conversion) and DSP units. The secondary signals collected by the voltage and current transformer are properly conditioned, filtered and voltage raised, and then are transmitted to the singlechip. The inside of the single chip microcomputer is converted through a high-speed AD unit and then is subjected to data processing through a DSP unit, and effective values (0 time is a direct current component, and 1 time is a fundamental component) of 0-31 times of harmonic waves of each path of voltage and current can be obtained. Strong electric switch signals, such as a voltage loss alarm signal and a closing loop opening loop signal, are all 110V-220V, and the on-off detection of the singlechip on the strong electric switch signals and the closing loop opening loop signals is realized by driving an optocoupler after passing through a current-limiting resistor. Other passive switch signals, such as knife switch handcart signals and the like, directly control the optical coupler to be connected so as to realize the detection of the singlechip on the signals. The EEPROM is used for storing system parameters, user configuration parameters and electric quantity information. The external flash is used for storing alarm information fault recording data, protection fixed value data and bill of material data. The USB serial port is used for communicating with an upper computer. The CAN interface is used for exchanging data with other managers, the RS485 interface is used for exchanging data with the dehumidifier, and the Ethernet is used for exchanging data with the server. The manager provides good human-computer interaction logic so that the user can edit the bill of materials more conveniently. The manager material entry interface is shown in fig. 5, the left column is the title sorting of the materials, and the right side after the selection of the corresponding component is the detailed information of the component, including the name, model, specification, rated current, length, and precision attributes of the component. Different types of components have different attributes. The manager can support editing and storage of 28 materials (the manager of the reactive compensation cabinet can provide editing and storage of 150 materials).
The manager is installed on the power distribution cabinet to monitor the power distribution system of the whole power distribution cabinet, and the application scene of the manager is shown in fig. 6.
The server is connected with the manager through the Ethernet, and the server software completes the function of automatically drawing the electrical drawing according to the electrical data uploaded by the manager; as shown in FIG. 7, the server software is divided into three blocks-front-end software, back-end software, and socket service. Wherein the front-end software is run on the browser of the user equipment and is a direct execution part of the drawing of the electrical diagram. The back-end software and the database are used for realizing data processing logic in the whole set of software. Socket service is used to implement the function of server and hardware (manager) communication.
The whole part of the whole distribution electrical drawing is broken into parts and stored in each manager hardware, each manager stores a bill of materials of a power distribution cabinet where the manager is located and transmits the bill of materials to a server through Ethernet, and the server can begin to draw a complete electrical drawing after acquiring the serial number of each power distribution cabinet and the bill of materials of power distribution equipment in each power distribution cabinet. Data to be processed for a server can be classified into three categories: power distribution cabinet characteristic data, component data in the power distribution cabinet and electrical data. Firstly, the characteristic data of the power distribution cabinets is mainly input by a user, such as the number of the power distribution cabinets, the number of each power distribution cabinet, the type of each power distribution cabinet and a manager identification code (BID) on each power distribution cabinet, and the characteristic data is filled by the user through a mobile terminal. The server extracts the characteristic data of one power distribution cabinet each time when drawing the electrical diagram each time, and then extracts the component data in each power distribution cabinet together to enter the drawing process.
As shown in fig. 8, the data type related to the power distribution cabinet is composed of a number, the number of components, details of the components, a mounting position, a type, a title, and a unique identifier. The number marks the number of the power distribution cabinet on the electrical drawing, for example, the type of "# 1-1", the number of the components indicates how many components are in the power distribution cabinet, and each component contains more details. The serial number, the number of the components and the details of each component are uploaded by the manager. The installation position, the type and the title are obtained by the user through self editing and uploading of mobile terminal software. The unique identifier is set for managing each component by the server side.
The information of codes, models, rated currents, lengths, accuracy and the like in the attributes of each component is uploaded by a manager, wherein the most important graphic characteristics are vector graphics drawn by developers aiming at each component, and the vector graphics are main data for completing graphic drawing. And the server extracts corresponding graphic characteristic data from a database through the graphic identification of the components. The main branch is used for describing the connection mode of the component and other components, and mainly comprises a series connection type and a parallel connection type. In order to realize graph establishment and data intercommunication, a data type is established in back-end and front-end software to describe the power distribution cabinet and each component. The data structure chestModel of the power distribution and the meaning thereof are shown in table 1:
TABLE 1 Power distribution cabinet data structure
Figure 376095DEST_PATH_IMAGE002
Data in the chestModel structure are provided for front-end software by back-end software, and the front-end software starts to execute an addGroup method to draw the power distribution cabinet and the connecting line thereof after receiving the data.
As shown in fig. 9, the addGroup method implements a drawing logic of the cabinet body of the power distribution cabinet. Firstly, whether the direction attribute of the power distribution cabinet is effective or not is judged, and if the direction attribute of the power distribution cabinet is effective, the direction of the power distribution cabinet is drawn according to the corresponding parameter. And then judging whether the power distribution cabinet is a low-voltage incoming line cabinet or not, wherein the transformer is placed between the low-voltage incoming line cabinet and the high-voltage outgoing line cabinet, the basic arrangement is that the high-voltage power distribution cabinets are placed on the same horizontal line, the low-voltage power distribution cabinet is placed on the same horizontal line, a bridge between the high-voltage power distribution cabinet and the low-voltage power distribution cabinet is a high-voltage outgoing line cable, the starting position of the high-voltage outgoing line cable is a high-voltage outgoing line cabinet, and the ending position of the high-voltage outgoing line cable determines the starting position of the low-voltage incoming line cabinet, so that a drawing path of the high-voltage outgoing. And then judging whether the power distribution cabinet is a capacitor cabinet or not, if so, adjusting the arrangement of the capacitor cabinet, namely adjusting the distance between the default capacitor cabinet and the last power distribution cabinet to be 350 pixel points, but because the position occupied by part of low-voltage feeder cabinets (drawer cabinets) on the graph is wider, the length of a horizontal connecting line (bus bridge) on the capacitor cabinet needs to be adjusted, the outgoing line number of the feeder cabinet needs to be stored when the last power distribution cabinet is drawn, and the distance of a bus is adjusted according to the number of the outgoing lines when the bus above the capacitor cabinet is drawn.
And calling an addImage component drawing method to draw components, and continuing to judge whether the current power distribution cabinet is an isolation cabinet, an incoming line cabinet or a metering cabinet after drawing the power distribution cabinet body. Because the bill of materials on the manager is edited according to the current direction, and the current directions of the power distribution cabinets are from bottom to top, the order of the bill of materials is opposite to the order of components in the actual power distribution cabinets, and therefore the power distribution cabinets need to be adjusted after being drawn according to the addImage method, namely the power distribution cabinets need to be rotated by 180 degrees. The title of switch board needs to be generated afterwards, except low-voltage incoming line cabinet and low-voltage feeder cabinet, the title of all the other switch boards all directly shows directly over the switch board region, if the switch board is low-voltage incoming line cabinet, then still need reserve the position of transformer above the switch board, therefore the title needs to be settled in the position that switch board top is inclined to the right or inclined to the left. In the case of a low-voltage feeder cabinet, there are usually multiple branches, so that the total number of branches of the feeder cabinet needs to be obtained first and then a header needs to be placed in the middle.
The addImage method is a core function for drawing components. We also need to define the data structure of the individual components as shown in table 2, where id indicates the type of component and its value corresponds to the number of 56 components in the manager. uuid represents the unique identification of the component, which is generated by back-end software. name is a description label of the component. The position is a value indicating a drawing area of the component, and is usually 1, indicating that the component is drawn on the trunk line, 2 indicating that the component needs to be drawn on the left side of the trunk line, and 3 indicating that the component needs to be drawn on the right side of the trunk line. For example, the live display instrument needs to be drawn on the left side of the trunk line, and therefore the position value of this component of the live display instrument is usually 2. The addImage method execution flow is shown in fig. 10, and execution needs to depend on runtimeData (calculated by back-end software and transmitted to front-end software), and _ this (the front-end software fills data according to an algorithm) and material library imagename. The essence of the addImage method is that the process of intelligently adding component material pictures according to the current running state, reasonably zooming and adjusting the component material pictures and finally displaying the component material pictures on the canvas is realized through a specific algorithm. The rendering properties in this are adjusted (x, y, width, height, name, image) each time an algorithm is executed.
TABLE 2 Components data Structure
Figure 965339DEST_PATH_IMAGE004
In the execution flow of the addImage method, different colors are used for drawing according to the state of the current component, namely green is displayed when the current is on the current line and is less than 80% of the rated current, yellow is displayed when the current is more than 80% and less than 100%, and red is displayed when the current is more than 100%. If there is no current and the corresponding switch board also has no voltage, no delineation is performed. Blue if there is current and the switch cabinet is a reactive compensation cabinet. And next, searching a corresponding material type of the database according to the data state during operation, for example, the disconnecting link has two types of component vector graphs of closing and opening, and if the state (switch or h _ position) transmitted by the back-end software is detected, the software needs to load the component vector graph when the disconnecting link is closed. And next, adjusting the scaling and the placing position of the component vector graph according to the type of the component, wherein x and y in _ this distinguish an abscissa and an ordinate which represent the loading position of the component vector graph, and width and height respectively represent the width and height of the component vector graph. Because the component vector graphics need to be aligned in the middle for splicing, the abscissa x of the component vector graphics needs to perform the operation of alignment in the middle, namely x-width/2 + position width. And finally, loading the component vector graph, adjusting the picture according to the parameter in the _ this, and finally loading the picture on a canvas. The component vector graphics may also be referred to as extracted material. Drawing the materials of 56 components according to the dividing method in fig. 3 and generating a graphics file in the SVG format, wherein the graphics file in the SVG format can ensure extensibility during zooming. The style of the material graphics is shown in fig. 11.
After the drawing of one component is completed, the program can continuously search the next component and draw the next component, and when the last component (basically, a bus) of the power distribution cabinet is searched, the component drawing process of the power distribution cabinet is completed. The drawing sheet is completed as shown in fig. 12.
According to the embodiment, the manager installed on the power distribution cabinet is used for editing and storing the bill of materials of the power distribution equipment in the corresponding power distribution cabinet, and a user can compare the contents in the bill of materials with the real objects in person to see whether the contents conform to the real objects, so that errors can be reduced to the greatest extent. The user does not need to change after editing once.
The server side automatically acquires the list data from the manager without manual intervention and then automatically draws the whole electrical diagram, so that human factors are reduced to the maximum extent. The server completely grasps the drawings generated by the server in person, the electrical principle and the electrical model of the drawings can be simulated, and the requirement of the smart power grid is really met.
For the manager on the cabinet, the performance of human-computer interaction can be improved, the efficiency of editing the list by a user can be improved, and the list editing can be completed by adopting software import; in addition, the embodiment can also adopt the mode that a customized bill (BOM list) of the power distribution equipment in the power distribution cabinet is directly imported into the manager without manual entry, so that the operation efficiency can be further improved.
In the present invention, unless otherwise specifically stated or limited, the terms "mounted," "connected," "fixed," and the like are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, reference to the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An electric drawing real-time automatic generation system is characterized by comprising:
the manager is used for acquiring electrical data of the power distribution system and exchanging data with the server through the Ethernet;
the server is used for processing the electric data of the power distribution system uploaded by the manager and drawing an electric diagram according to the processed data;
a browser capable of receiving signals from a server and rendering the electrical map.
2. The system for automatically generating an electrical drawing in real time as claimed in claim 1, wherein the server is connected to the plurality of managers through a router.
3. An electric drawing real-time automatic generation method is characterized in that the electric drawing real-time automatic generation system based on any one of claims 1-2 comprises the following steps:
collecting electrical data of a power distribution system by taking a power distribution cabinet as a unit;
the collected electrical data of the power distribution system are summarized and processed through a server, and an electrical diagram is drawn according to the processed electrical data;
displaying the electrical diagram through a browser.
4. The method for automatically generating the electrical drawing in real time according to claim 3, wherein the method for collecting the electrical data of the power distribution system by taking a power distribution cabinet as a unit comprises the following steps:
recording a distribution equipment bill of materials of the power distribution cabinet through a manager;
uploading characteristic data of the power distribution cabinet through mobile terminal equipment;
and uploading the characteristic data of the power distribution cabinet and the recorded bill of materials of the power distribution equipment to a server through the Ethernet.
5. The method for automatically generating the electrical drawing in real time as claimed in claim 4, wherein the method for summarizing and processing the collected electrical data of the power distribution system through the server comprises the following steps: constructing a server data structure according to the collected electric data of the power distribution system;
the server data structure comprises power distribution cabinet characteristic data, a power distribution equipment bill of materials and power distribution cabinet related data:
the characteristic data of the power distribution cabinet is uploaded by mobile terminal equipment and comprises the installation position, the type and the title of the power distribution cabinet;
the distribution equipment bill of materials is uploaded by a manager and comprises the serial number of a distribution cabinet, the number of components, component codes, the model number of the components, the state of the components, the rated current of the components, the length of the components and the precision of the components;
the related data of the power distribution cabinet comprises component attribute information pre-recorded into a database, and a power distribution cabinet unique identifier and a component unique identifier which are set by a server;
the component attribute information pre-recorded into the database comprises component names, component graphic feature data, component graphic identifiers, main branch data and component drawing attributes.
6. The method for automatically generating the electrical drawing in real time according to claim 5, wherein the method for drawing the electrical drawing according to the processed electrical data comprises the following steps:
extracting a corresponding distribution equipment bill of materials and relevant data of the distribution cabinet according to the characteristic data of the distribution cabinet;
drawing the power distribution cabinet and a connecting circuit thereof according to the extracted power distribution equipment bill of materials and the power distribution cabinet related data;
and after the drawing of the electric structure of the power distribution cabinet is finished, continuously searching the next power distribution cabinet and drawing until all power distribution systems are drawn.
7. The method for automatically generating the electrical drawing in real time as claimed in claim 6, wherein the method for drawing the power distribution cabinet and the connection lines thereof comprises the following steps:
judging whether the direction attribute of the power distribution cabinet is effective or not, if so, drawing the direction of the power distribution cabinet according to the direction attribute, and otherwise, drawing the direction of the power distribution cabinet according to the direction attribute of the previous power distribution cabinet;
judging whether the power distribution cabinet is a low-voltage incoming cabinet or not, and if so, processing a high-voltage outgoing cable between the high-voltage outgoing cabinet and the mortgage incoming cabinet;
judging whether the power distribution cabinet is a capacitor cabinet or not, and if so, processing the distance between the power distribution cabinet and the previous power distribution cabinet;
drawing components in the power distribution cabinet according to the power distribution equipment bill of materials;
judging whether the current power distribution cabinet is an isolation cabinet, an incoming line cabinet or a metering cabinet, and if so, rotating the whole power distribution cabinet and the graphs of the components thereof by 180 degrees;
and generating a title and detail viewing button of the power distribution cabinet.
8. The method for automatically generating the electrical drawing in real time according to claim 7, wherein the method for drawing the components in the power distribution cabinet according to the power distribution equipment bill of materials comprises the following steps:
calling corresponding graphic feature data in a database according to the component codes, wherein the graphic feature data comprise component vector graphics;
constructing a connection mode of the component and other components through main branch data;
optimizing and adjusting the drawing coordinates of the component vector graphics according to the component type;
adjusting the scaling and the placing position of the vector graph of the component according to the type of the component;
and arranging the component vector graphics on the canvas.
9. The method for automatically generating the electrical drawing in real time as claimed in claim 8, wherein the component vector graphics are vector graphics files in SVG format.
10. The method for automatically generating the electrical drawing in real time according to claim 8, wherein the method for drawing the components in the power distribution cabinet according to the power distribution equipment bill of materials further comprises the following steps:
monitoring the state of a power distribution system in the power distribution cabinet through a manager;
and drawing the connecting circuit by adopting different colors according to the state of the current component.
CN202011163692.3A 2020-10-27 2020-10-27 Real-time automatic generation system and method for electrical drawings Pending CN112270091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011163692.3A CN112270091A (en) 2020-10-27 2020-10-27 Real-time automatic generation system and method for electrical drawings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011163692.3A CN112270091A (en) 2020-10-27 2020-10-27 Real-time automatic generation system and method for electrical drawings

Publications (1)

Publication Number Publication Date
CN112270091A true CN112270091A (en) 2021-01-26

Family

ID=74342931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011163692.3A Pending CN112270091A (en) 2020-10-27 2020-10-27 Real-time automatic generation system and method for electrical drawings

Country Status (1)

Country Link
CN (1) CN112270091A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112865092A (en) * 2021-02-25 2021-05-28 杭州交联电力设计股份有限公司 Optimization method for drawer arrangement in power distribution low-voltage distribution cabinet

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314374A (en) * 1995-05-16 1996-11-29 Toshiba Corp Distribution line diagram drawing device
JP2004021337A (en) * 2002-06-12 2004-01-22 Fujitsu Ltd Distribution equipment drawing preparing device, distribution equipment drawing preparing method, and computer program for carrying out the method in computer
JP2004229456A (en) * 2003-01-27 2004-08-12 Toko Electric Corp Delivery system for distribution system map data
CN101630340A (en) * 2009-05-27 2010-01-20 江西九江供电公司 Graphic-object-oriented single-line diagram vector drawing tool of distribution network
CN102820707A (en) * 2012-08-24 2012-12-12 珠海许继电气有限公司 Topological automatic identification system for distribution network
CN104155562A (en) * 2014-08-25 2014-11-19 积成电子股份有限公司 Method for remotely detecting wiring situation of electricity meter based on acquisition system
CN105447765A (en) * 2015-11-11 2016-03-30 国家电网公司 Distribution network feeder automatic mapping method
US20160171729A1 (en) * 2013-08-08 2016-06-16 Shintec Hozumi Co., Ltd. Circuit diagram supplying apparatus, circuit diagram supplying method and circuit diagram supplying system
CN105958942A (en) * 2016-05-13 2016-09-21 江苏中天科技软件技术有限公司 WEB based photovoltaic power station monitoring system
CN106446348A (en) * 2016-08-31 2017-02-22 四川创能电力工程有限公司 Circuit diagram generation method and device
CN109599783A (en) * 2018-12-13 2019-04-09 江苏昂内斯电力科技股份有限公司 A kind of safe distribution simulation screen system and its control method based on cloud platform
CN109683525A (en) * 2018-12-26 2019-04-26 安徽网华信息科技有限公司 A kind of drafting of power distribution network drawing and wireless transmitting system based on terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314374A (en) * 1995-05-16 1996-11-29 Toshiba Corp Distribution line diagram drawing device
JP2004021337A (en) * 2002-06-12 2004-01-22 Fujitsu Ltd Distribution equipment drawing preparing device, distribution equipment drawing preparing method, and computer program for carrying out the method in computer
JP2004229456A (en) * 2003-01-27 2004-08-12 Toko Electric Corp Delivery system for distribution system map data
CN101630340A (en) * 2009-05-27 2010-01-20 江西九江供电公司 Graphic-object-oriented single-line diagram vector drawing tool of distribution network
CN102820707A (en) * 2012-08-24 2012-12-12 珠海许继电气有限公司 Topological automatic identification system for distribution network
US20160171729A1 (en) * 2013-08-08 2016-06-16 Shintec Hozumi Co., Ltd. Circuit diagram supplying apparatus, circuit diagram supplying method and circuit diagram supplying system
CN104155562A (en) * 2014-08-25 2014-11-19 积成电子股份有限公司 Method for remotely detecting wiring situation of electricity meter based on acquisition system
CN105447765A (en) * 2015-11-11 2016-03-30 国家电网公司 Distribution network feeder automatic mapping method
CN105958942A (en) * 2016-05-13 2016-09-21 江苏中天科技软件技术有限公司 WEB based photovoltaic power station monitoring system
CN106446348A (en) * 2016-08-31 2017-02-22 四川创能电力工程有限公司 Circuit diagram generation method and device
CN109599783A (en) * 2018-12-13 2019-04-09 江苏昂内斯电力科技股份有限公司 A kind of safe distribution simulation screen system and its control method based on cloud platform
CN109683525A (en) * 2018-12-26 2019-04-26 安徽网华信息科技有限公司 A kind of drafting of power distribution network drawing and wireless transmitting system based on terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112865092A (en) * 2021-02-25 2021-05-28 杭州交联电力设计股份有限公司 Optimization method for drawer arrangement in power distribution low-voltage distribution cabinet

Similar Documents

Publication Publication Date Title
CN105931132B (en) Secondary system of intelligent substation physical loop file fullpath analytic method
CN112765258B (en) Power distribution network graph model checking management system and method thereof
CN103500249B (en) Visualization Relay Protection Setting Calculation System and method
CN104133953B (en) Intelligent substation secondary design system
CN108520163B (en) Three-dimensional net rack method for automatic modeling based on CIM model and SVG figures
CN112347612B (en) Modeling method and system for physical loop of secondary system of direct-current converter station
CN107292003A (en) A kind of automatic generating method of electric network station wiring diagram
CN104184621B (en) The generation method and system of intelligent substation network topological diagram
CN104867058A (en) IED visualization method of intelligent transformer substation SCD file
CN106300670A (en) The synthetic data of a kind of electrically-based system patrols and examines analysis system
CN107565693A (en) The visualization system and method for visualizing of the optical fiber circuit of intelligent substation
CN108054719A (en) Intelligent substation networking secondary circuit modeling method and method for diagnosing faults
CN106600457A (en) Transformer-substation micro-computer five-prevention main wiring diagram analysis system
CN108573342A (en) State evaluating method, device, computer equipment and the storage medium of power equipment
CN107862392A (en) A kind of Unit account of plant management-control method based on power distribution network intelligence O&M control platform
CN112270091A (en) Real-time automatic generation system and method for electrical drawings
CN108492660A (en) Substation's peace arranges analogy method, device and system
CN108564261A (en) Method, apparatus and computer equipment are determined based on the power information of work ticket
CN112215211A (en) Method for extracting chamber branch link topological relation based on CAD drawing data
CN107169175A (en) One kind verification rational method and system of overhead transmission line topology design
CN112835647B (en) Application software configuration method, configuration device, storage medium and electronic device
CN207557362U (en) A kind of full production cycle automatic test device of distribution terminal
CN115940419A (en) Physical configuration system visualization method and system based on SCD file
CN103543509A (en) Method and system for laying optical cables in intelligent transformer substation
CN105373635B (en) The construction method of substation and regulation and control center graphic and model integration full information model

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