Cable digital expression method and system and medium
By constructing a topology data model and geometric structure model of cables, and combining it with user interaction, the problems of fragmented information and difficult data interaction in cable design are solved. This enables information integration in cable layout design and output of process information, supporting the design and manufacturing of complex cables.
Patent Information
- Application Number
- CN202511087944.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-05
- Publication Date
- 2025-11-18
AI Technical Summary
The cable design and manufacturing process suffers from fragmented wiring information, incomplete engineering information, and missing process information. In particular, data exchange between different software platforms is difficult, and there is a lack of unified data formats and interfaces, which leads to a disconnect between design and manufacturing.
By employing a digital representation method for cables, a virtual entity model is generated by constructing a topological data model and a geometric structure model of the cables. Combined with user interaction, this enables 3D visualization and information integration of the cables, and establishes a cable material library to store and retrieve relevant information.
It achieves information integration for cable layout design, solves the problems of scattered wiring information and incomplete engineering information, provides a unified data format and interface, supports complex cable layout design and manufacturing, and outputs the required engineering process information.
Smart Images

Figure CN120974737A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of cable digitization. In particular, it relates to a cable digitization expression method, system and medium. BACKGROUND
[0002] With the increasing complexity of modern electromechanical products, cables, as key transmission media and connecting components in electrical systems, have a crucial impact on the overall product reliability in terms of design and manufacturing.
[0003] In current engineering practice, cable design and manufacturing still face many problems. First, in terms of software platform interaction, due to the lack of unified data formats and interfaces, data exchange between different software platforms is difficult, leading to a disconnect between design and manufacturing. Second, from the perspective of digital design, current cable design and assembly methods are outdated and lack effective digital tool support. How to improve the scattered wiring information, incomplete part of engineering information, and missing process information in the cable layout design process is a problem that needs to be solved. SUMMARY
[0004] The present application provides a cable digitization expression method, system and medium to solve the problem of scattered wiring information, incomplete part of engineering information, and missing process information in the cable layout design process.
[0005] To achieve the above-mentioned purpose, in a first aspect, the present application relates to a cable digitization expression method, comprising: obtaining basic elements of a cable and basic information of the cable from an actual cable entity, constructing an undirected graph based on the inclusion relationship between the basic elements of the cable to establish a topological data model of the cable, and establishing a geometric structure model of the cable based on the cable entity, wherein the basic information of the cable includes cable radius, electrical information, material information, and connector information; the geometric structure model of the cable is generated by determining the structure and direction of the cable through point selection of path points; establishing a virtual entity model of the cable in combination with the topological data model and the geometric structure model, wherein the virtual entity model is a three-dimensional visual digital model of the cable and cable elements; obtaining interactive operation instructions of a user on a specific position of the virtual entity model, adjusting the pose of the virtual entity model, and updating the adjusted pose information back to the virtual entity model.
[0006] Preferably, the topological data model of the cable is constructed based on the inclusion relationship between the basic elements of the cable, specifically: determining the subordinate relationship of the basic elements; constructing an undirected graph of element connection and storing it in an adjacency list to realize fast path search between two points of the cable; Correlate the basic elements with corresponding electrical information, material information and joint information, and express the cable data completely by extracting specific elements or specific element sets.
[0007] Preferably, the geometric model of the cable is established, specifically: The geometric shape of the cable is described by the movement and rotation of the center line and the cross section along the center line. The geometric shape of the cable is quantitatively described by using computer curve modeling method, wherein the center line of the cable is constructed by using interpolation spline curve or approximation spline curve.
[0008] Preferably, the basic elements of the cable are obtained from the cable entity, specifically: the key points, intermediate path points and cable segments of three levels of basic elements are obtained from the cable entity structure, wherein the key points are points formed by discretizing the cable entity and located at the end of the branch; there are two types of key points: cable end point and cable branch point; the path points are selected according to the general spatial trend of the cable to control the geometric shape of the cable; the cable segment is the cable between two adjacent key points, which includes a series of ordered key points composed of adjacent necessary key points and interpolation points.
[0009] Preferably, the discrete points of the cable topology data are fitted and interpolated by using B-spline interpolation curve, and the positions of the points and the attitudes of the cross sections are described by combining arc coordinate s, world coordinate system and local coordinate system.
[0010] Preferably, after obtaining the basic elements of the cable and the basic information of the cable from the cable entity, the method further comprises: defining the basic information of the cable in the cable material library, and associating the obtained basic elements of the cable and the basic information of the cable to the cable material library, wherein the cable material library stores cable part models, and the cable material library at least stores cables, electrical connectors and clamps.
[0011] Preferably, the interactive operation instruction of the user on the specific position of the virtual entity model comprises: point selection of the path point and adjustment of the control point. The point selection of the path point is: a complete cable path is automatically generated by selecting multiple path points on the surface of the cable part at a time by using the wiring mode of continuously selecting control points; the adjustment of the control point comprises: pose adjustment, addition or deletion of the control point, and the pose adjustment is divided into two types: dragging the control point and rotating the control point.
[0012] Preferably, it further comprises: as the information of the virtual entity model is updated, the basic information, geometric information and mechanical information of the cable material in the cable material library are synchronously updated; and / or The virtual entity model is modified by modifying the information in the cable material library.
[0013] To achieve the above object, the second aspect of the present application relates to a cable digital expression system, comprising: a topological data and geometric structure model establishing module, used for obtaining basic elements and basic information of a cable from a cable entity, and constructing an undirected graph according to the inclusion relationship between the basic elements of the cable to establish a topological data model of the cable; a geometric structure model of the cable is established based on the cable entity, wherein the basic information of the cable includes cable radius, electrical information, material information and joint information; the geometric structure model of the cable is generated by determining the structure and direction of the cable through point selection of path points; a virtual entity model establishing module, used for establishing a virtual entity model of the cable in combination with the topological data model and the geometric structure model, wherein the virtual entity model is a three-dimensional visual digital model of the cable and cable elements; an interactive operation module, used for obtaining interactive operation instructions of a user on a specific position of the virtual entity model, adjusting the pose of the virtual entity model, and updating the adjusted pose information back to the virtual entity model.
[0014] To achieve the above object, the third aspect of the present application also relates to a computer readable storage medium, which stores instructions, and the instructions execute the above-mentioned cable digital expression method when running.
[0015] The cable digital expression method, system and medium provided by the present application have the following beneficial effects compared with the prior art: the cable digital expression method can clearly and accurately express the structure of the cable, and can be applied to different scenes as a unified model, which can meet the needs of wiring information, especially wire harness model information, in the current complex cable layout design process, such as complex topological structure and numerous branches. The model considers the integration of various types of cable information. In the design and new manufacturing process of complex cables, virtual wiring design of the cable can be carried out, and the required engineering process information can be output, which can solve the problems of scattered wiring information, incomplete part of engineering information and missing process information in the cable layout design process. The designed cable material library is used for storing and retrieving related information of the cable, and is linked with the cable layout. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 The flowchart of the cable digital expression method in embodiment one.
[0017] Figure 2 The construction flow of the digital expression model of the cable digital expression method in embodiment one.
[0018] Figure 3 The schematic diagram of the cable abstraction as basic elements in the cable digital expression method in embodiment one.
[0019] Figure 4 The topological information diagram of the cable basic element connection relationship expression of the cable digital expression method in embodiment one.
[0020] Figure 5 The undirected graph and adjacency table data diagram of the basic element connection relationship of the cable digital expression method in embodiment one.
[0021] Figure 6 The association diagram of the electrical connection information and the cable material information of the cable digital expression method in embodiment two.
[0022] Figure 7 The modification diagram of the cable in the virtual environment of the cable digital expression method in embodiment two.
[0023] Figure 8 The management interface of the cable material library of the cable digital expression method in embodiment two.
[0024] Figure 9 The interactive wiring result diagram of the instance of the cable digital expression method in embodiment two. Figure 10 The virtual form diagram of the final cable of the instance of the cable digital expression method in embodiment two.
[0025] Figure 11 The cable plane branch diagram of the instance of the cable digital expression method in embodiment two.
[0026] Figure 12 The detailed information diagram of a certain specification cable material of the instance of the cable digital expression method in embodiment two.
[0027] Figure 13 The structure diagram of the cable digital expression system in embodiment two. DETAILED DESCRIPTION
[0028] The application will be further described below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the application, but not to limit the application. In addition, it should be noted that, for the convenience of description, only the parts related to the application are shown in the drawings, but not all the structures. EMBODIMENT
[0029] A cable digital expression method, please refer to Figures 1-8 As shown in the figure, the cable digital expression method of the application comprises the following steps: S101 to S103.
[0030] S101obtains cable basic elements and cable basic information from a cable entity; constructs an undirected graph according to a containing relationship between the cable basic elements to establish a topological data model of the cable; and establishes a geometric structure model of the cable based on the cable entity, wherein the cable basic information includes cable radius, electrical information, material information and joint information; and the geometric structure model of the cable is generated by determining the structure and direction of the cable through point selection of path points.
[0031] Specifically, after obtaining the cable basic elements and the cable basic information from the cable entity, the method further includes defining the basic information of the cable in a cable material library, and associating the obtained cable basic elements and the cable basic information to the cable material library, wherein the cable material library stores cable part models, and the cable material library at least stores cables, electrical connectors and clamps.
[0032] The undirected graph is constructed according to the containing relationship between the cable basic elements to establish the topological data model of the cable, and additional electrical and material related information is added.
[0033] The cable material library has the functions of storing and managing cable parts, and when virtual wiring is performed, the user can directly call and use commonly used cable part models from the material library, which is the same as in actual engineering. The cable material library is embedded in the cable layout module, which facilitates the user to query or perform other operations on the cable material when laying the cable. The cable material library contains cables, electrical connectors and clamps, and the cable material library is embedded with data storage and data processing functions to perform data management operations such as query, addition, deletion and other management operations. Figure 8 The management interface of the cable material library.
[0034] To realize modeling of the cable digital expression model, the basic elements of the cable need to be abstracted from the actual cable body, and the topological structure information of the cable is expressed by establishing the relationship between the basic elements. Figure 3 A common cable part schematic diagram is shown. To simplify the cable topological information, other information such as joints, cable materials and geometric shapes is discarded in the research, and the cable structure is abstracted into three levels of basic elements: key points, intermediate path points and cable segments.
[0035] Key points: Key points are points formed by discretization of a cable entity, which are located at the end of a branch. There are two types of key points: cable end points and cable branch points.
[0036] Path points: Path points are selected according to the general spatial direction of the cable, which can control the geometric shape of the cable, and the path points are also one of the important parameters for forming the fitting curve of the cable.
[0037] Cable segment: A cable segment is a cable between two adjacent key points, which includes a series of ordered key points composed of adjacent necessary key points and interpolation points.
[0038] In which, the undirected graph is constructed according to the inclusion relationship between the cable basic elements to establish the topological data model of the cable, specifically: S111-S113.
[0039] S111 determines the affiliation relationship of the basic elements, and the affiliation relationship between the elements is as shown in Figure 4
[0040] S112 constructs the undirected graph of element connection, and stores it in an adjacency list to realize the fast path search between two points of the cable.
[0041] S113 associates electrical information, material information and joint information, and expresses the cable data through extracting specific elements or specific element sets.
[0042] Figure 5 The element connection relationship undirected graph of the cable parts and the corresponding adjacency list data are shown. Through the undirected graph and the adjacency list, information query is carried out by using algorithms, such as path search and shortest path between any two key points. The electrical connection information is used to express the electrical communication state of the cable, including electrical signal or current information, etc.; the cable material information expresses the type of the applied wire and cable. The association mode of the electrical information and the cable material information with the topological information is as shown in Figure 6 By setting an interface, the path is retrieved from the topological information, and the cable information and electrical information applied in the path are associated. The topological information model based on the undirected graph can not only meet the needs of cable virtual wiring design and assembly process simulation, but also provide the required process documents for the cable manufacturing department and the assembly department.
[0043] In which, the geometric structure model of the cable is established, specifically: The geometric shape of the cable is described by the movement and rotation of the center line and the cross section along the center line; The computer curve modeling method is used to realize the quantitative description of the geometric shape of the cable, in which, the center line of the cable is constructed by using interpolation spline curve or approximation spline curve.
[0044] Generally, the geometric characteristics of the cable are that the length is much larger than the diameter, and its shape is mainly determined by the center line. Therefore, it is assumed that the cross section of the cable is rigid and can only rotate. Based on this, the geometric shape of the cable can be described by the movement and rotation of the center line and the cross section along the center line. The computer curve modeling method can realize the quantitative description of the geometric shape of the cable. The center line of the cable is constructed by using interpolation spline curve or approximation spline curve, and the characteristics of the commonly used spline curve are shown in Table 1.
[0045] B-spline and NURBS curve are commonly used in virtual solid modeling and interactive design. In this paper, B-spline interpolation curve is selected to fit and interpolate the discrete points of cable topology data. It has the characteristics of C2 continuity and local control, and can be flexibly fitted or interpolated to avoid the shortcomings of NURBS curve.
[0046] Table 1 Common spline curve expression characteristics
[0047] S102: generating a virtual solid model according to the topology structure and geometric information of the cable in the cable digital expression model, wherein the virtual solid model is a three-dimensional visual digital model of the cable and cable elements.
[0048] S103: obtaining interactive operation instructions of the user on the virtual solid model, adjusting the pose of the virtual solid model, and updating the information back to the cable digital expression model.
[0049] When designing the cable layout, the main interactive operation on the virtual solid model is point selection of the path point and adjustment of the control point.
[0050] Using the continuous selection of control points, a complete cable path can be automatically generated by selecting multiple path points on the surface of the part at a time.
[0051] The adjustment of the control point includes the pose adjustment, addition and deletion of the control point. The pose adjustment is divided into two types: dragging the control point and rotating the control point. The dragging is mainly the adjustment of the position in the X, Y and Z directions of the coordinate system by selecting and moving the control point. The rotation is mainly the adjustment of the torsion angle of the section corresponding to the control point. The addition of the control point is when the cable pose needs to be finely controlled or the number of control points is too small to meet the wiring requirements. When designing the cable layout, there may be a situation of redundant control points, and the redundant control points need to be deleted.
[0052] In this embodiment, S104: as the information of the virtual solid model is updated, the basic information, geometric information and mechanical information of the cable material in the cable material library are synchronously updated; and / or The information in the cable material library is modified to modify the virtual solid model.
[0053] S104, S102 and S103 are synchronously executed, and there is no sequence relationship. The cable material library constructed contains the basic information, geometric information and mechanical information of the cable material, and can meet the mapping information of subsequent modeling work. By selecting any kind of wire from the cable material library list, the wire material information can be modified, the modified wire can be re-viewed, and the modified information can be correctly displayed.
[0054] In order to better illustrate the scheme of the present application, the following gives 1 example, as Figures 9-12 As shown, it includes the following steps: according to the cable digital expression model in the foregoing, a virtual layout design system of flexible cable in a virtual environment is developed, and an example verification is carried out. The structure part model is imported in the system, and wiring is carried out on the model. The wiring process corresponds to creating a new cable part, selecting cable path points and reasonably arranging the spatial trend and branches thereof, and then selecting a suitable electrical connector, to complete the cable layout example and output the corresponding cable information, and the example result is shown in Figs. 9-11.
[0055] Meanwhile, according to the test, it is found that the cable material library constructed contains basic information, geometric information and mechanical information of the cable material, and can meet the mapping information of subsequent modeling work. By selecting any kind of wire from the list, the wire material information can be modified, and the modified wire can be re-viewed, and the modified information can be correctly displayed. The new cable can be added; all the wires of the flexible cable material library can be accurately queried and deleted; in the subsequent flexible cable modeling process, the material information of all the wires of the flexible cable material library can be successfully selected, and the corresponding model can be correctly generated. As shown in Fig. 8, it is the detailed information of a certain specification material. Figure 12 Embodiment
[0056] A cable digital expression system, which is realized by electronic device hardware with a central processing unit, can be realized by personal computers, smart terminals, local area networks, servers, etc. In this embodiment, please refer to Fig. 6, which includes a topological data and geometric structure model establishing module 61, a virtual entity model establishing module 62 and an interactive operation module 63. Figure 13
[0057] The topological data and geometric structure model establishing module 61 is used to obtain the basic elements and basic information of the cable from the cable entity, and construct an undirected graph based on the inclusion relationship between the basic elements of the cable to establish a topological data model of the cable; and based on the cable entity, a geometric structure model of the cable is established, wherein the basic information of the cable includes cable radius, electrical information, material information and connector information; and the geometric structure model of the cable is generated by determining the structure and trend of the cable through point selection of the path points; The virtual entity model establishing module 62 is used to establish a virtual entity model of the cable in combination with the topological data model and the geometric structure model, wherein the virtual entity model is a three-dimensional visual digital model of the cable and cable elements; The interactive operation module 63 is used to obtain interactive operation instructions of a specific position of the virtual entity model by a user, to adjust the pose of the virtual entity model, and to update the adjusted pose information back to the virtual entity model.
[0058] The cable digital expression system of the embodiment has the same implementation process, method and effect as the cable digital expression method of the first embodiment, and thus will not be described here. Embodiment
[0059] The present application relates to a computer readable storage medium, the storage medium has instructions stored therein, the instructions execute the cable digital expression method of the first embodiment when executed, and the implementation process, method and effect thereof are the same as those of the cable digital expression method of the first embodiment, and thus will not be described here.
[0060] It should be noted that in this document, the terms "comprising", "including", or any other variant thereof are intended to cover non-exclusive inclusions, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0061] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation using the content of the present application specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for digitally representing cables, characterized in that, include: The basic elements and information of the cable are obtained from the actual cable entity. An undirected graph is constructed based on the inclusion relationship between the basic elements to establish the topological data model of the cable. The geometric structure model of the cable is established based on the cable entity. The basic information of the cable includes the cable radius, electrical information, material information and connector information. The geometric structure model of the cable is generated by determining the structure and direction of the cable by selecting path points. A virtual entity model of the cable is established by combining the topology data model and the geometric structure model, wherein the virtual entity model is a three-dimensional visual digital model of the cable and cable components; The system obtains interactive operation commands from the user for a specific position of the virtual entity model, adjusts the pose of the virtual entity model, and updates the adjusted pose information back into the virtual entity model.
2. The method for digitally representing cables according to claim 1, characterized in that, The step of constructing an undirected graph based on the inclusion relationships between the basic elements of the cable to establish a cable topology data model specifically involves: Determine the subordinate relationships of the basic elements; Construct an undirected graph with connected elements and store it using an adjacency list to enable fast path search between two points on a cable. The basic elements are associated with corresponding electrical, material, and connector information, and the cable data is fully expressed by extracting specific elements or sets of specific elements.
3. The method for digitally representing cables according to claim 1, characterized in that, The establishment of the geometric structure model of the cable is specifically as follows: The geometry of a cable is described by its centerline and the movement and rotation of its cross-section along the centerline. A computer-aided curve modeling method is used to quantitatively describe the geometric shape of cables, in which the centerline of the cable is constructed using interpolated spline curves or approximation spline curves.
4. The method for digitally representing cables according to claim 1, characterized in that, The process of obtaining the basic elements of the cable from the cable entity specifically involves: obtaining three levels of basic elements from the cable entity structure, namely key points, intermediate path points, and cable segments. The key points are points formed by discretizing the cable entity and are located at the ends of branches. There are two types of key points: cable endpoints and cable branch points. The path points are selected according to the approximate spatial direction of the cable to control the geometric shape of the cable. The cable segment is the cable between two adjacent key points in the cable, and includes a series of ordered key points consisting of adjacent necessary key points and interpolation points between them.
5. The method for digitally representing cables according to claim 3, characterized in that, B-spline interpolation curves are used to fit and interpolate discrete points in the cable topology data. The position and cross-sectional orientation of each point are described by combining arc coordinates s, world coordinate system and local coordinate system.
6. The method for digitally representing cables according to claim 1, characterized in that, After obtaining the basic elements and basic information of the cable from the cable entity, the method further includes: defining the basic information of the cable in the cable material library, and associating the obtained basic elements and basic information of the cable with the cable material library, wherein the cable material library stores cable component models, and the cable material library stores at least cables, electrical connectors and clamps.
7. The method for digitally representing cables according to claim 1, characterized in that, Interactive operation commands from the user to specific locations of the virtual entity model include: selecting path points and adjusting control points; The selection of path points is as follows: a wiring method of continuously selecting control points is adopted, and a complete cable path is automatically generated by selecting multiple path points on the surface of the cable component in a single step; the adjustment of control points includes: adjusting the pose of control points, adding or deleting control points, and the pose adjustment is divided into two types: dragging control points and rotating control points.
8. The method for digitally representing cables according to claim 1, characterized in that: Also includes: As the information of the virtual entity model is updated, the basic information, geometric information, and mechanical information of the cable material in the cable material library are updated synchronously. and / or The virtual entity model is modified by altering information in the cable material library.
9. A cable digitization system, characterized in that, include: The topology data and geometric structure model building module is used to obtain the basic elements and information of the cable from the actual cable entity. It constructs an undirected graph based on the inclusion relationship between the basic elements of the cable to build the topology data model of the cable. It also builds the geometric structure model of the cable based on the cable entity. The basic information of the cable includes the cable radius, electrical information, material information and joint information. The geometric structure model of the cable is generated by determining the structure and direction of the cable through the selection of path points. The virtual entity model building module is used to build a virtual entity model of the cable by combining the topology data model and the geometric structure model, wherein the virtual entity model is a three-dimensional visual digital model of the cable and cable components. The interactive operation module is used to obtain interactive operation commands from the user for a specific position of the virtual entity model, adjust the pose of the virtual entity model, and update the adjusted pose information back into the virtual entity model.
10. A computer-readable storage medium, characterized in that: The storage medium stores instructions that, when executed, perform a cable digitization method as described in any one of claims 1-8.