A method and apparatus for determining sleeve specifications based on wire harness outer diameter
By determining the sequential tangency of the outer diameters of the cables in the harness and calculating the length of the closed curve of the harness, the problems of low efficiency and large error in determining the sleeve specifications are solved, and more efficient and accurate sleeve specification selection is achieved.
Patent Information
- Application Number
- CN202311298815.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-10-07
AI Technical Summary
Existing methods for determining sleeve specifications are inefficient and impractical, and their estimation errors are significant when there are many types and diameters of cables within the cable harness.
By taking all the cables in the harness as circles to be determined in descending order of their outer diameter, and sequentially tangenting them to two circles to be determined at already determined positions, the common tangent vector and the arc are determined, and the length of the harness's closed curve is obtained. The sleeve specification is then determined based on the ratio of the final calculated harness circumference to π.
It improves the efficiency and accuracy of determining conduit specifications and reduces estimation errors, especially when there are many types of cables with different diameters.
Smart Images

Figure CN117150696B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrical assembly technology for cabinets, and in particular to a method and apparatus for determining the sleeve specifications based on the outer diameter of the wire harness. Background Technology
[0002] Cabinet-type equipment contains various units, each equipped with multiple electrical connectors. These connectors from different units are connected by cables to transmit signals. Two connectors are often connected by multiple cables, which are then fitted into a protective sleeve; the cables are inside the sleeve after fitting. The protective sleeve both groups the multiple cables into a harness and protects the cables. Additionally, identification sleeves with printed text are fitted at both ends of the harness to indicate relevant information. Both the protective sleeve and the identification sleeve are flexible tubing with varying diameters. During the production of cabinet electrical components, the appropriate diameter tubing must be selected based on the thickness of the harness to ensure that the tubing allows the harness to pass through while maintaining a tight fit without loosening.
[0003] Existing technologies involve threading the fabricated wire harness through sleeves of different specifications to determine the tightness and select the appropriate sleeve size. This method is inefficient and has poor practicality in actual cabinet electrical assembly production. Another existing technology estimates the wire harness outer diameter using formulas and selects sleeves of appropriate specifications. This can approximate the outer diameter of the wire harness when the number of cables in the harness is small or the cables are all of the same diameter. The outer diameter is the diameter of the outer circle of a circular object, usually measured directly with calipers. However, this method has a large estimation error and poor practicality when the number of cables and their diameters are large.
[0004] Therefore, overcoming the shortcomings of the existing technology is an urgent problem to be solved in this technical field. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a method and apparatus for determining the sleeve specifications based on the outer diameter of the wire harness, thereby solving the problems of low efficiency, poor practicality and large estimation error in scenarios where there are many types of cables with different diameters in the wire harness.
[0006] The present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a method for determining the sleeve specification based on the outer diameter of a wire harness, comprising:
[0008] Based on the outer diameter of all cables in the harness, all cables in the harness are arranged in descending order of their outer diameter and designated as the i-th circle to be determined. A coordinate system is established with the center of the first circle to be determined as the origin. Here, i is the number of cables in the harness, and i>2.
[0009] making the first to-be-determined circle tangent to the second to-be-determined circle, determining the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) between the first to-be-determined circle and the second to-be-determined circle, the circular arc ARC(1) between the tangents of the first to-be-determined circle, and the circular arc ARC(2) between the tangents of the second to-be-determined circle, and obtaining a current wire harness closed curve according to the external common tangent vector TL(1,2), the external common tangent vector TL(2,1), the circular arc ARC(1) and the circular arc ARC(2), wherein the length of the current wire harness closed curve is the outer perimeter of the current wire harness;
[0010] making the j-th to-be-determined circle tangent to two of the first to-be-determined circle to the (j-1)-th to-be-determined circle at the same time in sequence to obtain a plurality of to-be-determined positions of the j-th to-be-determined circle, and determining the to-be-determined wire harness closed curve corresponding to each of the to-be-determined positions according to the current wire harness closed curve; acquiring the to-be-determined wire harness closed curve with the smallest length among all the to-be-determined wire harness closed curves, and taking the to-be-determined position with the smallest length as the position of the j-th to-be-determined circle; updating the current wire harness closed curve to the to-be-determined wire harness closed curve corresponding to the position, and updating the outer perimeter of the current wire harness according to the length thereof; wherein 2<j<i; iterating this process until j=i;
[0011] obtaining the outer diameter of the wire harness according to the ratio of the finally calculated outer perimeter of the current wire harness to π; determining the specification of the sleeve according to the outer diameter of the wire harness.
[0012] Further, the step of making the first to-be-determined circle tangent to the second to-be-determined circle, determining the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) between the first to-be-determined circle and the second to-be-determined circle, the circular arc ARC(1) between the tangents of the first to-be-determined circle, and the circular arc ARC(2) between the tangents of the second to-be-determined circle, and obtaining a current wire harness closed curve according to the external common tangent vector TL(1,2), the external common tangent vector TL(2,1), the circular arc ARC(1) and the circular arc ARC(2), wherein the length of the current wire harness closed curve is the outer perimeter of the current wire harness comprises:
[0013] making the first to-be-determined circle tangent to the second to-be-determined circle, and determining the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) between the first to-be-determined circle and the second to-be-determined circle;
[0014] The smooth transition arc between the external common tangent vector TL(2,1) and the external common tangent vector TL(1,2) on the first circle to be determined is defined as arc ARC(1); the smooth transition arc between the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) on the second circle to be determined is defined as arc ARC(2).
[0015] Connect the external common tangent vector TL(2,1), the circular arc ARC(1), the external common tangent vector TL(1,2), and the circular arc ARC(2) in sequence to obtain the current wire harness closed curve; the length of the current wire harness closed curve is determined as the current wire harness outer perimeter.
[0016] Further, determining the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) between the first circle to be determined and the second circle to be determined includes:
[0017] The directed line segment whose starting point is located at the center of the first circle to be determined and whose ending point is located at the center of the second circle to be determined is defined as the direction vector V(1,2); the directed line segment whose starting point is located at the center of the second circle to be determined and whose ending point is located at the center of the first circle to be determined is defined as the direction vector V(2,1).
[0018] The external common tangent line whose starting point is located on the first circle to be determined, whose ending point is located on the second circle to be determined, and which is located to the left of the direction vector V(1,2) is determined as the external common tangent vector TL(1,2); the external common tangent line whose starting point is located on the first circle to be determined, whose ending point is located on the second circle to be determined, and which is located to the left of the direction vector V(2,1) is determined as the external common tangent vector TL(2,1).
[0019] Further, the step of making the j-th circle to be determined tangent to two of the first to (j-1)-th circles to be determined simultaneously to obtain multiple positions to be determined for the j-th circle to be determined, and determining the closed curve of the wire harness corresponding to each position to be determined based on the current closed curve of the wire harness, includes:
[0020] Exclude the positions among the (j-1)*(j-2) positions of the j-th circle to be determined that intersect with one of the first j-1 circles to be determined;
[0021] When one of the positions to be determined of the j-th circle does not intersect with the closed curve of the current wire harness, the outer perimeter of the current wire harness is taken as the outer perimeter of the wire harness to be determined corresponding to the position to be determined;
[0022] When one of the to-be-determined positions of the j-th to-be-determined circle intersects the current wire harness closed curve, two external common tangents on the j-th to-be-determined circle are determined as two external common tangent vectors of the j-th to-be-determined circle, and the smooth transition arc between the two external common tangent vectors on the j-th to-be-determined circle is determined as the arc ARC(j); based on the two external common tangent vectors on the j-th to-be-determined circle and the arc ARC(j), the external common tangent vector intersecting the j-th to-be-determined circle in the current wire harness closed curve and the two arcs respectively tangent to the start ends and the terminal ends of the two external common tangent vectors are updated, so as to obtain the to-be-determined wire harness closed curve corresponding to the to-be-determined position.
[0023] Further, the step of determining the two external common tangents on the j-th to-be-determined circle as the two external common tangent vectors of the j-th to-be-determined circle comprises:
[0024] When the j-th to-be-determined circle intersects at least one external common tangent vector in the current wire harness closed curve, the start end of the external common tangent vector is located on the x-th to-be-determined circle, and the terminal end of the external common tangent vector is located on the y-th to-be-determined circle;
[0025] A directed line segment with its start end located at the center of the x-th to-be-determined circle and its terminal end located at the center of the j-th to-be-determined circle is determined as a direction vector V(x,j); a directed line segment with its start end located at the center of the j-th to-be-determined circle and its terminal end located at the center of the y-th to-be-determined circle is determined as a direction vector V(j,y); where 0<x,y<j; based on the relative positions of the to-be-determined position of the j-th to-be-determined circle with the direction vector V(x,j) and the direction vector V(j,y), two external common tangent vectors tangent to the x-th to-be-determined circle and the y-th to-be-determined circle are determined.
[0026] Further, the step of determining the two external common tangent vectors tangent to the x-th to-be-determined circle and the y-th to-be-determined circle based on the relative positions of the to-be-determined position of the j-th to-be-determined circle with the direction vector V(x,j) and the direction vector V(j,y) comprises:
[0027] Determining an external common tangent vector TL(x,j) which is located on the left side of the direction vector V(x,j), and has its start end located on the x-th to-be-determined circle and its terminal end located on the j-th to-be-determined circle;
[0028] Determining an external common tangent vector TL(j,y) which is located on the left side of the direction vector V(j,y), and has its start end located on the j-th to-be-determined circle and its terminal end located on the y-th to-be-determined circle.
[0029] Further, when one of the positions to be determined of the j-th circle intersects with the current closed curve of the wire harness, the step of obtaining the closed curve of the wire harness with the smallest length among all the closed curves to be determined, and taking the position of the closed curve with the smallest length as the position of the j-th circle to be determined, includes:
[0030] When the lengths of the closed curves of the wire harness corresponding to multiple positions to be determined are equal and are the minimum among all the closed curves of the wire harness to be determined, one of the multiple positions to be determined is randomly selected as the position of the j-th circle to be determined.
[0031] Furthermore, determining the sleeve specification based on the outer diameter of the wire harness includes:
[0032] Obtain the diameter range of at least one specification of sleeve, and determine whether the outer diameter of the wire harness is within the sleeve diameter range;
[0033] When the outer diameter of the wire harness is within the range of the sleeve diameter, the specification corresponding to the sleeve diameter range shall be used as the sleeve specification.
[0034] Furthermore, the method also includes:
[0035] List the cable type and quantity of all cables in the harness in the harness list, and store the cable type and corresponding outer diameter in the cable database so that the outer diameter of all cables in the harness can be obtained from the harness list and the cable database.
[0036] The specifications of the sleeve and the corresponding sleeve diameter range are stored in the sleeve database so that the corresponding sleeve diameter range can be determined from the sleeve database according to the outer diameter of the wire harness, and the sleeve specifications can be obtained.
[0037] Secondly, the present invention also provides a sleeve specification determination device based on the outer diameter of a wire harness, used to implement the sleeve specification determination method based on the outer diameter of a wire harness described in the first aspect, wherein the sleeve specification determination device based on the outer diameter of the wire harness includes:
[0038] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor for performing the sleeve specification determination method based on the outer diameter of the wire harness as described in the first aspect.
[0039] Thirdly, the present invention also provides a non-volatile computer storage medium storing computer-executable instructions that are executed by one or more processors to perform the sleeve specification determination method based on wire harness outer diameter described in the first aspect.
[0040] Unlike existing technologies, the present invention has at least the following beneficial effects:
[0041] This invention addresses the problems of low efficiency, poor practicality, and large estimation errors in existing methods for determining cable specifications, particularly when there are many cables with varying diameters within the cable harness. Each time, the common external tangent vector between the selected and pre-selected cables is determined to obtain the closed curve of the current cable harness and its corresponding outer circumference. The outer diameter of the cable harness is then calculated based on the ratio of the calculated outer circumference to π. Finally, the sleeve specification is determined based on the outer diameter. This invention solves the problems of low efficiency, poor practicality, and large estimation errors in scenarios involving a large number of cables with diverse diameters within the cable harness. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This invention provides a schematic diagram illustrating the positional relationship between a wire harness, a cable, a protective sleeve, and a label sleeve.
[0044] Figure 2 This is a schematic diagram of the overall process of a method for determining the sleeve specifications based on the outer diameter of a wire harness, provided in an embodiment of the present invention.
[0045] Figure 3 This is a schematic diagram of a cable database provided in an embodiment of the present invention;
[0046] Figure 4 This is a schematic diagram of two wire harness outer diameters provided in the embodiments of the present invention;
[0047] Figure 5 This is a schematic diagram of the specific process of step 20 in an embodiment of the present invention;
[0048] Figure 6 This is a schematic diagram illustrating the positional relationship between a first circle to be determined and a second circle to be determined, according to an embodiment of the present invention.
[0049] Figure 7 This is a schematic diagram of the specific process of step 201 in an embodiment of the present invention;
[0050] Figure 8 This is a schematic diagram of the specific process of step 30 in an embodiment of the present invention;
[0051] Figure 9 This is a schematic diagram showing the positional relationship between the third circle to be determined, the second circle to be determined, and the first circle to be determined, according to an embodiment of the present invention.
[0052] Figure 10 This is a schematic diagram of the position C(3, 1, 2) to be determined of the third circle to be determined, the second circle to be determined, the first circle to be determined, and the corresponding current outer perimeter of the wire harness provided in the embodiment of the present invention;
[0053] Figure 11 This is a schematic diagram of the specific process of step 303 in an embodiment of the present invention;
[0054] Figure 12 This is a schematic diagram of the specific process of step 40 in an embodiment of the present invention;
[0055] Figure 13 This is a schematic diagram of a casing database provided in an embodiment of the present invention;
[0056] Figure 14 This is a schematic diagram of a wire harness list provided in an embodiment of the present invention;
[0057] Figure 15 This is a schematic diagram of an arrangement of multiple circles to be determined and the corresponding outer perimeter of the current wire harness provided by an embodiment of the present invention;
[0058] Figure 16a This is a schematic diagram provided by an embodiment of the present invention, showing the circles to be determined and their corresponding current wire harness outer circumferences arranged in descending order;
[0059] Figure 16b This is a schematic diagram of an embodiment of the present invention showing the circles to be determined and their corresponding current wire harness outer circumferences arranged in ascending order;
[0060] Figure 17 This is a schematic diagram of three possible arrangements of a circle to be determined according to an embodiment of the present invention;
[0061] Figure 18 This is a schematic diagram of a first type of position to be determined for a circle to be determined and the corresponding outer perimeter of the wire harness to be determined, provided by an embodiment of the present invention.
[0062] Figure 19 This is a schematic diagram of a second position to be determined for a circle to be determined and the corresponding outer perimeter of the wire harness to be determined, provided by an embodiment of the present invention.
[0063] Figure 20 This is a schematic diagram of a third position to be determined for a circle to be determined and the corresponding outer perimeter of the wire harness to be determined, provided by an embodiment of the present invention.
[0064] Figure 21This is a schematic diagram of the architecture of a sleeve specification determination device based on the outer diameter of a wire harness, provided in an embodiment of the present invention. Detailed Implementation
[0065] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0066] In the description of this invention, the terms "inner", "outer", "longitudinal", "lateral", "upper", "lower", "top", "bottom", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and do not require that this invention must be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.
[0067] In this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0068] In this application, unless otherwise expressly specified and limited, the term "connection" shall be interpreted broadly. For example, "connection" may be a fixed connection, a detachable connection, or an integral part; it may be a direct connection or an indirect connection through an intermediate medium.
[0069] Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0070] Example 1:
[0071] During the production process of electrical components for cabinets, such as Figure 1 As shown, the wire harness consists of multiple cables, with a protective sleeve and a marking sleeve sequentially fitted around its exterior. It is necessary to determine the diameter of the sleeves that will connect to the wire harness. Existing methods for determining the sleeve diameter include the physical comparison method and the formula estimation method. The physical comparison method involves passing the fabricated wire harness through sleeves of different specifications; if the tightness is suitable, that specification of sleeve is selected. This method is inefficient. The formula estimation method estimates the outer diameter of the wire harness based on the diameter and number of cables within it using a designed formula, and then selects a sleeve of the appropriate specification so that the outer diameter of the wire harness is within the range of the sleeve diameter. This method can approximate the outer diameter of the wire harness when the number of cables in the harness is small or when all cables have the same diameter. However, when the number of cables and the variety of diameters in the wire harness are large, this method has a significant estimation error.
[0072] To address the issues of low efficiency, poor practicality, and significant estimation errors in existing methods for determining sleeve specifications, especially in scenarios involving a large number and variety of cable diameters within the cable harness, such as... Figure 2 As shown, Embodiment 1 of the present invention provides a method for determining the sleeve specification based on the outer diameter of the wire harness, including:
[0073] Step 10: Based on the outer diameter of all cables in the harness, arrange all cables in the harness in descending order of their outer diameter as the i-th circle to be determined; establish a coordinate system with the center of the first circle to be determined as the origin; where i is the number of cables in the harness, i>2.
[0074] Wherein, the outer diameter of the cable is the diameter of the outer circle of the cable's cross-section; the circle to be determined is the outer circle of the cable's cross-section. For ease of description, in the following text, regardless of whether the position of the outer circle (cable) has been determined, the outer circle of the cable will be uniformly referred to as the circle to be determined.
[0075] like Figure 3 As shown, in this embodiment of the invention, the cable model and its corresponding outer diameter are stored in a cable database.
[0076] For ease of representation and to improve computational efficiency, the center of the circle with the largest diameter to be determined can be used as the origin to establish a rectangular coordinate system. In optional embodiments, those skilled in the art may also use other methods to establish a coordinate system, which are not limited here.
[0077] List the cable types of all cables in the harness in the harness list, and fill in the required sleeve specifications for each harness group in the harness list.
[0078] Step 20: Make the first circle to be determined tangent to the second circle to be determined, determine the external common tangent vector TL(1,2), external common tangent vector TL(2,1), the arc ARC(1) between the tangents of the first circle to be determined, and the arc ARC(2) between the tangents of the second circle to be determined. Based on the external common tangent vector TL(1,2), the external common tangent vector TL(2,1), the arc ARC(1), and the arc ARC(2), obtain the closed curve of the current wire harness, the length of which is the outer perimeter of the current wire harness.
[0079] Herein, the common tangent is a straight line tangent to both two circles to be determined; the external common tangent is a tangent line on the same side of the common tangent where the two circles to be determined are located; the external common tangent vector is a vector representation of a directed external common tangent, for example, the external common tangent vector TL(1,2) is an external common tangent vector whose starting end is located on the first circle to be determined and whose terminal end is located on the second circle to be determined. The outer perimeter of the wire harness is the length of a closed curve containing the wire harness (the circle to be determined corresponding to the cable); the current outer perimeter of the wire harness is the outer perimeter of the wire harness of the current closed curve of the wire harness that contains the circles to be determined whose positions have been currently determined.
[0080] It should be noted that, as shown in Figure 4 , wherein the symbol represents the outer diameter of the wire harness. There are two types of outer diameters of the wire harness: one is the diameter of the minimum circumscribed circle of the wire harness, and the other is the equivalent circle diameter of the outer perimeter of the wire harness. Taking a wire harness including two cables with a diameter D=30 as an example, the minimum circumscribed circle diameter TD is twice the diameter, that is, TD=2*D=60; the outer perimeter of the wire harness includes the lengths of two semicircles and two straight lines, the outer perimeter EL=π*D+2*D=154.25, and the corresponding equivalent circle diameter ED=EL / π=49.1, so the equivalent circle diameter is smaller than the minimum circumscribed circle diameter. If the sleeve diameter is determined according to the minimum circumscribed circle diameter, the result will be too large, and the corresponding protective sleeve and identification sleeve cannot be closely attached to the wire harness. If the sleeve diameter is determined according to the equivalent circle diameter, the corresponding protective sleeve and identification sleeve can be closely attached to the wire harness. In practice, to facilitate the threading and sleeving operation, the sleeve diameter can be made slightly larger than the equivalent circle diameter. Unless otherwise specified, the outer diameter of the wire harness described below all refers to the equivalent circle diameter of the outer perimeter of the wire harness.
[0081] Moreover, for one circle to be determined whose diameter is known but position is to be determined, if it is made tangent to one circle to be determined whose diameter and position are both known, there are countless possible positions for it; if it is made tangent to two circles to be determined whose diameters and positions are both known, there are generally 2 possible positions for it.
[0082] Step 30: making the j-th circle to be determined tangent to two of the first to the (j-1)-th circles to be determined in sequence, to obtain a plurality of positions to be determined of the j-th circle to be determined, and determining a closed curve of the wire harness to be determined corresponding to each position to be determined according to the current closed curve of the wire harness; acquiring the closed curve of the wire harness to be determined with the smallest length among all the closed curves of the wire harness to be determined, and taking the position to be determined corresponding to the smallest length as the position of the j-th circle to be determined; updating the current closed curve of the wire harness to the closed curve of the wire harness to be determined corresponding to the position, and updating the current outer perimeter of the wire harness according to its length; wherein 2<j<i; this process is iterated until j=i.
[0083] Herein, the position to be determined is a possible position where the circle to be determined may be determined; the closed curve of the wire harness to be determined is a closed curve of the wire harness that contains the circle to be determined whose position is not currently determined.
[0084] In an optional embodiment, based on the current harness closure curve and the current harness perimeter calculated at the corresponding time, the harness closure curve and its perimeter corresponding to each position to be determined are determined. The position with the smallest perimeter is taken as the position of the j-th circle to be determined, and the current harness closure curve and the current harness perimeter are updated based on this position.
[0085] It is worth noting that after obtaining the position to be determined of the j-th circle to be determined, when one of the positions to be determined of the j-th circle to be determined intersects with the current closed curve of the wire harness, step 30, which involves obtaining the closed curve of the wire harness with the smallest length among all the closed curves to be determined, and using the position of the closed curve with the smallest length as the position of the j-th circle to be determined, includes:
[0086] When the lengths of the closed curves of the wire harness corresponding to multiple positions to be determined are equal and are the minimum among all the closed curves of the wire harness to be determined, one of the multiple positions to be determined is randomly selected as the position of the j-th circle to be determined.
[0087] Since the sleeve diameter is determined according to the folded circle diameter in this embodiment of the invention, and the final requirement is that the sleeve diameter of the corresponding protective sleeve and marking sleeve is slightly larger than the folded circle diameter, the smallest outer circumference of the wire harness to be determined is selected. The circle j to be determined is tangent to two of the previous j-1 circles to be determined, and theoretically, the position of the circle j to be determined has a maximum of (j-1)*(j-2) possibilities.
[0088] Step 40: Obtain the outer diameter of the wire harness based on the ratio of the current wire harness outer perimeter to π as calculated in the final calculation; determine the sleeve specification based on the outer diameter of the wire harness.
[0089] This invention addresses the problems of low efficiency, poor practicality, and large estimation errors in existing methods for determining cable specifications, particularly when there are many cables with varying diameters within the cable harness. Each time, the common external tangent vector between the selected and pre-selected cables is determined to obtain the current harness's closed curve and corresponding outer perimeter. The outer diameter of the harness is then calculated based on the ratio of the calculated outer perimeter to π. Finally, the sleeve specification is determined based on the outer diameter. This invention solves the problems of low efficiency, poor practicality, and large estimation errors in scenarios involving a large number of cables with diverse diameters within the harness.
[0090] To better illustrate the method for determining sleeve specifications based on the outer diameter of the wire harness according to the present invention, step 20 of the method for determining sleeve specifications based on the outer diameter of the wire harness according to the embodiment of the present invention will be further refined below, such as... Figure 5 As shown, step 20 includes:
[0091] Step 201: Make the first circle to be determined tangent to the second circle to be determined, and determine the external common tangent vector TL(1,2) and external common tangent vector TL(2,1) between the first circle to be determined and the second circle to be determined.
[0092] Step 202: On the first circle to be determined, the smooth transition arc between the external common tangent vector TL(2,1) and the external common tangent vector TL(1,2) is determined as arc ARC(1); On the second circle to be determined, the smooth transition arc between the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) is determined as arc ARC(2).
[0093] like Figure 6 As shown, arc ARC(1) is a smooth transition arc between the external common tangent vector TL(2,1) and the external common tangent vector TL(1,2) on the first circle to be determined C(1); arc ARC(2) is a smooth transition arc between the external common tangent vector TL(2,1) and the external common tangent vector TL(1,2) on the second circle to be determined C(2).
[0094] Step 203: Connect the external common tangent vector TL(2,1), the circular arc ARC(1), the external common tangent vector TL(1,2), and the circular arc ARC(2) in sequence to obtain the current wire harness closed curve; determine the length of the current wire harness closed curve as the current wire harness outer perimeter.
[0095] like Figure 6 As shown, the center of the circle with the largest diameter to be determined is taken as the origin. When establishing the coordinate system, two external common tangents are represented by vectors, namely TL(1,2) and TL(2,1), for ease of description and calculation. The current closed curve EC(2) of the first circle to be determined C(1) and the second circle to be determined C(2) is composed of four line segments: external common tangent vector TL(1,2), arc ARC(1), external common tangent vector TL(2,1) and arc ARC(2).
[0096] The length EL(2) of the current closed curve EC(2) of the wire harness is the total length of the four line segments. The calculated outer perimeter of the current wire harness is EL(2) = |TL(1,2)| + |ARC(2)| + |TL(2,1)| + |ARC(1)| = 90.34. Where |x| represents the length of the straight line or curve x.
[0097] To better illustrate the method for determining sleeve specifications based on the outer diameter of the wire harness according to the present invention, step 201 of the method for determining sleeve specifications based on the outer diameter of the wire harness according to the embodiment of the present invention will be further refined below, such as... Figure 7As shown, in step 201, determining the first external common tangent vector TL(1,2) and the first external common tangent vector TL(2,1) between the first circle to be determined and the second circle to be determined includes:
[0098] Step 2011: Determine the direction vector V(1,2) as the directed line segment whose starting point is located at the center of the first circle to be determined and whose ending point is located at the center of the second circle to be determined; determine the direction vector V(2,1) as the directed line segment whose starting point is located at the center of the second circle to be determined and whose ending point is located at the center of the first circle to be determined.
[0099] like Figure 6 As shown, the direction vector is defined as vector V(1,2), with its starting point being the center of the first circle to be determined C(1) and its ending point being the center of the second circle to be determined C(2); the direction vector is defined as vector V(2,1), with its starting point being the center of the second circle to be determined C(2) and its ending point being the center of the first circle to be determined C(1).
[0100] Step 2012: Determine the external common tangent line whose starting point is located on the first circle to be determined, whose ending point is located on the second circle to be determined, and which is located to the left of the direction vector V(1,2) as the external common tangent vector TL(1,2); Determine the external common tangent line whose starting point is located on the first circle to be determined, whose ending point is located on the second circle to be determined, and which is located to the left of the direction vector V(2,1) as the external common tangent vector TL(2,1).
[0101] Specifically, the location of the corresponding external common tangent vector is determined based on whether its point of tangency on the circle to be determined is to the left of the first or second direction vector. All points of tangency of the external common tangent vectors on the circle to be determined are located on the same side of the direction vector. The location of point P to the left or right of vector AB is determined by the cross product r = AB × AP: if r > 0, point P is to the left of vector AB; if r = 0, point P is on vector AB; if r < 0, point P is to the right of vector AB. The specific implementation method is selected by those skilled in the art based on the application scenario and existing technology.
[0102] This invention, through the setting of a direction vector and an external common tangent vector, connects the current wire harness into a closed curve clockwise along the direction of the external common tangent vector. This facilitates the establishment of a loop in the calculation method, is easy to implement with computers and other devices, and improves computational efficiency. In optional embodiments, the external common tangent vector can also be uniformly located to the right of the first or second direction vector, or the starting and ending positions of the external common tangent vector can be interchanged, and the current wire harness closed curve can be connected counterclockwise along the direction of the external common tangent vector. The specific implementation method can be selected by those skilled in the art according to the specific application scenario, and is not limited here.
[0103] After determining the positions of the two initial circles to be determined, the initial closed curve of the current wire harness and the corresponding outer perimeter of the current wire harness are obtained. When subsequently determining the positions of the circles to be determined, the positions of the new circles to be determined are sequentially added to the original positional relationship between the two circles to be determined, thereby updating the current closed curve of the current wire harness and the corresponding outer perimeter of the current wire harness. To better illustrate the method for determining sleeve specifications based on the outer diameter of the wire harness according to the present invention, step 30 of the method for determining sleeve specifications based on the outer diameter of the wire harness according to the embodiment of the present invention will be further refined below, such as... Figure 8 As shown, in step 30, the process of making the j-th circle to be determined tangent to two of the first to (j-1)-th circles to be determined simultaneously to obtain multiple positions to be determined for the j-th circle to be determined, and determining the closed curve of the wire harness corresponding to each position to be determined based on the current closed curve of the wire harness, includes:
[0104] Step 301: Exclude the positions to be determined from the (j-1)*(j-2) positions to be determined of the j-th circle to be determined that intersect with one of the first j-1 circles to be determined.
[0105] like Figure 9 As shown, the third circle to be determined, C(3), is tangent to the first circle to be determined, C(1), and the second circle to be determined, C(2). Its position to be determined has two possibilities, denoted by C(3,1,2) and C(3,2,1), respectively. C(3,1,2) is located to the left of the direction vector V(1,2), and C(3,2,1) is located to the left of the direction vector V(2,1). Since neither the positions to be determined, C(3,1,2) nor C(3,2,1) intersect with the first or second circle to be determined, they do not need to be excluded.
[0106] Step 302: When one of the positions to be determined of the j-th circle does not intersect with the closed curve of the current wire harness, the outer perimeter of the current wire harness is taken as the outer perimeter of the wire harness corresponding to the position to be determined.
[0107] When one of the positions to be determined of the j-th circle does not intersect with the current harness closure curve, it is within the current harness closure curve, and this position has no effect on the current harness closure curve. The outer perimeter of the harness corresponding to this position is always the shortest. There is no need to determine other positions or calculate the corresponding outer perimeters of the harness; this position is directly determined as the position of the j-th circle, without updating the current harness closure curve and its corresponding outer perimeter.
[0108] Step 303: When one of the positions to be determined of the j-th circle intersects with the current closed curve of the wire harness, the two external common tangents on the j-th circle to be determined are determined as the two external common tangent vectors of the j-th circle to be determined, and the smooth transition arc between the two external common tangent vectors on the j-th circle to be determined is determined as arc ARC(j); based on the two external common tangent vectors on the j-th circle to be determined and the arc ARC(j), update the external common tangent vectors that intersect with the j-th circle to be determined in the current closed curve of the wire harness, and the two arcs that are tangent to the beginning and end of the two external common tangent vectors respectively, to obtain the closed curve of the wire harness to be determined corresponding to the position to be determined.
[0109] In this embodiment of the invention, the common tangent vector intersecting the j-th circle to be determined in the current closed curve of the wire harness is deleted, and the two common tangent vectors of the j-th circle to be determined are used to update the current closed curve of the wire harness. Since the common tangent vector has been changed, the point where the original common tangent vector is tangent to the circle to be determined at the determined position has also changed. Therefore, the smooth transition arcs on the two circles to be determined other than the j-th circle to be determined that are tangent to the two common tangent vectors are updated to obtain the outer perimeter of the wire harness to be determined corresponding to the determined position.
[0110] like Figure 9 As shown, the position C(3,1,2) of the third circle to be determined intersects with the external common tangent vector TL(1,2). Therefore, the external common tangent vector TL(1,2) is deleted, and new external common tangent vectors TL(1,3) and TL(3,2) are drawn, resulting in a new arc ARC(3). Since the positions of the tangent points on the first and second circles to be determined have changed, arcs ARC(1) and ARC(2) need to be updated.
[0111] like Figure 10 As shown, the smooth transition arc between the external common tangent vector TL(1,3) and the external common tangent vector TL(3,2) corresponding to the position to be determined C(3,1,2) is defined as arc ARC(3). Wherein, Figure 10The diagram shows the updated closed curve of the current harness. The closed curve of the current harness before the update, which intersects with the position C(3,1,2) to be determined, is not shown. Figure 9 The diagram shows the current harness closure curve before the update. The length of the current harness closure curve EC(3) corresponding to the third circle to be determined is the total length of the six line segments, and the current harness perimeter EL(3) = 94.88.
[0112] Since the positions to be determined, C(3,2,1) and C(3,1,2), are symmetrical about the current bundle before the update, the closed curves of the updated current bundle corresponding to the two positions are symmetrical and have equal lengths. Randomly select one of them, and take circle C(3) = C(3,1,2).
[0113] like Figure 11 As shown, in step 303, determining the two external common tangents on the j-th circle to be determined as the two external common tangent vectors of the j-th circle to be determined includes:
[0114] Step 3031: When the j-th circle to be determined intersects with at least one external common tangent vector in the current closed curve of the wire harness, the beginning of the external common tangent vector is located on the x-th circle to be determined, and the end of the external common tangent vector is located on the y-th circle to be determined; the directed line segment whose beginning is located at the center of the x-th circle to be determined and whose end is located at the center of the j-th circle to be determined is determined as the direction vector V(x,j); the directed line segment whose beginning is located at the center of the j-th circle to be determined and whose end is located at the center of the y-th circle to be determined is determined as the direction vector V(j,y); where, 0 <x,y<j。
[0115] Among them, the xth circle to be determined and the yth circle to be determined are two of the first j-1 circles to be determined, depending on the calculation results of the first j-2 iterations (the positions of the first j-1 circles to be determined); here, the xth circle to be determined is defined as the circle to be determined at the beginning of the intersecting external common tangent vector, and the yth circle to be determined is defined as the circle to be determined at the end of the intersecting external common tangent vector.
[0116] Step 3032: Based on the relative positions of the j-th circle to be determined with the direction vector V(x,j) and the direction vector V(j,y), determine the two external common tangent vectors that are tangent to the x-th circle to be determined and the y-th circle to be determined.
[0117] Specifically, the external common tangent vector TL(x,j) is determined to be located to the left of the direction vector V(x,j), with its starting point on the x-th circle to be determined and its ending point on the j-th circle to be determined; the external common tangent vector TL(j,y) is determined to be located to the left of the direction vector V(j,y), with its starting point on the j-th circle to be determined and its ending point on the y-th circle to be determined.
[0118] To better illustrate the method for determining sleeve specifications based on the outer diameter of the wire harness according to the present invention, the following will further refine the method for determining sleeve specifications based on the outer diameter of the wire harness according to the embodiments of the present invention, such as... Figure 12 As shown, in step 40, determining the sleeve specification based on the outer diameter of the wire harness includes:
[0119] Step 401: Obtain the diameter range of at least one specification of sleeve, and determine whether the outer diameter of the wire harness is within the sleeve diameter range.
[0120] Step 402: When the outer diameter of the wire harness is within the range of the sleeve diameter, the specification corresponding to the sleeve diameter range shall be used as the sleeve specification.
[0121] like Figure 13 As shown, in this embodiment of the invention, the specifications of the sleeves and the corresponding sleeve diameter ranges are stored in a sleeve database. This allows for the determination of the appropriate sleeve diameter range from the sleeve database based on the outer diameter of the wire harness, thus obtaining the sleeve specifications. Specifically, the serial number, name, specifications, and recommended wire harness diameter range parameters of all sleeves are stored in the sleeve database. The thickness of the sheath is set to 1. If the outer diameter of the wire harness is ED, the sheath specification is selected according to this outer diameter value. After the sheath is applied, the outer diameter of the wire harness is set to ED+2, and the specification of the identification sleeve is selected according to this outer diameter value.
[0122] like Figure 14 As shown, in this embodiment of the invention, the cable type and corresponding quantity of all cables in the harness are listed in the harness list to facilitate obtaining the outer diameter of all cables in the harness from the harness list and the cable database. Specifically, the harness code, start-end identifier, start-end identifier sleeve selected according to the harness outer diameter, end identifier, end identifier sleeve selected according to the harness outer diameter, cable type, quantity and color of each harness, and sheath selected according to the harness outer diameter are listed in the harness list. The harness list contains at least one harness, and each harness includes multiple cables. The specifications of the sheath and the identifier sleeve are to be calculated and filled in later. Figure 14 The field has already been filled in.
[0123] like Figure 15 As shown, for example, the current harness consists of 34 cables. The 34 circles to be determined include 10 circles with an outer diameter of 12, 4 circles with an outer diameter of 8, and 20 circles with an outer diameter of 4. The calculated outer circumference of the current harness is EL(34) = 154.17, and the outer diameter of the harness is ED(34) = 49.07.
[0124] It is worth noting that when arranging multiple circles to be determined, they are arranged in descending order of size, further addressing the low efficiency of existing methods for determining sleeve specifications. For example, consider seven circles with an outer diameter of 8 and one circle with an outer diameter of 24. Figure 16a As shown, arranged in descending order, the calculated outer perimeter of the current wire harness is 110.10; Figure 16b As shown, arranging the circles in ascending order, the calculated outer circumference of the current wire bundle is 119.11, which is too large, so this arrangement is excluded. For N circles with different diameters, if the order of arrangement is taken into account, there are a total of N factorials, i.e., N! possible orders, which increases the computational load to N! times the original. For example, when N=8, N!=40320. In this embodiment of the invention, arranging the circles in descending order of outer diameter can greatly improve the calculation speed.
[0125] In an optional embodiment, the sleeve specification determination method of the present invention is automatically completed by secondary development of the spreadsheet, automatically calculating the outer diameter of the wire harness and filling in the sleeve specification, thereby further solving the problem of low efficiency of the existing sleeve specification determination method.
[0126] Example 2:
[0127] Based on Embodiment 1 above, this embodiment of the invention provides a specific example of determining the outer perimeter of the wire harness (steps 10-30) in Embodiment 1, so as to better understand the sleeve specification determination method of the present invention. Taking four cables with diameters of 20, 15, 10, and 4 respectively as examples, the steps of the sleeve specification determination method based on the outer diameter of the wire harness are as follows:
[0128] S1: Sort the four circles to be determined in descending order of diameter, i.e., the outer diameters of the circles to be determined C(1), C(2), C(3), and C(4) are DC(1) = 20, DC(2) = 15, DC(3) = 10, and DC(4) = 4, respectively.
[0129] S2: Place the circle C(1) to be determined at the origin of the coordinate system. That is, the X coordinate and Y coordinate of the circle C(1) to be determined are XC(1) = 0 and YC(1) = 0, respectively.
[0130] S3: As Figure 6 As shown, the circle C(2) to be determined is placed directly above and tangent to the circle C(1), that is, the X coordinate and Y coordinate of the circle C(2) to be determined are XC(2) = 0 and YC(2) = 17.5 respectively.
[0131] S4: As Figure 6As shown, define direction vectors V(1,2) and V(2,1), and determine the external common tangent vector TL(1,2) to the left of direction vector V(1,2) and the external common tangent vector TL(2,1) to the left of direction vector V(2,1).
[0132] S5: On the circle to be determined, the smooth transition arc between the external common tangent vector TL(2,1) and the external common tangent vector TL(1,2) is defined as arc ARC(1), and the smooth transition arc between the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) on the circle to be determined is defined as arc ARC(2).
[0133] The closed curve EC(2) of the circle to be determined C(1) and the circle to be determined C(2) is composed of four line segments TL(1,2), ARC(2), TL(2,1) and ARC(1) in a clockwise direction. The total length of the closed curve is the outer perimeter of the current wire bundle. The outer perimeter of the current wire bundle EL(2) = |TL(1,2)| + |ARC(2)| + |TL(2,1)| + |ARC(1)| = 90.34, and the outer diameter of the wire bundle ED(2) = EL(2) / π = 28.75.
[0134] S6: As Figure 9 As shown, since the positions to be determined, C(3,2,1) and C(3,1,2), are symmetrical about the current wire bundle before the update, the closed curves of the updated current wire bundle corresponding to the two positions are symmetrical and have equal lengths. Randomly select one, and choose the circle to be determined, C(3) = C(3,1,2). C(3,1,2) intersects with the external common tangent vector TL(1,2), and delete the external common tangent vector TL(1,2). Figure 10 As shown, new external common tangent vectors TL(1,3) and TL(3,2) are determined to obtain a new circular arc ARC(3). Since the positions of the tangent points on the circles C(1) and C(2) to be determined change, the circular arcs ARC(1) and ARC(2) need to be updated. The current closed curve of the wire harness consists of three external common tangent vectors and three circular arcs. The current wire harness perimeter EL(3) = 94.88 and ED(3) = EL(3) / π = 30.2.
[0135] S7: Determine the position of the circle to be determined, C(4), which is tangent to two of the three existing circles to be determined, C(1), C(2), and C(3). There are six possible positions, denoted by C(4,1,2), C(4,1,3), C(4,2,1), C(4,2,3), C(4,3,1), and C(4,3,2). C(4,1,3) indicates that the circle to be determined, C(4), is tangent to both the circle to be determined, C(1), and C(3), and is located to the left of the direction vector V(1,3). Of the six possible positions, C(4,1,2), C(4,2,3), and C(4,3,1) intersect with one of the existing circles to be determined, C(1), C(2), and C(3), and are therefore excluded. The remaining three possible positions are as follows: Figure 17 As shown.
[0136] S8: As Figure 18 As shown, the position to be determined, C(4,1,3), intersects with the external common tangent vector TL(1,3). Delete the external common tangent vector TL(1,3), draw new external common tangent vectors TL(1,4) and TL(4,3), obtaining a new circular arc ARC(4). Update circular arcs ARC(1) and ARC(3). The current closed curve of the wire harness consists of four external common tangent vectors and four circular arcs. The current wire harness perimeter EL(4,1,3) = 94.96.
[0137] like Figure 19 As shown, the position to be determined, C(4,2,1), is located inside the original closed curve, which is the shortest. Therefore, the current outer perimeter of the wire bundle EL(4,2,1) = EL(3) = 94.88.
[0138] At this point, the third position to be determined, C(4,3,2), can be skipped during the calculation. To demonstrate the general calculation steps, the calculation for position C(4,3,2) will still be performed below.
[0139] like Figure 20 As shown, the position to be determined, C(4,3,2), intersects with the external common tangent vector TL(3,2). Delete the external common tangent vector TL(3,2), draw new external common tangent vectors TL(3,4) and TL(4,2), obtaining a new arc ARC(4). Update arcs ARC(3) and ARC(2). The current outer perimeter of the wire harness is EL(4,3,2) = 95.12.
[0140] in, Figure 18 , Figure 19 and Figure 20 Only the updated current harness perimeter is shown.
[0141] Comparing the three positions to be determined above, we take the position to be determined as C(4,2,1), which means the current outer perimeter of the wire harness is EL(4) = 94.88 and the outer diameter of the wire harness is ED(4) = EL(4) / π = 30.2.
[0142] Example 3:
[0143] like Figure 21 The diagram shown is a schematic representation of the device for determining sleeve specifications based on the outer diameter of a wire harness according to an embodiment of the present invention. This embodiment of the device includes one or more processors 31 and a memory 32. Figure 21 Take a processor 31 as an example.
[0144] Processor 31 and memory 32 can be connected via a bus or other means. Figure 21 Taking the example of a connection between China and Israel via a bus.
[0145] The memory 32, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the bushing specification determination method based on the outer diameter of the wire harness in Embodiment 1. The processor 31 executes the bushing specification determination method based on the outer diameter of the wire harness by running the non-volatile software program and instructions stored in the memory 32.
[0146] Memory 32 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 32 may optionally include memory remotely located relative to processor 31, which can be connected to processor 31 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0147] The program instructions / modules are stored in the memory 32. When executed by one or more processors 31, they perform the sleeve specification determination method based on the wire harness outer diameter described in Embodiment 1 above. For example, they perform the above-described... Figure 2 , Figure 5 , Figures 7-8 , Figures 11-12 The steps shown.
[0148] It is worth noting that the information interaction and execution process between the modules and units in the above-mentioned device and system are based on the same concept as the processing method embodiment of the present invention. For details, please refer to the description in the method embodiment of the present invention, and will not be repeated here.
[0149] Those skilled in the art will understand that all or part of the steps in the various methods of the embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0150] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for determining the sleeve specification based on the outer diameter of a wire harness, characterized in that, comprising: according to the outer circle diameters of all cables in the wire harness, sequentially taking all cables in the wire harness as the 1st to i-th circles to be determined in descending order of the outer circle diameters; establishing a coordinate system with the center of the 1st circle to be determined as the origin; where i is the number of cables in the wire harness, and i>2; making the 1st circle to be determined tangent to the 2nd circle to be determined, determining the external common tangent vector TL(1,2), the external common tangent vector TL(2,1) between the 1st circle to be determined and the 2nd circle to be determined, the circular arc ARC(1) between the tangents of the 1st circle to be determined, and the circular arc ARC(2) between the tangents of the 2nd circle to be determined, and obtaining the current wire harness closed curve based on the external common tangent vector TL(1,2), the external common tangent vector TL(2,1), the circular arc ARC(1) and the circular arc ARC(2), with the length thereof being the current outer perimeter of the wire harness; making the j-th circle to be determined tangent to two of the 1st to j-1-th circles to be determined at the same time in sequence to obtain a plurality of positions to be determined of the j-th circle to be determined, and determining the closed curve of the wire harness to be determined corresponding to each of the positions to be determined based on the current wire harness closed curve; acquiring the closed curve of the wire harness to be determined with the smallest length among all the closed curves of the wire harness to be determined, and taking the position to be determined with the smallest length as the position of the j-th circle to be determined; updating the current wire harness closed curve to the closed curve of the wire harness to be determined corresponding to the position, and updating the current outer perimeter of the wire harness according to the length thereof; where 2<j<i; iterating this process until j=i; obtaining the outer diameter of the wire harness according to the ratio of the finally calculated current outer perimeter of the wire harness to π; determining the specification of the sleeve according to the outer diameter of the wire harness; The step of making the first circle to be determined tangent to the second circle to be determined, determining the common external tangent vectors TL(1,2) and TL(2,1) between the first and second circles to be determined, the arc ARC(1) between the tangents of the first circle to be determined, and the arc ARC(2) between the tangents of the second circle to be determined, and obtaining the current wire harness closed curve based on the common external tangent vectors TL(1,2), TL(2,1), ARC(1), and ARC(2), the length of which is the outer perimeter of the current wire harness, includes: making the first circle to be determined tangent to the second circle to be determined, determining the common external tangent vectors TL(1,2), TL(2,1), ARC(1), and ARC(2), and obtaining the current wire harness closed curve with a length equal to the outer perimeter of the current wire harness. Common tangent vector TL(1,2) and external common tangent vector TL(2,1); on the first circle to be determined, the smooth transition arc between the external common tangent vector TL(2,1) and the external common tangent vector TL(1,2) is determined as arc ARC(1); on the second circle to be determined, the smooth transition arc between the external common tangent vector TL(1,2) and the external common tangent vector TL(2,1) is determined as arc ARC(2); the external common tangent vector TL(2,1), arc ARC(1), external common tangent vector TL(1,2) and arc ARC(2) are connected in sequence to obtain the current wire harness closed curve; the length of the current wire harness closed curve is determined as the current wire harness outer perimeter; The determination of the common external tangent vectors TL(1,2) and TL(2,1) between the first circle to be determined and the second circle to be determined includes: determining a directed line segment whose starting point is at the center of the first circle to be determined and whose ending point is at the center of the second circle to be determined as a direction vector V(1,2); determining a directed line segment whose starting point is at the center of the second circle to be determined and whose ending point is at the center of the first circle to be determined as a direction vector V(2,1); determining a common external tangent vector TL(1,2) whose starting point is at the first circle to be determined and whose ending point is at the second circle to be determined, and which is located to the left of the direction vector V(1,2); and determining a common external tangent vector TL(2,1) whose starting point is at the first circle to be determined and whose ending point is at the second circle to be determined, and which is located to the left of the direction vector V(2,1).
2. The method of determining the grommet size based on the harness outer diameter according to claim 1, characterized by, The process involves making the j-th circle to be determined tangent to two of the first to (j-1)-th circles to be determined simultaneously, thereby obtaining multiple positions to be determined for the j-th circle. Based on the current closed curve of the wire harness, the closed curve of the wire harness corresponding to each position to be determined is determined, including: (j-1)th to-be-determined circle, the (j-2)th to-be-determined position is excluded from the (j-1)th to-be-determined position (j-2)th to-be-determined position is excluded from the (j-1)th to-be-determined position When one of the positions to be determined of the j-th circle does not intersect with the closed curve of the current wire harness, the outer perimeter of the current wire harness is taken as the outer perimeter of the wire harness to be determined corresponding to the position to be determined; When one of the positions to be determined of the j-th circle intersects with the current closed curve of the harness, the two external common tangents on the j-th circle to be determined are determined as the two external common tangent vectors of the j-th circle to be determined, and the smooth transition arc between the two external common tangent vectors on the j-th circle to be determined is determined as arc ARC(j); based on the two external common tangent vectors on the j-th circle to be determined and the arc ARC(j), the external common tangent vectors intersecting with the j-th circle to be determined in the current closed curve of the harness, and the two arcs tangent to the beginning and end of the two external common tangent vectors respectively, are updated to obtain the closed curve of the harness to be determined corresponding to the position to be determined.
3. The method of determining the grommet size based on the harness outer diameter according to claim 2, characterized by, The step of determining the two external common tangents on the j-th circle to be determined as the two external common tangent vectors of the j-th circle to be determined includes: When the j-th circle to be determined intersects with at least one external common tangent vector in the current closed curve of the wire harness, the beginning of the external common tangent vector is located on the x-th circle to be determined, and the end of the external common tangent vector is located on the y-th circle to be determined; the directed line segment whose beginning is located at the center of the x-th circle to be determined and whose end is located at the center of the j-th circle to be determined is determined as the direction vector V(x,j); the directed line segment whose beginning is located at the center of the j-th circle to be determined and whose end is located at the center of the y-th circle to be determined is determined as the direction vector V(j,y); where 0 <x,y<j; Based on the relative positions of the j-th circle to be determined with the direction vectors V(x,j) and V(j,y), two external common tangent vectors that are tangent to the x-th circle to be determined and the y-th circle to be determined are determined.
4. The method of determining the grommet size based on the harness outer diameter according to claim 3, characterized by, The step of determining the two external common tangent vectors tangent to the x-th and y-th undetermined circles based on the relative positions of the undetermined position of the j-th undetermined circle and the direction vectors V(x,j) and V(j,y) includes: Determine the external common tangent vector TL(x,j) located to the left of the direction vector V(x,j), with its starting point on the x-th circle to be determined and its ending point on the j-th circle to be determined; Determine the external common tangent vector TL(j,y) located to the left of the direction vector V(j,y), with its starting point on the j-th circle to be determined and its ending point on the y-th circle to be determined.
5. The method for determining sleeve specifications based on wire harness outer diameter according to claim 2, characterized in that, When one of the positions to be determined of the j-th circle intersects with the current closed curve of the wire harness, the step of obtaining the closed curve of the wire harness with the smallest length among all the closed curves to be determined, and taking the position of the closed curve with the smallest length as the position of the j-th circle to be determined, includes: When the lengths of the closed curves of the wire harness corresponding to multiple positions to be determined are equal and are the minimum among all the closed curves of the wire harness to be determined, one of the multiple positions to be determined is randomly selected as the position of the j-th circle to be determined.
6. The method of harness outer diameter based sleeve gauge determination of claim 1, wherein, Determining the sleeve specification based on the outer diameter of the wire harness includes: Obtain the diameter range of at least one specification of sleeve, and determine whether the outer diameter of the wire harness is within the sleeve diameter range; When the outer diameter of the wire harness is within the range of the sleeve diameter, the specification corresponding to the sleeve diameter range shall be used as the sleeve specification.
7. The method of determining the grommet size based on the harness outer diameter according to any one of claims 1 to 6, characterized in that, The method further includes: List the cable type and quantity of all cables in the harness in the harness list, and store the cable type and corresponding outer diameter in the cable database so that the outer diameter of all cables in the harness can be obtained from the harness list and the cable database. The specifications of the sleeve and the corresponding sleeve diameter range are stored in the sleeve database so that the corresponding sleeve diameter range can be determined from the sleeve database according to the outer diameter of the wire harness, and the sleeve specifications can be obtained.
8. A grommet gauge determination device based on wire harness outer diameter, characterized by, It includes at least one processor and a memory, which are connected via a data bus. The memory stores instructions that can be executed by the at least one processor. After being executed by the processor, the instructions are used to implement the sleeve specification determination method based on the outer diameter of the wire harness as described in any one of claims 1-7.
Citation Information
Patent Citations
Minimum diameter design method for multi-strand reducing wire bundle sheath
CN102184275A
Aircraft wire harness outer diameter simulation and trunk wire harness outer diameter estimation method
CN113962024A
