Electrical control cabinet automation design method, device, electronic equipment and storage medium
By obtaining electrical cabinet configuration information and automatically designing the structure and electrical connection of the electrical control cabinet using pre-trained models, the problems of low design efficiency and poor rationality in the existing technology are solved, and a more efficient and reasonable electrical control cabinet design is achieved.
Patent Information
- Application Number
- CN202210408492.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-04-19
AI Technical Summary
The design efficiency of existing electrical control cabinets is low and the rationality is mainly because the terminal equipment can only respond based on user's operations, resulting in complex and inefficient design process.
By obtaining the electrical cabinet configuration information, the cabinet structure diagram is automatically displayed and the electrical structure diagram is generated. The pre-trained space allocation model is used to determine the installation position and electrical connection relationship of the functional modules, and the automated design of the electrical control cabinet is realized.
It improves the design efficiency and rationality of the electrical control cabinet, improves the performance and stability of the electrical control cabinet, and reduces the need for manual operation.
Smart Images

Figure CN114912350B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical technology, and in particular to an automated design method, device, electronic equipment and storage medium for an electrical control cabinet. Background Art
[0002] An electrical control cabinet is a device used to assemble various electrical equipment in a closed or semi-closed cabinet to meet the normal operation requirements of the power system, while ensuring power safety and improving maintenance efficiency. At present, with the rapid development of the new energy industry and the wide application of battery energy storage, the power grid and the user side have inconsistent requirements for battery energy storage distribution and control, which results in the need to design non-standard versions of electrical control cabinets according to specific needs during the design process.
[0003] In the prior art, the design of non-standard versions of electrical control cabinets is usually based on specific needs. First, the internal structure of the electrical control cabinet is manually designed, and based on the specific internal structure, the circuit structure is designed and the electrical structure diagram is generated, thereby completing the design process of the electrical control cabinet.
[0004] However, the design process of the electrical control cabinet in the prior art is complicated, and the terminal equipment used by the designers can only respond step by step based on the user's operation, resulting in low design efficiency and poor design rationality of the electrical control cabinet. Summary of the invention
[0005] The present application provides an electrical control cabinet automation design method, device, electronic device and storage medium to solve the problems of low design efficiency and poor design rationality of the electrical control cabinet caused by the terminal device only being able to respond gradually based on the user's operation.
[0006] In a first aspect, the present application provides an electrical control cabinet automation design method, comprising:
[0007] Obtain electrical cabinet configuration information, wherein the electrical cabinet configuration information is used to determine the functional modules of the electrical control cabinet; based on the electrical cabinet configuration information, display a first cabinet structure diagram, wherein the first cabinet structure diagram represents the installation position of the functional modules in the electrical control cabinet; based on the first cabinet structure diagram, generate an electrical structure diagram, wherein the electrical structure diagram is used to represent the electrical connection relationship between the functional modules in the electrical control cabinet.
[0008] In a possible implementation, the first cabinet structure diagram includes a cabinet outline, and the first cabinet structure diagram is displayed based on the electrical cabinet configuration information, including: determining an image identifier of a corresponding target functional module according to the electrical cabinet configuration information, wherein an image size of the image identifier has a fixed ratio with a structural size of the corresponding target functional module; determining an installation position of each target functional module in the electrical control cabinet based on the electrical cabinet installation information, and displaying the image identifier of each target functional module at the corresponding installation position in the cabinet outline.
[0009] In a possible implementation, the method further includes: acquiring preset electrical cabinet installation information; wherein the electrical cabinet installation information represents a default installation position of a preset candidate functional module in the electrical control cabinet.
[0010] In a possible implementation, the electrical cabinet configuration information includes the structural dimensions of the electrical control cabinet, and the method further includes: obtaining the image size of the image identification of the target functional module; and determining the electrical cabinet installation information based on the image size of the image identification of the target functional module and the structural dimensions of the electrical control cabinet.
[0011] In a possible implementation, the installation information of the electrical cabinet is determined based on the image size of the image identifier of the target functional module and the structural size of the electrical control cabinet, including: obtaining a pre-trained space allocation model, wherein the input parameters of the space allocation model include space information and module information, the space information represents a three-dimensional space area, the module information represents the identifiers and three-dimensional space volumes corresponding to at least two functions, the space allocation model is used to allocate the functional modules corresponding to the module information to the three-dimensional space area corresponding to the space information without interfering with each other based on the input parameters; the space allocation model is obtained by training to convergence based on historical installation data, and the historical installation data is data representing the installation position of the functional module in the electrical control cabinet; based on the image size of the image identifier and the structural size of the electrical control cabinet, the space allocation model is used to determine the installation information of the electrical cabinet.
[0012] In a possible implementation, generating an electrical structure diagram based on the first cabinet structure diagram includes: obtaining an electrical module corresponding to each of the functional modules in the first cabinet structure diagram, wherein the electrical module is used to implement a specific function of the functional module; determining an installation position of the electrical module corresponding to each of the functional modules based on the installation position of each of the functional modules in the electrical control cabinet; and performing circuit connection on each of the electrical modules based on the installation position of the electrical module corresponding to each of the functional modules to generate an electrical structure diagram.
[0013] In a possible implementation, based on the installation position of the electrical module corresponding to each functional module, each electrical module is connected in circuit to generate an electrical structure diagram, including: obtaining wiring information of each electrical module, the wiring information represents the wiring definition and wiring position of the electrical module; based on the wiring information of each electrical module, each electrical module is connected in circuit to generate an electrical structure diagram.
[0014] In a possible implementation, the method further includes: in response to a user's editing operation on the first cabinet structure diagram, adjusting the installation position of at least one functional module in the first cabinet structure diagram, generating and displaying a second cabinet structure diagram; generating an electrical structure diagram based on the first cabinet structure diagram, including: generating an electrical structure diagram based on the second cabinet structure diagram.
[0015] In a second aspect, the present application provides an electrical control cabinet automation design device, comprising:
[0016] An acquisition unit, used to acquire electrical cabinet configuration information, wherein the electrical cabinet configuration information is used to determine a functional module of the electrical control cabinet;
[0017] A display unit, configured to display a first cabinet structure diagram based on the electrical cabinet configuration information, wherein the first cabinet structure diagram represents an installation position of the functional module in the electrical control cabinet;
[0018] A generating unit is used to generate an electrical structure diagram according to the first cabinet structure diagram, wherein the electrical structure diagram is used to characterize the electrical connection relationship between the functional modules in the electrical control cabinet.
[0019] In a possible implementation, the first cabinet structure diagram includes a cabinet outline, and the display unit is specifically used to: determine the image identification of the corresponding target functional module according to the electrical cabinet configuration information, and the image size of the image identification has a fixed ratio with the structural size of the corresponding target functional module; determine the installation position of each of the target functional modules in the electrical control cabinet based on the electrical cabinet installation information, and display the image identification of each of the target functional modules at the corresponding installation position in the cabinet outline.
[0020] In a possible implementation, the acquisition unit is further used to: acquire preset electrical cabinet installation information; wherein the electrical cabinet installation information represents a default installation position of a preset candidate functional module in the electrical control cabinet.
[0021] In a possible implementation, the electrical cabinet configuration information includes the structural dimensions of the electrical control cabinet, and the acquisition unit is further used to: obtain the image size of the image identification of the target functional module; and determine the electrical cabinet installation information based on the image size of the image identification of the target functional module and the structural dimensions of the electrical control cabinet.
[0022] In a possible implementation, when the acquisition unit determines the installation information of the electrical cabinet based on the image size of the image identifier of the target functional module and the structural size of the electrical control cabinet, it is specifically used to: obtain a pre-trained space allocation model, wherein the input parameters of the space allocation model include space information and module information, the space information represents a three-dimensional space area, and the module information represents the identifiers and three-dimensional space volumes corresponding to at least two functions, and the space allocation model is used to allocate the functional modules corresponding to the module information to the three-dimensional space area corresponding to the space information without interfering with each other based on the input parameters; the space allocation model is obtained by training to convergence based on historical installation data, and the historical installation data is data representing the installation position of the functional module in the electrical control cabinet; based on the image size of the image identifier and the structural size of the electrical control cabinet, the space allocation model is used to determine the installation information of the electrical cabinet.
[0023] In a possible implementation, the generating unit is specifically used to: obtain the electrical modules corresponding to each of the functional modules in the first cabinet structure diagram, wherein the electrical modules are used to implement the specific functions of the functional modules; determine the installation positions of the electrical modules corresponding to each of the functional modules according to the installation positions of the functional modules in the electrical control cabinet; and perform circuit connections on each of the electrical modules based on the installation positions of the electrical modules corresponding to each of the functional modules to generate an electrical structure diagram.
[0024] In a possible implementation, when the generation unit makes circuit connections for each electrical module based on the installation positions of the electrical modules corresponding to each functional module to generate an electrical structure diagram, the generation unit is specifically used to: obtain wiring information of each electrical module, wherein the wiring information represents the wiring definition and wiring position of the electrical module; and make circuit connections for each electrical module based on the wiring information of each electrical module to generate an electrical structure diagram.
[0025] In a possible implementation, the display unit is also used to: in response to the user's editing operation on the first cabinet structure diagram, adjust the installation position of at least one functional module in the first cabinet structure diagram, and generate and display the second cabinet structure diagram; the generation unit is specifically used to: generate an electrical structure diagram based on the second cabinet structure diagram.
[0026] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0027] The memory stores computer-executable instructions;
[0028] The processor executes the computer-executable instructions stored in the memory to implement the automatic design method of the electrical control cabinet as described in any one of the first aspects of the embodiments of the present application.
[0029] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the electrical control cabinet automation design method as described in any one of the first aspects of the embodiments of the present application.
[0030] According to a fifth aspect of the embodiments of the present application, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the electrical control cabinet automation design method as described in any one of the first aspects above.
[0031] The electrical control cabinet automation design method, device, electronic device and storage medium provided in the present application obtain electrical cabinet configuration information, the electrical cabinet configuration information is used to determine the functional module of the electrical control cabinet; based on the electrical cabinet configuration information, a first cabinet structure diagram is displayed, the first cabinet structure diagram represents the installation position of the functional module in the electrical control cabinet; according to the first cabinet structure diagram, an electrical structure diagram is generated, the electrical structure diagram is used to represent the electrical connection relationship of each functional module in the electrical control cabinet. Since the terminal device can automatically generate and display the first cabinet structure diagram based on the electrical cabinet configuration information, and automatically generate the electrical structure diagram corresponding to the functional module based on the first cabinet structure diagram, the automatic design of the cabinet structure and electrical structure of the electrical control cabinet is realized, and there is no need to design based on the specific operation instructions of the user, thereby improving the design efficiency of the electrical control cabinet, and at the same time, improving the rationality of the structural design and electrical design of the electrical control cabinet, and improving the performance of the electrical control cabinet. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0033] Figure 1 A schematic diagram of the process of designing an electrical control cabinet in the prior art;
[0034] Figure 2 A flowchart of an electrical control cabinet automation design method provided in one embodiment of the present application;
[0035] Figure 3 for Figure 2 A flowchart of the specific steps of step S102 in the illustrated embodiment;
[0036] Figure 4 A schematic diagram of generating a first cabinet structure diagram provided by an embodiment of the present disclosure;
[0037] Figure 5 for Figure 2 A flowchart of the specific steps of step S103 in the illustrated embodiment;
[0038] Figure 6 A flowchart of an electrical control cabinet automation design method provided by another embodiment of the present application;
[0039] Figure 7 for Figure 6 A flowchart of the specific steps of step S204 in the illustrated embodiment;
[0040] Figure 8 A schematic diagram of the structure of an electrical control cabinet automation design device provided in one embodiment of the present application;
[0041] Fig. 9 A schematic diagram of an electronic device provided by an embodiment of the present application;
[0042] Fig.10 It is a block diagram of a terminal device shown in an exemplary embodiment of the present application.
[0043] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0045] The application scenarios of the embodiments of the present application are explained below:
[0046] The electrical control cabinet automation design method provided in the embodiment of the present application can be applied to the application scenario of the customized design of the electrical control cabinet. For example, the execution subject of the method provided in the embodiment of the present application can be a terminal device, such as a personal computer (PC). The terminal device includes an input / output device, such as a mouse, a keyboard, and a display. Based on the design requirements, the user inputs an operation instruction to the terminal device through the above-mentioned input / output device, and the terminal device responds to the operation instruction, thereby completing the design of the electrical control cabinet and generating the design data of the electrical control cabinet, such as a digital drawing. Afterwards, based on the design data generated by the above process, the generation, processing, assembly and other processes of the electrical control cabinet can be realized, thereby finally generating an electrical control cabinet that matches the design data.
[0047] Currently, during the design process of electrical control cabinets, non-standard versions need to be designed according to specific needs. In the prior art, the non-standard version design process is usually completed through manual design based on specific design needs. Figure 1 The following is a flow chart of designing an electrical control cabinet in the prior art, such as Figure 1 As shown, Step 1, obtain the design requirements of the electrical control cabinet, such as which functional modules need to be installed in the electrical control cabinet (such as switch module, video interactive machine module, molded case circuit breaker module, back power module, etc.). Step 2, based on the above-mentioned optional functional modules, manually design the internal structure of the electrical control cabinet to realize the carrying of the above-mentioned optional functional modules. Step 3, based on the internal structure of the electrical control cabinet, design the electrical structure to form an electrical connection (partial or full) between the functional modules. Step 4, finally form the design data for processing and assembly. In the above-mentioned prior art, in the design process of the electrical control cabinet, the terminal equipment only responds one by one based on the operation instructions input by the user, so the process requires manual participation throughout the process, resulting in a low degree of automation in the design process of the electrical control cabinet and a cumbersome process, which in turn leads to problems such as low design efficiency and poor design rationality of the electrical control cabinet.
[0048] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0049] Figure 2 A flowchart of an electrical control cabinet automation design method provided by an embodiment of the present application, such as Figure 2 As shown, the electrical control cabinet automation design method provided in this embodiment can be applied to terminal equipment, including the following steps:
[0050] Step S101, obtaining electrical cabinet configuration information, where the electrical cabinet configuration information is used to determine the functional modules of the electrical control cabinet.
[0051] Exemplarily, the electrical cabinet configuration information is information used to characterize the design requirements of the electrical control cabinet. More specifically, the electrical cabinet configuration information is information describing the specific functions of the electrical control cabinet. The electrical cabinet configuration information is used to determine the functional modules of the electrical control cabinet, wherein the functional modules include, for example: switch module, video interactive machine module, molded case circuit breaker module, back power module, reserved installation module, etc.
[0052] There are many ways to implement the electrical cabinet configuration information. In one possible implementation, the electrical cabinet configuration information may include specific module identifiers. For example, the electrical cabinet configuration information includes module identifiers #mode 1, #mode2, and #mode3. Among them, #mode 1 represents the switch module, #mode 1 represents the video interactive machine module, and #mode3 represents the molded case circuit breaker module. According to the module identifier in the electrical cabinet configuration information, the functional module of the corresponding electrical control cabinet can be directly determined. In a possible implementation, the electrical cabinet configuration information may include the design requirement information of the electrical control cabinet. More specifically, the design requirement information is, for example: the operating voltage is 380 volts, there are 8 digital communication interfaces, 2 video communication interfaces, and a UPS power supply is required. The terminal device performs parsing based on the design requirement information in the electrical cabinet configuration information to determine the required optional functional modules. The specific implementation method of the electrical cabinet configuration information can be set as needed and will not be repeated here.
[0053] Step S102: Based on the electrical cabinet configuration information, a first cabinet structure diagram is displayed, where the first cabinet structure diagram represents the installation position of the functional module in the electrical control cabinet.
[0054] Exemplarily, further, after obtaining the electrical cabinet configuration information, based on the specific manner in which the electrical cabinet configuration information indicates the functional module, the target functional module corresponding to the electrical cabinet configuration information can be determined. Afterwards, the terminal device arranges each target functional module reasonably at a designated position of the electrical control cabinet through automated processing, thereby generating a first cabinet structure diagram, which is image information representing the installation position of the functional module in the electrical control cabinet. Afterwards, the first cabinet structure diagram is displayed based on an image output device of the terminal device, such as a display.
[0055] In a possible implementation, the first cabinet structure diagram includes a cabinet outline, such as Figure 3 As shown, the specific implementation steps of step S102 include:
[0056] Step S1021: Determine the image identification of the corresponding target functional module according to the electrical cabinet configuration information, and the image size of the image identification has a fixed ratio with the structural size of the corresponding target functional module.
[0057] Step S1022: Obtain preset electrical cabinet installation information, wherein the electrical cabinet installation information represents a default installation position of a preset candidate functional module in the electrical control cabinet.
[0058] Step S1023: Based on the electrical cabinet installation information, determine the installation position of each target functional module in the electrical control cabinet, and display the image identification of each target functional module at the corresponding installation position in the cabinet outline.
[0059] Exemplarily, the module identifier of the target functional module can be determined based on the electrical cabinet configuration information, and then based on the preset mapping relationship, the image identifier corresponding to the module identifier can be determined. Specifically, the image identifier is, for example, a proportionally reduced schematic diagram of the functional module, which is used to display the size of the functional module. The image identifier of the functional module is preset in the terminal device.
[0060] After that, the preset electrical cabinet installation information is obtained, which represents the default installation position of the candidate function module in the electrical control cabinet. Among them, the target function module is a subset of the candidate function module. Therefore, based on the electrical cabinet installation information, the installation position of each target function module in the electrical control cabinet can be determined, and then the image identification of each target function module is displayed at the corresponding installation position in the cabinet outline.
[0061] Figure 4 A schematic diagram of generating a first cabinet structure diagram provided by an embodiment of the present disclosure, such as Figure 4 As shown, exemplarily, the first cabinet structure diagram includes a cabinet outline; based on the electrical cabinet configuration information, the target functional modules include 1 switch module, 1 molded case circuit breaker module and 4 reserved installation modules. The target installation positions of the target functional modules (1 switch module, 1 molded case circuit breaker module and 4 reserved installation modules) are determined by describing the installation positions of the candidate functional modules in the electrical control cabinet through the electrical cabinet installation information, and then, the image identifiers of 1 switch module, 1 molded case circuit breaker module and 4 reserved installation modules are respectively displayed at the corresponding target installation positions, thereby generating the first cabinet structure diagram.
[0062] In this embodiment, the installation positions corresponding to different target function modules are determined through the electrical cabinet installation information, and then the image identification of the target function module is displayed at the corresponding installation position, thereby realizing automatic design of the installation position of the target function module indicated by the electrical cabinet configuration information without the need for user operation, thereby improving design efficiency and design rationality.
[0063] Step S103: generating an electrical structure diagram according to the first cabinet structure diagram, wherein the electrical structure diagram is used to represent the electrical connection relationship between the functional modules in the electrical control cabinet.
[0064] For example, after obtaining the first cabinet structure diagram, based on the electrical result implementation mode of each target functional module represented by the first cabinet structure diagram and the positional relationship between the target functional modules, an electrical structure diagram representing the electrical connection relationship of each functional module in the electrical control cabinet is automatically generated. Figure 5 As shown, the specific implementation steps of step S103 include:
[0065] Step S1031: Acquire the electrical modules corresponding to the functional modules in the first cabinet structure diagram, wherein the electrical modules are used to implement specific functions of the functional modules.
[0066] Step S1032: Determine the installation position of the electrical module corresponding to each functional module according to the installation position of each functional module in the electrical control cabinet.
[0067] Step S1032: Based on the installation positions of the electrical modules corresponding to the functional modules, the electrical modules are connected in circuits to generate an electrical structure diagram.
[0068] Exemplarily, the electrical module is a module for realizing the specific functions of the functional module, more specifically, for example, a circuit for realizing the wiring of the electrical module. The electrical module has a preset fixed mapping relationship with the corresponding functional module, and the electrical module is also pre-stored in the terminal device. After the target functional module is determined, the electrical module corresponding to the target functional module can be determined and called out based on the fixed mapping relationship. The installation position of the functional module in the electrical control cabinet can be determined by the target coordinates in the coordinate system based on the first cabinet structure diagram. Furthermore, based on the same coordinate system (the coordinate system based on the first cabinet structure diagram), the position of the target coordinates corresponding to the functional module, or the position close to the target coordinates, is determined as the installation position of the corresponding electrical module.
[0069] Furthermore, based on the installation positions of the electrical modules corresponding to the functional modules, the electrical modules are connected in circuits to generate an electrical structure diagram. Specifically, the method of connecting the electrical modules in circuits to generate an electrical structure diagram includes:
[0070] The wiring information of each electrical module is obtained, and the wiring information represents the wiring definition and wiring position of the electrical module; based on the wiring information of each electrical module, each electrical module is connected in circuit to generate an electrical structure diagram. In this embodiment, by calling the electrical module corresponding to the target functional module and connecting the electrical module in circuit based on the wiring information of the electrical module, an electrical structure diagram matching the first cabinet structure diagram is automatically generated. The above process does not require manual operation and can be automatically completed by the terminal device, thereby improving the design efficiency and the rationality of the design.
[0071] In this embodiment, by obtaining the electrical cabinet configuration information, the electrical cabinet configuration information is used to determine the functional modules of the electrical control cabinet; based on the electrical cabinet configuration information, a first cabinet structure diagram is displayed, and the first cabinet structure diagram represents the installation position of the functional module in the electrical control cabinet; according to the first cabinet structure diagram, an electrical structure diagram is generated, and the electrical structure diagram is used to represent the electrical connection relationship of each functional module in the electrical control cabinet. Since the terminal device can automatically generate and display the first cabinet structure diagram based on the electrical cabinet configuration information, and automatically generate the electrical structure diagram corresponding to the functional module based on the first cabinet structure diagram, the automatic design of the cabinet structure and electrical structure of the electrical control cabinet is realized, and there is no need to design based on the specific operation instructions of the user, thereby improving the design efficiency of the electrical control cabinet, and at the same time, improving the rationality of the structural design and electrical design of the electrical control cabinet, and improving the performance of the electrical control cabinet.
[0072] Figure 6 A flowchart of an electrical control cabinet automation design method provided in another embodiment of the present application is shown in FIG. Figure 6 As shown, the electrical control cabinet automation design method provided in this embodiment is Figure 2 On the basis of the electrical control cabinet automation design method provided in the illustrated embodiment, step S102 is further refined, and a step of modifying the first cabinet structure diagram in response to the user's operation instruction is added. The electrical control cabinet automation design method provided in this embodiment includes the following steps:
[0073] Step S201, obtaining electrical cabinet configuration information, where the electrical cabinet configuration information includes functional module identifications of the electrical control cabinet and structural dimensions of the electrical control cabinet.
[0074] Step S202: determining an image identifier of a corresponding target functional module according to the electrical cabinet configuration information, wherein an image size of the image identifier has a fixed ratio to a structural size of the corresponding target functional module.
[0075] Exemplarily, the terminal device pre-stores the structural dimensions of multiple candidate function modules and the image dimensions of the corresponding image identifiers, and the image dimensions of the image identifiers have a fixed ratio with the structural dimensions of the corresponding target function modules. After the terminal device retrieves the target function module corresponding to the electrical cabinet configuration information, it can determine the structural dimensions of the target function module and the image dimensions of the corresponding image identifiers. For example, the target function module includes a switch module, a molded case circuit breaker module, and a reserved installation module. Based on the structural dimensions of the multiple pre-stored candidate function modules, the terminal device determines that the structural dimensions of the switch module are A, the structural dimensions of the molded case circuit breaker module are B, and the structural dimensions of the reserved installation module are C. At the same time, it can be determined that the image dimensions of the image identifier of the switch module are a, the image dimensions of the image identifier of the molded case circuit breaker module are b, and the image dimensions of the image identifier of the reserved installation module are c.
[0076] Step S203, obtaining the image size of the image identifier of the target functional module.
[0077] Step S204: determining the installation information of the electrical cabinet based on the image size of the image identifier of the target functional module and the structural size of the electrical control cabinet.
[0078] Exemplarily, in this embodiment, the configuration information of the electrical cabinet includes not only the functional module identification used to determine the functional module, but also the structural dimensions of the electrical control cabinet. In a specific customized design scenario of the electrical control cabinet, in addition to the function of the electrical control cabinet, the structural dimensions of the electrical control cabinet also need to be customized. When the structural dimensions of the electrical control cabinet change, the installation position of the internal functional module will change, thereby causing an overall change in the design data. Therefore, after determining the image identification of the target functional module, the image size of the image identification of the target functional module is obtained, and based on the image size of the image identification and the structural dimensions of the electrical control cabinet, a reasonable installation position is determined for the target functional module, avoiding waste of internal space of the electrical control cabinet and ensuring a reasonable distance between functional modules, thereby improving the design rationality of the electrical control cabinet.
[0079] In one possible implementation, Figure 7 As shown, the specific implementation steps of step S204 include:
[0080] Step S2041, obtaining a pre-trained space allocation model, wherein the input parameters of the space allocation model include space information and module information, the space information represents a three-dimensional space area, the module information represents identifications and three-dimensional space volumes corresponding to at least two functions, and the space allocation model is used to allocate the functional modules corresponding to the module information to the three-dimensional space area corresponding to the space information without interfering with each other based on the input parameters; the space allocation model is obtained by training to convergence based on historical installation data, and the historical installation data is data representing the installation position of the functional module in the electrical control cabinet.
[0081] Step S2042: Based on the image size of the image identifier and the structural size of the electrical control cabinet, the installation information of the electrical cabinet is determined using the space allocation model.
[0082] Exemplarily, the electrical cabinet installation information is information that characterizes the installation position of the target functional module in the electrical control cabinet. Therefore, step S204 is actually a process of determining the reasonable installation position of the target functional module. In the prior art, the installation position of the functional module is determined based on the experience of the designer. Therefore, it will be affected by the experience of the designer. In particular, when the number of functional modules in the electrical control cabinet is large and the types are complex, it is often difficult to achieve the optimal design, resulting in a waste of space in the electrical control cabinet. At the same time, due to the unreasonable installation position between the functional modules, many problems such as poor heat dissipation of the equipment and inconvenient wiring are caused, which affects the performance and stability of the electrical control cabinet.
[0083] In this embodiment, the space allocation model is trained by using historical installation data, so that the converged space allocation model can realize the space allocation for the electrical control cabinet, thereby determining the reasonable installation position of the target functional module. The historical installation data can be the screened artificial design data. More specifically, the structural design data of the electrical control cabinet with a reasonable internal structure design is used as a training sample to train the space allocation model, so that the space allocation module can realize the space allocation of the electrical control cabinet.
[0084] Specifically, after obtaining the image size of the image identifier and the structural size of the electrical control cabinet, based on the specific implementation of the space allocation model, in one possible implementation method, the image size of the image identifier is converted into the corresponding structural size of the target functional module, and the model is executed with the structural size of the target functional module and the structural size of the electrical control cabinet as input parameters of the space allocation module, thereby obtaining the installation position of the target functional module in the electrical control cabinet. In another possible implementation method, the structural size of the electrical control cabinet is converted into the image size of the corresponding cabinet outline, and the model is executed with the image size of the image identifier corresponding to the target functional module and the image size of the cabinet outline as input parameters of the space allocation module, thereby obtaining the installation position of the image identifier in the cabinet outline. The two implementation methods only differ in the reference coordinate system, and the principles are the same. The two implementation methods can be set according to specific needs, which will not be repeated here.
[0085] Step S205 , based on the electrical cabinet installation information, determine the installation position of each target functional module in the electrical control cabinet, and display the image identification of each target functional module at the corresponding installation position in the cabinet outline to generate a first cabinet structure diagram.
[0086] Step S206: in response to the user's editing operation on the first cabinet structure diagram, adjusting the installation position of at least one functional module in the first cabinet structure diagram, and generating and displaying a second cabinet structure diagram.
[0087] Step S207: Generate an electrical structure diagram according to the second cabinet structure diagram, where the electrical structure diagram is used to represent the electrical connection relationship between the functional modules in the electrical control cabinet.
[0088] Exemplarily, after the first cabinet structure diagram is displayed, since the first cabinet structure diagram is based on the structural dimensions and target functional modules of the electrical control cabinet, combined with a pre-trained space allocation model, there are multiple influencing dimensions, and the space allocation model is a black box model, the user cannot determine the accurate output result (i.e., the first cabinet structure diagram) by inputting parameters. Therefore, the above steps will likely cause the automatically generated first cabinet structure diagram to be inaccurate and unable to meet the actual design requirements. Therefore, after step S205, the terminal device adjusts the first cabinet structure diagram by receiving the user's editing operations on the first cabinet structure diagram, such as operations of deleting functional modules, adding functional modules, and adjusting the installation position of functional modules, thereby correcting the unreasonable design (the installation position of the target functional module) that appeared in the previous step (the step of generating the electrical cabinet installation information based on the space allocation model, thereby generating the first cabinet structure diagram), and obtaining the second cabinet structure diagram. Afterwards, based on the second cabinet structure diagram, the electrical structure diagram is generated by calling the corresponding electrical module, thereby obtaining the design data. The specific implementation steps are as follows. Figure 2The illustrated embodiment has been described in detail and will not be described again here.
[0089] In this embodiment, after generating the first cabinet structure diagram, the first cabinet structure diagram is corrected based on the user's editing operation, the unreasonable design that occurred in the previous steps is corrected, the design rationality of the electrical control cabinet is improved, and the operating performance and stability of the electrical control cabinet are improved.
[0090] Figure 8 A schematic diagram of the structure of an electrical control cabinet automation design device provided in one embodiment of the present application is shown in FIG. Figure 8 As shown, the electrical control cabinet automation design device 3 provided in this embodiment includes:
[0091] An acquisition unit 31 is used to acquire electrical cabinet configuration information, where the electrical cabinet configuration information is used to determine a functional module of the electrical control cabinet;
[0092] A display unit 32, used to display a first cabinet structure diagram based on the electrical cabinet configuration information, where the first cabinet structure diagram represents the installation position of the functional module in the electrical control cabinet;
[0093] The generating unit 33 is used to generate an electrical structure diagram according to the first cabinet structure diagram, where the electrical structure diagram is used to represent the electrical connection relationship between the functional modules in the electrical control cabinet.
[0094] In one possible implementation, the first cabinet structure diagram includes a cabinet outline, and a display unit 32, which is specifically used to: determine the image identification of the corresponding target function module according to the electrical cabinet configuration information, and the image size of the image identification has a fixed ratio with the structural size of the corresponding target function module; determine the installation position of each target function module in the electrical control cabinet based on the electrical cabinet installation information, and display the image identification of each target function module at the corresponding installation position in the cabinet outline.
[0095] In a possible implementation, the acquisition unit 31 is further used to: acquire preset electrical cabinet installation information; wherein the electrical cabinet installation information represents the default installation position of the preset candidate functional module in the electrical control cabinet.
[0096] In a possible implementation, the electrical cabinet configuration information includes the structural dimensions of the electrical control cabinet, and the acquisition unit 31 is further used to: obtain the image size of the image identification of the target functional module; and determine the electrical cabinet installation information based on the image size of the image identification of the target functional module and the structural dimensions of the electrical control cabinet.
[0097] In a possible implementation, when determining the installation information of the electrical cabinet based on the image size of the image identifier of the target functional module and the structural size of the electrical control cabinet, the acquisition unit 31 is specifically used to: obtain a pre-trained space allocation model, wherein the input parameters of the space allocation model include space information and module information, the space information represents a three-dimensional space area, the module information represents the identifiers and three-dimensional space volumes corresponding to at least two functions, and the space allocation model is used to allocate the functional modules corresponding to the module information to the three-dimensional space area corresponding to the space information without interfering with each other based on the input parameters; the space allocation model is obtained by training historical installation data to convergence, and the historical installation data is data representing the installation position of the functional module in the electrical control cabinet; based on the image size of the image identifier and the structural size of the electrical control cabinet, the space allocation model is used to determine the installation information of the electrical cabinet.
[0098] In one possible implementation, the generation unit 33 is specifically used to: obtain the electrical modules corresponding to each functional module in the first cabinet structure diagram, wherein the electrical modules are used to implement the specific functions of the functional modules; determine the installation positions of the electrical modules corresponding to each functional module according to the installation positions of the functional modules in the electrical control cabinet; and perform circuit connections on each electrical module based on the installation positions of the electrical modules corresponding to each functional module to generate an electrical structure diagram.
[0099] In one possible implementation, when the generation unit 33 performs circuit connection on each electrical module based on the installation position of the electrical module corresponding to each functional module to generate an electrical structure diagram, it is specifically used to: obtain wiring information of each electrical module, the wiring information represents the wiring definition and wiring position of the electrical module; based on the wiring information of each electrical module, perform circuit connection on each electrical module to generate an electrical structure diagram.
[0100] In a possible implementation, the display unit 32 is also used to: in response to the user's editing operation on the first cabinet structure diagram, adjust the installation position of at least one functional module in the first cabinet structure diagram, generate and display the second cabinet structure diagram; the generation unit is specifically used to: generate an electrical structure diagram according to the second cabinet structure diagram.
[0101] The acquisition unit 31, the display unit 32 and the generation unit 33 are connected in sequence. The electrical control cabinet automation design device provided in this embodiment can be executed as follows Figure 2-Figure 7 The technical solutions of any of the method embodiments shown have similar implementation principles and technical effects, which will not be described in detail here.
[0102] Fig. 9 A schematic diagram of an electronic device provided by an embodiment of the present application, such as Fig. 9As shown, the electronic device 4 provided in this embodiment includes: a processor 41, and a memory 42 communicatively connected to the processor 41.
[0103] Wherein, the memory 42 stores computer-executable instructions;
[0104] The processor 41 executes the computer execution instructions stored in the memory 42 to implement the present application. Figure 2-Figure 7 An automated design method for an electrical control cabinet is provided in any one of the corresponding embodiments.
[0105] The memory 42 and the processor 41 are connected via a bus 43 .
[0106] For related instructions, please refer to Figure 2-Figure 7 The relevant descriptions and effects corresponding to the steps in the corresponding embodiments can be understood, and no further elaboration is made here.
[0107] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the present application. Figure 2-Figure 7 An automated design method for an electrical control cabinet is provided in any one of the corresponding embodiments.
[0108] Among them, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0109] One embodiment of the present application provides a computer program product, including a computer program, which implements the present application when executed by a processor. Figure 2-Figure 7 An automated design method for an electrical control cabinet is provided in any one of the corresponding embodiments.
[0110] Fig.10 It is a block diagram of a terminal device shown in an exemplary embodiment of the present application. The terminal device 800 can be a computer, a smart phone, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0111] The terminal device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0112] The processing component 802 generally controls the overall operation of the terminal device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0113] The memory 804 is configured to store various types of data to support operations on the terminal device 800. Examples of such data include instructions for any application or method operating on the terminal device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0114] The power supply component 806 provides power to various components of the terminal device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 800.
[0115] The multimedia component 808 includes a screen that provides an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0116] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0117] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0118] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal device 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal device 800, the relative positioning of the components, such as the display and keypad of the terminal device 800, and the sensor assembly 814 can also detect the position change of the terminal device 800 or a component of the terminal device 800, the presence or absence of contact between the user and the terminal device 800, the orientation or acceleration / deceleration of the terminal device 800, and the temperature change of the terminal device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0119] The communication component 816 is configured to facilitate wired or wireless communication between the terminal device 800 and other devices. The terminal device 800 can access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 5G or other standard communication networks, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0120] In an exemplary embodiment, the terminal device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned embodiments of the present invention. Figure 2-Figure 7 The method provided in any one of the corresponding embodiments.
[0121] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of a terminal device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0122] The embodiment of the present application also provides a non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the terminal device, the terminal device 800 can execute the above-mentioned present application Figure 2-Figure 7 The method provided in any one of the corresponding embodiments.
[0123] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0124] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0125] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. An automated design method for an electrical control cabinet, characterized in that: Applied to a terminal device, the method comprises: Acquire electrical cabinet configuration information, where the electrical cabinet configuration information is used to determine the functional modules of the electrical control cabinet; Based on the electrical cabinet configuration information, display a first cabinet structure diagram, wherein the first cabinet structure diagram represents the installation position of the functional module in the electrical control cabinet; Generate an electrical structure diagram according to the first cabinet structure diagram, wherein the electrical structure diagram is used to characterize the electrical connection relationship between the functional modules in the electrical control cabinet; The first cabinet structure diagram includes a cabinet outline, and the displaying of the first cabinet structure diagram based on the electrical cabinet configuration information includes: Determine an image identifier of a corresponding target functional module according to the electrical cabinet configuration information, wherein an image size of the image identifier has a fixed ratio with a structural size of the corresponding target functional module; Based on the electrical cabinet installation information, determine the installation position of each target function module in the electrical control cabinet, and display the image identification of each target function module at the corresponding installation position in the cabinet outline; The electrical cabinet configuration information includes the structural dimensions of the electrical control cabinet, and the method further includes: Get the image size of the image identifier of the target functional module; Obtain a pre-trained space allocation model, wherein the input parameters of the space allocation model include space information and module information, the space information represents a three-dimensional space area, the module information represents identifications and three-dimensional space volumes corresponding to at least two functions, and the space allocation model is used to allocate the functional modules corresponding to the module information to the three-dimensional space area corresponding to the space information without interfering with each other based on the input parameters; the space allocation model is obtained by training to convergence based on historical installation data, and the historical installation data is data representing the installation position of the functional module in the electrical control cabinet; Based on the image size of the image identification and the structural size of the electrical control cabinet, the installation information of the electrical cabinet is determined using the space allocation model.
2. The method according to claim 1, characterized in that The method further comprises: Get preset electrical cabinet installation information; The electrical cabinet installation information represents the default installation position of the preset candidate functional module in the electrical control cabinet.
3. The method according to claim 1, characterized in that The step of generating an electrical structure diagram according to the first cabinet structure diagram includes: Obtaining electrical modules corresponding to the functional modules in the first cabinet structure diagram, wherein the electrical modules are used to implement specific functions of the functional modules; Determine the installation position of the electrical module corresponding to each functional module according to the installation position of each functional module in the electrical control cabinet; Based on the installation positions of the electrical modules corresponding to the functional modules, the electrical modules are connected in circuits to generate an electrical structure diagram.
4. The method according to claim 3, characterized in that Based on the installation positions of the electrical modules corresponding to the functional modules, the electrical modules are connected in circuits to generate an electrical structure diagram, including: Acquire wiring information of each of the electrical modules, wherein the wiring information represents a wiring definition and a wiring position of the electrical module; Based on the wiring information of each of the electrical modules, each of the electrical modules is connected in circuit to generate an electrical structure diagram.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the user's editing operation on the first cabinet structure diagram, adjusting the installation position of at least one functional module in the first cabinet structure diagram, and generating and displaying a second cabinet structure diagram; Generate an electrical structure diagram according to the first cabinet structure diagram, including: Generate an electrical structure diagram based on the second cabinet structure diagram.
6. An automatic design device for an electrical control cabinet, characterized in that: Applied to terminal equipment, including: An acquisition unit, used to acquire electrical cabinet configuration information, wherein the electrical cabinet configuration information is used to determine a functional module of the electrical control cabinet; A display unit, configured to display a first cabinet structure diagram based on the electrical cabinet configuration information, wherein the first cabinet structure diagram represents an installation position of the functional module in the electrical control cabinet; A generating unit, used to generate an electrical structure diagram according to the first cabinet structure diagram, wherein the electrical structure diagram is used to represent the electrical connection relationship of each of the functional modules in the electrical control cabinet; The first cabinet structure diagram includes a cabinet outline, and the display unit is specifically used to determine the image identification of the corresponding target function module according to the electrical cabinet configuration information, and the image size of the image identification has a fixed ratio with the structural size of the corresponding target function module; based on the electrical cabinet installation information, determine the installation position of each of the target function modules in the electrical control cabinet, and display the image identification of each of the target function modules at the corresponding installation position in the cabinet outline; The electrical cabinet configuration information includes the structural dimensions of the electrical control cabinet, and the acquisition unit is further used to acquire the image size of the image identifier of the target functional module; obtain a pre-trained space allocation model, wherein the input parameters of the space allocation model include space information and module information, the space information represents a three-dimensional space area, and the module information represents the identifiers and three-dimensional space volumes corresponding to at least two functions, and the space allocation model is used to allocate the functional modules corresponding to the module information to the three-dimensional space area corresponding to the space information without interfering with each other based on the input parameters; the space allocation model is obtained by training to convergence based on historical installation data, and the historical installation data is data representing the installation position of the functional module in the electrical control cabinet; based on the image size of the image identifier and the structural dimensions of the electrical control cabinet, the space allocation model is used to determine the electrical cabinet installation information.
7. An electronic device comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the automatic design method for an electrical control cabinet according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the electrical control cabinet automation design method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for automatically designing an electrical control cabinet according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Electrical design method and electrical design system
CN112541203A
