Method, device and equipment for measuring length of weld, and storage medium
By establishing a reference interference surface along the weld thickness direction during the vehicle body design phase, determining the interference intersection line, and calculating the weld length, the problems of tedious and error-prone weld length statistics are solved, achieving efficient and accurate weld measurement and supporting rapid vehicle body design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2026-04-10
AI Technical Summary
During the vehicle body design phase, the statistical work of weld length is tedious and inefficient, and manual measurement is prone to errors, resulting in excessively long inspection cycles and affecting subsequent welding work.
By acquiring multiple target welds, establishing a reference interference surface along the thickness direction of the weld, determining two interference intersection lines, and calculating the weld length using the length of the interference intersection lines, the algorithm and detection method replace manual measurement commands, making it suitable for high-precision measurement of straight segments and curved welds.
It improves the efficiency and accuracy of weld length detection, simplifies repetitive work for designers, ensures the accuracy of weld length statistics, and facilitates the smooth progress of subsequent vehicle body design.
Smart Images

Figure CN115876134B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle body welding, and in particular to a welding seam length measurement method, device, equipment and storage medium. BACKGROUND
[0002] In the vehicle body manufacturing process, according to the design requirements of the body-in-white assembly welding seam, the body-in-white two-pass welding bead is controlled to a low level, that is, the number and total length of the body-in-white two-pass welding bead need to be controlled within a certain range, for example, in some enterprise specifications, the arc welding length of a general two-door car and a three-door car should be controlled within 2.5m to avoid excessive arc welding leading to tail deformation. Reasonable design of the number and length of the welding bead can facilitate subsequent welding process arrangement and improve process rhythm.
[0003] In the vehicle design stage, the statistical work of the welding seam is mainly performed by manually inputting measurement commands, and the designer needs to repeatedly select the welding seam position and length for detection. The whole detection work is tedious, inefficient, and prone to errors, which cannot guarantee the accuracy of the statistical data, resulting in a long detection period in the vehicle design stage and affecting the subsequent welding work.
[0004] Therefore, there is an urgent need to solve the problem of tedious and inefficient welding seam statistical work in the vehicle design stage in the prior art. SUMMARY
[0005] Therefore, the present application aims to provide a welding seam length measurement method, device, equipment and storage medium to solve the problem of tedious and inefficient welding seam length statistical work in the vehicle design stage in the prior art.
[0006] To achieve the above purpose, the present application provides a welding seam length measurement method, which comprises:
[0007] obtaining a plurality of target welding seams;
[0008] for each target welding seam, establishing a reference interference surface along the thickness direction of the target welding seam, wherein the reference interference surface passes through or is parallel to the center line of the target welding seam;
[0009] determining two interference intersection lines of the reference interference surface and the corresponding target welding seam, and calculating the welding seam length of the target welding seam through the length of the two interference intersection lines.
[0010] Further, the obtaining of the plurality of target welding seams comprises:
[0011] obtaining a feature tree related to all welding seams, wherein the feature tree comprises welding seam positions and welding seam features;
[0012] determine whether the feature tree meets preset criteria;
[0013] in response to the feature tree meeting the preset criteria, obtain a plurality of target welds in all welds;
[0014] The preset criteria include modeling normative criteria, target weld position criteria, and target weld category criteria.
[0015] Further, the weld length of the target weld is calculated based on the length of the two intersecting interference lines, including:
[0016] The length of the two intersecting interference lines is calculated.
[0017] The lengths of the two intersecting interference lines are summed and averaged to obtain the weld length of the target weld.
[0018] Further, the plurality of target welds are obtained, including:
[0019] The weld to be measured is obtained.
[0020] The weld is decomposed to obtain a plurality of target welds, wherein the curvatures of the target welds are different.
[0021] Further, the weld length of the target weld is calculated, and then includes:
[0022] The weld length of the weld is calculated based on the weld lengths of the plurality of target welds.
[0023] Further, it also includes:
[0024] The weld features of each target weld are determined based on the feature tree.
[0025] The welding form of all target welds is determined based on the weld features.
[0026] Each target weld is classified according to the welding form.
[0027] Further, the weld length of the target weld is calculated, and then includes:
[0028] The lengths of the target welds under the same welding form category are summed to obtain the weld length corresponding to the welding form.
[0029] Based on the same invention concept, the application also provides a weld length measuring device, including:
[0030] A preprocessing module is configured to obtain a plurality of target welds.
[0031] a geometry processing module configured to, for each of the target welds, establish a reference interference surface along a thickness direction of the target weld, wherein the reference interference surface passes through a center line of the target weld or is parallel to the center line;
[0032] a data processing module configured to determine two interference intersection lines of the reference interference surface and the corresponding target weld, and calculate a weld length of the target weld by a length of the two interference intersection lines.
[0033] Based on the same inventive concept, the disclosure further provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0034] Based on the same inventive concept, the disclosure further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method as described above.
[0035] As can be seen from the above, the weld length measurement method provided by the present application establishes a reference interference surface along the thickness direction of the target weld, determines two interference intersection lines of the reference interference surface and the target weld, and calculates the weld length of the target weld by the length of the two interference intersection lines. The entire process uses algorithms and detection methods to replace the repetitive work of manually inputting measurement commands by designers, and at the same time, calculating the weld length by the length of the interference intersection lines has high-precision measurement effect for straight-line segment welds and curved welds, effectively improves the detection efficiency, and is conducive to the normal progress of subsequent vehicle body design work. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the present application or related art, the following will briefly introduce the drawings needed to be used in the embodiments or related art descriptions. Obviously, the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0037] Figure 1 Part of the structure of one of the target welds in the embodiments of the present application;
[0038] Figure 2 Flowchart of the weld length measurement method in the embodiments of the present application;
[0039] Figure 3 Flowchart of step S10 in the embodiments of the present application;
[0040] Figure 4An exemplary schematic diagram of a feature tree in an embodiment of the present application;
[0041] Figure 5 Another exemplary flow diagram of a measurement method in an embodiment of the present application;
[0042] Figure 6 A component block diagram of a weld length measurement device in an embodiment of the present application;
[0043] Figure 7 An exemplary schematic diagram of an electronic device hardware structure in an embodiment of the present application.
[0044] Legend of Reference Signs
[0045] 1, target weld; 2, reference interference surface; 3, center line; 4, interference intersection line; 5, preprocessing module; 6, geometric processing module; 7, data processing module;
[0046] 1010, processor; 1020, memory; 1030, input / output interface; 1040, communication interface; 1050, bus. DETAILED DESCRIPTION
[0047] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to specific embodiments and drawings.
[0048] It should be noted that, unless otherwise defined, technical terms or scientific terms used in the embodiments of the present application should be understood as their common meanings to those skilled in the art to which the present application pertains. The terms "first", "second" and similar terms used in the embodiments of the present application do not indicate any order, number or importance, but are only used to distinguish different components. The terms "include" or "contain" and similar terms mean that the elements or objects before the terms encompass the elements or objects listed after the terms and their equivalents, and do not exclude other elements or objects. The terms "connect" or "connected" and similar terms do not mean physical or mechanical connection, but can include electrical connection, whether direct or indirect. The terms "upper", "lower", "left", "right" and the like only represent relative positional relationships, and when the absolute positions of the described objects change, the relative positional relationships can also change accordingly.
[0049] In the body-in-white design stage, the designer needs to check whether the length of different types of welds in the three-dimensional model of the body architecture meets the design specifications. For example, in some enterprise specifications, the arc welding length of ordinary two-door and three-door cars is required to be no more than 2.5 m; the arc welding length of hatchbacks, MPVs, SUVs and other models is required to be no more than 4 m, and if there is a separate frame, the arc welding length of the body part is required to be no more than 2.5 m. Excessive arc welding length will cause tail deformation and other conditions, and insufficient arc welding length cannot guarantee the overall structural strength of the body. Therefore, reasonable design of weld length and weld type is of great significance to body manufacturing.
[0050] At present, the detection method of weld length is generally to sweep along the weld to form an approximate cylindrical type to display a three-dimensional model. Since the weld in the three-dimensional model is generally a parametric sheet or a parametric envelope, the weld itself does not have a length parameter, and the designer needs to input measurement commands multiple times to calculate the length of the outer edge of the weld as the length of the weld. However, due to the curvature of the weld, the length obtained from the outer edge or the inner edge of the weld has a large error with the actual weld length, and the overall length error obtained by adding multiple welds is large, which is not conducive to weld control in the design stage. Moreover, the repeated output of measurement commands is tedious and time-consuming, and manual measurement is prone to errors, which cannot guarantee the accuracy of the statistical data, resulting in a long detection period in the vehicle design stage and affecting the subsequent welding work.
[0051] To solve the above problems, one or more embodiments of the present application provide a weld length measurement method. In this embodiment, the weld length measurement method is applicable to the product design stage. In the product design stage, a three-dimensional model is drawn by using citia, 3dmax or other three-dimensional drawing software, and an approximate cylindrical type of weld is obtained by sweeping along the weld. In this embodiment, an approximate cylindrical type of weld is used as an example for illustration.
[0052] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0053] As shown in Figure 1 and Figure 2 , the weld length measurement method provided by the present embodiment includes:
[0054] S10, obtaining a plurality of target welds;
[0055] S20, for each target weld, establishing a reference interference surface 2 along the thickness direction of the target weld, wherein the reference interference surface 2 passes through the center line 3 of the target weld or is parallel to the center line 3;
[0056] S30, determining two interference intersection lines 4 of the reference interference surface 2 and the corresponding target weld, and calculating the weld length of the target weld by the length of the two interference intersection lines 4.
[0057] As can be seen from the above description, the method for measuring the length of a weld provided by the present application establishes a reference interference surface 2 along the thickness direction of a target weld, determines two interference intersection lines 4 of the reference interference surface 2 and the target weld, and calculates the length of the target weld through the length of the two interference intersection lines 4. The entire process uses algorithms and detection methods to replace the repetitive work of manually inputting measurement commands by designers. At the same time, the calculation of the length of the weld through the length of the interference intersection line 4 has a high-precision measurement effect on both straight-line segment welds and curved welds, effectively improves the detection efficiency, and is conducive to the normal progress of subsequent vehicle body design work.
[0058] In some embodiments, in step S10, the manner of obtaining the target weld can be known through the algorithm in the existing mature three-dimensional drawing software. For example, in a certain three-dimensional drawing software, the corresponding weld can be found through the name of the feature tree of the software, the storage position and the weld feature of each target weld are determined, and the weld feature refers to the welding form and the weld-related parameters corresponding to the target weld. For example, a certain target weld adopts CO2 welding form, and the welding width is 8 mm.
[0059] In some embodiments, as shown in Figure 3 and Figure 4 , in step S10, the following steps are included:
[0060] S11, obtaining a feature tree related to all welds, the feature tree including a weld position and a weld feature;
[0061] S12, detecting whether the feature tree meets a preset standard;
[0062] S13, in response to the feature tree meeting the preset standard, obtaining a plurality of target welds in all welds;
[0063] The preset standard includes a modeling specification standard, a target weld position standard, and a target category standard.
[0064] In the above embodiments, the feature tree in step S11 refers to a structure level in three-dimensional drawing software such as catia and 3dxmax. The structure level can display operation records and analysis results of organizational structure objects. According to different workbench modules, the structure of the feature tree can also be different. Taking a root node as an example, the root node of the part design workbench module is Part, the root node of the product design workbench module is Product, and the root node of the engineering drawing workbench module is Drawing.
[0065] In the above structure level, the exemplary rear floor right section assembly welding point design of the body-in-white includes multiple welding forms, such as a welding point input, a CO2 welding form, a laser welding form (Laser), and the like, and also includes an RPS (Reference Point System, body positioning system) and the like, which are auxiliary welding positioning reference and the like. It should be noted that the welding seam measurement in the embodiment is described by taking the CO2 welding form as an example, and the welding seam can also be formed by other welding forms, such as argon arc welding.
[0066] In step S13, as an exemplary description, the modeling specification standard included in the preset standard refers to that in the modeling specification scene, the structure level formed by modeling is clear and reasonable, the arrangement of upper and lower nodes is reasonable and without dislocation, the corresponding RPS level and reference datum plane and profile related material properties are provided; the target welding seam position standard refers to that in the specification scene, the target welding seam is located at the position of the corresponding welding connection structure, or the error of the target welding seam at the position of the corresponding welding connection structure is within an acceptable threshold range, or the deformation amount of the target welding seam after welding is within an acceptable threshold range, and the like. According to different enterprise specifications and standards, the length standard of the target welding seam can also be changed accordingly; the target welding seam category standard refers to that in the specification scene, the target welding seam is consistent with the category description of the corresponding upper node, for example, CO2 welding form is required under a certain structure, and the name of the upper node corresponding to the target welding seam should also be CO2. Of course, the above description of the preset standard is only for illustration, and the embodiment is not limited absolutely.
[0067] In the above step S13, when the detection feature tree conforms to the preset standard, the subsequent step can be performed, and when the detection feature tree does not conform to the preset standard, a corresponding warning signal or an issue detection report can be output to remind the background monitoring personnel that the modeling is not standardized or has other related modeling problems, and the operation of the detection feature tree is repeated after the background monitoring personnel debugs.
[0068] Through the setting of steps 11 to 13, whether the detection feature tree conforms to the preset standard is detected before the subsequent step is performed, which can accurately and quickly obtain the target welding seam position in the automatic measurement process, and is beneficial to establishing the reference interference surface 2 according to the target welding seam, so as to avoid that the feature tree is set in disorder and the target welding seam storage position cannot be positioned.
[0069] As Figure 1As shown, in step S20, the reference interference surface 2 is established along the thickness direction of the target weld, and in this example, the center line 3 of the target weld passes through the reference interference surface 2, that is, the reference interference surface 2 is established according to the symmetry plane of the target weld, and the reference interference surface 2 is the same plane as the symmetry plane. Here, since the target weld includes a straight weld and a curved weld, the symmetry plane refers to a plane that satisfies the mutual symmetry condition after the target weld is divided in the thickness direction.
[0070] In some embodiments, in step S30, the interference intersection line 4 of the reference interference surface 2 and the target weld specifically refers to the intersection line formed by the interference of the reference interference surface 2 and the outer wall surface of the target weld. Since the target weld is approximately cylindrical after being swept, the center line 3 of the target weld, that is, the axis, when the center line 3 passes through the reference interference surface 2, the shortest distance between the two interference intersection lines 4 formed by the interference of the reference interference surface 2 and the target weld is the diameter of the target weld; when the target weld is a curved weld, the two interference intersection lines 4 are located on the inner side and the outer side of the target weld, respectively.
[0071] Further, in step S30, it also includes:
[0072] S31, the lengths of the two interference intersection lines 4 are calculated;
[0073] S32, the length of the target weld is calculated by using the following formula:
[0074] L M =(L1+L2) / 2; where, L M is the length of the target weld, and L1 and L2 are the lengths of the two interference intersection lines 4, respectively.
[0075] In steps S31 and S32, the lengths of the two interference intersection lines 4 can be obtained by the geometric measurement command of the three-dimensional drawing software. Here, when the target weld is a curved weld, since the reference interference surface 2 passes through the center line 3 of the target weld, the lengths of the two interference intersection lines 4 are the lengths of the inner arc of the target weld and the lengths of the outer arc of the target weld, respectively, and the shortest distances of the two interference intersection lines 4 to the center line 3 of the target weld are the same. The length of the center line 3 of the target weld can be obtained by dividing the sum of the lengths of the two interference intersection lines 4 by two. Here, the length of the center line 3 of the target weld is also the length of the target weld.
[0076] In some embodiments, the target weld is a straight weld, and when it is a straight weld, the lengths of the two interference intersection lines 4 are the same, so the length of the interference intersection line 4 is the length of the straight weld. Of course, the above formula is also applicable when the target weld is a straight weld.
[0077] In some embodiments, the reference interference surface 2 is arranged parallel to the center line 3 of the target weld, and in this scenario, the two interference intersection lines 4 of the target weld and the reference interference surface 2 are located inside and outside the target weld respectively, the shortest distance between the two interference intersection lines 4 is less than the diameter of the target weld, and the shortest distance between the two interference intersection lines 4 decreases as the distance between the reference interference surface 2 and the center line 3 increases. The shortest distance between the center line 3 and any one of the interference intersection lines 4 is the same as the shortest distance between the center line 3 and the other interference intersection line 4.
[0078] Here, it should be noted that in the prior art, the operator usually directly measures the inside arc length or the outside arc length of the target weld as the length of the target weld through geometric calculation, and when the curvature of the target weld is greater, the error between the inside arc length or the outside arc length and the actual length of the target weld is greater, resulting in lower accuracy of the actual measured length of the target weld. By using the above steps, the length of the center line 3 of the target weld is measured, which can effectively avoid errors in the measured length of the target weld caused by curvature, thereby facilitating the subsequent design of the length of the weld.
[0079] In some embodiments, in step S10, a plurality of target welds are obtained, including:
[0080] Obtaining a weld to be measured;
[0081] Decomposing all the welds to obtain a plurality of target welds, wherein the curvatures of the target welds are different.
[0082] In the above steps, all the welds can be decomposed by the topology function of the three-dimensional drawing software, and the curvature of the straight weld is zero. After the target welds 1 with different curvatures are sequentially decomposed, the length of the interference intersection line 4 of each target weld 1 is determined, and the length of the target weld 1 is calculated according to the length of the interference intersection line 4. After each target weld 1 obtains its corresponding length, the lengths of the target welds 1 are summed to obtain the length of the weld of all the welds.
[0083] Here, the above steps can calculate the overall length of a weld, and the calculation process is based on the premise that all the target welds are formed by using the same welding form. For example, all the target welds 1 in each weld are formed by using CO2 welding, or all the target welds 1 in each weld are formed by using argon arc welding.
[0084] In some embodiments, as shown in Figure 5 The above-mentioned measurement method further includes:
[0085] S10', determining the weld characteristics of each target weld according to the feature tree;
[0086] S20', determine the welding form of all target welds through the weld characteristics;
[0087] S30', classify each target weld according to the welding form;
[0088] S40', sum up the length of each target weld under the same welding form category to obtain the weld length corresponding to the welding form.
[0089] In the above step S10', the weld characteristics can be determined through the aforementioned characteristic tree.
[0090] In some embodiments, different target welds have different welding forms, for example, all target welds are classified into CO2 welding category, laser welding category and argon arc welding category, the length of all target welds under the CO2 welding category is summed up to obtain the weld length of the CO2 welding category; the length of all target welds under the laser welding category is summed up to obtain the weld length of the laser welding category; the length of all target welds under the argon arc welding category is summed up to obtain the weld length of the argon arc welding category. Through the above setting, the weld length corresponding to different welding forms can be classified and displayed, so that the weld arrangement on the body framework is clearer and more accurate, and the efficiency and accuracy of weld length statistics are effectively improved.
[0091] In some embodiments, a target weld 1 in the same weld may have multiple different welding forms, in which case, the aforementioned classification rule can be referred to, that is, first determine the welding form of all target welds 1 through the weld characteristics, classify each target weld 1 according to the welding form, sum up the length of each target weld 1 under the same welding form category, and then sum up the length of the target weld 1 of the same welding form category in all target welds.
[0092] It should be noted that in some embodiments, the length of each target weld can also be directly summed up to obtain the weld length of all welds, in which step, the welding form is not distinguished, so that the designer can more intuitively obtain the weld length of the body-in-white, and according to the weld length of all welds, whether the weld length under a certain welding form needs to be modified can be determined, which is beneficial to the subsequent design work of the weld length.
[0093] As an exemplary illustration, a weld length measurement method is as follows:
[0094] The feature tree related to all welds is acquired, the position and weld features of each target weld are determined according to the feature tree under the premise that the feature number meets the preset standard, then each weld is decomposed to obtain a plurality of target welds 1 with different curvatures, the length of each target weld 1 is calculated, the lengths of all target welds 1 belonging to the same weld are added to obtain the overall length of the weld, then the length of each weld is obtained in the above manner, and the result is output to an external display device.
[0095] The measurement method of the weld length provided in the embodiments of the present application establishes a reference interference surface along the thickness direction of the target weld, determines two interference intersection lines of the reference interference surface and the target weld, and calculates the weld length of the target weld through the lengths of the two interference intersection lines. The whole process uses algorithms and detection methods to replace the repeated work of manual input of measurement commands by designers, has high real-time performance, can automatically run and output statistical results, and can be used for calculation of welding materials and support for rapid cost estimation in the early stage of product design. The measurement method has no limitation on the shape of the weld itself, and can be used for the welds with cylindrical or rectangular cross sections, and has wide applicability.
[0096] It should be noted that the method of the embodiments of the present application can be executed by a single device, such as a computer or a server. The method of the embodiments can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In this distributed scenario, one of the multiple devices can only execute one or more steps in the method of the embodiments of the present application, and the multiple devices can interact with each other to complete the method.
[0097] It should be noted that some embodiments of the present application have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than the order described above and still achieve the desired results. In addition, the processes depicted in the figures do not necessarily require the particular order shown or sequential order to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous.
[0098] Based on the same inventive concept, the present application also provides a measurement device for weld length corresponding to any of the above-mentioned embodiment methods.
[0099] Reference Figure 6 The measurement device comprises:
[0100] The preprocessing module 5 is configured to acquire a plurality of target welds.
[0101] The geometry processing module 6 is configured to, for each of the target welds, establish a reference interference surface 2 along the thickness direction of the target weld, wherein the reference interference surface 2 passes through the center line 3 of the target weld or is parallel to the center line 3.
[0102] The data processing module 7 is configured to determine two interference intersection lines 4 of the reference interference surface 2 and the corresponding target weld, and calculate the weld length of the target weld through the length of the two interference intersection lines 4.
[0103] For the convenience of description, the above device is described as various modules in function. Of course, the functions of the modules can be implemented in one or more software and / or hardware in the implementation of the present application.
[0104] In some embodiments, the data processing module 7 is also in communication connection with an external display device, and the data processing module 7 displays the obtained weld length through the external display device for the designer to view. The connection mode of the external display device and the data processing module 7 can adopt existing mature technology.
[0105] In some embodiments, the preprocessing module 5 is also configured to obtain a feature tree related to all the welds, and detect whether the feature tree meets a preset standard. When the detected feature tree meets the preset standard, the operation of obtaining the plurality of target welds is performed.
[0106] The preset standard includes a modeling specification standard, a target weld position standard, and a target category standard.
[0107] As an exemplary description, the modeling specification standard included in the preset standard refers to that, in the context of modeling specification, the structure level formed by modeling is clear and reasonable, the arrangement of upper and lower nodes is reasonable without misplacement, there are corresponding RPS levels and reference datum planes, and there are material properties related to the profiles, etc. The target weld position standard refers to that, in the context of specification, the target weld is at the position of the corresponding welding connection structure, or the error of the target weld at the position of the corresponding welding connection structure is within an acceptable threshold range, or the deformation amount of the target weld after welding is within an acceptable threshold range, etc. According to different enterprise specifications and standards, the target weld marking may also change accordingly. The target weld category standard refers to that, in the context of specification, the target weld is consistent with the category description corresponding to the upper node, for example, CO2 welding form is required under a certain structure, and the upper node name corresponding to the target weld should also be CO2. Of course, the above description of the preset standard is only exemplary, and the present embodiment does not make absolute limitation thereto.
[0108] In some embodiments, the geometry processing module 6 is further configured to decompose all the weld seams to be measured into several target weld seams 1 with different curvatures, and the data processing module 7 calculates the weld seam length of each target weld seam 1 through the intersection line 4 of the target weld seam 1 and the reference interference surface 2, and then sums up the weld seam lengths of all the target weld seams 1 to obtain the weld seam length of the segment.
[0109] In some embodiments, the data processing module 7 obtains the length of the target weld seam through the following formula:
[0110] L M =(L1+L2) / 2;wherein, L M is the length of the target weld seam, and L1 and L2 are the lengths of the two intersection lines 4, respectively. Here, the lengths of the two intersection lines 4 can be obtained through the geometric measurement command of the three-dimensional drawing software.
[0111] The device of the above embodiments is used to implement the corresponding measurement method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described here again.
[0112] Based on the same inventive concept, the present application also provides an electronic device corresponding to any of the above method embodiments, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the measurement method of any of the above embodiments.
[0113] Figure 7 A more specific hardware structure of an electronic device is shown in the embodiment, which can include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 for communication within the device.
[0114] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, etc., for executing related programs to implement the technical solutions provided by the embodiments of the present application.
[0115] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0116] The input / output interface 1030 is used to connect input / output modules to enable information input and output. Input / output modules can be configured as components within the device. Figure 7 (Not shown in the image) It can also be connected to external devices to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0117] Communication interface 1040 is used to connect to the communication module ( Figure 7 (Not shown in the image) to enable communication and interaction between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0118] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0119] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0120] The electronic devices described above are used to implement the corresponding measurement methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0121] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to perform the measurement method as described in any of the above embodiments.
[0122] The computer readable media of the embodiments can include permanent and non-permanent, removable and non-removable media, which can be implemented by any method or technology to store information. The information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or any other non-transmission medium that can be used to store information accessible by a computing device.
[0123] The storage medium of the above embodiments stores computer instructions for causing the computer to perform the measurement method as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described here.
[0124] Those skilled in the art should understand that the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope of the present application (including claims) is limited to these examples; the above embodiments or technical features between different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of brevity.
[0125] In addition, in order to simplify the description and discussion, and so as not to make the embodiments of the present application difficult to understand, the well-known power / ground connections of integrated circuit (IC) chips and other components can or can not be shown in the provided drawings. In addition, the devices can be shown in the form of block diagrams in order to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented the embodiments of the present application (i.e. these details should be fully within the understanding of those skilled in the art). Where specific details (e.g. circuits) are set forth in order to describe the exemplary embodiments of the present application, it will be apparent to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with variations on these specific details. Therefore, these descriptions should be considered illustrative rather than limiting.
[0126] While the present application has been described in connection with certain embodiments thereof, many modifications, substitutions, changes, and of forms will be apparent to those of ordinary skill in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) can use the embodiments discussed.
[0127] Embodiments of the present application are intended to cover all such alterations, modifications, and variations as they can come within the scope of the appended claims. Accordingly, although specific embodiments have been furthered in connection with the present application, any omission, substitution, change, improvement, etc. made by one of ordinary skill in the art to the disclosed embodiments should be considered to be within the scope of the present application.
Claims
1. A method of measuring the length of a weld, characterized in that, The method comprises the following steps: acquiring a plurality of target welds; for each target weld, establishing a reference interference surface along the thickness direction of the target weld, wherein the reference interference surface passes through or is parallel to the center line of the target weld; determining two interference intersection lines of the reference interference surface and the corresponding target weld, and calculating the weld length of the target weld through the length of the two interference intersection lines; wherein the calculation of the weld length of the target weld through the length of the two interference intersection lines comprises: calculating the length of the two interference intersection lines; summing the lengths of the two interference intersection lines and calculating the average value to obtain the weld length of the target weld.
2. The method of measuring the length of a weld seam according to claim 1, characterized in that, The acquisition of the plurality of target welds comprises: acquiring a feature tree related to all welds, wherein the feature tree comprises weld position and weld feature; detecting whether the feature tree meets the preset standard; in response to the feature tree meeting the preset standard, acquiring a plurality of target welds from all welds; wherein the preset standard comprises modeling specification standard, target weld position standard, and target weld category standard.
3. The method of measuring the length of a weld seam according to claim 1, characterized in that, The acquisition of the plurality of target welds comprises: acquiring a weld to be measured; decomposing the weld to obtain a plurality of target welds, wherein the curvatures of the target welds are different.
4. The method of measuring the length of a weld seam according to claim 3, characterized in that, The calculation of the weld length of the target weld is followed by: calculating the weld length of the weld according to the weld lengths of the plurality of target welds.
5. The method of measuring the length of a weld seam according to claim 2, characterized in that, Further comprising: determining the weld feature of each target weld according to the feature tree; determining the welding form of all target welds through the weld feature; classifying the target welds according to the welding form.
6. The method of measuring the length of a weld seam according to claim 5, characterized in that The calculation of the weld length of the target weld is followed by: summing the lengths of the target welds under the same welding form category to obtain the weld length corresponding to the welding form.
7. A weld length measuring device, characterized by, The method comprises the following steps: a preprocessing module configured to acquire a plurality of target welds; a geometric processing module configured to, for each target weld, establish a reference interference surface along the thickness direction of the target weld, wherein the reference interference surface passes through or is parallel to the center line of the target weld; a data processing module configured to determine two interference intersection lines of the reference interference surface and the corresponding target weld, and calculate the weld length of the target weld through the length of the two interference intersection lines; wherein the data processing module is further configured to: calculate the length of the two interference intersection lines; sum the lengths of the two interference intersection lines and calculate the average value to obtain the weld length of the target weld.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the method of any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to make the computer execute the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Welding teaching method and device, terminal equipment and computer readable storage medium
CN114757878A
Quality evaluation method of welding bead and profile measuring method for it
JP2004053427A