Copper bar path generation method and device, electronic equipment and readable storage medium

By building a contact tray database and matching the reference layout feature vector, the problem of copper tray path design in the existing technology depends on personal experience, and the automatic generation of copper tray paths and the improvement of design efficiency are achieved.

CN119692050APending Publication Date: 2025-03-25SUZHOU RONGDI SOFTWARE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411880290.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, copper platoon path design mainly relies on the personal experience of engineers, resulting in a long design time and labor-intensive and material resources.

Method used

By constructing a contact placing database, obtain the projection map, dimension data and differential order of the current copper placing group, determine the layout feature vector, and match the reference layout feature vector from the database to generate a three-dimensional copper placing path model.

Benefits of technology

The automatic generation of copper tray paths is realized, reducing the time and cost of artificial design and improving design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119692050A_ABST
    Figure CN119692050A_ABST
Patent Text Reader

Abstract

The invention provides a copper bar path generation method and device, electronic equipment and a readable storage medium, and relates to the field of electrical assembly. According to the method, when the copper bar path needs to be generated, the reference path information can be obtained from the constructed contact bar database, and then the target three-dimensional model file can be created by using the reference path information and the sizes, positions, electrical attributes and other information of the current starting end copper bar group and the current tail end copper bar group; the target three-dimensional model file comprises an initial end copper bar group model, a tail end copper bar group model and a three-dimensional copper bar path group between the initial end copper bar group model and the tail end copper bar group model, and waste of manpower and material resources caused by manual copper bar path design is avoided through a mode of automatically and quickly generating the copper bar path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electrical assembly, and in particular to a copper busbar path generation method, device, electronic equipment and readable storage medium. Background Art

[0002] Copper busbar, also known as copper busbar or copper busbar, is made of copper and is a long conductor with a rectangular or chamfered (rounded) rectangular cross-section (rounded copper busbars are generally used to avoid tip discharge). It plays the role of transmitting current and connecting electrical equipment in the circuit.

[0003] When copper busbars are used as key components to connect distribution cabinets and bus ducts in high and low voltage complete sets, it is necessary to design the installation path of the copper busbars. At present, the copper busbar path design is mainly done by engineers relying on personal experience to manually design and draw, which is time-consuming and laborious. Summary of the invention

[0004] The object of the present invention is to provide a copper busbar path generation method, device, electronic device and readable storage medium to improve the problems existing in the prior art.

[0005] The embodiments of the present invention can be implemented as follows:

[0006] In a first aspect, the present invention provides a copper busbar path generation method, which is applied to an electronic device, wherein the electronic device maintains a contact busbar database, wherein the contact busbar database includes a plurality of historical design samples, wherein the historical design samples include historical path information and historical layout feature vectors; the method includes:

[0007] Obtain the horizontal projection diagrams of the projections of the current starting copper bar group and the current ending copper bar group, the starting size data of the current starting copper bar group, and the ending size data of the current ending copper bar group;

[0008] Based on the horizontal projection diagram, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group, the phase order of the current starting copper busbar group, the phase order of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector are determined; the current layout feature vector represents the size attributes, position attributes and electrical attributes of the current starting copper busbar group and the current ending copper busbar group;

[0009] Based on the current layout feature vector, determining a reference layout feature vector from all historical layout feature vectors in the contact row database;

[0010] Acquire historical path information in the historical design sample where the reference layout feature vector is located from the contact row database to obtain reference path information;

[0011] A target three-dimensional model file is created based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase; wherein the target three-dimensional model file includes the starting copper busbar group model and the terminal copper busbar group model and the three-dimensional copper busbar path group between the two.

[0012] Optionally, the horizontal projection diagram includes projections of the current starting copper bar group and the current ending copper bar group in different colors on the horizontal plane;

[0013] The step of determining the phase sequence of the current starting copper busbar group, the phase sequence of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase, and the current layout feature vector based on the horizontal projection diagram, the starting size data of the current starting copper busbar group, and the ending size data of the current ending copper busbar group, comprises:

[0014] Based on the color and position of each projection in the horizontal projection map, determining the starting color sorting, the ending color sorting and the current relative position data;

[0015] Determine the phase order of the current starting copper busbar group based on the starting color sorting, and determine the phase order of the current ending copper busbar group based on the ending color sorting;

[0016] Obtaining a starting coordinate group of the current starting copper busbar group and a terminal coordinate group of the current terminal copper busbar group;

[0017] Based on the phase difference sequence of the current starting copper busbar group, the phase difference sequence of the current ending copper busbar group, the starting coordinate group and the ending coordinate group, the current coordinate difference data of each electrical phase is determined;

[0018] The starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current ending copper busbar group, the current relative position data and the current coordinate difference data of each electrical phase are standardized to obtain the current layout feature vector.

[0019] Optionally, the contact row database is constructed in the following manner:

[0020] Acquire several historical three-dimensional model files; the historical three-dimensional model files include a historical starting copper bar group model and a historical ending copper bar group model and a three-dimensional copper bar path group between the two;

[0021] For any of the historical three-dimensional model files, extract from the historical three-dimensional model file the historical path information corresponding to the three-dimensional copper busbar path group, the starting size data and phase sequence of the historical starting copper busbar group model, the terminal size data and phase sequence of the historical starting copper busbar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase;

[0022] Standardize the extracted starting size data and phase sequence of the historical starting copper bar group model, the terminal size data and phase sequence of the historical starting copper bar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase to obtain a historical layout feature vector;

[0023] Taking the historical path information and the historical layout feature vector as a historical design sample;

[0024] Traversing each of the historical three-dimensional model files to obtain the contact row database;

[0025] Wherein, the step of determining a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector comprises:

[0026] The similarity between the current layout feature vector and each historical layout feature vector in the contact row database is calculated, and the historical layout feature vector with the greatest similarity is used as the reference layout feature vector.

[0027] Optionally, the historical design sample further includes a category label corresponding to the historical layout feature vector, wherein the category label represents a cluster vector set to which the historical layout feature vector belongs; the contact row database further includes an average feature vector associated with each of a plurality of category labels;

[0028] The step of determining a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector comprises:

[0029] Calculating a first similarity between the current layout feature vector and an average feature vector associated with each category label in the contact row database, and taking a clustering vector set corresponding to a category label associated with the average feature vector having the largest first similarity as a candidate clustering vector set;

[0030] A second similarity between the current layout feature vector and each candidate historical layout feature vector in the candidate clustering vector set is calculated, and the candidate historical layout feature vector with the largest second similarity is used as the reference layout feature vector.

[0031] Optionally, the contact row database is constructed in the following manner:

[0032] Acquire several historical three-dimensional model files; the historical three-dimensional model files include a historical starting copper bar group model and a historical ending copper bar group model and a three-dimensional copper bar path group between the two;

[0033] For any of the historical three-dimensional model files, extract from the historical three-dimensional model file the historical path information corresponding to the three-dimensional copper busbar path group, the starting size data and phase sequence of the historical starting copper busbar group model, the terminal size data and phase sequence of the historical starting copper busbar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase;

[0034] Standardize the extracted starting size data and phase sequence of the historical starting copper bar group model, the terminal size data and phase sequence of the historical starting copper bar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase to obtain a historical layout feature vector;

[0035] Taking the historical path information and the historical layout feature vector as a historical design sample;

[0036] Traversing each of the historical three-dimensional model files to obtain a number of historical design samples;

[0037] Performing clustering processing on all historical layout feature vectors to obtain multiple cluster vector sets; all historical layout feature vectors in each cluster vector set correspond to the same category label;

[0038] The average feature vector of all historical layout feature vectors in each clustering vector set is calculated respectively to obtain the average feature vector associated with each category label.

[0039] Optionally, the step of creating a target three-dimensional model file based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase, comprises:

[0040] Calling a three-dimensional modeling software to generate an initial three-dimensional model file based on the starting size data and phase sequence of the current starting copper bar group, the terminal size data and phase sequence of the current terminal copper bar group, the current relative position data, and the current coordinate difference data of each electrical phase; the initial three-dimensional model file includes the starting copper bar group model and the terminal copper bar group model;

[0041] Based on the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group and the current coordinate difference data of each electrical phase, the reference path information is fine-tuned to obtain the target path information;

[0042] Based on the target path information, a three-dimensional copper busbar path group from the starting copper busbar group model to the ending copper busbar group model is generated in the initial three-dimensional model file to obtain the target three-dimensional model file.

[0043] Optionally, the step of calling the three-dimensional modeling software to generate an initial three-dimensional model file based on the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase includes:

[0044] Calling the three-dimensional modeling software, based on the starting size data of the current starting copper bar group and the terminal size data of the current terminal copper bar group, generating a preliminary starting copper bar group model and a preliminary terminal copper bar group model in a newly created three-dimensional model file;

[0045] The preliminary starting copper bar group model is obtained by setting attributes based on the phase sequence of the current starting copper bar group, and the preliminary ending copper bar group model is obtained by setting attributes based on the phase sequence of the current ending copper bar group;

[0046] Based on the current relative position data and the current coordinate difference data of each electrical phase, the assembly position relationship between the preliminary starting copper bar group model and the preliminary ending copper bar group model after the attribute setting is set to obtain the initial three-dimensional model file.

[0047] In a second aspect, the present invention provides a copper busbar path generation device, which is applied to an electronic device, wherein the electronic device maintains a contact busbar database, wherein the contact busbar database includes a plurality of historical design samples, wherein the historical design samples include historical path information and historical layout feature vectors; the device includes:

[0048] An acquisition module, used to acquire the horizontal projection diagrams of the projections of the current starting copper bar group and the current ending copper bar group, the starting size data of the current starting copper bar group, and the ending size data of the current ending copper bar group;

[0049] A data processing module, for determining the phase sequence of the current starting copper bar group, the phase sequence of the current ending copper bar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector based on the horizontal projection diagram, the starting size data of the current starting copper bar group and the ending size data of the current ending copper bar group; the current layout feature vector represents the size attributes, position attributes and electrical attributes of the current starting copper bar group and the current ending copper bar group;

[0050] A vector screening module, configured to determine a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector;

[0051] The vector screening module is used to obtain historical path information in the historical design sample where the reference layout feature vector is located from the contact row database to obtain reference path information;

[0052] A model generation module creates a target three-dimensional model file based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase; wherein the target three-dimensional model file includes the starting copper busbar group model and the terminal copper busbar group model and the three-dimensional copper busbar path group between the two.

[0053] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory stores a software program, and when the electronic device is running, the processor executes the software program to implement the copper busbar path generation method as described in the first aspect above.

[0054] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the copper busbar path generation method described in the first aspect is implemented.

[0055] Compared with the prior art, the embodiments of the present invention provide a copper busbar path generation method, device, electronic device and readable storage medium, which obtains the horizontal projection map where the projections of the current starting copper busbar group and the current ending copper busbar group are located, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group; then based on the horizontal projection map, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group, the phase sequence of the current starting copper busbar group, the phase sequence of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector are determined; then based on the current layout feature vector, a reference layout feature vector is determined from all historical layout feature vectors in a connecting busbar database; historical path information in a historical design sample where the reference layout feature vector is located is obtained from the connecting busbar database to obtain reference path information; based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current ending copper busbar group, the current relative position data and current coordinate difference data of each electrical phase, a target three-dimensional model file is created. In the present invention, when it is necessary to generate a copper busbar path, reference path information can be obtained from the constructed contact busbar database, and then a target three-dimensional model file can be created using the reference path information, the size, position, and electrical properties of the current starting copper busbar group and the current ending copper busbar group. The target three-dimensional model file includes a starting copper busbar group model and an ending copper busbar group model as well as a three-dimensional copper busbar path group therebetween. By automatically and quickly generating the copper busbar path, waste of manpower and material resources caused by manual copper busbar path design is avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0057] Figure 1 One of the flow charts of a copper bus path generation method provided in an embodiment of the present invention.

[0058] Figure 2 A schematic diagram of the positions of a current starting copper busbar group and a current ending copper busbar group in three-dimensional space is provided for an embodiment of the present invention.

[0059] Figure 3 A schematic diagram of a horizontal projection diagram provided by an embodiment of the present invention.

[0060] Figure 4 A schematic diagram of a target three-dimensional model file generated by an embodiment of the present invention.

[0061] Figure 5 A schematic structural diagram of a copper busbar path generating device provided in an embodiment of the present invention.

[0062] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0064] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0066] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.

[0067] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0068] Here, the key words or key terms involved in the present invention are first introduced:

[0069] 1. Phase: Copper bars of different colors represent different electrical phases. Electrical phases can include the following 5 types:

[0070] (1) Phase A: refers to the first phase in a three-phase AC system, indicated in yellow;

[0071] (2) Phase B: refers to the first phase in a three-phase AC system, represented by green:

[0072] (3) Phase C: refers to the first phase in a three-phase AC system, indicated in red;

[0073] (4) N: stands for neutral line, which is a conductor in a three-phase four-wire (or five-wire) system, usually connected to the center point of the system. In the case of balanced load, no current flows through the neutral line; usually represented by blue or white;

[0074] (5) PE: stands for Protective Earth, which is a safety measure used to ground the metal casing or other accessible parts of electrical equipment to prevent the risk of electric shock due to insulation failure. It is usually represented by yellow and green stripes or light green.

[0075] 2. Copper bar group: Copper bar groups usually include 3 to 5 colors of copper bars. Among them, the 3-color copper bar group includes yellow copper bar, green copper bar and red copper bar; the 4-color copper bar group includes yellow copper bar, green copper bar, red copper bar and blue copper bar; the 5-color copper bar group includes yellow copper bar, green copper bar, red copper bar, blue copper bar and light green copper bar.

[0076] The copper busbar path generation method provided in the embodiment of the present invention can be applied to electronic devices, such as personal computers, servers and other computing devices, and a pre-created contact busbar database is maintained in the electronic device, and the contact busbar database may include several historical design samples, and the historical design samples include historical path information and historical layout feature vectors. The method can automatically generate a three-dimensional copper busbar path group from the copper busbar group of the bus duct (hereinafter referred to as the starting copper busbar group) to the copper busbar group extending from the top of the distribution cabinet (hereinafter referred to as the end copper busbar group) based on the contact busbar database. The implementation process of the method is described in detail below.

[0077] Please refer to Figure 1 , Figure 1 A schematic flow chart of a copper busbar path generation method provided in an embodiment of the present invention, the method comprising the following steps:

[0078] S201, obtaining the horizontal projection diagrams of the projections of the current starting copper bar group and the current ending copper bar group, the starting size data of the current starting copper bar group, and the ending size data of the current ending copper bar group.

[0079] In this embodiment, after the on-site measurement, the measured starting size data of the current starting copper bar group and the end size data of the current end copper bar group can be obtained. Since the size of each copper bar in the copper bar group may be different, the size data may include the length, width and thickness of each copper bar in the copper bar group (for example, Figure 2 The length l and width w of the blue starting copper bar in the current starting copper bar group are marked, and the thickness is smaller and not marked). In addition, after the on-site measurement, the surveyor can draw a horizontal projection diagram, which can include projections of different colors of the current starting copper bar group and the current end copper bar group on the horizontal plane.

[0080] S202, based on the horizontal projection diagram, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group, determine the phase sequence of the current starting copper busbar group, the phase sequence of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector.

[0081] In this embodiment, the phase order represents the arrangement order of the copper bars corresponding to the multiple electrical phases in the copper bar group (the current starting copper bar group or the current end copper bar group). The current relative position data can include the relative position relationship between each starting copper bar of the current starting copper bar group and the three-dimensional coordinate axis and the relative position relationship between each end copper bar of the current end copper bar group and the three-dimensional coordinate axis. The current layout feature vector can characterize the size attribute, position attribute and electrical attribute of the current starting copper bar group and the current end copper bar group.

[0082] S203 . Based on the current layout feature vector, determine a reference layout feature vector from all historical layout feature vectors in the contact row database.

[0083] In this embodiment, the reference layout feature vector may be determined by performing similarity calculation between the current layout feature vector and the historical layout feature vector in the contact row database.

[0084] S204 , obtaining historical path information in the historical design sample where the reference layout feature vector is located from the liaison row database to obtain reference path information.

[0085] In this embodiment, the reference path information includes the size data (including but not limited to width, thickness, at least one length, radius, etc.) of at least one copper bar assembly used in each copper bar path in the historical three-dimensional copper bar path group. The types of copper bar assemblies may include but are not limited to L-shaped copper bar assemblies, U-shaped copper bar assemblies, double-fold copper bar assemblies, etc.

[0086] S205, creating a target three-dimensional model file based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current ending copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase.

[0087] In this embodiment, the created target three-dimensional model file may include a starting copper busbar group model and an ending copper busbar group model as well as a three-dimensional copper busbar path group therebetween.

[0088] The copper busbar path generation method provided in the embodiment of the present invention can obtain reference path information from a constructed contact bus database when copper busbar path generation is required, and then use the reference path information, the size, position, and electrical properties of the current starting copper busbar group and the current ending copper busbar group to create a target three-dimensional model file. The target three-dimensional model file includes the starting copper busbar group model and the ending copper busbar group model and the three-dimensional copper busbar path group therebetween. By automatically and quickly generating the copper busbar path, the waste of manpower and material resources caused by manual copper busbar path design is avoided.

[0089] In an optional implementation, the sub-steps of the above step S202 may include S2021 to S2025.

[0090] S2021. Determine the starting color sort, the ending color sort, and the current relative position data based on the color and position of each projection in the horizontal projection diagram.

[0091] In this embodiment, the horizontal projection diagram may include the projection of each starting copper bar in the current starting copper bar group on the horizontal plane and the projection of each end copper bar in the current end copper bar group on the horizontal plane, and the projection colors of any two starting copper bars are different, and the projection colors of any two end copper bars are also different. Therefore, after numbering each starting copper bar and each end copper bar in the horizontal projection diagram to determine the copper bar identification of each copper bar, the starting color sorting and the end color sorting can be extracted from the horizontal projection diagram, wherein the copper bar identification of a starting copper bar / end copper bar can be its unique identification in the current starting copper bar group and the current end copper bar group.

[0092] Optionally, the horizontal plane, i.e., the XOY plane, the current relative position data may include:

[0093] (1) The relative position relationship between each starting copper bar and the XOY plane, and the relative position relationship between each starting copper bar and the XOZ plane;

[0094] (2) The relative position relationship between each end copper bar and the XOY plane, and the relative position relationship between each end copper bar and the XOZ plane.

[0095] The relative position relationship may be a vertical relationship or a parallel relationship, or may be an angle relationship with an angle θ (θ can be obtained by measurement).

[0096] S2022: Determine the phase order of the current starting copper busbar group based on the starting color sorting, and determine the phase order of the current ending copper busbar group based on the ending color sorting.

[0097] Since the industry standard stipulates the correspondence between different electrical phases and colors (for example: phase A-yellow, phase B-green, phase C-red, neutral line N-blue, protective ground line PE-light green), in this embodiment, the phase order of the current starting copper busbar group can be determined based on the starting color sorting, and the phase order of the current end copper busbar group can be determined based on the end color sorting.

[0098] In the optional example, assume that the positions of the current starting copper busbar group and the current ending copper busbar group in three-dimensional space are as follows: Figure 2 As shown, in Figure 2 Based on the two groups of 5-color copper busbars, the 5 pieces in the current starting copper busbar group refer to Figure 3 , Figure 3 For Figure 2 The horizontal projection diagram obtained based on the

[0099] Assumptions Figure 3 In the example, the copper bars of the 5 starting copper bars of the current starting copper bar group are marked as A1 to A5, and the copper bars of the 5 ending copper bars of the current ending copper bar group are marked as B1 to B5. Figure 3 The colors of the various projections in can be determined:

[0100] 1. The starting color sequence is: {(A1: blue), (A2: yellow), (A3: green), (A4: red), (A5: light green)};

[0101] 2. The terminal color sequence is: {(B1: light green), (B2: blue), (B3: yellow), (B4: green), (B5: red)}.

[0102] Then, based on the starting color sorting, the phase order of the current starting copper busbar group is determined to be: {(A1: neutral line N), (A2: phase A), (A3: phase B), (A4: phase C), (A5: protective grounding line PE)}, and based on the ending color sorting, the phase order of the current ending copper busbar group is determined to be: {(B1: protective grounding line PE), (B2: neutral line), (B3: phase A), (B4: phase B), (B5: phase C)}.

[0103] At the same time, based on Figure 3 The positions of each projection in can determine the current relative position data, which includes:

[0104] 1. The relative position relationship between the starting copper bars A1~A5 and the XOY plane is a vertical relationship, the relative position relationship between the starting copper bars A1~A4 and the XOZ plane is a vertical relationship, and the relative position relationship between the starting copper bar A5 and the XOZ plane is a parallel relationship;

[0105] (2) The relative positional relationship between the end copper bars B1 to B5 and the XOY plane is a vertical relationship, and the relative positional relationship between the end copper bars B1 to B5 and the XOZ plane is a parallel relationship.

[0106] It should be noted that the above is based on Figure 2 , Figure 3 The examples given are for illustration only and are not intended to be limiting. The current relative position data determined above include the relative positional relationships between each copper bar and the XOY plane and the XOZ plane, and similarly, the current relative position data determined may also include the relative positional relationships between each copper bar and the XOY plane and the YOZ plane.

[0107] S2023, obtaining a starting coordinate group of the current starting copper busbar group and an ending coordinate group of the current ending copper busbar group.

[0108] In this embodiment, the starting coordinate group includes the center point coordinates of each starting copper bar, and the ending coordinate group includes the center point coordinates of each ending copper bar. The center point coordinates of the copper bar can be obtained by actual measurement or from the drawing annotation data. For example, if the copper bar group is a 5-color copper bar, then the coordinate group includes 5 three-dimensional coordinates.

[0109] S2024. Determine current coordinate difference data for each electrical phase based on the phase sequence of the current starting copper busbar group, the phase sequence of the current ending copper busbar group, the starting coordinate group, and the ending coordinate group.

[0110] In this embodiment, the current coordinate difference data of each electrical phase includes the X-axis difference, Y-axis difference and Z-axis difference obtained by subtracting the center point coordinates of the end copper bar corresponding to the electrical phase from the center point coordinates of the start copper bar. The difference may be positive, negative or 0.

[0111] For example, the coordinates of the center point of the starting copper bar corresponding to A are (40, 35, 5), and the coordinates of the center point of the ending copper bar corresponding to A are (25, 15, 45). Then, in the current coordinate difference data of phase A, the X-axis difference, Y-axis difference, and Z-axis difference are -15, -20, and -40, respectively. This example is only an example and is not limited here.

[0112] S2025, standardize the starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current ending copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase to obtain the current layout feature vector.

[0113] In this embodiment, standardization is performed to eliminate the influence of dimension. For example, a Z-score standardization method is used to convert all feature data to the same scale so that the mean value of each feature is 0 and the standard deviation is 1.

[0114] The sub-steps of the above step S203 are introduced below in conjunction with the construction process of the contact row database.

[0115] Optionally, if the liaison row database includes several historical design samples, and the historical design samples include historical path information and historical layout feature vectors, the construction process of the liaison row database may include the following steps S101 to S105.

[0116] S101. Obtain several historical 3D model files.

[0117] In this embodiment, the historical three-dimensional model file may be a CAD file, including a historical starting copper busbar group model and a historical ending copper busbar group model and a three-dimensional copper busbar path group therebetween.

[0118] S102. For any historical three-dimensional model file, extract from the historical three-dimensional model file the historical path information corresponding to the three-dimensional copper busbar path group, the starting size data and phase sequence of the historical starting copper busbar group model, the ending size data and phase sequence of the historical starting copper busbar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase.

[0119] In this embodiment, extracting various information from the historical 3D model file can be implemented by using a script or an API automated extraction function of the CAD software, which is not limited here. The extracted information can be stored in a structured data format.

[0120] S103, standardizing the extracted starting size data and phase sequence of the historical starting copper bar group model, the ending size data and phase sequence of the historical starting copper bar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase to obtain a historical layout feature vector;

[0121] S104, using the historical path information and the historical layout feature vector as a historical design sample;

[0122] S105, traverse each historical 3D model file to obtain a contact row database.

[0123] In this embodiment, for each historical 3D model file, the above steps S102 to S104 are executed to obtain a number of historical design samples, thereby completing the construction of the contact row database.

[0124] Optionally, multiple liaison copper busbar design data can also be obtained from a database or document. Each liaison copper busbar design data can be preprocessed first, that is, converted into a unified data expression format, and missing values ​​and abnormal values ​​are processed to ensure data quality; then, data extraction is performed on each preprocessed liaison copper busbar design data to obtain multiple feature data (the feature data includes various data listed in step S102), and then each feature data is standardized to obtain multiple historical layout feature vectors, and then multiple historical design samples are added to the liaison busbar database.

[0125] Based on the contact row database constructed through the above steps S101 to S105, the sub-steps of the above step S203 may include S203a:

[0126] S203a, calculating the similarity between the current layout feature vector and each historical layout feature vector in the contact row database, and taking the historical layout feature vector with the greatest similarity as a reference layout feature vector.

[0127] In this embodiment, the calculated similarity may be a cosine distance.

[0128] Optionally, after the above step S105, all historical layout feature vectors in the contact row database may be clustered to divide all historical layout feature vectors into multiple cluster vector sets. That is, after the above step S105, the construction process of the contact row database may further include the following steps S106-S107.

[0129] S106: Perform clustering processing on all historical layout feature vectors to obtain multiple clustering vector sets.

[0130] In this embodiment, the clustering algorithm used may be, but is not limited to, K-means algorithm, DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm, etc. After clustering, each historical layout feature vector is assigned a corresponding category label, which represents the clustering vector set to which the historical layout feature vector belongs, that is, all historical layout feature vectors in each clustering vector set correspond to the same category label.

[0131] S107 , respectively calculating the average feature vector of all historical layout feature vectors in each clustering vector set to obtain the average feature vector associated with each category label.

[0132] In this embodiment, the average feature vector associated with a category label reflects the cluster center of the cluster vector set corresponding to the category label.

[0133] Therefore, after steps S106 to S107, the contact row database also includes the average feature vectors associated with the various category labels, and each historical design sample also includes the category label corresponding to the historical layout feature vector.

[0134] Accordingly, based on the contact row database constructed through the above steps S101 to S107, the sub-steps of the above step S203 may include S2031 to S2032:

[0135] S2031, calculating a first similarity between the current layout feature vector and the average feature vector associated with each category label in the contact row database, and taking a clustering vector set corresponding to a category label associated with the average feature vector having the largest first similarity as a candidate clustering vector set;

[0136] S2032: Calculate the second similarity between the current layout feature vector and each candidate historical layout feature vector in the candidate clustering vector set, and use the candidate historical layout feature vector with the largest second similarity as a reference layout feature vector.

[0137] In this way, all historical layout feature vectors in the contact bus database are clustered to divide all historical layout feature vectors into multiple cluster vector sets, and the average feature vector of each cluster vector set is calculated as the cluster center. In this way, when generating the copper bus path, the current layout feature vector can be matched with each cluster center to determine the candidate cluster vector set, and then the current layout feature vector can be matched with each candidate historical layout feature vector in the candidate cluster vector set to determine the reference layout feature vector. In this way, the time consumed to determine the reference layout feature vector from the contact bus database can be reduced, thereby speeding up the copper bus path generation.

[0138] In an optional implementation, in the above step S205, it is necessary to call a three-dimensional modeling software to first generate a starting copper bar group model and a terminal copper bar group model, and then generate a three-dimensional copper bar path group from the starting copper bar group model to the terminal copper bar group model. Therefore, the sub-steps of the above step S205 may include S2051 to S2053.

[0139] S2051, calling 3D modeling software to generate an initial 3D model file based on the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase.

[0140] In this embodiment, the initial three-dimensional model file includes a starting copper busbar group model and a terminal copper busbar group model, wherein the starting copper busbar group model includes a starting three-dimensional copper busbar corresponding to each electrical phase, and the terminal copper busbar group model includes a terminal three-dimensional copper busbar corresponding to each electrical phase.

[0141] The 3D modeling software may be SolidWorks, Auto CAD or other 3D design software.

[0142] Optionally, it is necessary to first create a blank colorless preliminary starting copper bar group model and a preliminary terminal copper bar group model in the newly created three-dimensional model file, and then perform attribute setting and assembly position relationship setting to obtain the initial three-dimensional model file. Therefore, the sub-steps of step S2051 may include S20511 to S20513.

[0143] S20511. Call the three-dimensional modeling software to generate a preliminary starting copper busbar group model and a preliminary ending copper busbar group model in a newly created three-dimensional model file based on the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group.

[0144] In this embodiment, assuming that the number of copper busbar groups is 5, the created preliminary starting copper busbar group model and preliminary ending copper busbar group model each include a three-dimensional line model representing 5 copper busbars and at this time, each copper busbar is only of correct size, and the position and properties of each copper busbar may not be correct, and further settings are required.

[0145] S20512: Setting attributes of a preliminary starting copper busbar group model based on the phase sequence of the current starting copper busbar group, and setting attributes of a preliminary ending copper busbar group model based on the phase sequence of the current ending copper busbar group.

[0146] In this embodiment, after the attribute setting is performed, copper busbars of different electrical phases appear in different colors.

[0147] S20513. Based on the current relative position data and the current coordinate difference data of each electrical phase, the assembly position relationship between the preliminary starting copper busbar group model and the preliminary ending copper busbar group model after the attribute setting is set is set to obtain an initial three-dimensional model file.

[0148] In this embodiment, each starting copper bar and each ending copper bar are in the correct position by setting the assembly position relationship. S2052: Based on the starting size data of the current starting copper bar group and the ending size data of the current ending copper bar group and the current coordinate difference data of each electrical phase, the reference path information is fine-tuned to obtain the target path information.

[0149] In this embodiment, there is a slight difference between the current coordinate difference data of each electrical phase and the historical coordinate difference data of each electrical phase in the historical three-dimensional model file corresponding to the reference path information. Accordingly, the size of each copper busbar assembly used in the reference path information cannot be used directly, and needs to be fine-tuned based on the starting size data of the current starting copper busbar group and the terminal size data of the current terminal copper busbar group and the current coordinate difference data of each electrical phase. S2053. Based on the target path information, a three-dimensional copper busbar path group from the starting copper busbar group model to the terminal copper busbar group model is generated in the initial three-dimensional model file to obtain a target three-dimensional model file.

[0150] In this embodiment, the target path information obtained by fine-tuning includes the type and size data of at least one copper busbar assembly used from the starting copper busbar to the end copper busbar corresponding to each electrical phase. Therefore, based on the target path information, a three-dimensional copper busbar path group from the starting copper busbar group model to the end copper busbar group model can be generated in the initial three-dimensional model file to obtain a target three-dimensional model file. Among them, the three-dimensional copper busbar path group includes the three-dimensional copper busbar path between the starting three-dimensional copper busbar and the end three-dimensional copper busbar corresponding to each electrical phase.

[0151] Optionally, annotation information can be automatically generated in the target 3D model file, such as dimension annotation (such as length, width, thickness, and even bending radius), material property annotation (such as copper or aluminum), etc.

[0152] In the optional example, Figure 2 , Figure 3 Based on Figure 4 , Figure 4 A schematic diagram of a target three-dimensional model file generated by an embodiment of the present invention. Figure 4 In the example, take the 3D copper bus path between the red starting 3D copper bus and the ending 3D copper bus corresponding to C as an example:

[0153] The red three-dimensional copper bus path uses two L-shaped copper bus assemblies, and the use of two L-shaped copper bus assemblies can be determined based on the reference path information, but Figure 4 The sizes of the two L-shaped copper busbars in red are fine-tuned, i.e. Figure 4 The lengths of the four parts AB, BC, DE, and EF are obtained by fine-tuning.

[0154] Figure 4 The examples shown are merely examples and are not intended to be limiting.

[0155] It should be noted that the execution order of each step in the above method embodiment is not limited to that shown in the drawings, and the execution order of each step shall be based on the actual application situation.

[0156] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0157] The present invention constructs a contact bar database by using several historical three-dimensional model files, so that when copper bar path generation is required, a reference layout feature vector is determined from all historical layout feature vectors in the contact bar database based on the current layout feature vector, so as to generate a three-dimensional copper bar path group from a starting copper bar group model to a terminal copper bar group model by using reference path information in a historical design sample where the reference layout feature vector is located, and the automatic generation of the copper bar path is realized based on the reuse of the historical three-dimensional model files, thereby improving the design efficiency;

[0158] The present invention also supports clustering of all historical layout feature vectors in the contact bus database to obtain multiple cluster vector sets and their average feature vectors. In this way, when generating the copper bus path, the current layout feature vector can be matched with each average feature vector to determine a candidate cluster vector set, and then the current layout feature vector can be matched with each candidate historical layout feature vector in the candidate cluster vector set to determine a reference layout feature vector. This can reduce the time spent on determining the reference layout feature vector from the contact bus database, thereby speeding up the copper bus path generation.

[0159] In order to execute the corresponding steps in the above method embodiment and various possible implementation modes, an implementation method of a copper busbar path generating device is provided below.

[0160] See also Figure 5 , Figure 5 The schematic diagram of the structure of the copper busbar path generation device provided by an embodiment of the present invention is shown. The copper busbar path generation device 200 is applied to an electronic device, and the electronic device maintains a contact busbar database, and the contact busbar database includes a plurality of historical design samples, and the historical design samples include historical path information and historical layout feature vectors. The copper busbar path generation device 200 includes: an acquisition module 220, a data processing module 230, a vector screening module 240, and a model generation module 250.

[0161] An acquisition module 220 is used to acquire the horizontal projection diagram of the projections of the current starting copper bar group and the current ending copper bar group, the starting size data of the current starting copper bar group, and the ending size data of the current ending copper bar group;

[0162] The data processing module 230 is used to determine the phase sequence of the current starting copper bar group, the phase sequence of the current terminal copper bar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector based on the horizontal projection diagram, the starting size data of the current starting copper bar group and the terminal size data of the current terminal copper bar group; the current layout feature vector represents the size attributes, position attributes and electrical attributes of the current starting copper bar group and the current terminal copper bar group;

[0163] A vector screening module 240 is used to determine a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector;

[0164] The vector screening module 240 is used to obtain historical path information in the historical design sample where the reference layout feature vector is located from the contact row database to obtain reference path information;

[0165] The model generation module 250 creates a target three-dimensional model file based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase; wherein the target three-dimensional model file includes the starting copper busbar group model and the terminal copper busbar group model and the three-dimensional copper busbar path group between the two.

[0166] Optionally, the horizontal projection diagram includes projections of different colors of the current starting copper busbar group and the current ending copper busbar group on the horizontal plane. When the data processing module 230 is used to determine the phase order of the current starting copper busbar group, the phase order of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase, and the current layout feature vector based on the horizontal projection diagram, the starting size data of the current starting copper busbar group, and the ending size data of the current ending copper busbar group, it is specifically used to: determine the starting color sorting, the ending color sorting, and the current relative position data based on the color and position of each projection in the horizontal projection diagram; determine the phase order of the current starting copper busbar group based on the starting color sorting, and determine the phase order of the current ending copper busbar group based on the ending color sorting; Color sorting determines the phase sequence of the current end copper busbar group; obtains the starting coordinate group of the current starting copper busbar group and the ending coordinate group of the current end copper busbar group; based on the phase sequence of the current starting copper busbar group, the phase sequence of the current end copper busbar group, the starting coordinate group and the ending coordinate group, determines the current coordinate difference data of each electrical phase; the starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current end copper busbar group, the current relative position data and the current coordinate difference data of each electrical phase are standardized to obtain the current layout feature vector.

[0167] Optionally, the copper busbar path generation device 200 may further include a database construction module 210, which may be used to: obtain several historical three-dimensional model files; the historical three-dimensional model files include a historical starting copper busbar group model and a historical ending copper busbar group model and a three-dimensional copper busbar path group between the two; for any historical three-dimensional model file, extract the historical path information corresponding to the three-dimensional copper busbar path group, the starting size data and phase sequence of the historical starting copper busbar group model, the end size data and phase sequence of the historical starting copper busbar group model, the historical relative position data and historical coordinate difference data of each electrical phase from the historical three-dimensional model file; perform standardization processing on the extracted starting size data and phase sequence of the historical starting copper busbar group model, the end size data and phase sequence of the historical starting copper busbar group model, the historical relative position data and historical coordinate difference data of each electrical phase to obtain a historical layout feature vector; use the historical path information and the historical layout feature vector as a historical design sample; traverse each historical three-dimensional model file to obtain a contact busbar database.

[0168] Correspondingly, the vector screening module 240 may be specifically used to calculate the similarity between the current layout feature vector and each historical layout feature vector in the contact row database, and use the historical layout feature vector with the greatest similarity as a reference layout feature vector.

[0169] Optionally, the database construction module 210 can also be used to: cluster all historical layout feature vectors to obtain multiple cluster vector sets; all historical layout feature vectors in each cluster vector set correspond to the same category label; and calculate the average feature vector of all historical layout feature vectors in each cluster vector set to obtain the average feature vector associated with each category label.

[0170] The historical design samples also include category labels corresponding to historical layout feature vectors, and the category labels represent the cluster vector set to which the historical layout feature vectors belong; the contact row database also includes the average feature vectors associated with multiple category labels.

[0171] Correspondingly, the vector screening module 240 can be specifically used to: calculate the first similarity between the current layout feature vector and the average feature vector associated with each category label in the contact row database, and use the clustering vector set corresponding to the category label associated with the average feature vector with the largest first similarity as the candidate clustering vector set; calculate the second similarity between the current layout feature vector and each candidate historical layout feature vector in the candidate clustering vector set, and use the candidate historical layout feature vector with the largest second similarity as the reference layout feature vector.

[0172] Optionally, the model generation module 250 can be specifically used to: call the three-dimensional modeling software to generate an initial three-dimensional model file based on the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data and the current coordinate difference data of each electrical phase; the initial three-dimensional model file includes the starting copper busbar group model and the terminal copper busbar group model; based on the starting size data of the current starting copper busbar group and the terminal size data of the current terminal copper busbar group and the current coordinate difference data of each electrical phase, fine-tune the reference path information to obtain the target path information; based on the target path information, generate a three-dimensional copper busbar path group from the starting copper busbar group model to the terminal copper busbar group model in the initial three-dimensional model file to obtain the target three-dimensional model file.

[0173] Optionally, the model generation module 250 can be specifically used to: call the three-dimensional modeling software, and generate a preliminary starting copper busbar group model and a preliminary ending copper busbar group model in a newly created three-dimensional model file based on the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group; set the properties of the preliminary starting copper busbar group model based on the phase sequence of the current starting copper busbar group, and set the properties of the preliminary ending copper busbar group model based on the phase sequence of the current ending copper busbar group; set the assembly position relationship between the preliminary starting copper busbar group model and the preliminary ending copper busbar group model after the property setting based on the current relative position data and the current coordinate difference data of each electrical phase, and obtain the initial three-dimensional model file.

[0174] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the copper busbar path generating device 200 described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0175] See also Figure 6 , Figure 6 The electronic device 300 includes a processor 310 , a memory 320 , and a bus 330 , wherein the processor 310 is connected to the memory 320 via the bus 330 .

[0176] The memory 320 may be used to store software programs, for example, software programs corresponding to the copper busbar path generation device 200 provided in the embodiment of the present invention. The processor 310 executes various functional applications and data processing to implement the copper busbar path generation method provided in the embodiment of the present invention by running the software programs stored in the memory 320.

[0177] Among them, the memory 320 can be but is not limited to: RAM (Random Access Memory), ROM (Read Only Memory), FLASH (Flash Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory), etc.

[0178] The processor 310 may be an integrated circuit chip with signal processing capability. The processor 310 may be a general-purpose processor, including: CPU (Central Processing Unit), NP (Network Processor), etc.; it may also be: DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0179] Understandably, Figure 6 The structure shown is for illustration only. The electronic device 300 may also include Figure 6 More or fewer components as shown, or with Figure 6 Different configurations shown. Figure 6 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0180] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the copper bus path generation method disclosed in the above embodiment is implemented. The computer-readable storage medium can be, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a PROM, an EPROM, an EEPROM, a FLASH disk, or an optical disk.

[0181] In summary, the embodiments of the present invention provide a copper busbar path generation method, device, electronic device and readable storage medium, by obtaining the horizontal projection map where the projections of the current starting copper busbar group and the current ending copper busbar group are located, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group; then based on the horizontal projection map, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group, the phase sequence of the current starting copper busbar group, the phase sequence of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector are determined; then based on the current layout feature vector, a reference layout feature vector is determined from all historical layout feature vectors in a connecting busbar database; historical path information in a historical design sample where the reference layout feature vector is located is obtained from the connecting busbar database to obtain reference path information; based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current ending copper busbar group, the current relative position data and the current coordinate difference data of each electrical phase, a target three-dimensional model file is created. In the present invention, when it is necessary to generate a copper busbar path, reference path information can be obtained from the constructed contact busbar database, and then a target three-dimensional model file can be created using the reference path information, the size, position, and electrical properties of the current starting copper busbar group and the current ending copper busbar group. The target three-dimensional model file includes a starting copper busbar group model and an ending copper busbar group model as well as a three-dimensional copper busbar path group therebetween. By automatically and quickly generating the copper busbar path, waste of manpower and material resources caused by manual copper busbar path design is avoided.

[0182] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A copper busbar path generation method, characterized in that: Applied to an electronic device, the electronic device maintains a contact row database, the contact row database includes a plurality of historical design samples, the historical design samples include historical path information and historical layout feature vectors; the method includes: Obtaining the horizontal projection diagrams of the respective projections of the current starting copper bar group and the current ending copper bar group, the starting size data of the current starting copper bar group, and the ending size data of the current ending copper bar group; Based on the horizontal projection diagram, the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group, the phase order of the current starting copper busbar group, the phase order of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector are determined; the current layout feature vector represents the size attributes, position attributes and electrical attributes of the current starting copper busbar group and the current ending copper busbar group; Based on the current layout feature vector, determining a reference layout feature vector from all historical layout feature vectors in the contact row database; Acquire historical path information in the historical design sample where the reference layout feature vector is located from the contact row database to obtain reference path information; A target three-dimensional model file is created based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase; wherein the target three-dimensional model file includes the starting copper busbar group model and the terminal copper busbar group model and the three-dimensional copper busbar path group between the two.

2. The method according to claim 1, characterized in that The horizontal projection diagram includes projections of the current starting copper bar group and the current ending copper bar group in different colors on the horizontal plane; The step of determining the phase sequence of the current starting copper busbar group, the phase sequence of the current ending copper busbar group, the current relative position data, the current coordinate difference of each electrical phase, and the current layout feature vector based on the horizontal projection diagram, the starting size data of the current starting copper busbar group, and the ending size data of the current ending copper busbar group, comprises: Based on the color and position of each projection in the horizontal projection map, determining the starting color sorting, the ending color sorting and the current relative position data; Determine the phase order of the current starting copper busbar group based on the starting color sorting, and determine the phase order of the current ending copper busbar group based on the ending color sorting; Obtaining a starting coordinate group of the current starting copper busbar group and a terminal coordinate group of the current terminal copper busbar group; Based on the phase difference sequence of the current starting copper busbar group, the phase difference sequence of the current ending copper busbar group, the starting coordinate group and the ending coordinate group, the current coordinate difference data of each electrical phase is determined; The starting size data and phase sequence of the current starting copper busbar group, the ending size data and phase sequence of the current ending copper busbar group, the current relative position data and the current coordinate difference data of each electrical phase are standardized to obtain the current layout feature vector.

3. The method according to claim 1, characterized in that The contact row database is constructed in the following way: Acquire several historical three-dimensional model files; the historical three-dimensional model files include a historical starting copper bar group model and a historical ending copper bar group model and a three-dimensional copper bar path group between the two; For any of the historical three-dimensional model files, extract from the historical three-dimensional model file the historical path information corresponding to the three-dimensional copper busbar path group, the starting size data and phase sequence of the historical starting copper busbar group model, the terminal size data and phase sequence of the historical starting copper busbar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase; Standardize the extracted starting size data and phase sequence of the historical starting copper bar group model, the terminal size data and phase sequence of the historical starting copper bar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase to obtain a historical layout feature vector; Taking the historical path information and the historical layout feature vector as a historical design sample; Traversing each of the historical three-dimensional model files to obtain the contact row database; Wherein, the step of determining a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector comprises: The similarity between the current layout feature vector and each historical layout feature vector in the contact row database is calculated, and the historical layout feature vector with the greatest similarity is used as the reference layout feature vector.

4. The method according to claim 1, characterized in that: The historical design sample also includes a category label corresponding to the historical layout feature vector, and the category label represents the cluster vector set to which the historical layout feature vector belongs; the contact row database also includes the average feature vector associated with each of the multiple category labels; The step of determining a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector comprises: Calculating a first similarity between the current layout feature vector and an average feature vector associated with each category label in the contact row database, and taking a clustering vector set corresponding to a category label associated with the average feature vector having the largest first similarity as a candidate clustering vector set; A second similarity between the current layout feature vector and each candidate historical layout feature vector in the candidate clustering vector set is calculated, and the candidate historical layout feature vector with the largest second similarity is used as the reference layout feature vector.

5. The method according to claim 4, characterized in that The contact row database is constructed in the following way: Acquire several historical three-dimensional model files; the historical three-dimensional model files include a historical starting copper bar group model and a historical ending copper bar group model and a three-dimensional copper bar path group between the two; For any of the historical three-dimensional model files, extract from the historical three-dimensional model file the historical path information corresponding to the three-dimensional copper busbar path group, the starting size data and phase sequence of the historical starting copper busbar group model, the terminal size data and phase sequence of the historical starting copper busbar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase; Standardize the extracted starting size data and phase sequence of the historical starting copper bar group model, the terminal size data and phase sequence of the historical starting copper bar group model, the historical relative position data, and the historical coordinate difference data of each electrical phase to obtain a historical layout feature vector; Taking the historical path information and the historical layout feature vector as a historical design sample; Traversing each of the historical three-dimensional model files to obtain a number of historical design samples; Performing clustering processing on all historical layout feature vectors to obtain multiple cluster vector sets; all historical layout feature vectors in each cluster vector set correspond to the same category label; The average feature vector of all historical layout feature vectors in each clustering vector set is calculated respectively to obtain the average feature vector associated with each category label.

6. The method according to claim 1, characterized in that The step of creating a target three-dimensional model file based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase, comprises: Calling a three-dimensional modeling software to generate an initial three-dimensional model file based on the starting size data and phase sequence of the current starting copper bar group, the terminal size data and phase sequence of the current terminal copper bar group, the current relative position data, and the current coordinate difference data of each electrical phase; the initial three-dimensional model file includes the starting copper bar group model and the terminal copper bar group model; Based on the starting size data of the current starting copper busbar group and the ending size data of the current ending copper busbar group and the current coordinate difference data of each electrical phase, the reference path information is fine-tuned to obtain the target path information; Based on the target path information, a three-dimensional copper busbar path group from the starting copper busbar group model to the ending copper busbar group model is generated in the initial three-dimensional model file to obtain the target three-dimensional model file.

7. The method according to claim 6, characterized in that The step of calling the three-dimensional modeling software to generate an initial three-dimensional model file based on the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase includes: Calling the three-dimensional modeling software, based on the starting size data of the current starting copper bar group and the terminal size data of the current terminal copper bar group, generating a preliminary starting copper bar group model and a preliminary terminal copper bar group model in a newly created three-dimensional model file; The preliminary starting copper bar group model is obtained by setting attributes based on the phase sequence of the current starting copper bar group, and the preliminary ending copper bar group model is obtained by setting attributes based on the phase sequence of the current ending copper bar group; Based on the current relative position data and the current coordinate difference data of each electrical phase, the assembly position relationship between the preliminary starting copper bar group model and the preliminary ending copper bar group model after the attribute setting is set to obtain the initial three-dimensional model file.

8. A copper busbar path generation device, characterized in that: Applied to an electronic device, the electronic device maintains a contact row database, the contact row database includes a plurality of historical design samples, the historical design samples include historical path information and historical layout feature vectors; the device includes: An acquisition module, used to acquire the horizontal projection diagrams of the projections of the current starting copper bar group and the current ending copper bar group, the starting size data of the current starting copper bar group, and the ending size data of the current ending copper bar group; A data processing module, for determining the phase sequence of the current starting copper bar group, the phase sequence of the current ending copper bar group, the current relative position data, the current coordinate difference of each electrical phase and the current layout feature vector based on the horizontal projection diagram, the starting size data of the current starting copper bar group and the ending size data of the current ending copper bar group; the current layout feature vector represents the size attributes, position attributes and electrical attributes of the current starting copper bar group and the current ending copper bar group; A vector screening module, configured to determine a reference layout feature vector from all historical layout feature vectors in the contact row database based on the current layout feature vector; The vector screening module is used to obtain historical path information in the historical design sample where the reference layout feature vector is located from the contact row database to obtain reference path information; A model generation module creates a target three-dimensional model file based on the reference path information, the starting size data and phase sequence of the current starting copper busbar group, the terminal size data and phase sequence of the current terminal copper busbar group, the current relative position data, and the current coordinate difference data of each electrical phase; wherein the target three-dimensional model file includes the starting copper busbar group model and the terminal copper busbar group model and the three-dimensional copper busbar path group between the two.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a software program, and when the electronic device is running, the processor executes the software program to implement the copper bus path generation method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the copper busbar path generation method according to any one of claims 1 to 7 is implemented.