CN118274774A - Wire harness detection method, device, equipment and storage medium - Google Patents

Wire harness detection method, device, equipment and storage medium

Info

Publication number
CN118274774A
CN118274774A CN202410374744.3A CN202410374744A CN118274774A CN 118274774 A CN118274774 A CN 118274774A CN 202410374744 A CN202410374744 A CN 202410374744A CN 118274774 A CN118274774 A CN 118274774A
Authority
CN
China
Prior art keywords
wire harness
detected
determining
curvature
axial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410374744.3A
Other languages
Chinese (zh)
Inventor
刘康
李平
张艮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lantu Automobile Technology Co Ltd
Original Assignee
Lantu Automobile Technology Co Ltd
Filing date
Publication date
Application filed by Lantu Automobile Technology Co Ltd filed Critical Lantu Automobile Technology Co Ltd
Publication of CN118274774A publication Critical patent/CN118274774A/en
Pending legal-status Critical Current

Links

Abstract

The invention belongs to the technical field of vehicle detection, and discloses a wire harness detection method, a device, equipment and a storage medium. When a rigidity detection instruction of a wire harness to be detected is received, determining the axis direction of the wire harness to be detected; determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction; determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections; and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses. Through the mode, the rigidity detection result of the wire harness to be detected is determined through the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses, accurate detection of the rigidity of the wire harness is achieved, a user is assisted in judging the bending rigidity of the wire harness in a product design stage, accordingly, the problem in real object assembly is avoided, and the detection efficiency and the detection accuracy of the wire harness are improved.

Description

Wire harness detection method, device, equipment and storage medium
Technical Field
The present invention relates to the field of vehicle detection technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a wire harness.
Background
The wire harness type parts designed for the new vehicle model in the data based on the assembly synchronous engineering technology have differences between a theoretical bending path and a real object bending path, so that the problem that real objects cannot be assembled is generated, in the prior art, the parameter comparison of the wire harness parts is usually carried out manually, and whether the wire harness parts have design deviation is confirmed, but the efficiency is low, and the error rate is high due to manual false detection.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a wire harness detection method, a device, equipment and a storage medium, which aim at solving the technical problem of how to realize high-efficiency and accurate rigid detection of wire harness parts and avoid the fact that a real object cannot be assembled.
In order to achieve the above object, the present invention provides a wire harness detection method comprising the steps of:
when a rigidity detection instruction of a wire harness to be detected is received, determining the wire harness axis direction of the wire harness to be detected;
Determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction;
determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections;
and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses.
Optionally, the determining, when receiving a rigidity detection instruction of the wire harness to be detected, a wire harness axis direction of the wire harness to be detected includes:
when a rigidity detection instruction of a wire harness to be detected is received, a first axial direction of the wire harness to be detected is obtained;
equidistant selection of point positions is carried out according to the first axial direction, and a plurality of first axial coordinates are determined;
determining a plurality of first axial radii from each first axial coordinate;
and determining the wire harness axis direction of the wire harness to be detected according to the difference value between the first axial radiuses.
Optionally, the determining the wire harness axis direction of the wire harness to be detected according to the difference value between the first axial radiuses includes:
Comparing the difference value between the first axial radiuses with a preset difference value threshold;
when the difference value between the first axial radiuses is smaller than the preset difference value threshold value, determining the wire harness axis direction of the wire harness to be detected according to the first axial direction;
When the difference value between the first axial radiuses is not smaller than the preset difference value threshold value, determining a second axial direction of the wire harness to be detected according to the first axial direction;
equidistant selection of point positions is carried out according to the second axis, and a plurality of second axis coordinates are determined;
And determining the wire harness axis direction of the wire harness to be detected according to each second axial coordinate.
Optionally, the determining a plurality of cross-section center points of the wire harness to be detected according to the wire harness axis direction includes:
Performing wire harness point taking according to a preset point taking distance and the wire harness axis direction, and determining a plurality of equidistant points on the wire harness to be detected;
determining a plurality of wire harness section patterns according to a plurality of equidistant points on the wire harness to be detected;
And determining a plurality of section center points of the wire harness to be detected according to the center points of the section patterns of the wire harnesses.
Optionally, the determining a plurality of curvature radii of the wire harness to be detected according to each section center point includes:
determining adjacent center points of the sections according to the center point positions of the center points of the sections;
Performing graphic planning according to adjacent center points of the sections, and determining a plurality of section planning graphs;
and determining a plurality of curvature radiuses of the wire harness to be detected according to the plurality of section planning patterns.
Optionally, the determining the rigidity detection result of the wire harness to be detected according to the multiple curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses includes:
Determining the curvature ratio of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameter corresponding to each curvature radius;
acquiring a plurality of segmented areas of the wire harness to be detected;
and determining the rigidity detection result of the wire harness to be detected according to the curvature ratios of the segmented areas.
Optionally, the determining the rigidity detection result of the wire harness to be detected according to the curvature ratio of each segmented area includes:
obtaining standard ratio of each segmented area;
sequencing a plurality of curvature ratios of each segmented region, and determining a target ratio of each segmented region according to sequencing results;
And comparing the target ratio of each segmented region with the standard ratio of each segmented region, and determining the rigidity detection result of the region to be detected according to the comparison result of each segmented region.
In addition, in order to achieve the above object, the present invention also proposes a wire harness detection device including:
the processing module is used for determining the wire harness axis direction of the wire harness to be detected when receiving the rigidity detection instruction of the wire harness to be detected;
The processing module is further used for determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction;
The processing module is also used for determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections;
The processing module is further used for determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses.
Further, to achieve the above object, the present invention also proposes a wire harness detection apparatus including: the wire harness detection system comprises a memory, a processor and a wire harness detection program stored on the memory and capable of running on the processor, wherein the wire harness detection program is configured to realize the steps of the wire harness detection method.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a harness detection program which, when executed by a processor, implements the steps of the harness detection method as described above.
When a rigidity detection instruction of a wire harness to be detected is received, determining the axis direction of the wire harness to be detected; determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction; determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections; and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses. By the method, the plurality of section center points are determined based on the wire harness axis direction of the wire harness to be detected, the plurality of curvature radiuses of the wire harness to be detected are determined based on the plurality of section center points, the rigidity detection result of the wire harness to be detected is determined through the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses, accurate detection of the wire harness rigidity is achieved, a user is assisted in judging the bending rigidity of the wire harness in the product design stage, accordingly, the problem during real object assembly is avoided, and the detection efficiency and the detection accuracy of the wire harness are improved.
Drawings
Fig. 1 is a schematic structural view of a wire harness detection device of a hardware operation environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of the wire harness detection method of the present invention;
FIG. 3 is a schematic view of a cylindrical surface of an embodiment of a wire harness detection method according to the present invention;
FIG. 4 is a schematic view of a cross-sectional center point of an embodiment of a wire harness detection method according to the present invention;
FIG. 5 is a schematic view of radius of curvature of an embodiment of a wire harness inspection method according to the present invention;
FIG. 6 is a diagram illustrating a user interface of an embodiment of a method for detecting a wire harness according to the present invention;
FIG. 7 is a schematic view illustrating a curvature inspection of an embodiment of a wire harness inspection method according to the present invention;
FIG. 8 is a flow chart of a second embodiment of the wire harness detection method of the present invention;
FIG. 9 is a first axial schematic diagram of an embodiment of a method for detecting a wire harness according to the present invention;
FIG. 10 is a second axial schematic view of an embodiment of a wire harness detection method of the present invention;
FIG. 11 is a flowchart of a third embodiment of a wire harness detection method according to the present invention;
FIG. 12 is a schematic view of a wire harness segment according to an embodiment of the wire harness detection method of the present invention;
Fig. 13 is a block diagram showing the construction of a first embodiment of the wire harness detection device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a harness detection device in a hardware operation environment according to an embodiment of the present invention.
As shown in fig. 1, the wire harness detection device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the wire harness detection device and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a harness detection program may be included in the memory 1005 as one type of storage medium.
In the wire harness inspection device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the wire harness detection device of the present invention may be provided in a wire harness detection device that invokes a wire harness detection program stored in the memory 1005 through the processor 1001 and executes the wire harness detection method provided by the embodiment of the present invention.
An embodiment of the invention provides a wire harness detection method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the wire harness detection method of the invention.
In this embodiment, the wire harness detection method includes the steps of:
Step S10: and when a rigidity detection instruction of the wire harness to be detected is received, determining the wire harness axis direction of the wire harness to be detected.
It should be noted that, the execution body of the embodiment is a wire harness detection device, where the wire harness detection device has functions of data processing, data communication, program running, and the like, and the wire harness detection device may be an integrated controller, a control computer, and the like, or may be other devices having similar functions, which is not limited in this embodiment. In the present embodiment, the harness inspection device is loaded with NX Software, which is an integrated Computer Aided Design (CAD), computer Aided Manufacturing (CAM), and Computer Aided Engineering (CAE) Software developed by SIEMENS PLM Software corporation. The method is widely applied to the fields of engineering design, manufacture and simulation, and can be used for various aspects of product design, numerical control programming, process planning, engineering analysis and the like.
It can be understood that after the user selects the wire harness needing to perform the rigidity detection, the user sends a rigidity detection instruction of the wire harness to be detected through the wire harness detection device, the wire harness to be detected may be a wire harness with a gradually changed diameter, or a wire harness with a uniform diameter, or a wire harness with an angle change, or other wire harnesses, and the form of the wire harness to be detected is not limited in this embodiment.
In a specific implementation, since the basic expression form of the wire harness to be detected is cylindrical, the cylindrical surface of the wire harness to be detected can be approximately seen as a rectangular plane after being unfolded, and then a pair of vectors U and V perpendicular to each other exist in the plane. According to the three-dimensional modeling characteristics, the axis direction of the cylindrical surface of the wire harness is not U, namely V, as shown in fig. 3, and the axis direction of the wire harness to be detected needs to be determined.
Step S20: and determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction.
It should be noted that, because there may be a plurality of sections on the wire harness to be detected, the center of a circle at each section is a plurality of section center points of the wire harness to be detected, after the axis direction of the wire harness to be detected is detected, a point is taken in the axis direction, and the section center point of the wire harness to be detected can be obtained according to the taken point.
It may be appreciated that, in order to accurately obtain the plurality of cross-section center points of the wire harness to be detected, further, the determining the plurality of cross-section center points of the wire harness to be detected according to the wire harness axis direction includes: performing wire harness point taking according to a preset point taking distance and the wire harness axis direction, and determining a plurality of equidistant points on the wire harness to be detected; determining a plurality of wire harness section patterns according to a plurality of equidistant points on the wire harness to be detected; and determining a plurality of section center points of the wire harness to be detected according to the center points of the section patterns of the wire harnesses.
In specific implementation, the preset point-taking distance is the preset distance between the points, the points are uniformly taken in the axis direction of the wire harness according to the preset point-taking distance, and the obtained points are a plurality of equidistant points on the wire harness to be detected. As shown in fig. 4, U is the wire harness axis direction of the wire harness to be tested, three points are taken at intervals in the U upward direction, and these three points can be expressed as A1 (%mu,% 25V), A2 (%mu,% 50V), and A3 (%mu,% 75V), respectively.
It should be noted that, based on a plurality of equidistant points taken on each distance, a plurality of wire harness section patterns are obtained, the center point of the wire harness section pattern is the center of the section of the wire harness to be detected, and the center of the section of the wire harness to be detected is the center point of the section of the wire harness to be detected. For example, as shown in fig. 4, the center of a circle formed by A1, A2, A3 is the center of the cross section of the wire harness at this point, and then the center of the cross section of the wire harness to be detected can be used as a center point of the cross section.
Step S30: and determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the cross sections.
After determining the plurality of cross-section center points of the wire harness to be detected, the radius of curvature r of the wire harness to be detected in the middle cross section can be determined according to the plurality of cross-section center points.
It may be appreciated that, to ensure accuracy of calculation of the radius of curvature, further, the determining, according to each section center point, a plurality of radii of curvature of the wire harness to be detected includes: determining adjacent center points of the sections according to the center point positions of the center points of the sections; performing graphic planning according to adjacent center points of the sections, and determining a plurality of section planning graphs; and determining a plurality of curvature radiuses of the wire harness to be detected according to the plurality of section planning patterns.
In a specific implementation, after equally spaced cross-section center points are determined, adjacent center points of each cross-section center point are determined based on center point positions of each cross-section center point, one cross-section planning pattern can be determined based on each three adjacent cross-section center points, in this embodiment, a plurality of cross-section planning patterns can be determined, each cross-section planning pattern is circular, each three adjacent cross-section center points are located on a corresponding cross-section planning pattern, and the radius of each cross-section planning pattern is used as the curvature radius of the wire harness to be detected. For example, as shown in fig. 5, three adjacent cross-sectional center points are rounded, and the radius of the circle is taken as the radius of curvature at the intermediate cross-section.
Step S40: and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses.
It should be noted that, based on the ratio relation between the multiple curvature radii of the wire harness to be detected and the wire harness diameters corresponding to the curvature radii, the ratio is compared with the set standard ratio, and the OK/NG judgment of the wire harness bending Wang Xing can be performed through the comparison result, so as to obtain the rigidity detection result of the wire harness to be detected.
It should be noted that after determining the rigidity detection result of the wire harness to be detected, the rigidity detection result of the wire harness to be detected may be displayed, and the ratio between the radius of curvature and the diameter of the wire harness may be displayed in each area on the wire harness to be detected, so that the user may intuitively learn the detection result.
It can be understood that the above-mentioned flow of the present embodiment may be performed by the NX software in the wire harness detection device, and the digital-analog of the wire harness to be detected is opened by the NX software, and the plug-in operation manner is as follows: 1. the wire harness curvature checking plug-in can be operated by clicking a wire harness curvature button through a total loading spot checking tab on NX software, a user operation interface of the plug-in is shown in figure 6, and the cross section of the plug-in is provided with two tabs which are respectively 'loading digital models' and are used for loading digital models of other programs already operated by programs; "curvature check", the box area is a tree list, i.e., a result display area. 2. And running a wire harness checking tool, clicking a corresponding digital-analog item in the list of the 'loading digital-analog' tab, and switching to the 'curvature checking' tab. 3. Selecting a cylindrical surface of the wire harness, clicking an execution button, displaying an inspection result after clicking the button, displaying a red mark NG and a green mark OK, after selecting a plurality of surfaces, pressing the execution button once to obtain the inspection result of the multi-section wire harness, and displaying only the result of NG in a tree list. After execution, a new face is selected to continue execution, and the new result is added to the tree list, as shown in fig. 7. 4. The configuration table file format is excel, containing curvature check rules. The contents of the rule table directly influence the final analysis result. The user can control the final analysis result by modifying the configuration table. 5. And outputting the unitary table to obtain a final detection result of the wire harness to be detected. In this embodiment, for ease of understanding, an illustration of curvature ratio is now made, and as shown in table 1, when the diameter of the wire harness is smaller than 10mm, it is illustrated that the radius of curvature here should be larger than 10×2mm, and the curvature ratio is larger than the standard ratio, and the user can configure the inspection result by modifying.
TABLE 1
Sequence number Diameter of Standard ratio of
1 5 1
2 10 2
3 15 2.5
4 20 3
5 25 4
6 30 5
7 35 5.5
In a specific implementation, the harness detection method of the embodiment can be used for carrying out structural management on the total assembly point inspection standard rule of the product design. Meanwhile, an automatic spot inspection tool is developed, structured knowledge is cited, spot inspection efficiency can be effectively improved, and data application value is further improved. And the function assists a user to perform ok/ng judgment of the rigidity of the wire harness by identifying the numerical relation between the diameter and the curvature of the wire harness, displaying a measurement result and performing visual processing on a region to be detected. The method can finish spot inspection work in batches to improve efficiency and accuracy.
In the embodiment, when a rigidity detection instruction of a wire harness to be detected is received, the wire harness axis direction of the wire harness to be detected is determined; determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction; determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections; and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses. By the method, the plurality of section center points are determined based on the wire harness axis direction of the wire harness to be detected, the plurality of curvature radiuses of the wire harness to be detected are determined based on the plurality of section center points, the rigidity detection result of the wire harness to be detected is determined through the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses, accurate detection of the wire harness rigidity is achieved, a user is assisted in judging the bending rigidity of the wire harness in the product design stage, accordingly, the problem during real object assembly is avoided, and the detection efficiency and the detection accuracy of the wire harness are improved.
Referring to fig. 8, fig. 8 is a flowchart of a second embodiment of a wire harness detection method according to the present invention.
Based on the first embodiment, the method for detecting a wire harness in this embodiment includes, in the step S10:
step S11: and when a rigidity detection instruction of the wire harness to be detected is received, acquiring a first axial direction of the wire harness to be detected.
It should be noted that, after receiving the rigidity detection instruction of the wire harness to be detected, since the basic expression form of the wire harness to be detected is cylindrical, the cylindrical surface of the wire harness to be detected can be regarded as a rectangular plane approximately after being unfolded, and then a pair of vectors U and V perpendicular to each other exist on the plane. According to the three-dimensional modeling characteristic, the axis direction of the cylindrical surface of the wire harness is not U, namely V, as shown in fig. 3, and at the moment, one direction is randomly selected from U and V to be used as the first axial direction of the wire harness to be detected. In this embodiment, the description will be made with the first axial direction as the U direction.
Step S12: and selecting the point positions equidistantly according to the first axial direction, and determining a plurality of first axial coordinates.
It should be noted that, the coordinates of any point on the cylindrical surface of the wire harness to be detected may be expressed as (%mu,%nv), and the points are selected equidistantly according to the first axial direction, so as to obtain a plurality of points, where the coordinates corresponding to each point are a plurality of first axial coordinates. As shown in fig. 9, six points of A1 (%25u,%25v), A2 (%25u,%50v), A3 (%25u,%75v), B1 (%75u,%25v), B2 (%75u,%50v) and B3 (%75u,%75v) were taken as the first axial direction, and a plurality of first axial coordinates were obtained.
Step S13: a plurality of first axial radii is determined from each first axial coordinate.
The point positions with the same coordinates in the first axial direction are determined according to the first axial coordinates, the corresponding radius is obtained based on the point positions with the same coordinates in the first axial direction as circles, and the obtained radius is a plurality of first axial radii.
Step S14: and determining the wire harness axis direction of the wire harness to be detected according to the difference value between the first axial radiuses.
It should be noted that, calculating the difference between the first axial radii, when the difference between the first axial radii meets the condition, the first axial direction may be used as the wire harness axis direction of the wire harness to be detected, and in order to ensure the accuracy of the wire harness axis direction, further, determining the wire harness axis direction of the wire harness to be detected according to the difference between the first axial radii includes: comparing the difference value between the first axial radiuses with a preset difference value threshold; when the difference value between the first axial radiuses is smaller than the preset difference value threshold value, determining the wire harness axis direction of the wire harness to be detected according to the first axial direction; when the difference value between the first axial radiuses is not smaller than the preset difference value threshold value, determining a second axial direction of the wire harness to be detected according to the first axial direction; equidistant selection of point positions is carried out according to the second axis, and a plurality of second axis coordinates are determined; and determining the wire harness axis direction of the wire harness to be detected according to each second axial coordinate.
It can be understood that the difference between every two first axial radii is calculated, the difference is compared with a preset difference threshold, and when the difference is smaller than the preset difference threshold, the first axial direction is taken as the wire harness axis direction of the wire harness to be detected. For example, as shown in fig. 9, the radius of the circle formed by the points A1, A2, A3 is a, the radius of the circle formed by the points B1, B2, B3 is B, and the difference |a-b| between the first axial radius a and the first axial radius B is calculated, and when |a-b| is smaller than 0.1, U is the wire harness axis direction.
In a specific implementation, when the difference between the first axial radii is not smaller than the preset difference threshold, the direction perpendicular to the first axial direction is taken as the second axial direction, and in this embodiment, the V direction is taken as the second axial direction.
It should be noted that, equidistant selection of the points is performed according to the second axis, so as to obtain a plurality of points, and the coordinates corresponding to each point are a plurality of second axis coordinates. As shown in fig. 10, six points of A1 (%25u,%25v), A2 (%50u,%25v), A3 (%75u,%25v), B1 (%25u,%75v), B2 (%50u,%75v), and B3 (%75u,%75v) were taken as the second axis, and a plurality of second axis coordinates were obtained. And determining the point positions with the same second axial coordinates according to the second axial coordinates, and taking the point positions with the same second axial coordinates as circles to obtain corresponding radiuses, wherein the obtained radiuses are a plurality of second axial radiuses. And calculating the difference value between every two second axial radiuses, comparing the difference value with a preset difference value threshold, and taking the second axial direction as the wire harness axis direction of the wire harness to be detected when the difference value is smaller than the preset difference value threshold. For example, as shown in fig. 10, the radius of the circle formed by the points A1, A2, A3 is a, the radius of the circle formed by the points B1, B2, B3 is B, and the difference |a-b| between the second axial radius a and the second axial radius B is calculated, and when |a-b| is smaller than 0.1, the V direction is the wire harness axis direction.
It will be appreciated that if neither the first axial direction nor the second axial direction is the harness axis direction, it is an indication that the presently selected harness feature to be detected is not a harness cylindrical surface.
In the embodiment, when a rigidity detection instruction of a wire harness to be detected is received, a first axial direction of the wire harness to be detected is obtained; equidistant selection of point positions is carried out according to the first axial direction, and a plurality of first axial coordinates are determined; determining a plurality of first axial radii from each first axial coordinate; and determining the wire harness axis direction of the wire harness to be detected according to the difference value between the first axial radiuses. Through the mode, the wire harness axis direction of the wire harness to be detected can be accurately obtained, and a foundation is laid for subsequent parameter detection of the wire harness to be detected.
Referring to fig. 11, fig. 11 is a flowchart of a third embodiment of a wire harness detection method according to the present invention.
Based on the first embodiment, the method for detecting a wire harness in this embodiment includes, at step S40:
step S41: and determining the curvature ratio of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameter corresponding to each curvature radius.
It should be noted that, determining the wire harness diameters corresponding to the plurality of curvature radii of the wire harness to be detected, calculating the ratio between each curvature radius of the wire harness to be detected and the corresponding wire harness diameter, wherein the ratio between each curvature radius of the wire harness to be detected and the corresponding wire harness diameter is the curvature ratio of the wire harness to be detected, and the plurality of curvature radii exist on the wire harness to be detected, so that the plurality of curvature ratios on the wire harness to be detected can be obtained at the moment.
Step S42: and acquiring a plurality of segmented areas of the wire harness to be detected.
It should be noted that, since the wire harness to be detected may be a wire harness with a gradually changing diameter, or a wire harness with a uniform diameter, or a wire harness with an angle change, other types of wire harnesses are also possible. When the wire harness to be detected is not the wire harness with uniform diameter and no angle change, the wire harness to be detected is segmented, and a plurality of segmented areas of the wire harness to be detected are obtained. For example, as shown in fig. 12, the wire harness to be detected is not a wire harness having a uniform diameter and having no angle change, and the segmented regions 1,2,3 of the wire harness to be detected are obtained.
Step S43: and determining the rigidity detection result of the wire harness to be detected according to the curvature ratios of the segmented areas.
The curvature ratio of each segmented region is obtained, the rigidity detection result of each segmented region can be determined based on the curvature ratio of each segmented region, and the rigidity detection result of the wire harness to be detected can be obtained through the rigidity detection result of each segmented region.
It may be appreciated that, to ensure accuracy of the detection result, further, the determining, according to the curvature ratio of each segmented area, the rigidity detection result of the to-be-detected wire harness includes: obtaining standard ratio of each segmented area; sequencing a plurality of curvature ratios of each segmented region, and determining a target ratio of each segmented region according to sequencing results; and comparing the target ratio of each segmented region with the standard ratio of each segmented region, and determining the rigidity detection result of the region to be detected according to the comparison result of each segmented region.
In a specific implementation, because corresponding standard marks exist in different segmented areas, sorting a plurality of curvature ratios of each segmented area, determining the smallest curvature ratio in each segmented area based on the sorting result, using the smallest curvature ratio in each segmented area as a target ratio of each segmented area, comparing the target ratio of each segmented area with the standard ratio of each segmented area, and when the target ratio of each segmented area is greater than the standard ratio of each segmented area, indicating that the rigidity detection result of the segmented area is a qualified result, otherwise, the rigidity detection result of each segmented area is a disqualified result, and summarizing the rigidity detection results of the segmented areas to obtain the rigidity detection result of the area to be detected.
When the wire harness to be detected is not segmented, the wire harness to be detected is a wire harness with uniform diameter and no angle change, at the moment, the plurality of curvature ratios of the wire harness to be detected are ordered, the minimum curvature ratio is selected based on the ordering result, the minimum curvature ratio is compared with the standard ratio of the wire harness to be detected, and when the minimum curvature ratio is larger than the standard ratio, the rigidity detection result of the wire harness to be detected is a qualified result.
According to the embodiment, the curvature ratio of the wire harness to be detected is determined according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameter corresponding to each curvature radius; acquiring a plurality of segmented areas of the wire harness to be detected; and determining the rigidity detection result of the wire harness to be detected according to the curvature ratios of the segmented areas. By the mode, the detection precision and the detection efficiency of the rigidity detection result are ensured.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a wire harness detection program, and the wire harness detection program realizes the steps of the wire harness detection method when being executed by a processor.
Referring to fig. 13, fig. 13 is a block diagram showing the structure of a first embodiment of the wire harness detection device of the present invention.
As shown in fig. 13, a wire harness detection device according to an embodiment of the present invention includes:
And the processing module 10 is used for determining the wire harness axis direction of the wire harness to be detected when receiving the rigidity detection instruction of the wire harness to be detected.
The processing module 10 is further configured to determine a plurality of cross-section center points of the wire harness to be detected according to the wire harness axis direction.
The processing module 10 is further configured to determine a plurality of radii of curvature of the wire harness to be detected according to each cross-section center point.
The processing module 10 is further configured to determine a rigidity detection result of the wire harness to be detected according to the multiple curvature radii of the wire harness to be detected and the wire harness diameters corresponding to the curvature radii.
In the embodiment, when a rigidity detection instruction of a wire harness to be detected is received, the wire harness axis direction of the wire harness to be detected is determined; determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction; determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections; and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses. By the method, the plurality of section center points are determined based on the wire harness axis direction of the wire harness to be detected, the plurality of curvature radiuses of the wire harness to be detected are determined based on the plurality of section center points, the rigidity detection result of the wire harness to be detected is determined through the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses, accurate detection of the wire harness rigidity is achieved, a user is assisted in judging the bending rigidity of the wire harness in the product design stage, accordingly, the problem during real object assembly is avoided, and the detection efficiency and the detection accuracy of the wire harness are improved.
In an embodiment, the processing module 10 is further configured to obtain a first axial direction of the wire harness to be detected when receiving a rigidity detection instruction of the wire harness to be detected;
equidistant selection of point positions is carried out according to the first axial direction, and a plurality of first axial coordinates are determined;
determining a plurality of first axial radii from each first axial coordinate;
and determining the wire harness axis direction of the wire harness to be detected according to the difference value between the first axial radiuses.
In an embodiment, the processing module 10 is further configured to compare the difference between the first axial radii with a preset difference threshold;
when the difference value between the first axial radiuses is smaller than the preset difference value threshold value, determining the wire harness axis direction of the wire harness to be detected according to the first axial direction;
When the difference value between the first axial radiuses is not smaller than the preset difference value threshold value, determining a second axial direction of the wire harness to be detected according to the first axial direction;
equidistant selection of point positions is carried out according to the second axis, and a plurality of second axis coordinates are determined;
And determining the wire harness axis direction of the wire harness to be detected according to each second axial coordinate.
In an embodiment, the processing module 10 is further configured to determine a plurality of equidistant points on the wire harness to be detected according to a preset point-taking distance and the wire harness axis direction;
determining a plurality of wire harness section patterns according to a plurality of equidistant points on the wire harness to be detected;
And determining a plurality of section center points of the wire harness to be detected according to the center points of the section patterns of the wire harnesses.
In an embodiment, the processing module 10 is further configured to determine an adjacent center point of each cross-section center point according to the center point position of each cross-section center point;
Performing graphic planning according to adjacent center points of the sections, and determining a plurality of section planning graphs;
and determining a plurality of curvature radiuses of the wire harness to be detected according to the plurality of section planning patterns.
In an embodiment, the processing module 10 is further configured to determine a curvature ratio of the wire harness to be detected according to a plurality of curvature radii of the wire harness to be detected and a wire harness diameter corresponding to each curvature radius;
acquiring a plurality of segmented areas of the wire harness to be detected;
and determining the rigidity detection result of the wire harness to be detected according to the curvature ratios of the segmented areas.
In an embodiment, the processing module 10 is further configured to obtain a standard ratio of each segment area;
sequencing a plurality of curvature ratios of each segmented region, and determining a target ratio of each segmented region according to sequencing results;
And comparing the target ratio of each segmented region with the standard ratio of each segmented region, and determining the rigidity detection result of the region to be detected according to the comparison result of each segmented region.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A wire harness detection method, characterized by comprising:
when a rigidity detection instruction of a wire harness to be detected is received, determining the wire harness axis direction of the wire harness to be detected;
Determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction;
determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections;
and determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses.
2. The wire harness detection method as claimed in claim 1, wherein the determining of the wire harness axis direction of the wire harness to be detected upon receiving a rigidity detection instruction of the wire harness to be detected includes:
when a rigidity detection instruction of a wire harness to be detected is received, a first axial direction of the wire harness to be detected is obtained;
equidistant selection of point positions is carried out according to the first axial direction, and a plurality of first axial coordinates are determined;
determining a plurality of first axial radii from each first axial coordinate;
and determining the wire harness axis direction of the wire harness to be detected according to the difference value between the first axial radiuses.
3. The wire harness detection method as claimed in claim 2, wherein the determining the wire harness axis direction of the wire harness to be detected based on the difference between the respective first axial radii includes:
Comparing the difference value between the first axial radiuses with a preset difference value threshold;
when the difference value between the first axial radiuses is smaller than the preset difference value threshold value, determining the wire harness axis direction of the wire harness to be detected according to the first axial direction;
When the difference value between the first axial radiuses is not smaller than the preset difference value threshold value, determining a second axial direction of the wire harness to be detected according to the first axial direction;
equidistant selection of point positions is carried out according to the second axis, and a plurality of second axis coordinates are determined;
And determining the wire harness axis direction of the wire harness to be detected according to each second axial coordinate.
4. The wire harness detection method as claimed in claim 1, wherein the determining a plurality of cross-sectional center points of the wire harness to be detected from the wire harness axis direction includes:
Performing wire harness point taking according to a preset point taking distance and the wire harness axis direction, and determining a plurality of equidistant points on the wire harness to be detected;
determining a plurality of wire harness section patterns according to a plurality of equidistant points on the wire harness to be detected;
And determining a plurality of section center points of the wire harness to be detected according to the center points of the section patterns of the wire harnesses.
5. The wire harness inspection method as claimed in claim 1, wherein the determining a plurality of radii of curvature of the wire harness to be inspected from each cross-sectional center point comprises:
determining adjacent center points of the sections according to the center point positions of the center points of the sections;
Performing graphic planning according to adjacent center points of the sections, and determining a plurality of section planning graphs;
and determining a plurality of curvature radiuses of the wire harness to be detected according to the plurality of section planning patterns.
6. The wire harness inspection method as claimed in any one of claims 1 to 5, wherein the determining the rigidity inspection result of the wire harness to be inspected based on a plurality of radii of curvature of the wire harness to be inspected and wire harness diameters corresponding to the respective radii of curvature includes:
Determining the curvature ratio of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameter corresponding to each curvature radius;
acquiring a plurality of segmented areas of the wire harness to be detected;
and determining the rigidity detection result of the wire harness to be detected according to the curvature ratios of the segmented areas.
7. The wire harness inspection method as claimed in claim 6, wherein the determining of the rigidity inspection result of the wire harness to be inspected based on the curvature ratio of each segment area comprises:
obtaining standard ratio of each segmented area;
sequencing a plurality of curvature ratios of each segmented region, and determining a target ratio of each segmented region according to sequencing results;
And comparing the target ratio of each segmented region with the standard ratio of each segmented region, and determining the rigidity detection result of the region to be detected according to the comparison result of each segmented region.
8. A wire harness detection device, characterized by comprising:
the processing module is used for determining the wire harness axis direction of the wire harness to be detected when receiving the rigidity detection instruction of the wire harness to be detected;
The processing module is further used for determining a plurality of section center points of the wire harness to be detected according to the wire harness axis direction;
The processing module is also used for determining a plurality of curvature radiuses of the wire harness to be detected according to the center points of the sections;
The processing module is further used for determining a rigidity detection result of the wire harness to be detected according to the plurality of curvature radiuses of the wire harness to be detected and the wire harness diameters corresponding to the curvature radiuses.
9. A wire harness inspection apparatus, characterized by comprising: a memory, a processor, and a wire harness detection program stored on the memory and executable on the processor, the wire harness detection program configured to implement the wire harness detection method of any one of claims 1 to 7.
10. A storage medium having a harness detection program stored thereon, which when executed by a processor, implements the harness detection method according to any one of claims 1 to 7.
CN202410374744.3A 2024-03-29 Wire harness detection method, device, equipment and storage medium Pending CN118274774A (en)

Publications (1)

Publication Number Publication Date
CN118274774A true CN118274774A (en) 2024-07-02

Family

ID=

Similar Documents

Publication Publication Date Title
Gadelmawla Simple and efficient algorithms for roundness evaluation from the coordinate measurement data
Ficko et al. Designing the layout of single-and multiple-rows flexible manufacturing system by genetic algorithms
KR100193127B1 (en) Method and device for evaluating three-dimensional shaped workpiece
CN107972070A (en) Test method, test system and the computer-readable recording medium of robot performance
CN104339359A (en) Robot control apparatus and method for controlling robot
US8203576B2 (en) Method for aligning objects
US10970434B2 (en) Variable equivalency on connection in a process simulation
CN114819636B (en) Industrial production data processing method and system based on SPC detection
CN111881868A (en) Layer automatic identification method and device
JP5048748B2 (en) Test table generation apparatus and test table generation method
CN110874086B (en) Evaluation method and device based on semiconductor measurement parameters and terminal equipment
CN118274774A (en) Wire harness detection method, device, equipment and storage medium
TWI757843B (en) analysis system
Lin et al. Automated sequence arrangement of 3D point data for surface fitting in reverse engineering
JP4920441B2 (en) Analysis display device for static analysis results
CN114851170B (en) Segmented connection job control method and device, computer equipment and storage medium
JP3570211B2 (en) Failure rate estimation method, failure rate estimation system, and recording medium
Alva et al. Automated design of sheet metal punches for bending multiple parts in a single setup
US20210406844A1 (en) Method for carrying out maintenance work on a complex structural component
CN112236798A (en) Method for quality assurance in the case of producing products, and computing device and computer program
US9552616B2 (en) Using OPC UA to automatically generate process graphics
JP2011209875A (en) Plant process display system
CN109815444A (en) Method and apparatus based on multiple linear regression processing nonlinear data
CN116067280B (en) Container welding position detection method, device, storage medium and equipment
CN111915674B (en) Object posture recognition precision calculation method and device, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication