A method and apparatus for generating harness diagrams based on topology graphs
By combining the wiring harness schematic diagram and the topology diagram, a wiring harness diagram generation method based on topology diagrams is adopted to automatically generate wiring harness diagrams, which solves the problems of low efficiency and difficulty in guaranteeing the quality of wiring harness diagram generation in the prior art, and realizes efficient and high-quality wiring harness diagram design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2026-03-10
AI Technical Summary
The existing technology for generating vehicle wiring harness diagrams is relatively simple, resulting in low design efficiency and difficulty in ensuring standardization and quality through manual design.
A topology-based wiring harness diagram generation method is adopted, which automatically generates wiring harness diagrams, including physical connection information of wires, by combining wiring harness schematic diagrams and topology diagrams, thereby improving design efficiency and quality.
It enables efficient generation of harness diagrams, reduces the need for manual design, improves the generation efficiency and quality of harness diagrams, and ensures information consistency.
Smart Images

Figure CN114912236B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wire harness technology, and in particular to a method and apparatus for generating wire harness diagrams based on topology diagrams. Background Technology
[0002] With the development of electronic technology, vehicles are gradually becoming more electronic and intelligent, which places higher and higher demands on the efficiency of vehicle production and design.
[0003] Various components in a vehicle need to be connected via wiring harnesses to achieve corresponding power supply, control, and communication functions. Typically, designers first need to design the vehicle's wiring harness diagram, and then production personnel use this diagram to arrange the wiring harnesses and assemble and connect the components to achieve vehicle production.
[0004] However, the methods for generating vehicle wiring harness diagrams in related technologies are relatively limited. Summary of the Invention
[0005] This application provides a method and apparatus for generating harness diagrams based on topology graphs, which can solve the problem of the limited variety of harness diagram generation methods. The technical solution is as follows:
[0006] On the one hand, a method for generating harness diagrams based on topology graphs is provided, the method comprising:
[0007] Based on the principles of each electrical component in the device, a wiring harness schematic diagram of the device is completed. The wiring harness schematic diagram includes logical information indicating the connection logic between the electrical components and between the electrical components and ground, but does not include information related to the connection of wires.
[0008] A topology diagram is obtained to acquire the first physical information required for the wiring harness diagram. The topology diagram is used to indicate the power modules in the device, the grounding points in the device, the main wiring harnesses in each wiring harness assembly in the device, and the topology of the connectors between the wiring harness assemblies. The power modules and power devices in the device correspond one-to-one, and each power module includes the corresponding power device. The first physical information includes: information about the main wiring harness, information about the grounding points, and information about the connectors.
[0009] The logic information in the wiring harness schematic is imported into the topology diagram to generate the second physical information required for the wiring harness diagram. The second physical information includes: information on the device connectors that the power module also needs to include, information on the terminals of the device connectors, physical connection information of the wires that realize the connection logic, and information on the wire connection points between the wires. For a power device and a device connector in a power module, the device connector is the connector of the power device, and the wire connection point is the connection point of at least three wires.
[0010] In the topology diagram, the first physical information and the second physical information are exported according to different wire harness assemblies, and wire harness diagrams for different wire harness assemblies are generated.
[0011] Optionally, the connection logic includes: connection logic between the terminals of the device connector and between the terminals of the device connector and ground.
[0012] Optionally, the logical information in the wiring harness schematic is imported into the topology diagram to generate the second physical information required for the wiring harness diagram, including:
[0013] The logic information is imported into the topology diagram; the logic information includes: information of the electrical device, information of the device connector, information of the terminal of the device connector, and information on the connection logic between the terminals of the device connector and between the terminals of the device connector and ground.
[0014] For each electrical device indicated by the logic information, the electrical device is mapped to the electrical module corresponding to the electrical device in the topology diagram, and information on the device connectors and terminals of the device connectors that also need to be included are generated for the electrical module corresponding to the electrical device.
[0015] The physical connection information of the wire is generated in the topology diagram; the physical connection information of the wire includes: information of at least one wire that physically connects any two of the target terminal, target docking connector, target wire contact and target ground to implement the connection logic, wherein the target terminal is the terminal of the device connector;
[0016] The system receives allocation information for multiple wires that need to be connected via the mating connectors in the topology diagram. The allocation information indicates the terminals to which the multiple wires are connected in the mating connectors. The second physical information also includes the allocation information.
[0017] Optionally, the physical connection information of the conductors is generated in the topology diagram, including:
[0018] In the topology diagram, a target operation is performed; the target operation includes: determining the target terminal for implementing the connection logic; determining multiple wiring harness assemblies for implementing the connection logic based on the target terminal; using the mating connectors between the multiple wiring harness assemblies as the target mating connectors; obtaining the target ground for implementing the connection logic based on the connection logic; and determining the target wire connection point for each wiring harness assembly.
[0019] Perform the corresponding operation in automatic or manual mode;
[0020] The automatic mode operation includes: determining at least one wire based on the determined target terminal, target connector, target ground, and target wire contact; the manual mode operation includes: receiving information about the at least one wire.
[0021] Optionally, determining the target wire connection point for each wire harness assembly includes:
[0022] Requirements for the number and location of receiving wire connections;
[0023] Based on the quantity requirements and the location requirements, the target wire connection point is determined in the topology diagram;
[0024] Based on the connection logic, the target ground for implementing the connection logic is obtained, including:
[0025] Based on the connection logic, for any electrical device that needs to be grounded, the ground closest to the electrical device in the topology diagram is determined as the target ground that the electrical device needs to connect to;
[0026] The target mating connector is defined as the connector between the plurality of wiring harness assemblies, including:
[0027] If there is only one mating connector between two wire harness assemblies, then that one mating connector shall be used as the target mating connector.
[0028] If there are multiple mating connectors between two wire harness assemblies, the total path length between each mating connector and each target terminal is determined, and the mating connector with the shortest total path length to each target terminal is selected as the target mating connector.
[0029] Optionally, in the topology diagram, the first physical information and the second physical information are exported separately according to different wiring harness assemblies, and wiring harness diagrams for different wiring harness assemblies are generated, including:
[0030] Receive the manufacturing process requirements for the wire harness in the wire harness diagram;
[0031] Based on the aforementioned production process requirements, the target position of the target wire connection point in the wiring harness diagram is determined; the target position satisfies the production process requirements, and the sum of the lengths of the wires connected to the target wire connection point is minimized when the target wire connection point is set at the target position.
[0032] Based on the information belonging to the different wiring harness assemblies in the first physical information and the second physical information, and the target location, a wiring harness diagram of the different wiring harness assemblies is generated.
[0033] Optionally, obtaining the topology diagram includes: obtaining the three-dimensional topology of the power module, the grounding, the wiring harness backbone, and the docking connector; and obtaining the corresponding two-dimensional topology diagram based on the three-dimensional topology.
[0034] Optionally, the method further includes: receiving specification information of the conductors in the main trunk of the harness in the topology diagram, the specification information including wire diameter and wire color; and adding the specification information to the harness diagram.
[0035] Optionally, the method further includes: counting all the wires in each of the wire harness trunks to output the theoretical diameter of the wire harness trunk.
[0036] Optionally, the method further includes: receiving information on the fasteners and wrapping methods of the main wire harness in the wire harness diagram, and adding the information on the fasteners and wrapping methods to the wire harness diagram.
[0037] Optionally, the method further includes: receiving information about the material used in the wiring harness assembly in the wiring harness diagram, and adding the material information to the wiring harness diagram.
[0038] Optionally, the method further includes: determining the path and length of each conductor in the main trunk of the harness in the harness diagram; and adding information about the path and length of each conductor to the harness diagram.
[0039] Optionally, the method further includes: outputting a bill of materials required for the wire harness diagram.
[0040] On the other hand, a wiring harness diagram generation apparatus based on a topology graph is provided, the wiring harness diagram generation apparatus comprising:
[0041] The first processing module is used to complete the wiring harness schematic diagram of the device based on the principle of each electrical component in the device. The wiring harness schematic diagram includes logical information indicating the connection logic between the electrical components and between the electrical components and ground, but does not include information related to the connection of wires.
[0042] An acquisition module is used to acquire a topology diagram and acquire first physical information based on the topology diagram; the topology diagram is used to indicate the power modules in the device, the grounding connections in the device, the main trunks of each wiring harness assembly in the device, and the topology of the connectors between the wiring harness assemblies, wherein the power modules and power devices in the device correspond one-to-one, and each power module includes the corresponding power device; the first physical information includes information about the main trunks of the wiring harness, information about the grounding connections, and information about the connectors.
[0043] The second processing module is used to import the logic information in the wiring harness schematic diagram into the topology diagram to generate the second physical information required for the wiring harness diagram. The second physical information includes: information on the device connectors that the power module also needs to include, information on the terminals of the device connectors, physical connection information of the wires that realize the connection logic, and information on the wire connection points between the wires. For a power device and device connector in a power module, the device connector is the connector of the power device, and the wire connection point is the connection point of at least three wires.
[0044] The third processing module is used to export the first physical information and the second physical information according to different wire harness assemblies in the topology diagram, and generate wire harness diagrams for different wire harness assemblies.
[0045] In another aspect, a wiring harness diagram generation apparatus based on a topology graph is provided. The apparatus includes a processor and a memory, wherein the memory stores at least one program instruction, and the processor is used to execute the at least one program instruction to implement the wiring harness diagram generation method based on the topology graph as described above.
[0046] In another aspect, a computer-readable storage medium is provided, the computer-readable storage medium storing at least one piece of program code, the at least one piece of program code being loaded and executed by a processor to implement the above-described method for generating harness diagrams based on topology graphs.
[0047] On another front, a computer program product is provided that, when the computer program product is run on a computer, causes the computer to execute the above-described method for generating a harness diagram based on a topology diagram.
[0048] The beneficial effects of the technical solution provided in this application include at least the following:
[0049] In this application, the physical information required for generating a wiring harness diagram can be generated based on the wiring harness schematic and topology diagram of the device. Furthermore, the physical information required for the wiring harness diagram can be exported separately according to different wiring harness assemblies, and wiring harness diagrams for different wiring harness assemblies can be generated. Therefore, this application provides a novel method for automatically outputting wiring harness diagrams, enriching the available methods for generating wiring harness diagrams.
[0050] Furthermore, the wiring harness schematic diagram of the device in this application does not include information related to the connection of wires, thus the acquisition efficiency of the wiring harness schematic diagram is high. Consequently, after importing the logical information from the wiring harness schematic diagram into the topology diagram, the efficiency of generating the second physical information required for the wiring harness diagram can be high. This second physical information includes the physical connection information of the wires, eliminating the need for users to manually design the physical connection information of the wires, thus resulting in high generation efficiency of the physical connection information of the wires. Because the acquisition efficiency of the wiring harness schematic diagram and the physical connection information of the wires is high during the generation of the wiring harness diagram, the generation efficiency of the wiring harness diagram can be significantly improved. Attached Figure Description
[0051] Figure 1 This is a functional block diagram of a wiring diagram generation device based on a topology graph provided in an embodiment of this application;
[0052] Figure 2 This is a schematic diagram of a wire harness provided in an embodiment of this application;
[0053] Figure 3 This is a topology diagram provided in an embodiment of this application;
[0054] Figure 4 This is a schematic diagram of the arrangement path of wires in a topology diagram provided in an embodiment of this application;
[0055] Figure 5 This is a flowchart of a method for generating a harness diagram based on a topology graph, provided in an embodiment of this application;
[0056] Figure 6 This is a flowchart of another method for generating a harness diagram based on a topology graph provided in an embodiment of this application;
[0057] Figure 7 This is a schematic diagram of a wiring diagram generation device based on a topology graph provided in an embodiment of this application. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0059] Many electrical devices rely on wiring harness systems to realize the functions of their various components. These devices may include vehicles such as automobiles or airplanes, or other equipment that requires wiring harness systems. The electrical components described in this application can refer to individual components, such as Bluetooth modules and charger modules, or they can refer to an integrated module composed of multiple components; for example, a car door module, which may include door lock components and window lift components. A wiring harness system includes multiple wiring harnesses connecting the various electrical components. A wiring harness is an assembly formed by crimping copper contact terminals (i.e., connectors) with wires and cables (i.e., conductors) and bundling them together to form a connecting circuit. Each wiring harness can also be called a wiring harness trunk (or branch; here, we take a wiring harness trunk as an example), and each wiring harness may include multiple conductors. Each wiring harness has two ends, both of which are connected to at least two other wiring harness trunks, or one end may not be connected to a wiring harness trunk. A wiring harness system may include multiple wiring harness assemblies, which may be arranged in different areas of the equipment. Wiring harness assemblies in different areas may also be referred to as different wiring harness segments or different types of wiring harnesses. For example, a wiring harness system in a vehicle may include wiring harness assemblies such as dashboard wiring harness, door wiring harness, floor wiring harness, and air conditioning wiring harness.
[0060] In vehicle production, designers first need to create wiring diagrams (collectively referred to as vehicle wiring diagrams) for each wiring harness assembly in the vehicle's wiring harness system. These diagrams illustrate the structural composition of each assembly, the connection methods of wires and connectors, and other information. For example, these wiring diagrams can primarily describe the length of each wire harness, the connectors and terminals on the electrical components connected to the harnesses, the harness wrapping method and fastener information, the arrangement of wires, and the signals transmitted by the wires. Connectors, also called plugs, are directly connected to or located on electrical components. In this application, connectors on electrical components are referred to as device connectors. Connectors can have multiple terminals, and different terminals can connect to different wires. The terminals of a connector can also be called device holes. Production personnel then use these wiring diagrams to arrange the wiring harnesses in the vehicle and assemble and connect the various components to achieve vehicle production. Currently, vehicles are becoming increasingly feature-rich, and the number of electrical components in vehicles is also increasing. Consequently, vehicle wiring harness systems are becoming larger and more complex. At the same time, vehicle development and manufacturing cycles are constantly shortening, and the requirements for the design efficiency of vehicle wiring harness diagrams are becoming increasingly stringent.
[0061] In one related technology, designers use traditional Computer-Aided Design (CAD) methods to design vehicle wiring harness diagrams. Designers can first determine the three-dimensional arrangement of the wiring harness in the vehicle based on the topology diagram of the equipment (vehicle) to obtain three-dimensional arrangement data representing this arrangement. The three-dimensional arrangement data of the wiring harness is also the data on the three-dimensional positions in the vehicle that can be used to arrange the wiring harness; in this embodiment, this three-dimensional arrangement data is referred to as three-dimensional topology. This topology diagram mainly describes the segmentation of the wiring harness in the vehicle, the topological relationship between each electrical component and each wiring harness assembly (i.e., wiring harness segment), and the topological location of the grounding point, etc. Regarding the wiring harness assembly in this topology diagram, only the arrangement position and general direction of the wiring harness assembly are included; the specific arrangement of the wires in the wiring harness assembly is not included. The term "grounding point" in this application is a shorthand for a grounding point, which is a component directly connected to the negative terminal (such as the vehicle body itself, which can be considered as grounded). After determining the three-dimensional arrangement data of the wiring harness, designers can design the overall vehicle circuit schematic. The vehicle circuit schematic diagram can include the logical connections between various electrical components in the vehicle, the wiring information between these components, the names of each component, and other necessary specifications. Designers then use this schematic diagram as a blueprint and manually draw the vehicle wiring harness diagram in CAD software based on the wiring information in the schematic diagram. After generating the wiring harness diagram, the actual wiring harness layout in the vehicle can be performed based on the previously generated 3D layout data and the diagram. In this design method, the consistency between the vehicle circuit schematic diagram and the wiring harness diagram needs to be manually ensured. Designers spend a significant amount of time designing the wiring harness diagram, and manual design inevitably introduces errors, making it difficult to guarantee the standardization and quality of the wiring harness diagram. In this design method, the topology diagram is mainly used to guide the initial 3D layout of the wiring harness and does not directly participate in the actual wiring harness design.
[0062] In another related technology, designers first need to manually draw the vehicle's electrical wiring diagram based on a topology map. This diagram requires defining specific wire connection methods, wire specifications, connection information between terminals and wires on electrical components, detailed connection information between terminals and wires in mating connectors, and detailed wire routing paths. Mating connectors are used to connect two wiring harness assemblies. Then, based on the vehicle wiring diagram and the three-dimensional layout data of the wiring harnesses in the vehicle, designers need to define the components included in each main harness, the harness wrapping method, and the fasteners between harnesses to generate the vehicle wiring harness diagram. This design method ensures consistency between the vehicle wiring diagram and the wiring harness diagram, improving design efficiency and quality to some extent. However, this method primarily moves the design of the specific wiring information in the traditional CAD design method to the design stage of the vehicle wiring diagram. This results in designers spending a significant amount of time on the wiring diagram design stage, and the design quality requirements for this wiring diagram are high, so the overall design efficiency of the wiring harness diagram is still not improved. In this design approach, the topology diagram is mainly used to assist in the design of the vehicle's circuit wiring diagram, and its participation in the overall wiring harness design is not high.
[0063] The following embodiments of this application provide a novel method and apparatus for generating wire harness diagrams based on topology diagrams. The method can use topology diagrams as a bridge between wire harness schematics and wire harness diagrams to generate wire harness diagrams, thereby overcoming the design bottleneck of low efficiency in wire harness diagram design and improving the efficiency of generating wire harness diagrams based on topology diagrams.
[0064] The harness diagram generation method based on topology diagrams provided in this application can be executed by a harness diagram generation device. The harness diagram generation method provided in this application may include four steps executed sequentially: project management, harness schematic design, topology diagram design, and harness diagram design. Figure 1 This is a functional block diagram of a wiring diagram generation device based on a topology graph, provided in an embodiment of this application. For example... Figure 1 As shown, the wiring harness diagram generation device may include a project management module, a schematic design module, a topology diagram design module, and a wiring harness diagram design module, corresponding to the four steps described above, respectively. The wiring harness diagram generation device can utilize these four functional modules to implement a topology diagram-based wiring harness diagram generation method, thereby obtaining the wiring harness diagram of the device.
[0065] The following sections will explain each of these four modules.
[0066] (1) The project management module can be used to manage various information about the equipment. The project management module may include different sub-modules (referred to as managers in this embodiment) for managing different types of information respectively. For example... Figure 1As shown, the project management module may include a harness type manager, a vehicle model manager, a harness parts manager, a configuration code manager, and other information managers. Each manager manages a portion of the device's information. Information other than that managed by the harness type manager, vehicle model manager, harness parts manager, and configuration code manager can be managed by the other information managers.
[0067] For example, the harness type manager is used to manage information related to the types of harnesses in a device. Harness type refers to the harness segmentation method, or the type of different harness assemblies. Harnesses can be segmented based on different areas within a vehicle to obtain multiple harness assemblies (also called harness segments), and each harness assembly can include multiple harness trunks. For example, harness assemblies in a vehicle can include floor harnesses, instrument panel (IP) harnesses, door harnesses, air conditioning harnesses, front compartment harnesses, and headliner harnesses, among others.
[0068] The vehicle model manager is used to manage information related to vehicle models. For example, the vehicle type can include standard or premium models. Features available on a particular vehicle model can be listed under that model's information. For instance, standard models do not have Wireless Fidelity (WIFI) functionality, while premium models do.
[0069] The Wire Harness Component Manager is used to manage information related to wire harness components in the equipment. Wire harness components are the parts used in a wire harness system, such as wires, two-core cables, terminals, sheaths, junction boxes, fuses, relays, and sensors. Information about each wire harness component can include its function and its location.
[0070] The configuration code manager is used to define various configuration information. For example, it can define the functions of a specific vehicle model, the functions of various wiring harness components within the vehicle, the connection logic between electrical components in a device, the functions of connectors for electrical components (device connectors), and the functions of each terminal of those connectors. Each configuration piece of information can be obtained by combining configuration codes with specific logic.
[0071] The project management module can also define the vehicle's frame structure, the principles of each electrical component within the vehicle, the conditions that the connection objects of each electrical component must meet, the conditions that the connection objects of wiring harness components must meet, and the objects to which component connectors are connected or the objects to which component connector terminals are connected. At least some of this information can be defined through the configuration code manager.
[0072] This application embodiment uses a vehicle as an example. The vehicle-related information managed by the project manager can be defined by the designer. Alternatively, the vehicle-related information can be existing information stored on other devices. The project manager can obtain this existing information from the other devices, manage the obtained information, or further modify or add to it. The subsequent wiring harness diagram generation process of the wiring harness diagram generation device can use the vehicle-related information managed by the project management module.
[0073] (2) The schematic design module can use the operating principles of the electrical components in the equipment as input or design basis to design schematic diagrams and generate wiring harness schematic diagrams. For example, the operating principles of the electrical components can indicate their function, operating mode, and the conditions required for normal operation. The wiring harness schematic diagram can include logical information indicating the connection logic between electrical components and between electrical components and ground, but does not include information related to wire connections. The schematic design module only needs to define the connection logic between each electrical component in the equipment, and the connection logic between the electrical components and ground. Defining the connection logic between electrical components and ground can also be considered as grounding the connection logic between electrical components. The schematic design module can also define the connection logic between the terminals of the device connectors of each electrical component, and define the connection logic between the terminals and ground.
[0074] The schematic design module can also utilize the configuration codes defined by the configuration code manager to define the required configuration information for each connection logic, component connector, or component connector terminal in the wiring harness schematic. This includes information such as the function implemented by a connection logic, the wiring harness components required to implement the connection logic, the terminals of the component connectors of the electrical components, and the functions corresponding to the terminals. The schematic design module can also define the specifications of the wires used to implement certain connection logics. The wire specifications can include the wire color and wire diameter. The wire color can refer to the color of the wire shown in the topology diagram or wiring harness diagram, or it can refer to the color of the wire used in the actual wiring.
[0075] The schematic design module does not require defining the physical wiring principles between electrical components. This includes specifying the routing or direction of wires, which terminal each wire connects to, and the exact connection points between wires. Furthermore, the module does not require defining the connectors for different wire harness assemblies, nor does it require specifying which terminal each wire connects to. The module also does not require defining the connection methods, such as the number of wire segments used, whether wires are directly soldered or wrapped with tape, whether multiple wires are hinged or a single wire, or the type, length, and thickness of the wires used.
[0076] In this embodiment, the schematic design module only needs to define the connection logic and necessary configuration information between electrical components, without defining any physical wiring principles. The necessary configuration information may include the terminals of the connectors of the electrical components, the function implemented by a certain connection logic, and the wiring harness components required to implement the connection logic. Thus, the wiring harness schematic can be differentiated according to different systems or functions. Through modular schematic design, a modular approach to designing the entire vehicle wiring harness schematic can be quickly achieved, improving the efficiency and quality of wiring harness design.
[0077] For example, Figure 2 This is a schematic diagram of a wire harness provided in an embodiment of this application. Figure 2 As shown, this wiring harness schematic indicates the connection logic between five electrical devices: Device 1, Device 2, Device 3, Device 4, and Device 5, as well as the connection logic between some of these devices and ground. Each electrical device can be defined with a corresponding device connector, and each device connector has corresponding terminals (such as PIN1, PIN2, PIN3, etc.). The device connectors in the wiring harness schematic can also be called logic connectors, and the terminals of these logic connectors can also be called logic terminals.
[0078] Figure 2 Taking a wiring harness schematic with four sets of connection logic as an example, these four sets of connection logic are represented by lines Net1, Net2, Net3, and Net6, respectively, with GND representing the grounding point. Each set of connection logic requires connection to the respective electrical components or grounding points. Figure 2 The two bends at one end of the connecting wire indicate that the wire needs to be connected to other components. For example... Figure 2 There is a connection logic Net1 between devices 1 and 2 and ground, specifically indicating that terminal PIN1 of device 1's connector is connected to terminal PIN6 of device 2's connector and grounded. There is a connection logic Net2 between devices 1, 2, 3, and 5 and ground, specifically indicating that terminals PIN3 of device 1's connector, terminals PIN7 and PIN8 of device 2's connector, terminal PIN9 of device 3's connector, and terminal PIN14 of device 5's connector are connected to ground. There is a connection logic Net3 between devices 1, 3, and 5, specifically indicating that terminals PIN5 of device 1's connector, terminal PIN10 of device 3's connector, and terminal PIN15 of device 5's connector are connected. There is a connection logic Net6 between devices 4 and 5, specifically indicating that terminals PIN13 of device 4's connector and terminal PIN16 of device 5's connector are connected to ground.
[0079] After generating the wiring harness schematic, the schematic design module can import the entire schematic into the topology design module, allowing the topology design module to perform subsequent design based on the schematic. This direct import method avoids information loss, ensures consistency, and improves the efficiency of wiring harness design.
[0080] (3) The topology design module can design the wiring harness topology of the entire vehicle based on the wiring harness segmentation method managed by the wiring harness type manager, and obtain a topology diagram. Specifically, it can design the topology of the main wiring harness in each wiring harness assembly in the vehicle wiring harness system, and determine the position of each electrical component, grounding, and the docking connector between wiring harness assemblies in the topology. This topology diagram can indicate the topology of the electrical modules, grounding, main wiring harness, and docking connectors in the equipment. It should be noted that the topology diagram only includes the arrangement position and general direction of the wiring harness assembly, and does not include the specific arrangement of the wires in the wiring harness assembly. The electrical modules in the equipment can correspond one-to-one with the electrical equipment. Each electrical module can include an electrical component and its component connector. The position of the electrical module in the topology diagram is also the position of the electrical component in that electrical module. Each electrical module has a corresponding name, which is the name of the electrical component in that electrical module. The topology diagram designed by the topology design module can also be used to guide the specific three-dimensional arrangement of the wiring harness in the vehicle. Optionally, the topology design module can acquire the three-dimensional topology of the power modules, grounding, wiring harness backbone, and connectors in the equipment. This three-dimensional topology, also known as three-dimensional layout data, can then be used to obtain a corresponding two-dimensional topology diagram. For example, the three-dimensional topology can be projected onto a two-dimensional plane to obtain the two-dimensional topology diagram. Optionally, this three-dimensional layout data can be generated by designers using three-dimensional design software, referencing the vehicle's topology diagram.
[0081] For example, Figure 3 This is a topology diagram provided in an embodiment of this application. Figure 3 This diagram illustrates a topology consisting of three main wiring harnesses: the floor harness, the dashboard harness, and the door harness. The five electrical modules in this topology diagram correspond to... Figure 2 The five electrical components in the middle, Figure 3 The electrical modules are identified by the names of the electrical components within them. Figure 3 The black dots in the diagram represent harness nodes, and each harness node is labeled Nx, where x is an integer, such as N1, N2, and N7. Each line segment with two harness nodes as endpoints represents a harness backbone. Figure 3 Taking a topology diagram including three docking connectors and two grounding pins G1 and G2 as an example. Figure 3As shown, this topology diagram can reflect the location of each power module, the location of the connector, the location of the grounding, and the possible placement of the main wiring harness between each device.
[0082] After receiving the wiring harness schematic imported from the schematic design module, the topology design module can map the wiring harness schematic to the corresponding electrical components and modules in the topology diagram based on the names of the electrical components in the schematic. Then, it can add relevant information to the corresponding electrical modules based on the information of the electrical components. This mapping process can also be described as placing the electrical components in the wiring harness schematic to their corresponding positions in the topology diagram. For example, the topology design module can generate the necessary connector information and terminal information for the corresponding electrical module based on the connector information and terminal information of each electrical component in the wiring harness schematic. The connector in the topology diagram can also be called a physical connector, and the terminal of the connector can also be called a physical terminal. Optionally, the topology design module can also allow designers to manually add electrical modules at specified locations in the topology diagram, or move the positions of electrical modules in the topology diagram.
[0083] For example, the topology design module can... Figure 2 The five electrical components in the wiring harness schematic diagram and Figure 3 The five power modules in the diagram are mapped separately. During this mapping process, information on physical connectors and physical terminals corresponding to the logic connectors and logic terminals (PIN1 to PIN16) of each power device in the wiring harness schematic can also be generated for each power module. Figure 3 The physical connector and physical terminal are not illustrated.
[0084] The topology design module allows defining the required number and location of wire connections for each connection logic in the wiring harness schematic. This requirement can be information input by the designer or calculated by the topology design module. A wire connection refers to a connection point with at least three wires. For example, if a connection logic indicates that three electrical devices need to be connected, the three wires connecting these three devices can all be connected to the same wire connection point to achieve the connection. The topology design module can determine the wire connections that meet the requirements for the number and location of wire connections. Optionally, the topology design module can also display the determined wire connections in the generated topology diagram. The location of the wire connection ensures that the sum of the wire lengths between the wire connection and the various electrical devices it needs to connect is minimized when the wire connection is located at that position. For example, for Figure 2The connection logic Net2 in the wiring harness schematic shown can be defined as having one wire connection point. The topology design module can automatically determine the location of the wire connection point corresponding to this connection logic, such as near wiring harness node N43.
[0085] The topology design module can also determine the grounding location for connection logics requiring grounding in the wiring harness schematic. This grounding location can be the closest grounding point to each electrical component corresponding to that connection logic. For connection logics that require crossing different wiring harness assemblies, the topology design module can also determine the location of the corresponding mating connector. This mating connector location minimizes the length of the wire used to implement the connection logic. Afterward, the topology design module can automatically generate wires to complete the physical connections of the physical terminals, wire connections, mating connectors, and grounding points for each electrical component corresponding to each connection logic, thus realizing the various connection logics.
[0086] For example, for Figure 2 The connection logic Net2 in the wiring harness schematic diagram requires grounding; therefore, its implementation necessitates a ground connection. Device 1, corresponding to this connection logic, is located in the dashboard area; devices 2 and 5 are located in the floor area; and device 3 is located in the door area. The connection of these four devices requires the combined use of the dashboard wiring harness, floor wiring harness, and door wiring harness. Therefore, the implementation of this connection logic requires mating connectors between different wiring harness assemblies. The topology design module can calculate that the grounding for this connection logic is ground G1. The mating connectors for this connection logic are connector 1 between wiring harness nodes N52 and N53, and connector 3 between wiring harness nodes N54 and N55. The connector numbers are not labeled in the diagram. Figure 4 This is a schematic diagram of the arrangement path of wires in a topology diagram provided in an embodiment of this application. The topology diagram design module can also automatically generate wires, which are in... Figure 4 The symbols are represented by thick black solid lines to represent the physical terminals (PIN3, PIN7, PIN8, PIN9, and PIN14) of devices 1, 2, 3, and 5. Figure 4 (Not shown), wire connection, defined physical connection between the two mating connectors and ground G1.
[0087] like Figure 4In this configuration, the physical connection between the physical terminals of device 1 and the mating connector 1 can be achieved through wire 5 between wire harness nodes N52 and N18. The physical connection between the physical terminals of device 2 and the conductive contacts can be achieved through wire 6 between wire harness nodes N43 and N28. The physical connection between the physical terminals of device 5 and the wire contacts can be achieved through wire 8 between wire harness nodes N43 and N40. The physical connection between the wire contacts and ground G1 can be achieved through wire 9 between wire harness nodes N43 and N20. The physical connection between the wire contacts and the mating connector 3 can be achieved through wire 10 between wire harness nodes N43 and N55. The physical connection between the wire contacts and the mating connector 3 can be achieved through wire 11 between wire harness nodes N43 and N53. The physical connection between the physical terminals of device 2 and the mating connector 3 can be achieved through wire 12 between wire harness nodes N54 and N22. Figure 4 The individual wires were not labeled. This completes the design process for generating the physical wiring method from the logical principle information of the connection logic Net2.
[0088] The topology design module can also define the wire diameter and color specifications of each conductor according to design needs, so that different conductors can be displayed according to their corresponding colors. Optionally, only one module in the schematic design module and the topology design module can define the conductor specifications.
[0089] The topology design module also allows manual assignment of wires to the corresponding terminals in the connectors. In other words, designers can manually input assignment information into the topology design module to instruct it to connect each wire to the corresponding terminal in the connector. For example, the topology design module can... Figure 4 All wires (i.e., wires 5, 11, 10 and 12 mentioned above) connecting connector 1 and connecting connector 3 are assigned to the corresponding terminals in connecting connector 1 and connecting connector 3.
[0090] The topology design module can automatically determine the wire harness components needed for the physical connection of each wire, based on information about wire harness components managed by the wire harness component manager and the connection logic and other necessary configuration information imported into the wire harness schematic. For example, it determines whether a wire needs to be connected via a separate connector or a terminal within a connector. If a wire connection point corresponds to a specific wire harness component (such as a connector), multiple wires can be connected to that component. The topology design module determines the wire connection point and then the specific path of the wire. If it determines that a previously determined wire connection point only connects two wires, it can cancel the connection point and replace it with a single wire. This eliminates the need for the corresponding wire harness component and reduces the required number of wires by one. Thus, the topology design module can automatically determine the information on the wires, connectors, and terminals required to implement the connection logic in the wire harness schematic.
[0091] The topology design module can also determine the routing path of each wire in the topology diagram, as well as the routing paths of all wires corresponding to each connection logic. The module can then display the routing paths of each wire in the topology diagram. This allows for a visual view of the wire routing paths, making it easier for designers to verify the appropriateness of the physical wiring methods corresponding to the connection logic.
[0092] The topology diagram design module can import the generated topology diagram, the wiring paths in the topology diagram, and other defined information (such as wire specifications, required wire harness components, and the connection relationships between terminals and wires in connectors) into the wiring harness design module, facilitating subsequent design processes. This import-based information transfer avoids data loss, ensures consistency, and ultimately improves wiring harness design efficiency.
[0093] (4) The wiring harness diagram design module can design wiring harness diagrams for different wiring harness assemblies. The wiring harness diagram design module can import the corresponding geometric information (i.e., the information of the layable area of the wiring harness) from the vehicle's 3D wiring harness layout data for each wiring harness assembly. The connectors of electrical components, the main branches of each wiring harness, and the fasteners of the main branches are then placed in appropriate positions within the layable area of the wiring harness according to requirements, thereby generating the wiring harness diagram for each wiring harness assembly. Optionally, designers can further develop this 3D design software to export the data corresponding to different wiring harness assemblies from the 3D wiring harness layout data according to a pre-defined format, such as exporting it to the wiring harness diagram design module.
[0094] The wiring harness diagram design module can import the physical connectors, physical terminals (such as PIN1, PIN2, PIN3, etc.), and wires related to different wiring harness assemblies from the topology diagram design module, and import them into the corresponding wiring harness diagrams for each wiring harness assembly. Furthermore, the wiring harness diagram design module can determine the position of each wire connection point identified in the topology diagram within the wiring harness diagram, thus refining the wiring harness diagram based on these positions. Setting the wire connection points at these positions minimizes the length of the wires connected to the connection points.
[0095] Then, the harness diagram design module can automatically generate a continuity list for each conductor, which can be used to record relevant information for each conductor. The harness diagram design module can calculate the layout path and length of each conductor in the harness diagram. The harness diagram design module can also add the layout path and length of the conductor to the harness diagram.
[0096] The harness diagram design module can also count all the wires in each harness trunk and then determine the theoretical diameter of the harness trunk based on the diameter of each wire. This theoretical diameter can be used to assist designers in verifying the three-dimensional layout of the harness. For example, designers can verify the three-dimensional layout of the harness using devices other than the harness diagram generation device. For instance, the aforementioned three-dimensional layout data of the harness is data obtained through a preliminary design. After determining the theoretical diameter of each harness trunk, the diameter of the harness trunk in the three-dimensional layout data can be adjusted based on this theoretical diameter to obtain more accurate three-dimensional layout data. Optionally, this theoretical diameter can also be used to assist in determining the size of the harness trunk's wrapping component, or to assist in determining the specifications of the connectors used in the harness trunk, or it can serve other purposes; this application embodiment does not limit this.
[0097] The wiring harness diagram design module also allows designers to manually select various materials used in the wiring harness assembly, as well as define the fasteners and wrapping methods for the main wiring harness. The wiring harness diagram generated by the module can include information about the materials, fasteners, and wrapping methods. The paths and lengths of the aforementioned wires can also be attributed to the materials used in the wiring harness assembly.
[0098] The wiring harness diagram design module can also automatically generate the required Bill of Material (BOM), such as the model and specifications of each wiring harness component. The module can also perform cost analysis of the wiring harness system based on this BOM. This BOM can also be used for material selection by equipment manufacturers, material preparation, or for other purposes, which are not limited in this embodiment. This eliminates the need for manual BOM generation and cost analysis, reducing errors from manual calculations and significantly improving the design quality and efficiency of wiring harness diagrams.
[0099] In this embodiment, the wiring harness schematic generated by the schematic design module only needs to define the connection logic of each electrical component, without defining other complex physical wiring methods, resulting in high generation efficiency. In the topology design module, the design process of generating the specific physical wiring methods of the wires from the connection logic between electrical components is automated (while also supporting manual mode). This automates most of the wiring harness design process and solves the bottleneck problem affecting the efficiency of wiring harness design.
[0100] Figure 5 This is a flowchart illustrating a method for generating a harness diagram based on a topology graph, provided in an embodiment of this application. This method can be used in the aforementioned harness diagram generation apparatus. Figure 5 As shown, the method may include:
[0101] Step 501: Based on the principles of each electrical component in the acquired equipment, complete the wiring harness schematic diagram of the equipment. The wiring harness schematic diagram includes logical information indicating the connection logic between electrical components and between electrical components and ground, but does not include information related to the connection of wires.
[0102] For example, the device in this application embodiment can be a vehicle or other means of transportation, and the electrical components in the device can include a display screen, an air conditioner, a Bluetooth module, and other devices. The principle diagram of the electrical components can indicate the function of the electrical components, the working method of the electrical components, and the conditions required for the normal operation of the electrical components. The wiring harness schematic diagram can only indicate which electrical components in the device need to be connected, without indicating how the electrical components are specifically connected.
[0103] Step 502: Obtain the topology diagram to get the first physical information required for the wiring harness diagram. This topology diagram indicates the power modules in the equipment, the grounding connections in the equipment, the main wiring harnesses in each wiring harness assembly, and the topology of the connectors between the wiring harness assemblies. The first physical information includes: information about the main wiring harnesses, grounding connections, and connectors.
[0104] The equipment has a one-to-one correspondence between power modules and power components. Each power module includes a corresponding power component. The power module also includes connectors for the power components. In this embodiment, to facilitate the distinction between these connectors and the mating connectors between different wiring harness assemblies, the connectors for the power components are referred to as component connectors.
[0105] The various electrical components in the equipment can be connected via wiring harnesses to cooperate and achieve their respective functions. Each wiring harness can also be called a wiring harness trunk (or wiring harness branch), and each wiring harness trunk can be formed by wrapping multiple wires and connectors between the wires. Each wiring harness trunk can have two ends, at least one of which is connected to at least two other wiring harness trunks, and one end can be connected to an electrical component without being connected to a wiring harness trunk. The various wiring harness trunks in the equipment can be divided into different wiring harness assemblies based on the different areas they are set in, such as dashboard wiring harnesses, door wiring harnesses, floor wiring harnesses, and air conditioning wiring harnesses. The wiring harness trunks in the same wiring harness assembly can be directly connected, and different wiring harness assemblies can be connected through mating connectors. The term "ground" in this application is an abbreviation for grounding point, which is a component directly connected to the negative terminal (such as the vehicle body itself, which can be considered as grounded).
[0106] The information in the first physical information section regarding the main wire harness may include the area where the main wire harness is installed, its approximate route, and its width, but does not include the specific arrangement of the wires in the wire harness assembly. The grounding information may include the location of the grounding connection, and the information regarding the mating connectors may include the location of the mating connectors.
[0107] Step 503: Import the logic information from the wiring harness schematic into the topology diagram to generate the second physical information required for the wiring harness diagram. The second physical information includes: information on the device connectors that the power module also needs to include, information on the terminals of the device connectors, physical connection information of the wires that realize the connection logic, and information on the wire connection points between the wires.
[0108] For an electrical module, the electrical components and their connectors are defined as follows: the connector is the connector for the electrical component, and the wire connection is the connection point of at least three wires.
[0109] Step 504: In the topology diagram, export the first physical information and the second physical information according to different wire harness assemblies, and generate wire harness diagrams for different wire harness assemblies.
[0110] For example, the wiring diagram of each wiring harness assembly may include information on components belonging to the wiring harness assembly (such as wires in the wiring harness assembly) in the first physical information and the second physical information, as well as information on components that are directly connected to the wires in the wiring harness assembly and do not belong to other wiring harness assemblies (such as mating connectors connected to the wiring harness assemblies).
[0111] It should be noted that step 501 above can be executed by the schematic design module in the wiring harness diagram generation device, and steps 502 to 504 above can be executed by the topology design module in the wiring harness diagram generation device.
[0112] In summary, the wiring harness diagram generation method provided in this application can generate the physical information required for the wiring harness diagram based on the wiring harness schematic and topology diagram of the device. Furthermore, the physical information required for the wiring harness diagram can be exported separately according to different wiring harness assemblies to generate wiring harness diagrams for different assemblies. Therefore, this application provides a novel method for automatically outputting wiring harness diagrams, enriching the available methods for generating wiring harness diagrams.
[0113] Furthermore, the wiring harness schematic diagram of the device in this embodiment does not include information related to the connection of wires, thus the acquisition efficiency of the wiring harness schematic diagram is high. Consequently, after importing the logical information from the wiring harness schematic diagram into the topology diagram, the efficiency of generating the second physical information required for the wiring harness diagram can be high. This second physical information includes the physical connection information of the wires, eliminating the need for the user to manually design the physical connection information of the wires, thus resulting in high generation efficiency of the physical connection information of the wires. Because the acquisition efficiency of the wiring harness schematic diagram and the physical connection information of the wires is high during the generation of the wiring harness diagram, the generation efficiency of the wiring harness diagram can be significantly improved.
[0114] Figure 6 This is a flowchart of another method for generating a harness diagram based on a topology graph, provided in an embodiment of this application. This method can be used in the aforementioned harness diagram generation apparatus. Figure 6 As shown, the method may include:
[0115] Step 601: Obtain the operating principle of each electrical component in the device.
[0116] The device in this application embodiment can be a vehicle, an aircraft, or other equipment that requires a wiring harness system. This application embodiment uses a vehicle as an example. In this application embodiment, the electrical component in the device can refer to an independent electrical component, such as a display screen, air conditioner, Bluetooth module, or other devices that require power for circuit connection; or the electrical component can be a module composed of multiple independent electrical components, such as a module composed of multiple electrical components on a car door, or a module composed of a display screen and a charging unit. The wiring harness diagram generation device can obtain the principle of each electrical component in the device. For example, the principle of the electrical component can indicate its function, its operating mode, and the conditions required for its normal operation (such as the required signal and current).
[0117] For example, the wiring harness diagram generation device can receive information on the principles of various electrical components in the device input by the designer. If the device has an input module (such as a touchscreen or keyboard), the designer can input the principle information of the electrical components through this module. Optionally, the principles of each electrical component can be stored on other devices, such as the Internet, and the wiring harness diagram generation device can obtain the principles of each electrical component from these other devices. Optionally, the principles of each electrical component can also be pre-stored in the wiring harness diagram generation device, and step 601 can be performed before generating the wiring harness diagram.
[0118] Step 602: Based on the principle of each electrical component, generate the wiring harness schematic diagram of the device.
[0119] The wiring harness schematic includes logical information indicating the connection logic between electrical components and between electrical components and ground, but excludes information related to wire connections. This logical information may also include: information about each electrical component, information about the component connectors, and information about the connector terminals. For example, the component information may include the component's name and function; the connector information may include the connector's function and its location on the component; and the connector terminal information may include the terminal's function and arrangement.
[0120] For ease of description, the connection logic indicated by the logic information in the wiring harness schematic diagram will be referred to as the connection logic in the wiring harness schematic diagram. For example, the connection logic in this wiring harness schematic diagram can be input by the designer. The designer can input information about the electrical components that need to be connected into the wiring harness diagram generation device, triggering the device to generate the wiring harness schematic diagram based on that information. The information input by the designer can be text, voice, or graphic information; this embodiment does not limit this. For example, if the designer only inputs text or voice information indicating that components a, b, and c need to be connected and grounded, the wiring harness diagram generation device can directly generate the connection logic between components a, b, and c and the grounding point based on that information.
[0121] As another example, the connection logic in the wiring harness schematic can also be generated automatically by the wiring harness schematic generator. For instance, the designer can simply specify the function to be implemented in the desired wiring harness schematic, and then the wiring harness schematic generator can automatically determine the connection logic to implement that function based on that function and the principles of each electrical component, thereby generating the wiring harness schematic.
[0122] Optionally, the connection logic in the wiring harness schematic may include: connection logic between terminals of the device connectors of the electrical components, and connection logic between the terminals of the device connectors and ground. That is, the connection logic between the electrical components can be the connection logic between terminals of the device connectors on the electrical components, and the connection logic between the electrical components and ground can be the connection logic between the terminals of the device connectors on the electrical components and ground. The connection logic between terminals can be input by the designer or generated automatically by the wiring harness diagram generation device; this embodiment does not limit this.
[0123] The wiring harness schematic diagram in this embodiment does not include information related to the connection of wires. This includes the arrangement path or direction of wires between electrical components, which terminal each wire connects to, and the specific connection positions between wires. In this embodiment, the wiring harness schematic diagram only includes simple logical information and does not require the definition of complex physical wiring methods. Therefore, the generation method of this wiring harness schematic diagram is relatively simple and efficient, thus improving the efficiency of generating wiring harness diagrams based on this schematic diagram.
[0124] Step 603: Obtain the topology diagram to get the first physical information required for the wiring harness diagram. The first physical information may include: information about the main wiring harness, information about grounding, and information about the connectors.
[0125] The topology diagram in this embodiment is used to indicate the power modules in the device, the grounding points in the device, the main wires of each wire harness assembly in the device, and the topology of the connectors between the wire harness assemblies. Each power module corresponds one-to-one with a power device, and each power module includes a corresponding power device and its connector. The position of a power module in the topology diagram is also the position of the power device within that power module.
[0126] Various electrical components in the equipment can be connected via a wiring harness system. The wiring harness system may include multiple wiring harness assemblies, mating connectors between different wiring harness assemblies, and grounding. Different wiring harness assemblies can be arranged in different areas of the equipment. For example, a wiring harness system in a vehicle may include wiring harness assemblies such as dashboard wiring harness, door wiring harness, floor wiring harness, and air conditioning wiring harness. Each wiring harness assembly includes multiple connected wiring harness trunks, and each wiring harness trunk may include multiple wires. Each wiring harness trunk has two wiring harness nodes at its two ends, with at least one wiring harness node connecting multiple other wiring harness trunks. One wiring harness node may be used to connect electrical components. The topology diagram can reflect the location of electrical components, grounding, and mating connectors in the equipment, and can also reflect the available area for the wiring harness trunks in each wiring harness assembly.
[0127] Optionally, the wiring harness diagram generation device can acquire the three-dimensional topology of the power module, grounding, wiring harness backbone, and connecting connectors, and then obtain the corresponding two-dimensional topology diagram based on the three-dimensional topology. For example, the three-dimensional topology can be projected onto a two-dimensional plane to obtain the two-dimensional topology diagram.
[0128] After acquiring the topology map, the wiring harness diagram generation device can obtain the first physical information required for the wiring harness diagram based on the topology map. This first physical information may include: information about the wiring harness backbone, grounding information, and information about the mating connectors. Specifically, the information about the wiring harness backbone may include the installation area, approximate direction, and width of the backbone. The grounding information may include the location of the grounding point, and the information about the mating connectors may include the location of the mating connectors.
[0129] Step 604: Import the logic information from the wiring harness schematic into the topology diagram.
[0130] The logical information in a wiring harness schematic can include: information about electrical components, information about component connectors, information about the terminals of component connectors, and information about the connection logic between the terminals of component connectors and between the terminals of component connectors and ground. After obtaining the topology diagram, the wiring harness diagram generation device can import this logical information from the generated wiring harness schematic into the topology diagram, and then perform further processing based on this logical information and the information in the topology diagram.
[0131] Step 605: For each electrical device indicated by the logic information, map the electrical device to the corresponding electrical module in the topology diagram, and determine the information of the device connector in the corresponding electrical module and the terminal information of the device connector.
[0132] For example, each power module in the topology diagram has a corresponding name, and the name of the power module is the same as the name of the power device included in the power module. The wiring harness diagram generation device can map the wiring harness schematic diagram to the power devices and modules with the same names in the topology diagram based on the names of the power devices in the schematic diagram. This allows the device connectors and their terminals in the schematic diagram to be identified as the device connectors and their terminals that the power module needs to include. This process essentially corresponds the acquired information about the device connectors and their terminals in the wiring harness schematic diagram to the power modules in the topology diagram, thus converting the logical information of each component defined in the wiring harness schematic diagram into physical information corresponding to the actual topology of the device.
[0133] Step 606: Generate the physical connection information of the wires that implement the connection logic in the wiring harness schematic in the topology diagram.
[0134] After determining the information of each electrical component and other fixed parts (such as grounding and mating connectors) in the topology diagram, the wiring harness diagram generation device can determine the information of at least one wire that implements the connection logic in the wiring harness schematic diagram, that is, how the wire that can implement the connection logic should be arranged. The information of this at least one wire is the physical connection information of the wire that implements the connection logic in the wiring harness schematic diagram.
[0135] Each connection logic in a wiring harness schematic can be implemented by connecting the corresponding target terminal, target mating connector, target wire contact, and target ground with a wire. The target terminal is the terminal of the device connector of the electrical component. The at least one wire includes a wire that implements the physical connection between any two of the target terminal, target mating connector, target wire contact, and target ground corresponding to each connection logic. For example, the wiring harness diagram generation device can first determine the target terminal, target mating connector, target wire contact, and target ground corresponding to each connection logic in the wiring harness schematic in the topology diagram, and then determine the information of at least one wire connecting the target terminal, target mating connector, target wire contact, and target ground to implement the connection logic.
[0136] The target terminal corresponding to the connection logic can be directly determined based on the logic information in the wiring harness schematic. For example, for Figure 2 The connection logic Net2 in the wiring harness schematic diagram shown has corresponding target terminals including terminals PIN3, PIN7, PIN8, PIN9 and PIN14.
[0137] For a target connector, the harness diagram generation device can determine multiple harness assemblies used to implement the connection logic based on the target terminal corresponding to the connection logic. Then, it determines the target mating connector among the mating connectors between these multiple harness assemblies. These multiple harness assemblies are the harness assemblies containing the harness nodes to which the target terminal is connected. If there is only one mating connector between two harness assemblies, that mating connector is designated as the target mating connector. If there are multiple mating connectors between two harness assemblies, the harness diagram generation device can determine the total path length between each mating connector and each target terminal, and then designate the mating connector with the shortest total path length to each target terminal as the target mating connector.
[0138] For example, such as Figure 2 and 3As shown, for connection logic Net2, its corresponding target terminals include terminals PIN3, PIN7, PIN8, PIN9, and PIN14. The wiring harness node N18 connected to target terminal PIN3 (belonging to device 1) belongs to the dashboard wiring harness assembly; the wiring harness nodes N28 connected to target terminals PIN7 and PIN8 (belonging to device 2) and N40 connected to target terminal PIN14 (belonging to device 5) belong to the floor wiring harness assembly; and the wiring harness node N22 connected to target terminal PIN9 (belonging to device 3) belongs to the door wiring harness assembly. Thus, it can be determined that the wiring harness assemblies used to implement connection logic Net2 include the dashboard wiring harness assembly, the floor wiring harness assembly, and the door wiring harness assembly. The mating connector between the floor wiring harness assembly and the door wiring harness assembly is the mating connector between N54 and N55; therefore, this mating connector can be used as the target mating connector between the floor wiring harness assembly and the door wiring harness assembly. There are two mating connectors between the dashboard wiring harness assembly and the floor wiring harness assembly: connector 1 between wiring harness nodes N52 and N53, and connector 2 between wiring harness nodes N50 and N2. Figure 3 It can be seen that the sum of the paths between the mating connector 1 and devices 1, 2, 3 and 5 is shorter, while the sum of the paths between the mating connector 2 and devices 1, 2, 3 and 5 is longer. Therefore, the mating connector between wire harness nodes N52 and N53 can be used as the target mating connector.
[0139] For a target ground, the wiring diagram generation device can, for each connection logic requiring grounding, determine the ground closest to the corresponding electrical device (i.e., the ground with the shortest sum of paths to all electrical devices) as the target ground for that connection logic. This target ground is also the target ground that the electrical device corresponding to that connection logic needs to be connected to. For example, such as... Figure 2 and 3 As shown, connection logic Net2 needs to be grounded. The power devices corresponding to this connection logic are devices 1, 2, 3, and 5. The topology diagram includes two grounds, G1 and G2. The sum of the paths between the power devices 1, 2, 3, and 5 corresponding to this connection logic and ground G1 is relatively short. Therefore, ground G1 can be identified as the target ground for this connection logic.
[0140] For a target wire connection, if a connection logic indicates that three or more electrical devices are connected, then at least three wires connected to each electrical device must be connected to the same point, which is the wire connection. Optionally, the designer can input the quantity and location requirements of wire connections for each connection logic. The harness diagram generation device can determine the target wire connection that meets the quantity and location requirements in the topology diagram based on these requirements. The path and length of the wires connecting the electrical devices will differ depending on the location of the wire connection. In the embodiments of this application, the target wire connection can be the wire connection that meets the quantity and location requirements and minimizes the sum of the paths of the connected wires. For example, for connection logic Net2, the quantity requirement of the wire connection input by the designer can be 1. The target wire connection determined by the harness diagram generation device can be located near harness node N43.
[0141] The wiring harness diagram generation device has an automatic mode and a manual mode. In each mode, the device can perform corresponding operations to obtain information on at least one wire that implements the connection logic after determining the target terminal, target mating connector, target wire contact, and target ground. For example, in automatic mode, the device can automatically generate information on at least one wire that implements the connection logic based on the target terminal, target mating connector, target wire contact, and target ground. In manual mode, the designer can manually input the information on at least one wire based on the target terminal, target mating connector, target wire contact, and target ground.
[0142] For example, in automatic mode, the wiring diagram generation device can automatically calculate the path of at least one wire connecting the target terminal, target mating connector, target wire contact, and target ground. In manual mode, the designer can sequentially arrange the wires between each pair of components that need to be connected. The wiring diagram generation device can continuously prompt components that have not yet been physically connected by wires, such as by marking the component with a more prominent color in the topology diagram. The designer can then proceed with the arrangement of wires between the target terminal, target mating connector, target wire contact, and target ground based on the prompts from the wiring diagram generation device. Optionally, the designer can also arrange all the wires implementing the connection logic at once, that is, input the information of at least one wire at once; this is not limited in the embodiments of this application.
[0143] Step 607: Receive the allocation information of multiple wires that need to be connected by the connector in the topology diagram, and obtain the second physical information required for the wiring harness diagram. The second physical information includes: information of the device connector in the power module, information of the terminal of the device connector, physical connection information of the wires, information of the wire connection points between the wires, and the allocation information.
[0144] The wiring harness diagram generation device obtains only the physical connection information of the wires implementing the connection logic in the wiring harness schematic, indicating the mating connectors to which the wires are connected. Each mating connector has multiple terminals, and each wire must specifically connect to a specific terminal on the mating connector to ensure the implementation of the connection logic. Therefore, the wiring harness diagram generation device can also obtain the allocation information of multiple wires connected through mating connectors. This allocation information indicates the terminals to which multiple wires are connected in the mating connectors. Optionally, this allocation information can be input by the designer, or it can be calculated by the wiring harness diagram generation device based on all the wires to be connected to the mating connectors.
[0145] For example, one side of the mating connector has terminals 1, 2, and 3, and the other side has terminals 4, 5, and 6. Terminals 1, 2, and 3 are connected to terminals 4, 5, and 6, respectively. Wire 7 in the first wiring harness assembly connected to one side of the mating connector needs to be connected to wire 8 in the second wiring harness assembly connected to the other side. The designer can assign wire 7 to connect to terminal 1 and wire 8 to connect to terminal 4, thus achieving the connection between wires 7 and 8.
[0146] The wiring harness diagram generation device can comprehensively determine the second physical information required for the wiring harness diagram from the information determined in step 605, the physical connection information of the wires and the target wire connection information determined in step 606, and the allocation information determined in step 607. This second physical information includes: information about the device connectors in the power module, information about the terminals of the device connectors, physical connection information of the wires, information about the wire connections between the wires, and the allocation information. The information about the wire connections is also the information about each target wire connection determined above, such as the location of the target wire connections.
[0147] Optionally, during the process of determining the various pieces of information in the second physical information, the harness diagram generating device may also receive the specification information of the conductors in the harness backbone, which may include wire diameter and wire color. The second physical information may also include this specification information.
[0148] Step 608: Export the first physical information and the second physical information from the topology diagram according to different wire harness assemblies, and generate wire harness diagrams for different wire harness assemblies.
[0149] After acquiring the first and second physical information required for the wiring harness diagram, the wiring harness diagram generation device can export the first and second physical information separately according to different wiring harness assemblies, so as to generate wiring harness diagrams for each wiring harness assembly based on the exported physical information belonging to different wiring harness assemblies. For example, the wiring harness diagram of each wiring harness assembly may include information on components belonging to that wiring harness assembly (such as wires in that wiring harness assembly) from the first and second physical information, as well as information on components directly connected to the wires in that wiring harness assembly but not belonging to other wiring harness assemblies (such as mating connectors connected to wiring harness assemblies).
[0150] Optionally, the wiring harness diagram may also include target wire connections. For example, the wiring harness diagram generating device can receive manufacturing process requirements for the wiring harness in the diagram, such as requirements for the placement of wire connections. Based on these manufacturing process requirements, the device can determine the target location in the wiring harness diagram where the target wire connections need to be placed. This target location satisfies the manufacturing process requirements, and when the target wire connection is placed at this target location, the sum of the lengths of the wires connected to the target wire connection is minimized. This ensures that fewer wires are used in the actual wiring harness arrangement. Furthermore, based on the information and target locations belonging to different wiring harness assemblies in the first and second physical information, wiring harness diagrams for different wiring harness assemblies can be generated.
[0151] Optionally, the wiring harness diagram may also include information on the fasteners and wrapping methods of each wiring harness backbone, such as the model and type of fasteners used for each backbone, and whether they are wrapped with metal or insulation. This information can be input by the designer, and the wiring harness diagram generation device can receive the information on the fasteners and wrapping methods of the backbones in the wiring harness diagram, and then add the information on the fasteners and wrapping methods to the wiring harness diagram.
[0152] Optionally, the theoretical diameter of each wire harness trunk can also be identified in the harness diagram. For example, the harness diagram generation device can count all wires in each wire harness trunk and then output the theoretical diameter of the harness trunk based on the diameter of each wire. This theoretical diameter can be used to assist designers in verifying the three-dimensional arrangement of the harness. For instance, designers can verify the three-dimensional arrangement of the harness using other devices besides the harness diagram generation device. For example, the three-dimensional arrangement data of the harness used in the aforementioned topology diagram is data obtained through preliminary approximate design. After determining the theoretical diameter of each wire harness trunk, the diameter of the wire harness trunk in the three-dimensional arrangement data can be adjusted based on this theoretical diameter to obtain more accurate three-dimensional arrangement data of the harness. Optionally, this theoretical diameter can also be used to assist in determining the size of the harness trunk's wrapping component, or to assist in determining the specifications of the connectors used in the harness trunk, or it can serve other purposes; this application embodiment does not limit this.
[0153] Optionally, the wiring harness diagram may also include information about the materials used in the wiring harness assembly. For example, the designer can manually select various materials used in the wiring harness assembly, and the wiring harness diagram generation device can then add information about the material selected by the designer to the wiring harness diagram.
[0154] Optionally, the wiring harness diagram may also include the paths and lengths of each conductor in the main wiring harness. For example, the wiring harness diagram generation device can calculate the arrangement path and length of each conductor in the wiring harness diagram, and then add the arrangement path and length of that conductor to the wiring harness diagram. The paths and lengths of the conductors may also include information about the materials used in the wiring harness assembly.
[0155] Optionally, the wiring harness diagram generation device can also automatically generate a bill of materials (BOM) required for the wiring harness diagram, such as the model and specifications of each wiring harness component. The wiring harness diagram design module can also perform cost analysis of the wiring harness system based on this BOM. This BOM can also be used for material selection or preparation by equipment manufacturers, or for other purposes, which are not limited in this application embodiment. This eliminates the need for manual BOM generation and cost analysis, reducing errors from manual calculations and significantly improving the design quality and efficiency of the wiring harness diagram.
[0156] In summary, the wiring harness diagram generation method provided in this application can generate the physical information required for the wiring harness diagram based on the wiring harness schematic and topology diagram of the device. Furthermore, the physical information required for the wiring harness diagram can be exported separately according to different wiring harness assemblies to generate wiring harness diagrams for different assemblies. Therefore, this application provides a novel method for automatically outputting wiring harness diagrams, enriching the available methods for generating wiring harness diagrams.
[0157] Furthermore, the wiring harness schematic diagram of the device in this embodiment does not include information related to the connection of wires, thus the acquisition efficiency of the wiring harness schematic diagram is high. Consequently, after importing the logical information from the wiring harness schematic diagram into the topology diagram, the efficiency of generating the second physical information required for the wiring harness diagram can be high. This second physical information includes the physical connection information of the wires, eliminating the need for the user to manually design the physical connection information of the wires, thus resulting in high generation efficiency of the physical connection information of the wires. Because the acquisition efficiency of the wiring harness schematic diagram and the physical connection information of the wires is high during the generation of the wiring harness diagram, the generation efficiency of the wiring harness diagram can be significantly improved.
[0158] Figure 7 This is a schematic diagram of a wire harness diagram generation device provided in an embodiment of this application. Figure 7 As shown, the generating apparatus 70 may include:
[0159] The first processing module 701 is used to complete the wiring harness schematic diagram of the device based on the obtained principles of each electrical component in the device. The wiring harness schematic diagram includes logical information indicating the connection logic between electrical components and between electrical components and ground, but does not include information related to the connection of wires.
[0160] The acquisition module 702 is used to acquire a topology diagram and acquire first physical information based on the topology diagram. The topology diagram is used to indicate the topology structure of the power modules in the equipment, the grounding in the equipment, the main trunk of each wire harness assembly in the equipment, and the docking connectors between the wire harness assemblies. The power modules and power devices in the equipment correspond one-to-one, and the power modules include the corresponding power devices. The first physical information includes information on the main trunk of the wire harness, information on the grounding, and information on the docking connectors.
[0161] The second processing module 703 is used to import the logic information in the wiring harness schematic diagram into the topology diagram and generate the second physical information required for the wiring harness diagram. The second physical information includes: information on the device connectors that the power module also needs to include, information on the terminals of the device connectors, physical connection information of the wires that realize the connection logic, and information on the wire connection points between the wires. For a power device and device connector in a power module, the device connector is the connector of the power device, and the wire connection point is the connection point of at least three wires.
[0162] The third processing module 704 is used to export the first physical information and the second physical information according to different wire harness assemblies in the topology diagram, and generate wire harness diagrams for different wire harness assemblies.
[0163] In summary, the wiring harness diagram generation device provided in this application can generate the physical information required for the wiring harness diagram based on the wiring harness schematic diagram and topology diagram of the device. Furthermore, the physical information required for the wiring harness diagram can be exported separately according to different wiring harness assemblies to generate wiring harness diagrams for different wiring harness assemblies. Therefore, this application provides a novel method for automatically outputting wiring harness diagrams, enriching the available methods for generating wiring harness diagrams.
[0164] Furthermore, the wiring harness schematic diagram of the device in this embodiment does not include information related to the connection of wires, thus the acquisition efficiency of the wiring harness schematic diagram is high. Consequently, after importing the logical information from the wiring harness schematic diagram into the topology diagram, the efficiency of generating the second physical information required for the wiring harness diagram can be high. This second physical information includes the physical connection information of the wires, eliminating the need for the user to manually design the physical connection information of the wires, thus resulting in high generation efficiency of the physical connection information of the wires. Because the acquisition efficiency of the wiring harness schematic diagram and the physical connection information of the wires is high during the generation of the wiring harness diagram, the generation efficiency of the wiring harness diagram can be significantly improved.
[0165] Optionally, the connection logic includes connection logic between terminals of the device connector and between terminals of the device connector and ground.
[0166] Optionally, the second processing module 703 is used for:
[0167] Import logical information into the topology diagram; the logical information includes: information of electrical components, information of component connectors, information of component connector terminals, and information on the connection logic between component connector terminals and between component connector terminals and ground.
[0168] For each electrical device indicated by the logic information, the electrical device is mapped to the corresponding electrical module in the topology diagram. Information on the device connectors and the terminals of the device connectors are also generated for the electrical module corresponding to the electrical device.
[0169] Generate physical connection information for wires in the topology diagram; the physical connection information for wires includes information on at least one wire that is physically connected between any two of the target terminal that implements the connection logic, the target mating connector, the target wire connection point, and the target ground, where the target terminal is the terminal of the device connector.
[0170] Receive allocation information for multiple wires that need to be connected via mating connectors in the topology diagram. The allocation information is used to indicate the terminals to which the multiple wires are connected in the mating connectors. The second physical information also includes the allocation information.
[0171] Optionally, the second processing module 703 is used for:
[0172] In the topology diagram, target operations are performed; target operations include: determining target terminals for implementing connection logic; determining multiple harness assemblies for implementing connection logic based on the target terminals; using the mating connectors between the multiple harness assemblies as target mating connectors; obtaining the target ground for implementing the connection logic based on the connection logic; and determining the target wire connection points for each harness assembly.
[0173] Perform the corresponding operation in automatic or manual mode;
[0174] The automatic mode operation includes: determining at least one wire based on the determined target terminal, target mating connector, target ground and target wire connection; the manual mode operation includes: receiving information about at least one wire.
[0175] Optionally, the second processing module 703 is used for:
[0176] Requirements for the number and location of receiving wire connections;
[0177] Based on quantity and location requirements, determine the target wire connection points in the topology diagram;
[0178] Based on the connection logic, for any electrical device that needs to be grounded, the ground closest to the electrical device in the topology diagram is determined as the target ground that the electrical device needs to be connected to.
[0179] In multiple wiring harness assemblies, if there is only one mating connector between two wiring harness assemblies, then that mating connector will be used as the target mating connector.
[0180] In multiple wiring harness assemblies, if there are multiple mating connectors between two wiring harness assemblies, the total path between each mating connector and each target terminal is determined, and the mating connector with the shortest total path to each target terminal is selected as the target mating connector.
[0181] Optionally, the third processing module 704 is used for:
[0182] Receive the manufacturing process requirements for the wire harness in the wire harness diagram;
[0183] Based on the production process requirements, the target position of the target wire connection point needs to be set in the wire harness diagram; the target position meets the production process requirements, and the sum of the lengths of the wires connected to the target wire connection point is the shortest when the target wire connection point is set in the target position.
[0184] Based on the information and target location of different wire harness assemblies in the first and second physical information, wire harness diagrams of different wire harness assemblies are generated.
[0185] Optionally, the acquisition module 702 is used to: acquire the three-dimensional topology of the power module, grounding, wiring harness backbone and docking connector; and obtain the corresponding two-dimensional topology diagram based on the three-dimensional topology.
[0186] Optionally, the harness diagram generation device 70 further includes:
[0187] The first receiving module is used to receive the specification information of the conductors in the main trunk of the wire harness in the topology diagram. The specification information includes the wire diameter and wire color; and to add specification information to the wire harness diagram.
[0188] Optionally, the harness diagram generation device 70 further includes:
[0189] The statistics module is used to count all the wires in each harness trunk to output the theoretical diameter of the harness trunk.
[0190] Optionally, the harness diagram generation device 70 further includes:
[0191] The second receiving module is used to receive information on the fasteners and wrapping methods of the main wire harness in the wire harness diagram, and to add information on the fasteners and wrapping methods in the wire harness diagram.
[0192] Optionally, the harness diagram generation device 70 further includes:
[0193] The third receiving module is used to receive information about the materials used in the wiring harness assembly in the wiring harness diagram and to add material information to the wiring harness diagram.
[0194] Optionally, the harness diagram generation device 70 further includes:
[0195] The determination module is used to determine the path and length of each conductor in the main body of the wire harness in the wire harness diagram; and to add the path and length information of each conductor in the wire harness diagram.
[0196] Optionally, the harness diagram generation device 70 further includes:
[0197] The output module is used to output the bill of materials required for the wire harness diagram.
[0198] It should be noted that the wiring harness diagram generation device based on topology diagram provided in this application is only illustrated by the above-mentioned division of functional modules when generating wiring harness diagrams. The above functions can also be assigned to different functional modules as needed, that is, the internal structure of the control device can be divided into different functional modules to complete all or part of the functions described above.
[0199] For example, the harness diagram generation device may include three modules: a first module performs the actions performed by the first processing module 701; a second module performs the actions performed by the acquisition module 702, the second processing module 703, the third processing module 704, and the first receiving module; and a third module performs the actions performed by the statistics module, the second receiving module, the third receiving module, the determination module, and the output module.
[0200] In summary, the wiring harness diagram generation device provided in this application can generate the physical information required for the wiring harness diagram based on the wiring harness schematic diagram and topology diagram of the device. Furthermore, the physical information required for the wiring harness diagram can be exported separately according to different wiring harness assemblies to generate wiring harness diagrams for different wiring harness assemblies. Therefore, this application provides a novel method for automatically outputting wiring harness diagrams, enriching the available methods for generating wiring harness diagrams.
[0201] Furthermore, the wiring harness schematic diagram of the device in this embodiment does not include information related to the connection of wires, thus the acquisition efficiency of the wiring harness schematic diagram is high. Consequently, after importing the logical information from the wiring harness schematic diagram into the topology diagram, the efficiency of generating the second physical information required for the wiring harness diagram can be high. This second physical information includes the physical connection information of the wires, eliminating the need for the user to manually design the physical connection information of the wires, thus resulting in high generation efficiency of the physical connection information of the wires. Because the acquisition efficiency of the wiring harness schematic diagram and the physical connection information of the wires is high during the generation of the wiring harness diagram, the generation efficiency of the wiring harness diagram can be significantly improved.
[0202] This application also provides a wiring harness diagram generation apparatus based on a topology graph. The apparatus may include a processor and a memory, with the memory connected to the processor via a bus or other means. The memory stores at least one program instruction, which is loaded and executed by the processor to implement the wiring harness diagram generation method based on the topology graph provided in this application.
[0203] The wiring harness diagram generation device based on the topology diagram in this embodiment can have display function, information input function, and data processing function. For example, the wiring harness diagram generation device based on the topology diagram can be a terminal such as a desktop computer or a laptop computer.
[0204] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the wiring harness generation method provided in the above embodiments, for example... Figure 5 or Figure 6 The method for generating harness diagrams based on topology graphs is shown.
[0205] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to execute the harness diagram generation method provided in the above-described method embodiments, for example... Figure 5 or Figure 6 The method for generating harness diagrams based on topology graphs is shown.
[0206] It should be noted that the various embodiments provided in this application can be referenced to each other, and this application does not limit them. The order of the steps in the method embodiments provided in this application can be appropriately adjusted, and the steps can also be added or removed according to the situation. Any variations that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application, and therefore will not be described in detail.
[0207] In this application, the term "comprising" as used throughout the specification and claims is an open-ended term and should therefore be interpreted as "comprising but not limited to". In the embodiments of this application, the terms "first", "second", etc., are used to distinguish identical or similar items with substantially the same function. It should be understood that there is no logical or temporal dependency between "first", "second", "third", and "nth", nor is there a limitation on the quantity or execution order. In the embodiments of this application, the term "at least one" means one or more, and the term "multiple" means two or more.
[0208] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0209] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for generating a wiring harness diagram based on a topology graph, characterized by, The method comprises: According to the principle of each electrical device in the obtained equipment, the harness principle diagram of the equipment is completed, the harness principle diagram comprises logic information indicating the connection logic between the electrical devices and between the electrical devices and the ground, and does not comprise information related to the connection of the wires; Obtain a topology diagram to obtain first physical information required by the harness diagram; the topology diagram is used to indicate the topology structure of the electrical modules in the equipment, the grounding straps in the equipment, the harness trunks in each harness assembly in the equipment, and the butt connectors between the harness assemblies, wherein the electrical modules in the equipment and the electrical devices correspond one-to-one, and the electrical modules comprise the corresponding electrical devices; the first physical information comprises information of the harness trunks, information of the grounding straps, and information of the butt connectors; Import the logic information in the harness principle diagram into the topology diagram to generate second physical information required by the harness diagram; the second physical information comprises information of device connectors which the electrical modules still need to comprise, information of terminals of the device connectors, physical connection information of wires which realize the connection logic, and information of wire junctions between the wires; for the electrical devices and the device connectors in one electrical module, the device connector is the connector of the electrical device, and the wire junction is the connection point of at least three wires; In the topology diagram, the first physical information and the second physical information are respectively exported according to different harness assemblies, and the harness diagrams of different harness assemblies are generated; Import the logic information in the harness principle diagram into the topology diagram to generate second physical information required by the harness diagram, comprising: Import the logic information into the topology diagram; the logic information comprises information of the electrical devices, information of the device connectors, information of the terminals of the device connectors, and information of the connection logic between the terminals of the device connectors and between the terminals of the device connectors and the ground; For each electrical device indicated by the logic information, map the electrical device to the electrical module corresponding to the electrical device in the topology diagram, generate information of device connectors which the electrical module corresponding to the electrical device still needs to comprise, and information of the terminals of the device connectors; Generate the physical connection information of the wires in the topology diagram; the physical connection information of the wires comprises information of at least one wire which realizes the physical connection between any two of the target terminals, the target butt connectors, the target wire junctions, and the target grounding straps, and the target terminals are the terminals of the device connectors; Receive allocation information of a plurality of wires which need to be connected through the butt connectors in the topology diagram; the allocation information is used to indicate the terminals of the plurality of wires which are connected in the connected butt connectors; the second physical information further comprises the allocation information; Generate the physical connection information of the wires in the topology diagram, comprising: For each harness assembly, determine the target wire junctions; The target wire junction for each wire harness assembly is determined, including: receiving a quantity requirement and a position requirement of the wire junction; determining the target wire junction in the topology graph based on the quantity requirement and the position requirement.
2. The method of claim 1, wherein, The connection logic includes connection logic between terminals of the device connector and between terminals of the device connector and ground.
3. The method of claim 1, wherein, The physical connection information of the wire is generated in the topology graph, further including: performing a target operation in the topology graph; the target operation includes: determining the target terminal for implementing the connection logic; determining a plurality of wire harness assemblies for implementing the connection logic according to the target terminal; taking the docking connector between the plurality of wire harness assemblies as the target docking connector; obtaining the target bonding iron for implementing the connection logic based on the connection logic; performing an operation corresponding to an automatic mode or a manual mode; wherein the operation corresponding to the automatic mode includes: determining the at least one wire according to the determined target terminal, target docking connector, target bonding iron and target wire junction; and the operation corresponding to the manual mode includes: receiving information of the at least one wire.
4. The method of claim 3, wherein: obtaining the target bonding iron for implementing the connection logic based on the connection logic includes: based on the connection logic, for any electric device requiring grounding, the bonding iron closest to the electric device in the topology graph is determined as the target bonding iron required to be connected to the electric device; taking the docking connector between the plurality of wire harness assemblies as the target docking connector includes: in the plurality of wire harness assemblies, if there is only one docking connector between two wire harness assemblies, the one docking connector is taken as the target docking connector; in the plurality of wire harness assemblies, if there are a plurality of docking connectors between two wire harness assemblies, the sum of paths between each docking connector and each target terminal is determined, and the docking connector with the shortest sum of paths between each target terminal is taken as the target docking connector.
5. The method according to any one of claims 1 to 4, characterized in that, In the topology graph, the first physical information and the second physical information are respectively derived according to different wire harness assemblies, and a wire harness diagram of different wire harness assemblies is generated, including: receiving a production process requirement for the wire harness in the wire harness diagram; based on the production process requirement, determining a target position in the wire harness diagram at which the target wire junction needs to be arranged; the target position meets the production process requirement, and the sum of lengths of wires connected by the target wire junction is shortest when the target wire junction is arranged at the target position; based on the information belonging to the different wire harness assemblies in the first physical information and the second physical information and the target position, generating the wire harness diagram of the different wire harness assemblies.
6. The method according to any one of claims 1 to 4, characterized in that, The topology graph is obtained, including: obtaining a three-dimensional topology of the power consumption module, the bonding iron, the wire harness trunk and the docking connector; and obtaining the topology graph corresponding to two dimensions based on the three-dimensional topology. And / or, the method further comprises: receiving specification information of wires in the wire harness trunk in the topology graph, the specification information including wire diameter and wire color; adding the specification information in the wire harness diagram; And / or, the method further comprises: counting all wires in each wire harness trunk to output a theoretical diameter of the wire harness trunk; And / or, the method further comprises: receiving information of fasteners and wrapping methods of the wire harness trunk in the wire harness diagram, and adding the information of the fasteners and the wrapping methods in the wire harness diagram; And / or, the method further comprises: receiving information of materials used by the wire harness assembly in the wire harness diagram, and adding the information of the materials in the wire harness diagram; And / or, the method further comprises: determining paths and lengths of each wire included in the wire harness trunk in the wire harness diagram; and adding information of the paths and lengths of the each wire in the wire harness diagram; And / or, the method further comprises: outputting a bill of materials required by the wire harness diagram.
7. A harness diagram generation apparatus based on a topology map, characterized by comprising: The wire harness diagram generation apparatus comprises: A first processing module configured to complete a wire harness schematic diagram of the device according to principles of each electrical device in the device, the wire harness schematic diagram including logical information indicating connection logic between the electrical devices and between the electrical devices and ground, and not including information related to connection of wires; An acquisition module configured to acquire a topology graph and acquire first physical information based on the topology graph, the topology graph being used to indicate a topology structure of electrical modules in the device, grounding straps in the device, wire harness trunks in each wire harness assembly in the device, and mating connectors between the wire harness assemblies, wherein the electrical modules in the device and the electrical devices one-to-one correspond, and the electrical modules include corresponding electrical devices; and the first physical information includes information of the wire harness trunks, information of the grounding straps, and information of the mating connectors; A second processing module configured to import the logical information in the wire harness schematic diagram into the topology graph to generate second physical information required by a wire harness diagram; the second physical information including information of device connectors that the electrical modules need to further include, information of terminals of the device connectors, physical connection information of wires that implement the connection logic, and information of wire junctions between the wires; for the electrical devices and device connectors in one electrical module, the device connectors are connectors of the electrical devices, and the wire junctions are connection points of at least three wires; A third processing module configured to separately export the first physical information and the second physical information according to different wire harness assemblies in the topology graph, and generate wire harness diagrams of the different wire harness assemblies. The second processing module is specifically configured to: import the logical information into the topology graph; the logical information comprises: information of the electrical device, information of the device connector, information of the terminal of the device connector, information of the connection logic between the terminals of the device connector and between the terminals of the device connector and the ground; for each of the electrical devices indicated by the logical information, mapping the electrical device with an electrical module corresponding to the electrical device in the topology graph, generating information of the device connector and information of the terminal of the device connector which also need to be included for the electrical module corresponding to the electrical device; generating physical connection information of the wires in the topology graph; the physical connection information of the wires comprises: information of at least one wire which realizes the physical connection between any two of the target terminal, the target mating connector, the target wire junction and the target bonding iron, the target terminal being the terminal of the device connector; receiving allocation information of a plurality of wires which need to be connected through the mating connector in the topology graph, the allocation information being used to indicate: terminals in the mating connector which are connected by the plurality of wires; the second physical information further comprises the allocation information; generating the physical connection information of the wires in the topology graph comprises: determining the target wire junction for each wire harness assembly; the determining the target wire junction for each wire harness assembly comprises: receiving a quantity requirement and a position requirement of the wire junction; determining the target wire junction in the topology graph based on the quantity requirement and the position requirement.
8. A topology map-based wiring harness map generation apparatus characterized by comprising: The generation device comprises a processor and a memory, the memory stores at least one program instruction, and the processor is configured to execute the at least one program instruction to implement the wire harness diagram generation method in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the topology graph based wire harness diagram generation method in any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle harness drawing creation method and device based on capital harness system (CHS) platform
CN104866642A
Method and device for carrying out drawing and verification management on vehicle diagram and electronic equipment
CN112231829A