Three-dimensional cable model and generation method thereof

Through the three-dimensional cable model and generation method, the problems of time-consuming, labor-intensive and error-prone traditional wiring methods are solved, and more efficient and accurate cable layout is achieved, cost reduction and intelligent manufacturing is promoted.

CN119249667APending Publication Date: 2025-01-03ZHENGZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411438342.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Traditional manual wiring methods are difficult to meet the needs of complex electromechanical systems, are time-consuming and labor-intensive and prone to errors, increasing the difficulty of maintenance and troubleshooting.

Method used

Using a three-dimensional cable model and its generation method, by introducing a third dimension, it provides flexibility and space for cable layout, dynamically generates cable protection layer and wire model, and optimizes cable paths to reduce waste and redundancy.

Benefits of technology

It improves the efficiency and accuracy of cable layout, reduces production and maintenance costs, facilitates management and maintenance, and promotes the intelligence and automation of the manufacturing industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119249667A_ABST
    Figure CN119249667A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional cable model and a generation method thereof. The generation method of a three-dimensional cable comprises the following steps: S1, calculating the center line of each wire according to cable joint data; s2, generating a corresponding lead model according to the lead center line; and S3, generating a cable protection layer model according to the cable joint and the cable center line. The three-dimensional cable model can accurately simulate the layout condition of the cable in a complex space, including the length, diameter, bending radius and other parameters of the cable. According to the three-dimensional cable model, the three-dimensional cable can be dynamically arranged in real time according to the connection requirement and the wiring environment of the equipment, so that the waste and redundancy of the cable are reduced, and the resource utilization efficiency is also improved; meanwhile, as the wiring efficiency and accuracy are improved, the production cost and the maintenance cost are also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of three-dimensional cables, and in particular relates to a three-dimensional cable model and a generation method thereof. Background Art

[0002] With the continuous development of aviation, automobile and other transportation technologies, electromechanical systems have become more and more complex, the degree of system integration has become higher and higher, the internal wiring space of the product is small, and the number of connectors is large. Modern aircraft and automobiles are full of intricate cables, which carry the transmission tasks of power, signals and data and are the key to maintaining the normal operation of the vehicle. However, traditional manual wiring methods have been unable to meet the needs of such complexity. It is not only time-consuming and labor-intensive, but also prone to errors, which increases the difficulty of subsequent maintenance and troubleshooting. Summary of the invention

[0003] In order to solve the above problems, the present invention proposes a three-dimensional cable model and a generation method thereof. The present invention provides more flexibility and space for cable layout by introducing the third dimension.

[0004] The three-dimensional cable model of the present invention comprises:

[0005] The cable protection layer model and the conductor model, the conductor model is one or more, the cable protection layer model is dynamically generated according to the cable data, and the conductor model is dynamically generated according to the conductor data.

[0006] The cable data includes cable centerline data, cable protection layer data and cable joint data; a cable includes multiple conductors, and the conductor data includes conductor centerline data, conductor cross-section data and conductor protection layer data;

[0007] The cable connector data includes the start connector data and the end connector data;

[0008] The start joint data and the end joint data both include the start point data and the end point data, and the end point is the end connected to the wire.

[0009] The method for generating a three-dimensional cable model of the present invention, wherein the three-dimensional cable is the three-dimensional cable model of the present invention, comprises the following steps:

[0010] S1. Calculate the conductor centerline data based on the cable joint data and the cable centerline data;

[0011] S2. Generate a corresponding wire model according to the wire centerline data;

[0012] S3. Generate a cable protective layer model according to the cable joint data and the cable centerline data.

[0013] The specific calculation steps of the conductor centerline data in S1 include:

[0014] S11. Calculate the minimum square of the cross section of the cable joint according to the number of cable joints, and formulate the cable joint sequence and its index number;

[0015] S12. Calculate the layer number of the cable connector cross section where the wire connected to the interface is located according to the index number in the cable connector sequence;

[0016] S13. Calculate the wire offset distance according to the layer number where the cable connector is located;

[0017] The offset distance of the conductor is = (radius of the conductor + thickness of the conductor protection layer) * (number of layers where the conductor is located - 1); S14. Calculate the offset of the conductor according to the number of layers where the cable connector is located;

[0018] The offset of the conductor = [cos (offset angle) * offset distance, sin (offset angle) * offset distance, 0]; S15. Calculate the position of the center line of each conductor based on the offset of the conductor.

[0019] The generation step of the wire model in S2 includes:

[0020] S21. Line core model generation;

[0021] S22. Generation of conductor protection layer model.

[0022] The S21 core model generation specifically includes the following steps:

[0023] S211. Calculate the wire core cross section at multiple segmented locations of the wire according to the wire centerline and the wire core radius;

[0024] S212. Draw the first and last two core cross-section models of the core model according to the first and last two core cross-section data of the conductor;

[0025] S213. Draw the core surface model of each segment of the conductor.

[0026] The S22 conductor protection layer model generation includes the outer surface of the protection layer and the protection layer cross section. The specific steps of generating the protection layer cross section include:

[0027] S221. Determine the outer radius of the protective layer and the core radius;

[0028] Core radius = conductor cross-sectional area / square root of π;

[0029] The outer radius of the protective layer = the radius of the wire core + the thickness of the protective layer;

[0030] S222. Draw the protective layer cross section based on the protective layer thickness, protective layer outer radius and wire core radius.

[0031] The method for generating the outer surface of the protective layer includes: a method for generating the outer protective layer surface and a method for generating the front and rear cross-sections of the outer protective layer, wherein the method for generating the outer protective layer surface includes the following steps:

[0032] T1. On the XOY plane, with the origin as the center and the outer radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PV on the ring;

[0033] T2. Calculate the path set of circular points corresponding to the starting point of the line core;

[0034] d) The starting point of the conductor centerline is P1, the second point is P2, and the direction V = P2-P1;

[0035] e) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0036] f) The circle vertex set corresponding to the starting point of the line core = the coordinates of the starting point of the line core + the vertex set of the XOY plane * mat;

[0037] T3. Calculate the circular point path set corresponding to other points of the line core except the starting point and the ending point;

[0038] d) Calculate the direction of plane D at the Nth point, V n =P n-1 -P n , V n+1 =P n -P n+1 , V = V n +V n+1 ;

[0039] e) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0040] f) The corresponding circle vertex set = line core fixed point coordinates + XOY plane vertex set * mat;

[0041] T4. Calculate the circular point path set corresponding to the end point of the line core;

[0042] d) Calculate the direction of the plane D of the end point, V s =P s-1 -P s ;

[0043] e) Transform the vertices of the circle from the XOY plane to the direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0044] f) The circle vertex set corresponding to the end point of the line core = the coordinates of the end point of the line core + the vertex set of the XOY plane * mat;

[0045] T5. Draw the surface model of the protective layer;

[0046] c) Draw the surface model between the starting point of the line core and the second point:

[0047] The points on the starting point circle and the second point circle are the vertex sets of the circles, V and e respectively;

[0048] d) The drawing order of the surface model is (v1,v2,e1), (v2,e2,e1), (v2,v3,e2)… until the last vertex is drawn.

[0049] The specific steps of the cable protection layer model in S3 include:

[0050] S301. Calculate the minimum square of the cross section of the cable joint according to the number of cable joints, and calculate the circumscribed circle radius of the minimum square as the inner radius of the cable;

[0051] S302. Calculate the outer radius of the cable based on the inner radius of the cable and the thickness of the cable protective layer;

[0052] S303. Generate a surface model of the cable according to the cable centerline and the cable outer radius;

[0053] S304. Generate a cable protective layer cross-section model according to the cable inner radius and the cable outer radius.

[0054] The beneficial effects of the present invention are:

[0055] 1. The 3D cable model can dynamically and real-time arrange 3D cables according to the connection requirements of the equipment and the wiring environment, which not only reduces the waste and redundancy of cables, but also improves the efficiency of resource utilization. At the same time, due to the improvement of wiring efficiency and accuracy, it also reduces production costs and maintenance costs.

[0056] 2. The 3D cable model can generate an intuitive 3D wiring model, including cable length, diameter, bending radius and other parameters, which is convenient for managers to visually manage cables. Through the 3D model, the routing path, connection relationship and spatial layout of cables in complex spaces can be intuitively displayed, which facilitates cable maintenance and management and helps designers better adapt to complex assembly requirements.

[0057] 3. The 3D cable model can perform mechanical analysis and electromagnetic compatibility analysis on the cable to ensure that the cable layout meets relevant standards and requirements; the 3D cable design technology can automatically optimize the cable path based on the algorithm, reduce the length and intersection of the cable, and reduce the risk of electromagnetic interference and signal attenuation. This technology not only improves the efficiency and accuracy of cable layout, but also promotes the intelligent and automated development of the manufacturing industry.

[0058] 4. 3D cable design technology promotes the application of modular and standardized design. By dividing the cable layout into different modules and hierarchical structures, module replacement and upgrading can be easily performed. At the same time, standardized design makes the cable layout of different models or models universal and interchangeable, reducing manufacturing costs and maintenance difficulties. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a schematic diagram of the cable structure of the present invention.

[0060] Figure 2 It is a schematic diagram of the conductors in the cable of the present invention.

[0061] Figure 3 It is a schematic diagram of the conductor structure of the present invention.

[0062] Figure 4 It is a layout diagram of index numbers in the cable connector of the present invention.

[0063] Figure 5 It is a diagram of the offset angle of the wires in the cable connector of the present invention.

[0064] Figure 6 It is a schematic diagram of the cross-section of the wire core of the present invention.

[0065] Figure 7 It is a wire core surface model and a protective layer surface model diagram of the present invention.

[0066] Figure 8 2 is a cross-sectional view of the wire protection layer of the present invention.

[0067] Fig. 9 It is a front and back cross-sectional view of the outer protective layer of the present invention. DETAILED DESCRIPTION

[0068] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to be used to explain the present invention, but should not be understood as limiting the present invention.

[0069] like Figure 1-Figure 3 As shown, the three-dimensional cable model of the present invention includes a cable protection layer model and a wire model. There are one or more wire models, and different types of cable models contain different numbers of wire models.

[0070] The cable protection layer model is dynamically generated based on the cable data, and the wire model is dynamically generated based on the wire data.

[0071] Cable data includes cable centerline data, cable protective layer data and cable joint data.

[0072] A cable includes multiple wires, and the cable joints are the parts at both ends of the wires; the wire data includes wire centerline data, wire cross-section data and wire protective layer data.

[0073] The cable joint data includes the start joint data and the end joint data. The start joint data and the end joint data refer to the data at both ends of the cable.

[0074] The start joint data and the end joint data both include the start point data and the end point data, and the end point is the end connected to the wire.

[0075] Specifically, each conductor is divided into three parts, namely, the starting joint, the cable conductor part and the ending joint;

[0076] There are two data on the starting joint and the ending joint, namely the starting point and the end point, where the end point is connected to the center line of the cable conductor;

[0077] The cable conductors are from left to right: starting point of the starting joint, end point of the starting joint, center line of the cable conductor, end point of the ending joint, and starting point of the ending joint;

[0078] like Figure 2 As shown: the red part of the cable is the center line of the cable conductor; the black line segment on the left side of the red part is the starting joint, and the black line segment on the right side is the ending joint; the point in the joint connected to the red wire is the end point of the joint, and the other end is the starting point.

[0079] The method for generating a three-dimensional cable model of the present invention comprises the following steps:

[0080] S1. Calculate the conductor centerline data based on the cable joint data and the cable centerline data;

[0081] S2. Generate a corresponding wire model according to the wire centerline data;

[0082] S3. Generate a cable protective layer model according to the cable joint data and the cable centerline data.

[0083] S1. The specific calculation steps of the conductor centerline data include:

[0084] S11. Calculate the minimum square of the cross section of the cable joint according to the number of cable joints, and formulate the cable joint sequence and its index number;

[0085] Calculate the distance between the end point data of the starting joint in each cable joint and the midpoint of the cable centerline, and sort the cable joints in ascending order according to the distance from the midpoint of the cable centerline. The position of each cable joint after sorting is the index number of each cable joint, and the index number starts from position 1.

[0086] like Figure 4 As shown: when the number of cable connectors is one, the size of the smallest square cross-section is 1; when the number of cable connectors is 2-9, the cross-section of the smallest square of the cable connector cross-section is 9, and the corresponding cable connector index numbers are 2-9; when the number of cable connectors is 10-25, the cross-section size of the smallest square of the cable connector cross-section is 25, and the cable connector index numbers are 10-25, and so on.

[0087] S12. Calculate the cross-sectional layer number of the cable where the wire connected to the interface is located according to the index number in the cable connector sequence;

[0088] S121. Calculate the number of layers of cable connectors in the cable;

[0089] a) Calculate the number of roots that can be accommodated by the total number of layers, that is, one layer can accommodate one root, two layers can accommodate 9 roots, and three layers can accommodate 25 roots, that is, the total number of layers can accommodate the number of roots = (number of layers * 2-1) * (number of layers * 2-1)

[0090] b) Calculate the minimum number of layers based on the index number of the cable joint and the number of cables that can be accommodated; the number of layers corresponding to the minimum number of cables that the index number of the cable joint is less than is the minimum number of cables that can be accommodated;

[0091] c) The minimum number of layers is the layer where the cable connector is located.

[0092] S122. Calculate the maximum number of wires that can be accommodated in the current layer according to the layer number of the cable connector; the calculation method is as follows:

[0093] a) If the number of layers is 1, the maximum number of roots that can be accommodated is 1;

[0094] b) If the current number of layers is greater than 1, the maximum number of roots that can be accommodated in the current layer = (number of layers - 1) * 2 * 4

[0095] The current layer refers to a certain layer, not all layers.

[0096] S13. Calculate the wire offset distance according to the layer number of the cable joint;

[0097] The offset distance of the conductor is = (radius of the conductor + thickness of the conductor protection layer) * (number of layers where the conductor is located - 1); S14. Calculate the offset of the conductor according to the number of layers where the cable connector is located;

[0098] a) If the cable connector index is 1, the wire offset direction is (0,0);

[0099] b) Wire offset index number = wire index number - [(wire layer number - 1) * 2 - 1] * [(wire layer number - 1) * 2 - 1]

[0100] c) The offset angle of the wire = 360.0 / the maximum number of wires in the current layer*(offset index number-1), such as Figure 5 shown.

[0101] d) The offset distance of the conductor is = (radius of the conductor + thickness of the conductor protection layer) * (number of layers where the conductor is located - 1);

[0102] e) Wire offset = [cos(offset angle)*offset distance, sin(angle)*offset distance, 0].

[0103] S15. Calculate the position of the center line of each conductor based on the conductor offset.

[0104] S151. Calculate the starting point of the conductor centerline;

[0105] a) The starting point of the cable centerline is P1, the second point is P2, and the direction V = P2-P1;

[0106] b) Transform the wire offset from the XOY plane to the plane of direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0107] c) Starting point position P1 of the wire center point / =P1+wire offset*mat;

[0108] d) Keep P1 / is the previous calculation point T;

[0109] S152. Calculate the position of the points on the center line of the conductor except the starting point and the end point;

[0110] a) Calculate the direction of plane D at the Nth point, V n =P n-1 -P n , V n+1 =P n -P n+1 , V = V n +V n+1 ;

[0111] b) Calculate the value from point T as the starting point and -V n The intersection point I of the ray with the direction and the plane D is the position of the Nth point of the center line;

[0112] c) Update vertex I to vertex T;

[0113] S153. Calculate the position of the end point of the wire centerline;

[0114] a) Calculate the direction of the plane D of the end point, V s =P s-1 -P s ;

[0115] b) Calculate the value from point T to -V s The intersection point I of the ray with the direction is the midpoint of the center line.

[0116] The generation step of the wire model in S2 includes:

[0117] S21. Line core model generation;

[0118] S211. Calculate the wire core cross section at multiple segmented locations of the wire based on the wire centerline and wire core radius, such as Figure 6 As shown;

[0119] S212. Draw the first and last two core cross-section models of the core model according to the first and last two core cross-section data of the conductor;

[0120] S213. Draw the core surface model of each segment of the conductor. The specific drawing process is as follows:

[0121] T1. On the XOY plane, with the origin as the center and the line core radius as the radius of the circle, interpolate and calculate the vertex set PV on the ring;

[0122] T2. Calculate the path set of circular points corresponding to the starting point of the line core;

[0123] a) The starting point of the wire centerline is P1, the second point is P2, and the direction V = P2-P1;

[0124] b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0125] c) The circle vertex set corresponding to the starting point of the line core = the coordinates of the starting point of the line core + the vertex set of the XOY plane * mat;

[0126] T3. Calculate the circular point path set corresponding to other points of the line core except the starting point and the ending point;

[0127] a) Calculate the direction of plane D at the Nth point, V n =P n-1 -P n , V n+1 =P n -P n+1, V = V n +V n+1 ;

[0128] b) Transform the vertices of the circle on the XOY plane to the plane in direction V. The transformation matrix mat =

[0129] Rotate from the Z axis to the V direction;

[0130] c) The corresponding circle vertex set = line core fixed point coordinates + XOY plane vertex set * mat;

[0131] T4. Calculate the circular point path set corresponding to the end point of the line core;

[0132] a) Calculate the direction of the plane D of the end point, V s =P s-1 -P s ;

[0133] b) Transform the vertices of the circle from the XOY plane to the direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0134] c) The circle vertex set corresponding to the end point of the line core = the coordinates of the end point of the line core + the vertex set of the XOY plane * mat;

[0135] T5. Draw the core surface model;

[0136] d) Draw the surface model between the starting point of the line core and the second point, such as Figure 7 As shown:

[0137] The red circle on the left is the starting point circle, the red circle on the right is the second point circle, and the points above are the vertex sets of the circles, which are V and e respectively;

[0138] e) The drawing order of the surface model is (v1,v2,e1), (v2,e2,e1), (v2,v3,e2)…, guiding the drawing to the last fixed point.

[0139] S22. Method for generating a conductor protection layer model.

[0140] The conductor protection layer model includes the outer surface of the protection layer and the cross section of the protection layer;

[0141] 1. The specific steps of generating the cross section of the protective layer include:

[0142] S221. Determine the outer radius of the protective layer and the core radius;

[0143] Given a known conductor cross section, the core radius = conductor cross-sectional area / square root of π;

[0144] If the thickness of the protective layer is known, the outer radius of the protective layer = the radius of the wire core + the thickness of the protective layer;

[0145] S222. Draw the cross section of the protective layer according to the protective layer thickness, protective layer outer radius and wire core radius, such as Figure 8 shown.

[0146] 2. The outer surface generation method of the protective layer is similar to that of the wire core. The outer surface generation method of the protective layer includes: an outer protective layer surface generation method and an outer protective layer front and rear cross-section generation method.

[0147] A. The method for generating the outer protective layer surface comprises the following steps:

[0148] T1. On the XOY plane, with the origin as the center and the outer radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PV on the ring;

[0149] T2. Calculate the path set of circular points corresponding to the starting point of the line core;

[0150] a) The starting point of the wire centerline is P1, the second point is P2, and the direction V = P2-P1;

[0151] b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0152] c) The circle vertex set corresponding to the starting point of the line core = the coordinates of the starting point of the line core + the vertex set of the XOY plane * mat;

[0153] T3. Calculate the circular point path set corresponding to other points of the line core except the starting point and the ending point;

[0154] a) Calculate the direction of plane D at the Nth point, V n =P n-1 -P n , V n+1 =P n -P n+1 , V = V n +V n+1 ;

[0155] b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0156] c) The corresponding circle vertex set = line core fixed point coordinates + XOY plane vertex set * mat;

[0157] T4. Calculate the circular point path set corresponding to the end point of the line core;

[0158] a) Calculate the direction of the plane D of the end point, V s =Ps-1 -P s ;

[0159] b) Transform the vertices of the circle from the XOY plane to the direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0160] c) The circle vertex set corresponding to the end point of the line core = the coordinates of the end point of the line core + the vertex set of the XOY plane * mat;

[0161] T5. Draw the surface model of the outer protective layer;

[0162] a) Draw the surface model between the starting point of the line core and the second point, such as Figure 7 As shown:

[0163] The red circle on the left is the starting point circle, the red circle on the right is the second point circle, and the points above are the vertex sets of the circles, which are V and e respectively;

[0164] b) The drawing order of the surface model is (v1,v2,e1), (v2,e2,e1), (v2,v3,e2)… until the last vertex is drawn.

[0165] B. Method for generating front and rear cross sections of the outer protective layer;

[0166] T1. On the XOY plane, with the origin as the center and the outer radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PO on the ring; with the inner radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PI on the ring;

[0167] T2. Calculate and draw the cross section of the starting point;

[0168] a) The starting point of the wire centerline is P1, the second point is P2, and the direction V = P2-P1;

[0169] b) Transform PO on the XOY plane to the plane in direction V, the transformation matrix mat = rotate from the Z axis to the V direction;

[0170] c) offset the transformed vertex set to the position of vertex P1, and the transformed vertex set is VT;

[0171] d) Transform the PI on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0172] e) offset the transformed vertex set to the position of vertex P1, and the transformed vertex set is ET;

[0173] f) The drawing order of the surface model is (e1, v1, v2), (e2, e1, v2), (e3, e2, v2) ... until the last vertex is drawn, such as Fig. 9 As shown;

[0174] T3. Calculate and draw the cross section of the end point

[0175] a) Calculate the direction of the plane D of the end point, V s =P s-1 -P s ;

[0176] b) will transform from PO on the XOY plane to direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0177] c) Offset the transformed vertex set to vertex P s The position of, the transformed set is VT;

[0178] d) Transform from PI on the XOY plane to direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0179] e) offset the transformed vertex set to the position of vertex Ps, and the transformed vertex set is ET;

[0180] f) The drawing order of the surface model is (e1, v1, v2), (e2, e1, v2), (e3, e2, v2) ... until the last vertex is drawn, such as Fig. 9 shown.

[0181] S3. The specific steps of generating a cable protection layer model according to the cable joint data and the cable centerline data include:

[0182] S301. Calculate the minimum square of the cross section of the cable joint according to the number of cable joints, and calculate the circumscribed circle radius of the minimum square as the inner radius of the cable;

[0183] S302. Calculate the outer radius of the cable according to the inner radius of the cable and the thickness of the cable protective layer: the outer radius of the cable is equal to the inner radius of the cable + the thickness of the cable protective layer;

[0184] S303. Generate a surface model of the cable according to the cable centerline and the cable outer radius;

[0185] T1. On the XOY plane, with the origin as the center and the outer radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PV on the ring;

[0186] T2. Calculate the circular point path set corresponding to the starting point of the cable centerline;

[0187] a) The starting point of the cable centerline is P1, the second point is P2, and the direction V = P2-P1;

[0188] b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0189] c) The circle vertex set corresponding to the cable starting point = cable starting point coordinates + XOY plane vertex set * mat;

[0190] T3. Calculate the circular point path set corresponding to other points of the cable except the starting point and the ending point;

[0191] a) Calculate the direction of plane D at the Nth point, V n =P n-1 -P n , V n+1 =P n -P n+1 , V = V n +V n+1 ;

[0192] b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction;

[0193] c) The corresponding circle vertex set = cable vertex coordinates + XOY plane vertex set * mat;

[0194] T4. Calculate the circular point path set corresponding to the cable end point;

[0195] a) Calculate the direction of the plane D of the end point, V s =P s-1 -P s ;

[0196] b) Transform the vertices of the circle from the XOY plane to the direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0197] c) The circle vertex set corresponding to the cable end point = cable end point coordinates + XOY plane vertex set * mat;

[0198] T5. Draw the surface model of the cable protective layer;

[0199] a) Draw a surface model between the cable start point and the second point, such as Figure 7 As shown:

[0200] The red circle on the left is the starting point circle, the red circle on the right is the second point circle, and the points above are the vertex sets of the circles, which are V and e respectively;

[0201] b) The drawing order of the surface model is (v1, v2, e1), (v2, e2, e1), (v2, v3, e2) ... until the last vertex is drawn, such as Fig. 9 shown.

[0202] S304. Generate a cable protective layer cross-section model according to the cable inner radius and the cable outer radius.

[0203] T1. On the XOY plane, with the origin as the center and the outer radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PO on the ring; with the inner radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PI on the ring;

[0204] T2. Calculate and draw the cross section of the starting point

[0205] a) The starting point of the cable centerline is P1, the second point is P2, and the direction V = P2-P1;

[0206] b) Transform PO on the XOY plane to the plane in direction V, the transformation matrix mat = rotate from the Z axis to the V direction;

[0207] c) offset the transformed vertex set to the position of vertex P1, and the transformed vertex set is VT;

[0208] d) Transform the PI on the XOY plane to the plane in the direction V, the transformation matrix mat = rotate from the Z axis to the V direction;

[0209] e) offset the transformed vertex set to the position of vertex P1, and the transformed vertex set is ET;

[0210] f) The drawing order of the face model is (e1, v1, v2), (e2, e1, v2), (e3, e2, v2) ... until the last vertex is drawn, such as Fig. 9 As shown;

[0211] T3. Calculate and draw the cross section of the end point;

[0212] a) Calculate the direction of the plane D of the end point, V s =P s-1 -P s ;

[0213] b) will transform from PO on the XOY plane to direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0214] c) Offset the transformed vertex set to vertex P s The position of, the transformed set is VT;

[0215] d) Transform from PI on the XOY plane to direction V s On the plane, the transformation matrix mat = rotation from the Z axis to V s direction;

[0216] e) Offset the transformed vertex set to vertex P s The position of, the transformed set is ET;

[0217] f) The drawing order of the surface model is (e1, v1, v2), (e2, e1, v2), (e3, e2, v2) ... until the last vertex is drawn, such as Fig. 9 shown.

[0218] After the conductor model and the cable protection layer model are generated, a three-dimensional cable model is formed.

[0219] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0220] In addition, in the description of the present invention, “plurality” means at least two, for example, two, three, etc., unless otherwise clearly and specifically defined.

[0221] In the present invention, the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0222] Although the above embodiments have been shown and described, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations on the present invention. Changes, modifications, substitutions and variations of the above embodiments by those of ordinary skill in the art are all within the scope of protection of the present invention.

Claims

1. A three-dimensional cable model, characterized in that: include: The cable protection layer model and the conductor model, the conductor model is one or more, the cable protection layer model is dynamically generated according to the cable data, and the conductor model is dynamically generated according to the conductor data.

2. The three-dimensional cable model according to claim 1, characterized in that: The cable data includes cable centerline data, cable protection layer data and cable joint data; A cable includes a plurality of conductors, and the conductor data includes conductor centerline data, conductor cross-section data, and conductor protection layer data; The cable connector data includes the start connector data and the end connector data; The start joint data and the end joint data both include the start point data and the end point data, and the end point is the end connected to the wire.

3. A method for generating a three-dimensional cable model, wherein the three-dimensional cable is the three-dimensional cable model according to claim 2, characterized in that: The following steps are involved: S1. Calculate the conductor centerline data based on the cable joint data and the cable centerline data; S2. Generate a corresponding wire model according to the wire centerline data; S3. Generate a cable protective layer model according to the cable joint data and the cable centerline data.

4. The method for generating a three-dimensional cable model according to claim 3, characterized in that: The specific calculation steps of the conductor centerline data in S1 include: S11. Calculate the minimum square of the cross section of the cable joint according to the number of cable joints, and formulate the cable joint sequence and its index number; S12. Calculate the layer number of the cable connector cross section where the wire connected to the interface is located according to the index number in the cable connector sequence; S13. Calculate the wire offset distance according to the layer number where the cable connector is located; The offset distance of the conductor is = (radius of the conductor + thickness of the conductor protection layer) * (number of layers where the conductor is located - 1); S14. Calculate the offset of the wire according to the layer number of the cable connector; Wire offset = [cos(offset angle)*offset distance, sin(offset angle)*offset distance, 0]; S15. Calculate the position of the center line of each conductor based on the conductor offset.

5. The method for generating a three-dimensional cable model according to claim 3, characterized in that: The generation step of the wire model in S2 includes: S21. Line core model generation; S22. Generation of conductor protection layer model.

6. The method for generating a three-dimensional cable model according to claim 5, characterized in that: The S21 core model generation specifically includes the following steps: S211. Calculate the wire core cross section at multiple segmented locations of the wire according to the wire centerline and the wire core radius; S212. Draw the first and last two core cross-section models of the core model according to the first and last two core cross-section data of the conductor; S213. Draw the core surface model of each segment of the conductor.

7. The method for generating a three-dimensional cable model according to claim 5, characterized in that: The S22 conductor protection layer model generation includes the outer surface of the protection layer and the protection layer cross section. The specific steps of generating the protection layer cross section include: S221. Determine the outer radius of the protective layer and the core radius; Core radius = square root of (conductor cross-sectional area / π); The outer radius of the protective layer = the radius of the wire core + the thickness of the protective layer; S222. Draw the protective layer cross section based on the protective layer thickness, protective layer outer radius and wire core radius.

8. The method for generating a three-dimensional cable model according to claim 7, characterized in that: The method for generating the outer surface of the protective layer includes: a method for generating the outer protective layer surface and a method for generating the front and rear cross-sections of the outer protective layer, wherein the method for generating the outer protective layer surface includes the following steps: T1. On the XOY plane, with the origin as the center and the outer radius of the protection layer as the radius of the circle, interpolate and calculate the vertex set PV on the ring; T2. Calculate the path set of circular points corresponding to the starting point of the line core; a) The starting point of the wire centerline is P1, the second point is P2, and the direction V = P2-P1; b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction; c) The circle vertex set corresponding to the starting point of the line core = the coordinates of the starting point of the line core + the vertex set of the XOY plane * mat; T3. Calculate the circular point path set corresponding to other points of the line core except the starting point and the ending point; a) Calculate the direction of plane D of the Nth point, Vn = Pn-1-Pn, Vn+1 = Pn-Pn+1, V = Vn+Vn+1; b) Transform the vertices of the circle on the XOY plane to the plane in the direction V, the transformation matrix mat = rotation from the Z axis to the V direction; c) The corresponding circle vertex set = line core fixed point coordinates + XOY plane vertex set * mat; T4. Calculate the circular point path set corresponding to the end point of the line core; a) Calculate the direction of the plane D of the end point, Vs = Ps-1-Ps; b) Transform the vertices of the circle on the XOY plane to the plane in the direction Vs, the transformation matrix mat = rotation from the Z axis to the Vs direction; c) The circle vertex set corresponding to the end point of the line core = the coordinates of the end point of the line core + the vertex set of the XOY plane * mat; T5. Draw the surface model of the protective layer; a) Draw the surface model between the starting point of the line core and the second point: The points on the starting point circle and the second point circle are the vertex sets of the circles, V and e respectively; b) The drawing order of the surface model is (v1,v2,e1), (v2,e2,e1), (v2,v3,e2)… until the last vertex is drawn.

9. The method for generating a three-dimensional cable model according to claim 3, characterized in that: The specific steps of the cable protection layer model in S3 include: S301. Calculate the minimum square of the cross section of the cable joint according to the number of cable joints, and calculate the circumscribed circle radius of the minimum square as the inner radius of the cable; S302. Calculate the outer radius of the cable based on the inner radius of the cable and the thickness of the cable protective layer; S303. Generate a surface model of the cable according to the cable centerline and the cable outer radius; S304. Generate a cable protective layer cross-section model according to the cable inner radius and the cable outer radius.