Cable laying path design method, terminal equipment and storage medium
By constructing a three-dimensional model and optimal path algorithm, the cable laying path is automatically generated, which solves the complexity of cable laying design in the metallurgical industry and improves the design efficiency and accuracy.
Patent Information
- Application Number
- CN202510494795.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-08
AI Technical Summary
In the metallurgical industry, the cable laying design is complex, especially when using cable tray systems, the design requirements are high and the construction is difficult, especially in complex building structures or special environments.
Build a three-dimensional model of bridge frames, cable trench, electrical equipment and buried pipes, generate cable virtual channels, calculate the cable laying path through the optimal path algorithm, and automatically calculate the bridge load and floor area ratio, and use terminal equipment to achieve automatic generation.
The automatic generation of cable laying paths is realized, improving design efficiency and accuracy.
Smart Images

Figure CN120449431A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of metallurgical technology, and in particular to a cable laying path design method, terminal equipment and storage medium. Background Art
[0002] With the electrification of the metallurgical industry, the number of electrical equipment required is increasing, and the number and complexity of cables being laid are also increasing. Cable laying is affected by many factors, and its design often requires detailed planning. Especially when using cable tray systems, the design requirements are high and the construction can be difficult. For complex building structures or special environments, professional construction technology and experience are required. Summary of the Invention
[0003] In order to solve the above problems, the present invention proposes a cable laying path design method, terminal equipment and storage medium.
[0004] The specific plan is as follows:
[0005] A cable laying path design method comprises the following steps:
[0006] S1: Construct a 3D model of the bridge, cable trench, electrical equipment, and buried pipes, and record the cable laying lines contained in each bridge, cable trench, and buried pipe;
[0007] S2: Generate cable virtual channels between disconnected facilities of the same or different types;
[0008] S3: After importing the cable table that records the cables to be laid into the database, search for matching cable models from the cable component library based on the cable type and voltage level corresponding to each cable recorded in the cable table, and import the physical parameters corresponding to the found cable model into the corresponding position in the database; based on the modeling positions of the two electrical contacts corresponding to each cable recorded in the cable table corresponding to the electrical equipment, determine the coordinates of the two electrical contacts and write them into the corresponding positions in the database;
[0009] S4: Extract the cable laying lines corresponding to each bridge, cable trench, and buried pipe, and build a cable element table based on the cable virtual channel; the cable element table records the coordinates of the two endpoints of all cable laying lines;
[0010] S5: Calculate the cable laying lines that each cable in the database passes through by using an optimal path algorithm, and use the passed cable laying lines as the laying paths of the corresponding cables.
[0011] Furthermore, in the process of generating a cable virtual channel, after receiving information about two disconnected facilities used to generate the cable virtual channel, the shortest path connecting the two facilities is automatically generated, and the shortest path is used as the cable virtual channel; when calculating the shortest path, the point on the buried pipe corresponding to the shortest path must be the end point of the buried pipe, and the point corresponding to the bridge or cable trench can be the point in the middle position of the bridge or cable trench; when the connection point of the constructed cable virtual channel or the cable trench is not the end point of the bridge or cable trench, the point is used as a branch point, and the corresponding bridge or cable trench is divided into two bridges or two cable trenches with the branch point as the boundary, and two codes are set.
[0012] Furthermore, after obtaining the cable laying paths of all cables, it also includes: calculating the automatic volume ratio and load of the bridges through which all cable laying paths pass after the cables are laid, and marking them with different colors according to the difference between the calculation results of each bridge and the pre-configured upper limit value.
[0013] Furthermore, in the calculation of the load of the bridge, when the bridge is a multi-layer bridge, its load is the product of the sum of the weight per unit length of all cables laid on the multi-layer bridge and the length of the bridge, plus the weight of the multi-layer bridge itself.
[0014] A cable laying path design terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned method of the embodiment of the present invention are implemented.
[0015] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method described above in an embodiment of the present invention.
[0016] The present invention adopts the above technical solution to realize the automatic generation of cable laying paths, thereby improving design efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Shown is a flow chart of a method according to a first embodiment of the present invention.
[0018] Figure 2 Shown is a schematic diagram of the cable trench parameter configuration window in this embodiment.
[0019] Figure 3 Shown is a schematic diagram of the pipe laying parameter configuration window in this embodiment. DETAILED DESCRIPTION
[0020] To further illustrate various embodiments, the present invention provides accompanying drawings. These drawings form part of the present disclosure and are primarily used to illustrate the embodiments and, in conjunction with the relevant description in the specification, to explain the operating principles of the embodiments. By referring to these drawings, those skilled in the art will be able to understand other possible implementations and the advantages of the present invention.
[0021] The present invention will now be further described with reference to the accompanying drawings and specific embodiments.
[0022] Example 1:
[0023] The embodiment of the present invention provides a method for designing a cable laying path, such as Figure 1 As shown, the method includes the following steps:
[0024] S1: Construct a 3D model of the bridge, cable trench, electrical equipment, and buried pipes, and record the cable laying lines contained in each bridge, cable trench, and buried pipe.
[0025] Since the facilities related to cable laying in metallurgical engineering include bridges, cable trenches, electrical equipment, and buried pipes, in this embodiment, three-dimensional models of these four facilities are constructed. The following describes the construction method of the three-dimensional model of each facility.
[0026] 1. Bridge 3D model
[0027] To construct a three-dimensional bridge model, this embodiment constructs a bridge model generation script, a bridge component library, and a bridge shape library. The bridge component library stores the physical parameters of various bridge types, while the bridge shape library stores the shapes of various bridge types (the bridge component library and the bridge shape library are bound together via bridge codes). Upon receiving the physical parameters of the bridge to be generated, the bridge model generation script searches the bridge component library for the corresponding bridge type. Based on the bridge code corresponding to the found bridge type, the script searches the bridge shape library for the corresponding bridge shape. Based on the found bridge shape and the input starting point, end point, and direction of the bridge to be generated, the bridge model is generated.
[0028] In this embodiment, the physical parameters corresponding to the bridge to be generated are input in two ways, wherein the bridge model (such as T-type, tray type, trough type, etc.), size (width and height), material, laying attributes and multi-layer bridge attributes are input through the configuration window data, and the two endpoints of the bridge (starting point and end point) are input by clicking the mouse at the corresponding positions on the screen. The laying attributes in the physical parameters are used for cable laying, and in this embodiment include voltage level, laying volume ratio and attributes of the partition plate in the bridge. The multi-layer bridge attributes in the physical parameters include spacing, number of layers and offset (vertical and horizontal). By setting the multi-layer bridge attributes, the modeling of multi-row and multi-layer (matrix form) bridges can be realized.
[0029] During the three-dimensional modeling process of the bridge, suitable curved components can be automatically selected and modeled.
[0030] After completing the 3D modeling of the bridge, each bridge is assigned a code (ID). Different layers in a multi-layer bridge have different IDs. Note that if two bridges are directly connected and there are no other branches along the connecting path, both bridges use the same ID. After the IDs are complete, a bridge list is constructed. Each element in the list corresponds to a bridge ID, and the starting point, end point, and direction of each bridge are recorded.
[0031] Each layer of the bridge corresponds to a cable laying line, which is used to mark the position where the cable is set in the bridge. In this embodiment, it is the center line of the bridge.
[0032] 2. Cable trench 3D model
[0033] In order to realize the three-dimensional modeling of the cable trench, a configuration window for the cable trench parameters is constructed in this embodiment, such as Figure 2 As shown, the cable trench parameters included include: the trench's cross-sectional shape, width, depth, wall thickness, plate thickness, plate width, column pattern, presence of a cover plate, whether cables are laid directly on the supports, the specifications and lengths of the left and right supports, the horizontal spacing between supports, the number of support layers and the height of each layer, the voltage level, and the laying method. After receiving the user's configuration information in the cable trench parameter configuration window, the 3D modeling of the cable trench is implemented based on the user's real-time input of the start and end points of the cable trench.
[0034] Each layer of brackets in the cable trench corresponds to a cable laying line, which is used to mark the position of the cable set on the bracket. The left and right brackets correspond to different cable laying lines respectively. In this embodiment, the cable laying line is the center line of the bracket.
[0035] 3. 3D model of electrical equipment
[0036] The electrical equipment is a device connected by cables. In order to construct a three-dimensional model of the electrical equipment, in this embodiment, a device component library containing the performance parameters of various types of electrical equipment and a device shape library containing the appearance of various types of electrical equipment (i.e., a three-dimensional model file in a universal format) are pre-constructed, and the two are bound by device coding. When the position, type, and performance parameters of the three-dimensional model of the electrical equipment to be constructed are received, the device of the corresponding type and performance parameters is searched from the device component library, and the corresponding appearance is searched from the device shape library according to the device code of the found device, and three-dimensional modeling is performed at the corresponding position based on the found appearance. There are two specific ways, one is to directly input the coordinates of the device insertion point (i.e., the position) or use an interactive method to locate the device insertion point in three-dimensional space, and the other way is to input the height information of the device and the rotation angle on the plane in the placement window, and position and place the device from the perspective of the plan view.
[0037] 4. 3D model of buried pipes
[0038] Buried pipes are cable channels on the ground or wall. Similar to the 3D modeling type of cable trenches, buried pipe 3D modeling also includes a buried pipe parameter configuration window, such as Figure 3 As shown, the buried pipe parameters included therein include: buried pipe type, height from the ground (horizontal, starting point, end point elevation), diameter, material, voltage level, bending radius, laying method and batch layout information, etc.
[0039] The cable laying line corresponding to the buried pipe is the line connecting the starting point to the end point of the buried pipe.
[0040] In buried pipe modeling, there are automatic mode and intelligent mode.
[0041] In Automatic Mode, after configuring the Conduit Parameters window, the system automatically generates the shortest conduit path and corresponding 3D model based on the user-entered start and end points (typically the endpoints of facilities such as bridges, cable trenches, and electrical equipment). This mode allows batch selection of bridges and equipment for conduit generation, significantly improving the efficiency of 3D conduit layout.
[0042] In intelligent mode, after completing the layout of the bridge and equipment with reference to the professional model of the building structure, the system automatically identifies the buried pipe parameters derived from the equipment electrical contacts based on the cable table that records the cables that need to be laid. Then, based on the distance priority principle and the zoning principle (that is, dividing the spatial range into small three-dimensional spaces according to the actual functional areas, determining the upper and lower limits of the height, and obtaining the element information of the equipment and the bridge through calculation; or extracting the key point information of the room space from the reference building model, using a single room as a bounding box, defining key information such as the buried depth and height, and automatically generating buried pipes), the starting and ending positions of the buried pipes are determined. Based on the configured buried depth, the system identifies the walls and floor slabs, automatically calculates the key turning points, and automatically generates batches of buried pipe 3D models from the equipment to the bridge. It also automatically generates virtual cable channels from the buried pipes to the corresponding bridges, realizing the generation of cable routes from the bridge to the equipment. During the generation process, if existing buried pipes or other professional pipeline models are encountered, the buried pipe depth is automatically modified to avoid obstacles.
[0043] S2: Generate cable virtual channels between disconnected similar or different types of facilities.
[0044] Facilities of the same type (bridge and bridge) or different types (bridge and buried pipe, bridge and cable trench, bridge and electrical equipment, electrical equipment and buried pipe, electrical equipment and cable trench, etc.) may not be connected. In order to realize the laying of cables, a cable virtual channel connecting the two is constructed in this embodiment.
[0045] In the process of generating a cable virtual channel, after receiving information about two disconnected facilities used to generate the cable virtual channel, the shortest path connecting the two facilities is automatically generated, and the shortest path is used as the cable virtual channel. It should be noted that when calculating the shortest path, the point on the buried pipe corresponding to the shortest path must be the end point of the buried pipe, and the point corresponding to the bridge or cable trench can be a point in the middle of the bridge or cable trench. When the connection point of the constructed cable virtual channel or the point of the cable trench is not the end point of the bridge or cable trench, the point is used as a branch point, and the corresponding bridge or cable trench is divided into two bridges or two cable trenches with the branch point as the boundary, and two codes (bridge code or cable trench code) are set.
[0046] S3: After importing the cable table that records the cables that need to be laid into the database, find the matching cable model from the cable component library according to the cable type and voltage level corresponding to each cable recorded in the cable table, and import the physical parameters corresponding to the found cable model into the corresponding position of the database; according to the modeling position of the electrical equipment corresponding to the two electrical contacts of each cable recorded in the cable table, determine the coordinates of the two electrical contacts and write them into the corresponding position of the database.
[0047] S4: Extract the cable laying lines corresponding to each bridge, cable trench, and buried pipe, and construct a cable path element table based on the cable virtual channel; the cable path element table records the coordinates of the two endpoints of all cable laying lines.
[0048] The cable routing table records all cable lines within each bridge, all cable lines within each cable trench, and all cable lines within each buried conduit, as well as all cable virtual channels. When a cable line corresponds to a bridge, it is numbered using the bridge code; when a cable line corresponds to a cable trench, it is numbered using the trench code; and when a cable line corresponds to a buried conduit, it is numbered using the buried conduit code.
[0049] S5: Calculate the cable laying lines that each cable in the database passes through by using an optimal path algorithm, and use the passed cable laying lines as the laying paths of the corresponding cables.
[0050] This embodiment also includes storing the laying paths of each cable, including storing the numbers of the bridges, cable trenches, buried pipes and / or cable virtual channels that each cable passes through, which can be stored in corresponding locations in the database.
[0051] The optimal path algorithm may be a shortest path algorithm or a weighted shortest path algorithm, which is not limited here.
[0052] After determining the cable routing for all cables, this embodiment also automatically calculates the volume ratio and load of each cable tray after the cables are laid. Each tray is marked with a different color based on the difference between the calculated result and the configured upper limit. For multi-layer cable trays, the load is calculated as the product of the sum of the weight per unit length of all cables laid on the tray and the tray length, plus the weight of the tray itself.
[0053] Example 2:
[0054] The present invention also provides a cable laying path design terminal device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the steps in the above-mentioned method embodiment of embodiment 1 of the present invention are implemented.
[0055] Furthermore, as an executable solution, the cable laying path design terminal device can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The cable laying path design terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the composition structure of the above-mentioned cable laying path design terminal device is merely an example of a cable laying path design terminal device and does not constitute a limitation on the cable laying path design terminal device. It may include more or fewer components than the above-mentioned components, or a combination of certain components, or different components. For example, the cable laying path design terminal device may also include input and output devices, network access devices, buses, etc., and the embodiments of the present invention do not limit this.
[0056] Furthermore, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices. The general-purpose processor may be a microprocessor or any conventional processor, and the processor is the control center of the cable laying path design terminal device, connecting various parts of the entire cable laying path design terminal device using various interfaces and lines.
[0057] The memory can be used to store the computer programs and / or modules, and the processor realizes the various functions of the cable laying path design terminal device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created based on the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0058] The present invention also 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 steps of the above method of the embodiment of the present invention are implemented.
[0059] If the module / unit integrated in the cable laying path design terminal equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.
[0060] Although the present invention has been particularly shown and described in conjunction with preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made to the present invention without departing from the spirit and scope of the invention as defined in the appended claims, and all such changes are within the scope of protection of the present invention.
Claims
1. A cable laying path design method, characterized in that: The following steps are involved: S1: Construct a 3D model of the bridge, cable trench, electrical equipment, and buried pipes, and record the cable laying lines contained in each bridge, cable trench, and buried pipe; S2: Generate cable virtual channels between disconnected facilities of the same or different types; S3: After importing the cable table that records the cables to be laid into the database, search for matching cable models from the cable component library based on the cable type and voltage level of each cable recorded in the cable table, and import the physical parameters corresponding to the found cable models into the corresponding locations in the database; According to the modeling positions of the electrical equipment corresponding to the two electrical contacts of each cable recorded in the cable table, the coordinates of the two electrical contacts are determined and written into the corresponding positions in the database; S4: Extract the cable laying lines corresponding to each bridge, cable trench, and buried pipe, and build a cable element table based on the cable virtual channel; the cable element table records the coordinates of the two endpoints of all cable laying lines; S5: Calculate the cable laying lines that each cable in the database passes through by using an optimal path algorithm, and use the passed cable laying lines as the laying paths of the corresponding cables.
2. The cable laying path design method according to claim 1, characterized in that: In the process of generating a cable virtual channel, when information of two disconnected facilities used to generate the cable virtual channel is received, the shortest path connecting the two facilities is automatically generated, and the shortest path is used as the cable virtual channel; when calculating the shortest path, the point on the buried pipe corresponding to the shortest path must be the end point of the buried pipe, and the point corresponding to the bridge or cable trench can be a point in the middle position of the bridge or cable trench; when the connection point of the constructed cable virtual channel or the cable trench is not the end point of the bridge or cable trench, the point is used as a branch point, and the corresponding bridge or cable trench is divided into two bridges or two cable trenches with the branch point as the boundary, and two codes are set.
3. The cable laying path design method according to claim 1, characterized in that: After obtaining the cable laying paths of all cables, it also includes: calculating the automatic volume ratio and load of the bridges passed by all cable laying paths after the cables are laid, and marking them with different colors according to the difference between the calculation results of each bridge and the pre-configured upper limit value.
4. The cable laying path design method according to claim 3, characterized in that: In the calculation of the load of the bridge, when the bridge is a multi-layer bridge, its load is the product of the sum of the weight per unit length of all cables laid on the multi-layer bridge and the length of the bridge, plus the weight of the multi-layer bridge itself.
5. A cable laying path design terminal device, characterized by: The method comprises a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.