CN116401855A - Electric automation design method, device, equipment and storage medium - Google Patents

Electric automation design method, device, equipment and storage medium Download PDF

Info

Publication number
CN116401855A
CN116401855A CN202310334842.XA CN202310334842A CN116401855A CN 116401855 A CN116401855 A CN 116401855A CN 202310334842 A CN202310334842 A CN 202310334842A CN 116401855 A CN116401855 A CN 116401855A
Authority
CN
China
Prior art keywords
project
model
preset
control
tool
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
CN202310334842.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.)
China Shipbuilding Power Engineering Institute Co Ltd
Original Assignee
China Shipbuilding Power Engineering Institute 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 China Shipbuilding Power Engineering Institute Co Ltd filed Critical China Shipbuilding Power Engineering Institute Co Ltd
Priority to CN202310334842.XA priority Critical patent/CN116401855A/en
Publication of CN116401855A publication Critical patent/CN116401855A/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses an electric automation design method, an electric automation design device, electric automation design equipment and a storage medium. The method comprises the following steps: in the project preparation stage, generating an initial control configuration file corresponding to a target project through a preset type selection tool; in the project design stage, an initial control configuration file is imported through a preset electrical engineering tool, a project model is generated according to information configuration operation of a controller and import operation of a packaging library, and an update control configuration file corresponding to the project model is generated; in the program design stage, a control program is generated through a preset simulation modeling tool, a project model is imported through a preset automation tool, and verification is carried out on the project model based on the control program, so that the electric automation design is completed. According to the technical scheme, the control configuration data are shared in different automation project stages, repeated setting of the control configuration data can be avoided, labor cost can be reduced, and efficiency and accuracy of electric automation design can be improved.

Description

Electric automation design method, device, equipment and storage medium
Technical Field
The present invention relates to the field of automation technologies, and in particular, to an electrical automation design method, apparatus, device, and storage medium.
Background
In the electric automation project, mainly comprises three stages of project preparation, project design and program design; by setting corresponding electrical planning data at each project stage, automated design of the electrical project can be achieved.
Currently, in existing electrical automation design methods, electrical planning data is repeatedly created three times in different phases of the project and in different systems; wherein, in the project preparation phase, control configurations are created in the relevant planning tools by means of customer technology agreements to prepare proposals for customers and create budgets for the project; in the project design stage, an electrical engineer recreates relevant control configuration in an electrical engineering tool such as an EPlan Electric P8 and performs drawing design by a large number of manpower; during the programming phase, the control engineer recreates the configuration in the automation engineering tool. Thus, the control configuration creation work of each stage is repeated, and the repeated process results in serious waste of labor cost and improvement of error rate.
Disclosure of Invention
The invention provides an electric automation design method, an electric automation design device, electric automation design equipment and a storage medium, which can avoid repeated setting of control configuration data, reduce labor cost and improve electric automation design efficiency and accuracy.
According to an aspect of the present invention, there is provided an electrical automation design method including:
in the project preparation stage, generating an initial control configuration file of an automatic markup language corresponding to a target project according to the selection operation of a user on control configuration by a preset type selection tool;
in the project design stage, importing and displaying each control device corresponding to the initial control configuration file through a preset electric engineering tool, generating a project model according to information configuration operation of a controller in each control device by a user and importing operation of a packaging library, and generating an update control configuration file of an automatic markup language corresponding to the project model;
in the program design stage, a control program is generated through a preset simulation modeling tool, a project model corresponding to the updated control configuration file is imported and displayed through a preset automation tool, and verification is carried out on the project model based on the control program, so that the electric automation design of the target project is completed.
According to another aspect of the present invention, there is provided an electrical automation design device comprising:
the initial control configuration file generation module is used for generating an initial control configuration file of the automatic markup language corresponding to the target item according to the selection operation of the user on the control configuration through a preset type selection tool in the item preparation stage;
the updating control configuration file generation module is used for importing and displaying each control device corresponding to the initial control configuration file through a preset electric engineering tool in a project design stage, generating a project model according to information configuration operation of a controller in each control device by a user and importing operation of a packaging library, and generating an updating control configuration file of an automatic mark language corresponding to the project model;
the model verification module is used for generating a control program through a preset simulation modeling tool in a program design stage, importing and displaying a project model corresponding to the updated control configuration file through a preset automation tool, and verifying the project model based on the control program so as to complete the electric automation design of the target project.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of electrical automation design according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the method of electrically automated design according to any one of the embodiments of the present invention.
According to the technical scheme, in the project preparation stage, through a preset type selection tool, an initial control configuration file of an automatic markup language corresponding to a target project is generated according to the selection operation of a user on control configuration; then, in the project design stage, importing and displaying each control device corresponding to the initial control configuration file through a preset electrical engineering tool, generating a project model according to the information configuration operation of a user on a controller in each control device and the importing operation on a packaging library, and generating an update control configuration file of an automatic markup language corresponding to the project model; finally, in the program design stage, a control program is generated through a preset simulation modeling tool, a project model corresponding to the updated control configuration file is imported and displayed through a preset automation tool, and verification is carried out on the project model based on the control program so as to complete electric automation design of a target project, and repeated setting of the control configuration data can be avoided by sharing the control configuration data in different automation project stages, so that labor cost can be reduced, and efficiency and accuracy of electric automation design can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1A is a flow chart of an electrical automation design method according to a first embodiment of the present invention;
FIG. 1B is a diagram of a TIA selection tool exporting AML file pages according to one embodiment of the present invention;
FIG. 1C is a schematic diagram of an API management page provided in accordance with a first embodiment of the present invention;
FIG. 1D is a schematic diagram of an automated API interface call page provided in accordance with a first embodiment of the present invention;
FIG. 1E is a schematic diagram of a control program generation page according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electric automation design device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device implementing an electric automation design method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," "target," and the like in the description and claims of the present invention and in the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1A is a flowchart of an electrical automation design method according to an embodiment of the present invention, where the method may be performed by an electrical automation design device, and the electrical automation design device may be implemented in hardware and/or software, and the electrical automation design device may be configured in an electronic device, typically, a computer device or a server. As shown in fig. 1A, the method includes:
s110, in the project preparation stage, through a preset type selection tool, according to the selection operation of a user on control configuration, an initial control configuration file of an automatic markup language corresponding to a target project is generated.
The preset type selecting tool may be an electrical configuration selecting tool supporting an automated markup language (Automation Markup Language, AML) standard, for example, a TIA selecting tool. The target item may be an electrical item that is currently required to be automatically designed, for example, a fuel test stand item.
In this embodiment, an initial control configuration of the machine may be created through a preset type selection tool to assist the automation project in creating the BOOM, and the created control configuration may be exported as an AML file. In a specific example, for a fuel test stand project, a user may select one S7-1200 controller, 5I/O (Input/Output) modules, and 1 SITOP power supply through TIA selection tool, and may export the configuration as a control profile in AML format. The TIA selection tool may export a page of the control profile in AML format, as shown in fig. 1B, where the user may perform export of the initial control profile by clicking an export button.
S120, in the project design stage, importing and displaying each control device corresponding to the initial control configuration file through a preset electrical engineering tool, generating a project model according to information configuration operation of a user on a controller in each control device and importing operation on a packaging library, and generating an update control configuration file of an automatic markup language corresponding to the project model.
The preset Electric engineering tool may be an Electric engineering tool supporting AML standard, for example, an EPlan Electric P8.
In this embodiment, in the project design stage, after the pre-deployed electric engineering tool is started, the AML file may be imported to exchange the initial control configuration to the electric engineering tool, so that not only the operation of re-creating the relevant control configuration, but also the error that may occur in the re-creating process may be avoided.
In a specific example, an initial control profile for AML can be imported into the EPlan Electric P8 through an Import menu, and a user can click on the initial control profile to view each control device (in the form of an identification list) that it contains. Further, the user can add each control device to the rack table for display by adopting a dragging control device identification mode or a click copy mode.
The controller may then be configured with corresponding I/O parameters according to user operations and may import the pre-deployed encapsulation library by way of application program interface (Application Programming Interface, API) calls. Next, configuration of network information (e.g., PLC point address, etc.) may be automatically performed by a preset electrical engineering tool. Thus, an item model corresponding to the target item can be established. Finally, the electrical engineering tool may export the project model into an updated control profile in AML format. The packaging library can be a library formed by packaging different device models in advance according to different projects. The API management page may be as shown in FIG. 1C and the automated API interface call page may be as shown in FIG. 1D.
In the embodiment, clear project structure, standard specification of schematic diagram design and modularized design can be realized based on IEC81346 and drawing design standards; and secondly, an automatic drawing scheme is realized through an API (application program interface) form, and menu automatic drawing production can be realized by formulating an intelligent production principle, automatically flexibly changing a menu according to the number of macros and simpler application configuration.
S130, in a program design stage, a control program is generated through a preset simulation modeling tool, a project model corresponding to the updated control configuration file is imported and displayed through a preset automation tool, and verification is carried out on the project model based on the control program, so that the electric automation design of the target project is completed.
The preset simulation modeling tool may be an application program for simulating and verifying a program function, for example, may be Simulink. In a specific example, simulation modeling may be performed in Simulink, and a control program may be generated based on the simulation modeling.
The preset automation tool may be an automation tool supporting AML standard, for example, TIA Portal. In this embodiment, the update control configuration file may be imported into a pre-deployed automation tool, and the corresponding project model may be visually displayed by the automation tool. A control program can then be imported and run in the controller of the project model to achieve an electrically automated design.
In the embodiment, by adopting an automatic design full-automatic solution combining with EPLAN, TIA and Matlab, seamless combination of software and hardware can be realized, design efficiency can be improved, communication safety of product parameter data can be improved through digitalization, intellectualization, datamation and informatization of electric design, and meanwhile reliability and development quality of a product development flow are improved.
According to the technical scheme, in the project preparation stage, through a preset type selection tool, an initial control configuration file of an automatic markup language corresponding to a target project is generated according to the selection operation of a user on control configuration; then, in the project design stage, importing and displaying each control device corresponding to the initial control configuration file through a preset electrical engineering tool, generating a project model according to the information configuration operation of a user on a controller in each control device and the importing operation on a packaging library, and generating an update control configuration file of an automatic markup language corresponding to the project model; finally, in the program design stage, a control program is generated through a preset simulation modeling tool, a project model corresponding to the updated control configuration file is imported and displayed through a preset automation tool, and verification is carried out on the project model based on the control program so as to complete electric automation design of a target project, and repeated setting of the control configuration data can be avoided by sharing the control configuration data in different automation project stages, so that labor cost can be reduced, and efficiency and accuracy of electric automation design can be improved.
In an optional implementation manner of this embodiment, the generating, by the preset type selection tool, the initial control configuration file of the automation markup language corresponding to the target item according to the selection operation of the control configuration by the user may include:
acquiring each control device corresponding to the target item according to the selection operation of a user on the control configuration through a preset type selection tool;
and responding to the export operation of the user on each control device, and generating an initial control configuration file of the automatic markup language corresponding to the target item.
In a specific example, the user may select the tool through the TIA, and among the different types of electrical devices provided by the tool, select each control device required for the target item, for example, a controller, a power supply, etc. that is required to be used. The selected control devices may then be exported as initial control profiles in AML format via a configuration export function provided by the TIA selection tool. For example, after completing the control device selection, the user may click the export TIA Portal or ECAD button to trigger the export operation to perform the control configuration.
Wherein the control device may include at least one of a controller, an input-output module, and a power module. The controller is used for issuing control instructions to all external devices and processing state data fed back by all the external devices; the input/output module is used for realizing data exchange between the controller and an external device; and the power supply module is used for providing electric energy for the controller. In the present embodiment, the model of the control device is not particularly limited.
In another optional implementation manner of this embodiment, generating the project model according to the information configuration operation of the controller in each control device by the user and the import operation of the package library may include:
through a preset canvas component, according to the dragging operation aiming at the controller in each control device, dragging and displaying the controller in a preset canvas area;
responding to input and output parameters input by an information configuration page corresponding to the controller, and completing information configuration of the controller;
responding to an importing operation for a packaging library, and displaying the packaging library in the preset canvas area, wherein the packaging library comprises at least one device model;
and generating a project model according to the controller and each device model.
The preset canvas component can be a function module which is pre-deployed in a preset electrical engineering tool and is used for supporting graph drawing and displaying. The preset canvas area can be an area which is preset in a functional page of the preset electric engineering tool and used for graphic display.
In a specific example, the preset electrical engineering tool may take the form of a tree diagram, and visually display each control device included in the initial control configuration file. Secondly, presetting an electric engineering tool, and supporting a user to select a control device in a dragging mode; specifically, when the user clicks the selection controller, the release position of the mouse in the canvas area, which is preset, is detected to be used as the display position of the controller, and then the corresponding structural block diagram of the controller is displayed.
Further, the preset electric engineering tool supports a user to display an information configuration page corresponding to the controller to the user in a double-click mode of a mouse; then, configuration information, such as input and output parameters, input by the user in the information configuration page may be acquired to complete information configuration of the controller.
Wherein the device model may include at least one of a camshaft motor model, a pressure sensor model, a temperature sensor model, and a circuit breaker model. In a specific example, the encapsulation library corresponding to the fuel common rail test stand project can be generated by encapsulating the camshaft motor model, the pressure sensor model, the temperature sensor model, and the circuit breaker model into a library. In this embodiment, for different electrical projects, package libraries including different device models may be preset, respectively.
In this embodiment, the preset electrical engineering tool supports automatic import of the packaging library in an API manner, and then, after the packaging library is successfully imported, the structural block diagram of each device model included in the packaging library may be automatically displayed in a preset canvas area. Thus, the controller and each device model can form the project model of the target project.
In another optional implementation manner of this embodiment, the generating, by the preset simulation modeling tool, the control program may include:
establishing a simulation model according to proportional, differential and integral control logic corresponding to the target item through the preset simulation modeling tool;
and generating a control program according to the simulation model by a program source generation functional module of the preset simulation modeling tool.
The proportional, derivative and integral (PID) control logic may be control logic of the controller, and may be preset. The program source generating functional module may be a functional module pre-deployed in a preset simulation modeling tool for realizing program generation, for example, simulink PLC Coder, and may generate a structured text independent of hardware from the Simulink model, where the structured text may be in an AML format.
In a specific example, the page generated by the control program may be as shown in FIG. 1E; specifically, modeling can be automatically performed through Simulink according to preset PID control logic, so as to establish a simulation model. Then, a PLC control program in AML format can be built based on the simulation model by calling Simulink PLC Coder. Finally, the control program can be imported into the controller of the project model through TIA Portal.
The device has the advantages that the simulation and verification of the functions of the program can be realized, and the accurate recording of the process files can be realized.
In another optional implementation manner of this embodiment, verifying the project model based on the control program to complete the electrical automation design of the target project may include:
generating connecting lines between a controller and a device model in the project model and between the device model and the device model through the preset automation tool, and acquiring symbol names corresponding to each input/output module based on a preset naming rule so as to complete configuration of the project model;
and importing the control program, and verifying the project model based on the control program to complete the electric automation design of the target project.
In this embodiment, after the update control configuration file is imported, the preset automation tool may automatically create connection lines between different devices, for example, between the controller and the device model, and between the device model and the device model, in the device and the network view; meanwhile, the symbol names of the I/O modules can be automatically configured based on a preset symbol name assignment rule, so that the configuration of the project model is finally completed.
Further, the preset automation tool can download a PLC control program generated by the Simulink to a controller in the project model; and then, through operating the project model, simulation verification of the project model can be realized, so that the electric automatic design of the target project is completed.
According to the technical scheme, through the use of AML standards and engineering tools supporting the AML standards, such as TIA selection tools, EPlan Electric P8 and TIA Portal, engineering processes can be more efficient by exchanging rather than reconstructing different engineering system use data, and electrical standardization, structural modularization, automatic drawing, standard interface encapsulation and software creation can be realized; finally, the generated drawing and the created software style completely conform to standardization, the styles are uniform, the quality is high, the error rate is low, and the design efficiency is greatly improved.
Example two
Fig. 2 is a schematic structural diagram of an electric automation design device according to a second embodiment of the present invention. As shown in fig. 2, the apparatus may include: an initial control profile generation module 210, an update control profile generation module 220, and a model verification module 230; wherein, the liquid crystal display device comprises a liquid crystal display device,
the initial control configuration file generating module 210 is configured to generate, in a project preparation stage, an initial control configuration file of an automation markup language corresponding to a target project according to a selection operation of a control configuration by a user through a preset type selection tool;
the update control configuration file generating module 220 is configured to, in a project design stage, import and display each control device corresponding to the initial control configuration file through a preset electrical engineering tool, generate a project model according to information configuration operation of a controller in each control device by a user and import operation of a packaging library, and generate an update control configuration file of an automation markup language corresponding to the project model;
the model verification module 230 is configured to generate a control program through a preset simulation modeling tool in a program design stage, import and display a project model corresponding to the updated control configuration file through a preset automation tool, and verify the project model based on the control program, so as to complete the electrical automation design of the target project.
According to the technical scheme, in the project preparation stage, through a preset type selection tool, an initial control configuration file of an automatic markup language corresponding to a target project is generated according to the selection operation of a user on control configuration; then, in the project design stage, importing and displaying each control device corresponding to the initial control configuration file through a preset electrical engineering tool, generating a project model according to the information configuration operation of a user on a controller in each control device and the importing operation on a packaging library, and generating an update control configuration file of an automatic markup language corresponding to the project model; finally, in the program design stage, a control program is generated through a preset simulation modeling tool, a project model corresponding to the updated control configuration file is imported and displayed through a preset automation tool, and verification is carried out on the project model based on the control program so as to complete electric automation design of a target project, and repeated setting of the control configuration data can be avoided by sharing the control configuration data in different automation project stages, so that labor cost can be reduced, and efficiency and accuracy of electric automation design can be improved.
Optionally, the initial control configuration file generating module 210 is specifically configured to obtain, through a preset type selection tool, each control device corresponding to the target item according to a selection operation of a user on a control configuration;
and responding to the export operation of the user on each control device, and generating an initial control configuration file of the automatic markup language corresponding to the target item.
Optionally, the control device includes at least one of a controller, an input-output module, and a power module.
Optionally, the update control profile generation module 220 includes:
the controller display unit is used for carrying out drag display on the controller in a preset canvas area according to drag operation on the controller in each control device through the preset canvas component;
the information configuration unit is used for responding to the input/output parameters input to the information configuration page corresponding to the controller and completing the information configuration of the controller;
a packaging library display unit, configured to display a packaging library in the preset canvas area in response to an import operation for the packaging library, where the packaging library includes at least one device model;
and the project model generating unit is used for generating a project model according to the controller and each device model.
Optionally, the model verification module 230 includes:
the simulation model building unit is used for building a simulation model according to proportional, differential and integral control logic corresponding to the target item through the preset simulation modeling tool;
and the control program generating unit is used for generating a functional module through a program source of the preset simulation modeling tool and generating a control program according to the simulation model.
Optionally, the model verification module 230 is specifically configured to generate, through the preset automation tool, connection lines between the controller and the device model in the project model, and between the device model and the device model, and obtain symbol names corresponding to the input/output modules based on a preset naming rule, so as to complete configuration of the project model;
and importing the control program, and verifying the project model based on the control program to complete the electric automation design of the target project.
Optionally, the device model includes at least one of a camshaft motor model, a pressure sensor model, a temperature sensor model, and a circuit breaker model.
The electric automation design device provided by the embodiment of the invention can execute the electric automation design method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the technical solution of the present embodiment, the related acquisition, storage, application, etc. of the personal information of the user all conform to the rules of the related laws and regulations, and do not violate the popular regulations of the public order.
Example III
Fig. 3 shows a schematic diagram of an electronic device 30 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 30 includes at least one processor 31, and a memory, such as a Read Only Memory (ROM) 32, a Random Access Memory (RAM) 33, etc., communicatively connected to the at least one processor 31, wherein the memory stores a computer program executable by the at least one processor, and the processor 31 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 32 or the computer program loaded from the storage unit 38 into the Random Access Memory (RAM) 33. In the RAM 33, various programs and data required for the operation of the electronic device 30 may also be stored. The processor 31, the ROM 32 and the RAM 33 are connected to each other via a bus 34. An input/output (I/O) interface 35 is also connected to bus 34.
Various components in electronic device 30 are connected to I/O interface 35, including: an input unit 36 such as a keyboard, a mouse, etc.; an output unit 37 such as various types of displays, speakers, and the like; a storage unit 38 such as a magnetic disk, an optical disk, or the like; and a communication unit 39 such as a network card, modem, wireless communication transceiver, etc. The communication unit 39 allows the electronic device 30 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 31 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 31 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 31 performs the various methods and processes described above, such as the electrical automation design method.
In some embodiments, the electrical automation design method may be implemented as a computer program tangibly embodied on a computer readable storage medium, such as the storage unit 38. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 30 via the ROM 32 and/or the communication unit 39. When the computer program is loaded into RAM 33 and executed by processor 31, one or more steps of the above-described electrical automation design method may be performed. Alternatively, in other embodiments, the processor 31 may be configured to perform the electrical automation design method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. An electrical automation design method, comprising:
in the project preparation stage, generating an initial control configuration file of an automatic markup language corresponding to a target project according to the selection operation of a user on control configuration by a preset type selection tool;
in the project design stage, importing and displaying each control device corresponding to the initial control configuration file through a preset electric engineering tool, generating a project model according to information configuration operation of a controller in each control device by a user and importing operation of a packaging library, and generating an update control configuration file of an automatic markup language corresponding to the project model;
in the program design stage, a control program is generated through a preset simulation modeling tool, a project model corresponding to the updated control configuration file is imported and displayed through a preset automation tool, and verification is carried out on the project model based on the control program, so that the electric automation design of the target project is completed.
2. The method according to claim 1, wherein generating, by the preset type selection tool, an initial control configuration file of the automation markup language corresponding to the target item according to a selection operation of the control configuration by the user, includes:
acquiring each control device corresponding to the target item according to the selection operation of a user on the control configuration through a preset type selection tool;
and responding to the export operation of the user on each control device, and generating an initial control configuration file of the automatic markup language corresponding to the target item.
3. The method of claim 1 or 2, wherein the control device comprises at least one of a controller, an input-output module, and a power module.
4. The method of claim 1, wherein generating the project model based on the user information configuration operation for the controller in each control device and the import operation for the package library comprises:
through a preset canvas component, according to the dragging operation aiming at the controller in each control device, dragging and displaying the controller in a preset canvas area;
responding to input and output parameters input by an information configuration page corresponding to the controller, and completing information configuration of the controller;
responding to an importing operation for a packaging library, and displaying the packaging library in the preset canvas area, wherein the packaging library comprises at least one device model;
and generating a project model according to the controller and each device model.
5. The method of claim 4, wherein generating the control program by the preset simulation modeling tool comprises:
establishing a simulation model according to proportional, differential and integral control logic corresponding to the target item through the preset simulation modeling tool;
and generating a control program according to the simulation model by a program source generation functional module of the preset simulation modeling tool.
6. The method of claim 5, wherein validating the project model based on the control program to complete the electrical automation design of the target project comprises:
generating connecting lines between a controller and a device model in the project model and between the device model and the device model through the preset automation tool, and acquiring symbol names corresponding to each input/output module based on a preset naming rule so as to complete configuration of the project model;
and importing the control program, and verifying the project model based on the control program to complete the electric automation design of the target project.
7. The method of claim 4 or 6, wherein the device model comprises at least one of a camshaft motor model, a pressure sensor model, a temperature sensor model, and a circuit breaker model.
8. An electrical automation design device, comprising:
the initial control configuration file generation module is used for generating an initial control configuration file of the automatic markup language corresponding to the target item according to the selection operation of the user on the control configuration through a preset type selection tool in the item preparation stage;
the updating control configuration file generation module is used for importing and displaying each control device corresponding to the initial control configuration file through a preset electric engineering tool in a project design stage, generating a project model according to information configuration operation of a controller in each control device by a user and importing operation of a packaging library, and generating an updating control configuration file of an automatic mark language corresponding to the project model;
the model verification module is used for generating a control program through a preset simulation modeling tool in a program design stage, importing and displaying a project model corresponding to the updated control configuration file through a preset automation tool, and verifying the project model based on the control program so as to complete the electric automation design of the target project.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the electrical automation design method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the electrical automation design method of any one of claims 1-7 when executed.
CN202310334842.XA 2023-03-30 2023-03-30 Electric automation design method, device, equipment and storage medium Pending CN116401855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310334842.XA CN116401855A (en) 2023-03-30 2023-03-30 Electric automation design method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310334842.XA CN116401855A (en) 2023-03-30 2023-03-30 Electric automation design method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116401855A true CN116401855A (en) 2023-07-07

Family

ID=87017217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310334842.XA Pending CN116401855A (en) 2023-03-30 2023-03-30 Electric automation design method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116401855A (en)

Similar Documents

Publication Publication Date Title
WO2016141685A1 (en) Telecommunications engineering drawing generation method and drawing design client
WO2024060725A1 (en) Aircraft tool change method and apparatus, device, and storage medium
CN112949003B (en) Part measuring method, device, equipment and storage medium
CN116303461A (en) Component library creation method and device, electronic equipment and storage medium
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
CN116401855A (en) Electric automation design method, device, equipment and storage medium
CN111694637A (en) Online full-automatic multi-agent control simulation compiling system
CN117270838B (en) Method, device, equipment and medium for generating universal formula script
CN117632874A (en) Automatic drawing storage method, device, equipment and medium for CAD software
CN115576265B (en) PLC equipment simulation method, device, equipment and storage medium
CN115686479A (en) File creation method and related device
CN110175116B (en) Test date switching method, device and system
CN117931155A (en) Code generation method, device, equipment and medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN116245982A (en) Animation file generation method and device, electronic equipment and storage medium
CN116483601A (en) Fault diagnosis function version iteration method, device, equipment and storage medium
CN117193726A (en) Parallel design method and device of software, electronic equipment and medium
CN116821217A (en) Data distribution conversion method, device, equipment and storage medium
CN117493718A (en) Page generation method and device, electronic equipment and medium
CN117608589A (en) Code generation method, device, electronic equipment and storage medium
CN117555581A (en) Method, device, equipment and storage medium for generating calibration description file
CN117931176A (en) Business application generation method, device, platform and medium
CN115268880A (en) Code generation method and device, electronic equipment and storage medium
CN116151804A (en) Automatic operation ticket generation method, device, equipment and storage medium
CN117596141A (en) Message assembling method, device, equipment and storage medium

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