Digital platform design method for automatically generating PLC and terminal box diagram

Through a digital platform that automatically generates PLC and terminal box diagrams, standard macro design solutions and component selection libraries are used to generate electrical equipment diagrams in one click, solving the problem of time-consuming and inconvenient operation in traditional designs, and improving design efficiency and quality.

CN119180253APending Publication Date: 2024-12-24CISDI ENGINEERING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411198725.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

Traditional CAD electrical design requires manual drawing and modification, which is time-consuming and inconvenient to operate. It is difficult for existing electrical drawing software to generate complete PLC and terminal box diagrams in one click, especially the functions such as component selection, cable numbering and automatic terminal numbering are not friendly enough.

Method used

Design a digital platform that automatically generates PLC and terminal box diagrams. By obtaining project design parameters, creating standard macro design solutions, establishing component selection libraries, building program processing modules and drawing generation modules, realizing the complete generation of electrical equipment diagrams with one click. Including cabinet layout, hardware configuration, power supply, wiring and reporting.

Benefits of technology

It realizes efficient and quality drawing of PLC and terminal box drawings, which is simple and convenient to operate, reduces the labor intensity of designers, improves design efficiency and quality, and does not require in-depth mastery of EPLAN software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119180253A_ABST
    Figure CN119180253A_ABST
Patent Text Reader

Abstract

The invention relates to a digital platform design method for automatically generating a PLC and terminal box diagram, and belongs to the technical field of electrical automation design, and the method comprises the following steps: S1, obtaining PLC IO and terminal box project design parameters and configuration parameters; s2, creating a standard macro design scheme, and storing the standard macro design scheme in a standard macro scheme database; s3, establishing an element type selection library; s4, constructing a program processing module which is used for performing hardware configuration according to the project design parameters, selecting a control scheme matched with the program processing module from a standard macro scheme database, matching entity type selection models in an element type selection library according to a configurable type selection module, automatically generating a power supply configuration table according to the control scheme and the type selection, and performing power supply configuration according to the power supply configuration table. Generating an in-cabinet layout scheme according to the component type selection information and the standard cabinet body scheme; and S5, constructing a drawing generation module which is used for reading PLC and terminal box design data and automatically generating a PLC and terminal box electrical equipment drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of electrical automation design, and relates to a digital platform design method for automatically generating PLC and terminal box diagrams. Background Art

[0002] Traditional CAD electrical design requires engineers to manually draw and modify page by page. Such repetitive work will inevitably take a lot of time and energy. With the promotion of electrical drawing software such as EPLAN, electrical engineers are becoming more and more convenient and quick in designing electrical drawings, but the design drawings still need to be drawn page by page, so some organizations have come up with the idea of ​​using electronic spreadsheets as the information carrier of electrical drawing information, designing and classifying the tables of electrical drawing information to be generated, so that the related information in the electrical drawing information is automatically generated, and the information required to generate electrical drawings is obtained, and electrical schematics are generated through secondary development of EPLAN software and using API plug-ins. However, the design completely in a pure table way has high requirements for designers, and can only generate schematics, the operation interface is not friendly, and it is not possible to generate component selection, automatic cable numbering and selection, automatic terminal numbering common terminal shorting, power supply design, cabinet layout, reports, etc. in one click. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a digital platform design method for automatically generating PLC and terminal box diagrams, which can generate PLC and terminal box electrical automation design drawings covering cabinet layout, hardware configuration, power supply, wiring, and reports in one click. The operation is simple and the design quality and efficiency are improved.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] A digital platform design method for automatically generating PLC and terminal box diagrams includes the following steps:

[0006] S1: Obtain the design parameters and configuration parameters of PLC IO and terminal box projects;

[0007] S2: Create standard macro design schemes according to different modules, signal types, signal uses, and wiring methods, and save them in the standard macro scheme database;

[0008] S3: Establish a component selection library and generate model and specification selection information based on the brand series of the entity selected components;

[0009] S4: construct a program processing module, which is used to perform hardware configuration according to the project design parameters, select a control scheme that matches it in the standard macro scheme database, match the entity selection model in the component selection library according to the configurable selection module, automatically generate a power supply configuration table according to the control scheme and selection, and generate a cabinet layout plan according to the component selection information and the standard cabinet plan;

[0010] S5: Construct a drawing generation module for reading PLC and terminal box design data and automatically generating PLC and terminal box electrical equipment drawings.

[0011] Furthermore, the project design parameters in step S1 include IO module information, IO signal type, signal encoding, signal description, wiring method, signal range, signal quantity and terminal box quantity.

[0012] Further, step S2 specifically includes:

[0013] According to the PLC diagram design requirements, create a PLC module page macro solution library of different brand series, including brand series, module model, signal type, number of channels, base configuration, insertion point, and macro link path information;

[0014] According to the IO input and output signal requirements, create a window macro control solution library of different signal types, including solution number, solution name, terminal type, number of occupied channels, electrical component index list, feature image, solution interface, and macro link path information;

[0015] Create a cabinet solution library based on the commonly used cabinet sizes of PLC cabinets;

[0016] Create a terminal box configuration library based on the box size and terminal quantity, including box size, terminal quantity, wiring diagram, production diagram, permutation and combination list, and macro link path information;

[0017] Create a power configuration macro solution library according to the power design rules, including module power, external power, sitop power distribution, lighting fan power, circuit breaker settings, breakpoint settings, and macro link path information;

[0018] Create an isolator information library based on isolator application conditions, including isolator brand, model, signal type, model keyword, isolator code, and wiring pin information;

[0019] Create a detection device pin information library based on commonly used detection device models, including detector element brand, model, signal type, number of occupied cable cores, connection point number, and connection point description information.

[0020] Further, step S3 specifically includes:

[0021] Create a virtual component library and a corresponding brand series component selection library for commonly used physical component selection according to selection requirements;

[0022] Create cable selection libraries based on different signal types.

[0023] The beneficial effects of the present invention are as follows: the present invention constructs a digital platform for automatically generating PLC and terminal box diagrams. The operation of the platform is very simple and convenient, and it is easy to get started, and there is no need to have an in-depth understanding of the use of EPLAN software. By importing the basic IO information into the platform, the control scheme can be automatically matched according to the signal type, description and other information. The platform automatically numbers and assigns values ​​to the information contained in each channel control scheme. If the design is modified, it is only necessary to adjust or update the basic IO information in the platform interface, and automatically regenerate the interface design. Through EPLAN secondary development, the PLC and terminal box diagram sets can be completely generated with one click, thereby achieving efficient and high-quality output of PLC and terminal box diagrams.

[0024] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0026] Figure 1 Design a flow chart for the present invention.

[0027] Figure 2 to Figure 6 This is a partial operation interface of the digital platform of the present invention. DETAILED DESCRIPTION

[0028] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0029] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0030] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0031] The present invention needs to build two hardware servers, one for the solution library server and the other for the digital platform database server, and develop a digital platform software with a B / S architecture to realize the design process; secondary development of the EPLAN electrical design tool is performed to analyze the required data for batch automatic generation of drawings, batch automatic generation of drawings according to requirements, and the drawing information is complete, and almost no manual modification is required. The preferred embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0032] like Figure 1-6 As shown, the present invention provides a digital platform design method for automatically generating PLC and terminal box diagrams, comprising the following steps:

[0033] Obtain PLC IO and terminal box project design parameters, including IO module information, IO signal type, signal encoding, signal description, wiring method, signal range, signal quantity, terminal box quantity and other parameters.

[0034] Digitize the design content of PLC IO and terminal box diagrams, create standard macro design solutions according to the different modules, signal types, signal uses, and wiring methods of the project, and establish PLC cabinets and terminal box solutions. Name the standard macro solutions according to the rules; organize and store various standard solutions in the standard solution database; establish a component selection library and store it in the component database. Each control solution includes: solution number, solution name, solution characteristics, solution keywords, signal type, etc. According to the above, various standard solutions are organized and stored in the standard solution database, which is used for the design platform to automatically match solutions according to design parameters. Creating a large number of component libraries and component matching rules based on component usage, brand, and series is the basis for automatic selection.

[0035] The database design platform with design rules and standard scheme matching rules written in Java program is embedded in EPLAN through secondary development of EPLAN. Simple operation is performed on the platform interface, and processing is performed according to the project design parameters. The platform background database automatically performs logical operations according to the rules, matches the standard scheme and generates parameter data; the cabinet layout scheme is generated in combination with the number and size of components in the cabinet;

[0036] Read the project design data and completely generate the PLC and terminal box electrical equipment diagram.

[0037] A large number of EPLAN standard macro solution libraries are the basis for automatically generating drawings. Create standard solution libraries according to different series and modules of each PLC brand, and create page macro solutions for each module according to the signal type and number of points of the PLC module. Create window macro solutions for different IO signals. Create terminal box diagram corresponding macro solutions for terminal boxes with different terminal numbers.

[0038] Specifically, a database design platform that uses Java programs to write design rules and standard solution matching rules includes:

[0039] Information acquisition module, including obtaining PLC IO and terminal box project design parameters and configuration parameters. Excel spreadsheets can be used as a carrier to organize basic design parameters and store the acquired parameters in the digital platform database.

[0040] The standard solution database module creates module and signal solution libraries according to the design requirements of PLC and terminal box drawings based on EPLAN software according to rules, digitizes the solution libraries of PLC and terminal boxes, and abstracts the data of the standard solution library. The standard solution library must be planned and prepared before drawing.

[0041] 1) According to the design requirements of PLC diagrams, create a PLC module page macro solution library of different brand series based on EPLAN software. The solution includes information such as brand series, module model, signal type, number of channels, base configuration, insertion point, macro link path, etc.

[0042] 2) Create a window macro control solution library of different signal types according to the IO input and output signal requirements. The solution includes solution number, solution name, terminal type, number of occupied channels, electrical component index list, feature image, solution interface, macro link path and other information.

[0043] 3) Create a terminal box configuration library based on the terminal box body size and terminal quantity. The terminal box configuration solution library includes information such as box body size, terminal quantity, wiring diagram, production diagram, permutation combination list, macro link path, etc.

[0044] 4) Create a cabinet solution library based on the commonly used cabinet sizes of PLC cabinets.

[0045] 5) Create a power configuration macro solution library based on the power design rules, including module power, external power, sitop power distribution, lighting fan power, circuit breaker settings, interruption point settings, macro link path and other information.

[0046] 6) Create an isolator information library based on the isolator application situation. The isolator information library is based on the isolator brand, model, signal type, model keyword, isolator code, wiring pin and other information.

[0047] 7) Create a detection device pin information library based on commonly used detection device models. The detection device pin information library is based on information such as the brand, model, signal type, number of occupied cable cores, connection point number, and connection point description of commonly used detector components.

[0048] The component library module is used to generate model specification selection information based on the brand series of entity selection components, including:

[0049] 1) The component selection library creates virtual components such as modules, circuit breakers, DC power supplies, terminals, relays, isolators, light buttons, etc. that are selected according to the design needs of PLC and terminal boxes, and then creates physical components according to the actual selected brands and series. The virtual components and physical components are set to match the relationship.

[0050] 2) The cable selection library is based on signal type, cable model, number of cores, spare rate, default model and other information.

[0051] The above solution library is created on the solution library server to provide basic data for standardized solutions for the digital design platform.

[0052] The program processing module is used to perform hardware configuration according to the project design parameters, select a control scheme that matches it in the standard scheme database, match the physical selection model of the component library according to the configurable selection module, automatically generate a power configuration table according to the control scheme and selection, and generate a cabinet layout plan according to the component selection information and the standard cabinet plan. In this embodiment, a digital platform server is set up, and a high-performance database such as Oracle or MySQL is installed for data storage. The logic operation program for generating PLC and terminal box diagram design rules based on the digital platform developed based on Java is deployed to the platform server.

[0053] Based on the EPLAN secondary development API interface, the platform operation interface is embedded in the EPLAN software menu. Perform the configuration operation of the current project on the platform interface, set the project information, numbering rules, PLC module series, standby rate, selection and other configurable information, and then import the IO basic parameter information of the PLC design into the platform. The platform obtains the key information of the automatic matching scheme based on the design parameters such as project module information, signal type, description keywords, numbering special codes, etc., and sets the automatic matching standard scheme rules on the platform. Select a matching control scheme from the standard scheme database. If the automatically matched standard scheme is partially unreasonable, the matching rules can be reconfigured or manually corrected. According to the configurable selection module, the entity selection model of the component library is matched. According to the control scheme and selection, the power supply configuration scheme is automatically generated by simple operations on the platform power supply design interface, and the cabinet layout scheme is generated according to the component selection information and the standard cabinet scheme.

[0054] The PLC and terminal box design scheme is digitized, and the implementation plan is to separate the standardized drawings into "wiring diagrams" and "parameter value sets". The "wiring diagram" only expresses the wiring method of the PLC power supply and IO schematic diagram, without any parameter data. It is attached to the specific drawing tool and belongs to the "unchanged part" of the standard scheme. The "parameter value set" expresses all electrical scheme-related data such as component selection and technical parameters, and exists in the digital design platform database. It belongs to the "configurable part" of the standard scheme. This solution can maximize the accumulation of technical solutions themselves, get rid of dependence on design tools, and realize the flexibility of standardized solutions.

[0055] The drawing generation module is used to read the PLC and terminal box design data of the project. Click the drawing output button on the platform interface to output the data generated by the platform interface design through EPLAN secondary development, and then generate a complete set of PLC and terminal box drawings such as schematics, layouts, selections, and reports. Design modifications only require adjustments or updates to the IO basic information on the platform interface, and automatically generate wiring to regenerate the PLC and terminal box drawings.

[0056] Compared with the existing design methods, the automatic drawing design method of this embodiment only needs to organize the basic PLC design information such as signal type, signal number, and signal name, and the other operation configurations, related standard solutions and drawings are all completed by the platform. Even if you are not familiar with EPLAN design software, you can automatically draw the complete PLC and terminal box electrical equipment diagram with one click.

[0057] Using digital platforms to automatically generate drawings can minimize designers’ design time, save a lot of repetitive work time, reduce operational difficulty, and generate drawings that can be standardized, greatly improving design quality and efficiency.

[0058] In the above embodiments, the description's reference to "this embodiment" indicates that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least some embodiments, but not necessarily all embodiments. Multiple occurrences of "this embodiment" do not necessarily all refer to the same embodiment.

[0059] In the above-described embodiments, although the invention has been described in conjunction with specific embodiments of the invention, many substitutions, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other storage structures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed. Embodiments of the invention are intended to encompass all such substitutions, modifications, and variations that fall within the broad scope of the appended claims.

[0060] This embodiment further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, any one of the methods in this embodiment is implemented.

[0061] This embodiment also provides an electronic terminal, including: a processor and a memory;

[0062] The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes any one of the methods in this embodiment.

[0063] The computer-readable storage medium in this embodiment can be understood by ordinary technicians in this field: all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0064] The electronic terminal provided in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic terminal executes each step of the above method.

[0065] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0066] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0067] The present invention can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like.

[0068] The present invention may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A digital platform design method for automatically generating PLC and terminal box diagrams, characterized in that: The following steps are involved: S1: Obtain the design parameters and configuration parameters of PLC IO and terminal box projects; S2: Create standard macro design schemes according to different modules, signal types, signal uses, and wiring methods, and save them in the standard macro scheme database; S3: Establish a component selection library and generate model and specification selection information based on the brand series of the entity selected components; S4: construct a program processing module, which is used to perform hardware configuration according to the project design parameters, select a control scheme that matches it in the standard macro scheme database, match the entity selection model in the component selection library according to the configurable selection module, automatically generate a power supply configuration table according to the control scheme and selection, and generate a cabinet layout plan according to the component selection information and the standard cabinet plan; S5: Construct a drawing generation module for reading PLC and terminal box design data and automatically generating PLC and terminal box electrical equipment drawings.

2. The digital platform design method for automatically generating PLC and terminal box diagrams according to claim 1 is characterized in that: The project design parameters in step S1 include IO module information, IO signal type, signal encoding, signal description, wiring method, signal range, signal quantity and terminal box quantity.

3. The digital platform design method for automatically generating PLC and terminal box diagrams according to claim 1 is characterized in that: Step S2 specifically includes: According to the PLC diagram design requirements, create a PLC module page macro solution library of different brand series, including brand series, module model, signal type, number of channels, base configuration, insertion point, and macro link path information; According to the IO input and output signal requirements, create a window macro control solution library of different signal types, including solution number, solution name, terminal type, number of occupied channels, electrical component index list, feature image, solution interface, and macro link path information; Create a cabinet solution library based on the commonly used cabinet sizes of PLC cabinets; Create a terminal box configuration library based on the box size and terminal quantity, including box size, terminal quantity, wiring diagram, production diagram, permutation and combination list, and macro link path information; Create a power configuration macro solution library according to the power design rules, including module power, external power, sitop power distribution, lighting fan power, circuit breaker settings, breakpoint settings, and macro link path information; Create an isolator information library based on isolator application conditions, including isolator brand, model, signal type, model keyword, isolator code, and wiring pin information; Create a detection device pin information library based on commonly used detection device models, including detector element brand, model, signal type, number of occupied cable cores, connection point number, and connection point description information.

4. The digital platform design method for automatically generating PLC and terminal box diagrams according to claim 1 is characterized in that: Step S3 specifically includes: Create a virtual component library and a corresponding brand series component selection library for commonly used physical component selection according to selection requirements; Create cable selection libraries based on different signal types.

Citation Information

Cited By

  • Server cable design method, product, equipment and storage medium

    CN121256100A