Large-caliber multichannel ultrasonic water meter shell welding control method
By obtaining the data of the meter case to be welded and the historical meter case for similarity matching, a segmented welding plan is generated, which solves the problem of thermal cycle superposition caused by traditional welding methods and improves the welding quality and service life of the water meter.
Patent Information
- Application Number
- CN202511084933.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-04
- Publication Date
- 2025-09-19
AI Technical Summary
Traditional welding methods lead to superposition of thermal cycles during the welding process of large-diameter multi-channel ultrasonic water meter cases, causing local sound velocity mutations in the material and channel geometry detuning, which affects the accuracy and service life of the water meter.
By acquiring the data of the watch case to be welded and the historical watch case, the watch case similarity matching is performed, a segmented welding plan is generated, and the welding device is controlled to perform welding, thereby reducing the superposition of thermal cycles and preventing local sound velocity mutations and sound channel geometric detuning of the material.
It improves the welding quality and service life of the water meter, reduces the welding quality risk caused by improper process adaptation, and ensures the flow measurement accuracy of the water meter.
Smart Images

Figure CN120662934A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of water meter cases, and in particular relates to a large-caliber multi-channel ultrasonic water meter case welding control method. Background Art
[0002] A water meter is an important instrument for accurately measuring water flow. The water meter case is a crucial component of the meter, and the quality and performance of the case directly affect the accuracy and service life of the meter.
[0003] At present, when welding the case of large-diameter multi-channel ultrasonic water meters using traditional welding methods, thermal cycles may be superimposed due to traditional welding, resulting in local sound velocity mutations in the water meter material and channel geometric detuning caused by asymmetric heat input. Summary of the Invention
[0004] The embodiment of the present application provides a large-caliber multi-channel ultrasonic water meter case welding control method, which can solve the problems of local sound velocity mutation and channel geometry detuning caused by thermal cycles and asymmetric heat input generated by traditional welding methods.
[0005] In a first aspect, an embodiment of the present application provides a large-caliber multi-channel ultrasonic water meter case welding control method, comprising: In response to the welding operation, each watch case data and historical watch case data corresponding to each watch case to be welded are acquired; wherein the watch case data is used to indicate the type and model of the watch case to be welded, and there are multiple watch cases to be welded; the historical watch case data is used to indicate the type, model, and welding process of the historical watch cases that have been welded, and the welding process is a segmented welding process; Performing case similarity matching on each of the watch case data and the historical watch case data to obtain each watch case matching result data; wherein the watch case matching result data is used to indicate the similarity between the type of the watch case to be welded and the type of the historical watch case, and the similarity between the model of the watch case to be welded and the model of the historical watch case; Generating welding scheme data according to the matching result data of each watch case; wherein the welding scheme data is used to indicate a welding scheme for welding the watch case to be welded, and the welding scheme includes the segmented welding process; The welding device is controlled based on the welding plan data to weld the watch case to be welded.
[0006] The large-caliber multi-channel ultrasonic water meter case welding control method provided by the present application obtains the case data and historical case data corresponding to each case to be welded in response to the welding operation, and matches the case data with the historical case data for case similarity. The matching result data of each case can be accurately screened by the similarity of type, model and segmented welding process, thereby reducing invalid process matching and reducing the welding quality risk caused by improper process adaptation; welding scheme data is then generated according to the matching result data of each case; the welding device is controlled based on the welding scheme data to weld the case to be welded, and then welding is performed through the segmented welding process of the welding process, which can reduce the thermal cycle superposition caused by traditional welding, thereby preventing the local sound velocity mutation of the material and the sound channel geometric detuning caused by asymmetric heat input, thereby improving the use of the water meter.
[0007] In a second aspect, an embodiment of the present application provides a large-caliber multi-channel ultrasonic water meter case welding control system, comprising: an acquisition unit, configured to acquire, in response to a welding operation, each watch case data and historical watch case data corresponding to each watch case to be welded; wherein the watch case data is used to indicate the type and model of the watch case to be welded, and there are multiple watch cases to be welded; and the historical watch case data is used to indicate the type, model, and welding process of the historical watch cases that have been welded, and the welding process is a segmented welding process; a matching unit, configured to perform case similarity matching on each watch case data with historical watch case data to obtain case matching result data for each watch case; wherein the case matching result data is used to indicate the similarity between the type of the watch case to be welded and the type of the historical watch case, and the similarity between the model of the watch case to be welded and the model of the historical watch case; A generating unit, configured to generate welding scheme data according to the matching result data of each watch case; wherein the welding scheme data is used to indicate a welding scheme for welding the watch case to be welded, and the welding scheme includes a segmented welding process; The control unit is used to control the welding device to weld the watch case to be welded based on the welding plan data.
[0008] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method described in any one of the first aspects above.
[0009] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the large-aperture multi-channel ultrasonic water meter case welding control method described in any one of the first aspects above.
[0010] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0012] Figure 1 This is a flow chart of a large-caliber multi-channel ultrasonic water meter case welding control method provided in one embodiment of the present application; Figure 2 This is a schematic diagram of the implementation flow of step S340 in the large-caliber multi-channel ultrasonic water meter case welding control method provided in one embodiment of the present application; Figure 3 This is a schematic diagram of the implementation flow of step S345 in the large-caliber multi-channel ultrasonic water meter case welding control method provided in one embodiment of the present application; Figure 4 This is a schematic diagram of the implementation flow of step S3455 in the large-caliber multi-channel ultrasonic water meter case welding control method provided in one embodiment of the present application; Figure 5 This is a schematic diagram of another implementation flow of step S340 in the large-caliber multi-channel ultrasonic water meter case welding control method provided in one embodiment of the present application; Figure 6 This is a schematic diagram of the implementation flow of step S3404 in the large-caliber multi-channel ultrasonic water meter case welding control method provided in one embodiment of the present application; Figure 7 This is a schematic diagram of the structure of a large-caliber multi-channel ultrasonic water meter case welding control system provided in an embodiment of the present application; Figure 8 is a structural diagram of an electronic device provided in an embodiment of the present application; Figure 9 This is a schematic diagram of the communication connection between the welding device and the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0013] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0014] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.
[0015] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0016] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0017] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0018] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0019] In the related art, in the welding of large-diameter thin-walled multi-channel water meter cases, due to the non-uniformity of local heat input, the welding residual stress will induce non-coordinated micro-displacement and axial tilt of the transducer column group, which will cause the difference in the sound path length between two adjacent sound channels to reach more than 0.3mm, causing the sound channel geometric detuning phenomenon, resulting in path-dependent phase offset when the ultrasonic wave propagates in the flow field, making the discrete deviation of the sound time measurement value between the sound channels at the same flow rate greater than 0.5%, and ultimately causing the flow linearity to drop by 2.5%; In addition, the existing technology only focuses on the macroscopic structural deformation For example, the flatness of the flange, the mechanism of the detuning of the microscopic acoustic path has not yet been recognized. Among them, the problem of geometric detuning of the acoustic channel is specifically manifested in that the residual stress of welding causes non-coordinated displacement of adjacent transducer columns at the micron level, destroying the equidistant distribution law of the multi-channel acoustic path, and the difference in cooling rate between the flange and the positioning tube induces the tilt of the transducer column group, causing the ultrasonic wave to produce path-dependent phase offset in the flow field and causing the acoustic time measurement value to be discrete between adjacent channels (>0.5%), which ultimately leads to a drop in flow linearity of more than 2.5%, and this defect cannot be corrected by post-weld calibration.
[0020] To solve the above problems, an embodiment of the present application provides a large-caliber multi-channel ultrasonic water meter case welding control method.
[0021] In this method, in response to the welding operation, the case data and historical case data corresponding to each case to be welded are obtained, and the case similarity matching is performed between each case data and the historical case data, and the matching result data of each case can be accurately screened by the similarity of type, model and segmented welding process, thereby reducing invalid process matching and reducing the welding quality risk caused by improper process adaptation; welding scheme data is then generated according to the matching result data of each case; based on the welding scheme data, the welding device is controlled to weld the case to be welded, which can reduce the superposition of thermal cycles caused by traditional welding, thereby preventing sudden changes in local sound velocity of the material and preventing the geometric detuning of the sound channel caused by asymmetric heat input, thereby improving the use of the water meter.
[0022] The large-caliber multi-channel ultrasonic water meter case welding control method provided in the embodiment of the present application can be applied to electronic devices. In this case, the electronic device is the executor of the large-caliber multi-channel ultrasonic water meter case welding control method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of electronic equipment.
[0023] For example, the electronic device and the welding device are in communication connection; wherein, Figure 9The figure is a schematic diagram of the communication connection between the welding device and the electronic device, where reference numeral 6 is the electronic device and reference numeral 100 is the welding device; the electronic device may be a tablet computer, a laptop computer, a netbook, a desktop computer, a smart large screen, a computing device, a computer, a laptop computer, etc. The welding device includes, but is not limited to, a laser welding machine or an ultrasonic welding machine. The components of the large-caliber multi-channel ultrasonic water meter case welding device may be a welding host frame, a case positioning and clamping mechanism, a welding execution system, a multi-axis robotic arm or a mobile guide rail, a process parameter control system, and a sensing and detection module, but are not limited thereto. The welding host frame is a rigid structure that supports the entire device and needs to have high strength and stability to adapt to the placement and positioning of large-caliber cases and avoid vibration affecting the accuracy during welding. The case positioning and clamping mechanism includes multi-degree-of-freedom adjustment components (e.g., translational and rotational platforms) to precisely secure the upper and lower shells or sections of the case to be welded, ensuring alignment of the weld seam. The welding execution system comprises core welding components (e.g., ultrasonic transducers, horns, and welding heads), optimized for the material of large-diameter cases to ensure uniform welding energy transfer. A multi-axis robotic arm or mobile guide drives the welding head to perform segmented welding along the case seam (accommodating circular or complex seam structures), enabling automated welding path control. The process parameter control system integrates a PLC or industrial computer to store welding process parameters (e.g., amplitude, welding pressure, time, and segment welding sequence) for different case models. This supports real-time parameter adjustment and can be dynamically optimized based on case material thickness and seam length to ensure weld strength and sealing. The sensing and inspection module, a visual inspection device (e.g., a high-definition camera and image processing system), is used for pre-welding positioning and calibration (identifying the location of the case seam) and post-weld quality inspection.
[0024] In order to better understand the large-caliber multi-channel ultrasonic water meter case welding control method provided in the embodiment of the present application, the specific implementation process of the large-caliber multi-channel ultrasonic water meter case welding control method provided in the embodiment of the present application is exemplarily introduced below.
[0025] Figure 1 A schematic flow chart of a large-caliber multi-channel ultrasonic water meter case welding control method provided in an embodiment of the present application is shown. The large-caliber multi-channel ultrasonic water meter case welding control method includes: S100, in response to the welding operation, obtain the case data and historical case data corresponding to each case to be welded; wherein, the case data is used to indicate the type and model of the case to be welded, and there are multiple cases to be welded, and the historical case data is used to indicate the type, model and welding process of the historical case after welding, and the welding process is a segmented welding process.
[0026] Exemplarily, in response to a welding operation, when an operator triggers a welding start button or inputs a welding instruction, the welding device immediately responds and enters the data acquisition phase. Methods for acquiring the case data and historical case data corresponding to each case to be welded may include, but are not limited to, database querying, file system reading, and network communication reception. Database querying involves pre-establishing a database in an electronic device that stores various case data and historical case data. When data needs to be acquired, the required data is retrieved from the database by executing SQL statements. File system reading involves storing the case data and historical case data in the form of files on a storage medium of the electronic device, such as a hard drive, solid-state drive, or USB flash drive. When data needs to be acquired, the data is read from a specified file path through a file read operation. Network communication reception involves establishing a communication connection between the electronic device and a remote server or other electronic device over a network, transmitting data via a network protocol, and sending a data request to the remote server or other electronic device when data needs to be acquired, and receiving the data returned.
[0027] S200, performing case similarity matching on each watch case data and historical watch case data to obtain case matching result data; wherein, the case matching result data is used to indicate the similarity between the type of the watch case to be welded and the type of the historical watch case, and the similarity between the model of the watch case to be welded and the model of the historical watch case.
[0028] It can be understood that each case data is a plurality of case data, and the plurality of case data are matched with the historical case data in turn for case similarity to obtain a plurality of case matching result data; each of the plurality of case matching result data has similarity.
[0029] Exemplarily, the process of matching the case data of each watch case with the historical watch case data for case similarity may include but is not limited to extracting the type and model characteristics of each watch case to be welded, as well as the type and model characteristics of the historical watch cases, using cosine similarity or Euclidean distance similarity calculation to obtain the similarity between the watch case to be welded and the historical watch cases in type and model characteristics, judging the degree of similarity between the watch case to be welded and the historical watch cases, and determining the matching result data of each watch case.
[0030] S300, generating welding scheme data according to the matching result data of each watch case; wherein the welding scheme data is used to indicate a welding scheme for welding the watch case to be welded, and the welding scheme includes a segmented welding process.
[0031] Exemplarily, multiple case matching result data are sorted from high to low according to the similarity. Based on the welding process of the reference historical case data and the specific characteristics of the case to be welded, such as material, thickness, seam length, etc., each welding plan point is determined. A single plan point is a partial plan of the welding plan (a partial plan can be a single step, etc.), and multiple plan points constitute the overall welding plan. The generated welding plan data may include but is not limited to parameters such as amplitude, welding pressure, welding time, and segmented welding sequence.
[0032] In one possible implementation, S300 generates welding plan data based on the matching result data of each watch case, including: S310, calculating the similarity between the type of the watch case to be welded indicated by the watch case matching result data and the type of the historical watch case and the preset type similarity to obtain first matching data; wherein the first matching data is used to indicate the difference with the preset type similarity.
[0033] Exemplarily, a difference calculation is performed between the similarity between the type of the watch case to be welded and the type of the historical watch case and the preset type similarity to obtain a result difference, which is determined as the first matching data.
[0034] S320, calculating the similarity between the model of the watch case to be welded and the model of the historical watch case indicated by the watch case matching result data and the preset model similarity to obtain second matching data; wherein the second matching data is used to indicate the difference in similarity with the preset model.
[0035] Exemplarily, a row difference calculation is performed on the similarity between the model of the watch case to be welded and the model of the historical watch case and the preset model similarity to obtain a result difference, which is determined as the first matching data.
[0036] S330 , determining matching determination data based on the first matching data and the second matching data; wherein the matching determination data is used to indicate whether the watch case data and the historical watch case data are successfully matched.
[0037] Exemplarily, the difference in type similarity indicated by the first matching data and the difference in model similarity indicated by the second matching data are weightedly summed to obtain a comprehensive difference, which is then compared with a preset matching threshold. If the comprehensive difference is less than or equal to the preset matching threshold, it is determined that the case data and the historical case data are successfully matched, otherwise it is determined that the match has failed.
[0038] S340: Generate welding plan data based on the matching determination data.
[0039] For example, if the match determination data indicates a successful match, specific welding plan data is generated based on the successfully matched watch case data and the corresponding historical watch case data, combined with preset welding process parameters. The welding plan data may include, but is not limited to, parameters such as welding amplitude, welding pressure, welding time, and segmented welding sequence. If the match determination data indicates a failed match, welding plan data is automatically generated based on the watch case characteristics.
[0040] This setup allows for a similarity match between historical watch case data and the data of the watch case to be welded, generating welding plan data suitable for the watch case to be welded. This reduces the welding quality risks associated with traditional methods due to improper process adaptation. Furthermore, the generated welding plan data not only considers the watch case type and model, but also its specific characteristics, such as material, thickness, and seam length, further improving welding accuracy and reliability. After a successful match, the welding process parameters from the historical watch case data can be directly used, combined with fine-tuning the watch case to be welded, to generate specific welding plan data, significantly improving work efficiency. In the event of a match failure, welding plan data can be automatically generated based on the watch case characteristics, ensuring a smooth welding process.
[0041] In one possible implementation, see Figure 2 S340: Generating welding plan data according to the matching determination data, including: S341, if the matching judgment data indicates that the case data and the historical case data are successfully matched, obtain the first model data; wherein the first model data is used to indicate the three-dimensional model of the case to be welded after completing the pre-operation, and completing the pre-operation is completing the drilling operation of the case.
[0042] It is understood that the prerequisite for obtaining the first model data is that the matching determination data indicates that the case data and the historical case data match successfully. Otherwise, the command to obtain the first model data will not be triggered. The necessary sequence relationship can achieve accurate generation of the welding plan. The first model data can be understood as a three-dimensional model that completes the drilling operation.
[0043] For example, the first model data can be derived from 3D modeling software or obtained by performing a 3D scan of the watch case to be welded using a scanning device. The 3D model data includes information such as the outer dimensions, internal structure, and drill hole locations of the watch case to be welded, providing accurate data support for the subsequent development of a welding plan. Furthermore, after obtaining the first model data, it can be further processed to extract key feature information, such as drill hole location, hole diameter, and hole depth.
[0044] S342, determining the first welding data of the watch case to be welded based on the three-dimensional model of the watch case to be welded indicated by the first model data; wherein, the first welding data is used to indicate the welding parts of the watch case to be welded that are arranged in sequence according to the welding sequence and need to be welded, and the welding parts that are arranged in sequence according to the welding sequence and need to be welded are the transducer column, flange, connecting plate, positioning tube and wire protection tube.
[0045] For example, based on the first model data, the various components of the watch case to be welded and their relative positional relationships can be determined from the three-dimensional model after the drilling operation. The welded components, in order of welding, are the transducer post, flange, connecting plate, positioning tube, and wire guide tube. Determining the first welding data of the watch case to be welded allows for performing a virtual assembly simulation of the three-dimensional model of the watch case to be welded based on the first model data.
[0046] S343, obtaining historical welding data and first welding result data corresponding to the historical watch case data; wherein the historical welding data includes welding trajectory, welding time and welding parameters, and the first welding result data is used to reflect the welding condition of the welding component on the historical watch case.
[0047] It can be understood that the welding conditions of welded parts on the historical watch case can be understood as possible welding defects and problems of welded parts such as transducer columns, flanges, connecting plates, positioning tubes and wire protection tubes in the previous welding process, such as welding trajectory, welding time and welding parameters, to identify potential welding risk points.
[0048] Exemplarily, specific methods for obtaining historical welding data and first welding result data corresponding to the historical watch case data may include, but are not limited to, database querying and file system reading. Database querying involves pre-establishing a database in an electronic device that stores various historical welding data and first welding result data. When data is needed, the required data is retrieved from the database by executing an SQL statement. File system reading involves storing the historical welding data and first welding result data in the form of files on a storage medium of the electronic device, such as a hard disk, solid-state drive, or USB flash drive. When data is needed, the data is read from a specified file path through a file read operation.
[0049] S344, based on the historical welding data and the first welding data, simulate the welding of the welding components on the three-dimensional model of the watch case to be welded indicated by the first simulation data in turn to obtain second welding result data; wherein, the second welding result data is used to reflect the welding condition of the welding components on the three-dimensional model of the watch case to be welded.
[0050] It can be understood that according to the welding trajectory, welding time and welding parameters, the transducer column, flange, connecting plate, positioning tube and wire protection tube are simulated and welded on the three-dimensional model of the watch case to be welded indicated by the first simulation data, and the welding effect of the transducer column, flange, connecting plate, positioning tube and wire protection tube welded in sequence according to the welding trajectory, welding time and welding parameters can be obtained.
[0051] For example, the simulated welding of the transducer column, flange, connecting plate, positioning tube and wire protection tube on the three-dimensional model of the watch case to be welded indicated by the first simulation data can be obtained through a simulated welding process. The specific method can be to use the simulated welding function in the three-dimensional modeling software to virtually weld each welding component on the three-dimensional model of the watch case to be welded according to the preset welding sequence and welding parameters. During the simulated welding process, the welding trajectory, welding time and welding quality of the welding components can be monitored in real time.
[0052] S345, analyzing the first welding result data and the second welding result data to obtain welding plan data.
[0053] For example, the welding effect of the welding component on the historical watch case reflected by the first welding result data is compared with the welding effect of the welding component on the three-dimensional model of the watch case to be welded reflected by the second welding result data to determine whether the welding defects and problems existing on the historical watch case will appear on the watch case to be welded, as well as new welding risk points that may exist on the watch case to be welded. Based on the comparative analysis results, the preset welding process parameters can be adjusted and optimized; for example, if it is found that the historical watch case has a problem of weak welding when welding the flange, then when formulating the welding plan for the watch case to be welded, the welding pressure and welding time of the flange can be increased to improve the welding firmness. At the same time, if the material or thickness of the watch case to be welded is different from that of the historical watch case, the welding process parameters are adjusted.
[0054] This setup, combined with historical welding data and a 3D model of the watch case to be welded, allows for a pre-assessment of welding results, identification of potential welding issues, and optimization of the welding plan. This approach not only improves welding accuracy and reliability but also significantly reduces the trial-and-error costs associated with the actual welding process.
[0055] In one possible implementation, see Figure 3 S345: Analyze the first welding result data and the second welding result data to obtain welding plan data, including: S3451, obtaining welding position data based on the first welding result data; wherein the welding position data is used to indicate the positions of the transducer column, flange, connecting plate, positioning tube and wire protection tube on the three-dimensional model.
[0056] Exemplarily, based on the welding effect of the welding components on the historical watch case indicated by the first welding result data, the specific position information of the transducer column, flange, connecting plate, positioning tube and wire protection tube on the three-dimensional model is obtained according to the welding effect. The specific position information includes the coordinates, direction of the welding components and the relative position relationship between them, which provides a basis for subsequent analysis and comparison.
[0057] S3452, obtaining welding relationship data according to the position of each welding component on the three-dimensional model indicated by the welding position data; wherein the welding relationship data is used to indicate the connection relationship of each welding component.
[0058] For example, the relative positions of welded components such as the transducer post, flange, connecting plate, positioning tube, and wire guide tube on the 3D model, as well as their connections, are determined based on the specific positional information reflected in the welding position data, namely the coordinates and orientation of each component. For example, the transducer post is connected to the flange, while the flange is connected to other components, such as the connecting plate.
[0059] S3453, performing geometric relationship analysis based on the welding relationship data to obtain geometric relationship data; wherein the geometric relationship data is used to indicate the relative angle, distance and constraint status between each welded component after welding.
[0060] It is understood that relative angle refers to the angle between components, distance refers to the distance between components, and constraint refers to the connection method and constraint conditions between components. For example, the relative angle and distance between the transducer post and flange, as well as the connection method between them, such as bolting or welding. The relative position relationship between the connecting plate and the positioning tube and wire protection tube, as well as the constraint conditions between them, such as whether they need to be fixed with brackets, are not limited to these.
[0061] For example, geometric relationship analysis can be performed by establishing a relative position reference, calculating relative angles and relative distances, judging and determining the constraint state, and obtaining geometric relationship data through a unified coordinate system; wherein, the unified coordinate system selects a core component (such as a flange) as a reference, sets the center of its bottom surface as the origin (0,0,0), the normal direction of the top surface as the Z axis, and a certain radial direction as the X axis to establish a reference coordinate system; through a coordinate conversion formula (such as a translation or rotation matrix), the three-dimensional coordinates of other components (such as the transducer column and the connecting plate) are converted to the reference coordinate system so that the position parameters of all components can be directly compared. The relative angle can be calculated by the formula , are the eigenvectors of the two components, is the relative angle. The relative distance can be calculated using the three-dimensional Euclidean distance formula The constraint status includes process constraints. The process constraints refer to the historical welding process (for example, the order of segmented welding). If the positioning tube is welded first and then the connecting plate is fixed, it is determined to be a timing constraint of positioning first and then fixing.
[0062] In one possible implementation, S3453 performs geometric relationship analysis based on the welding relationship data to obtain geometric relationship data, including: S34531, obtaining water meter acoustic performance constraint data; wherein the water meter acoustic performance constraint data includes a sound channel length tolerance threshold and a transducer column axial deflection angle tolerance threshold.
[0063] For example, water meter acoustic performance constraint data can be obtained by querying a preset acoustic performance database. This database stores the acoustic channel length tolerance thresholds and transducer column axial deflection tolerance thresholds corresponding to different water meter types and specifications. The acoustic channel length tolerance threshold is used to limit the fluctuation range of the acoustic channel length, ensuring stable sound wave transmission within the channel; the transducer column axial deflection tolerance threshold is used to limit the deviation range of the transducer column axial deflection angle, ensuring the directional accuracy of the transducer column in transmitting and receiving sound waves.
[0064] S34532, based on the geometric relationship data, calculate the deviation between the theoretical sound channel length and the designed sound channel length between adjacent transducer columns, as well as the axial deviation angle of the central axis of the transducer column relative to the central axis of the positioning tube.
[0065] It can be understood that the sound channel length refers to the length of the sound wave propagation path between two adjacent transducer columns (sound wave transmitting end and receiving end), which is usually the straight-line distance between the sound wave action center points of the two transducers (such as the center of the transducer transmitting surface).
[0066] Exemplarily, the theoretical sound channel length and the designed sound channel length are calculated to obtain the difference between the theoretical sound channel length and the designed sound channel length, and the axial deviation angle is obtained by measuring the distance between the central axis of the transducer column and the central axis of the positioning tube.
[0067] S34533, if the deviation exceeds the acoustic channel length tolerance threshold, or the axial deviation angle exceeds the transducer column axial deviation angle tolerance threshold, acoustic correction mark data is generated and associated with the affected welded component.
[0068] It can be understood that the acoustic correction mark data includes the deviation type (sound channel too long / too short, axial deviation angle too large), deviation amount, occurrence location (such as specific weld number or coordinates) and timestamp, and is associated with the corresponding welding component record through a unique identifier (such as component serial number or weld ID).
[0069] This setting can accurately locate acoustic detection anomalies and provide key input for targeted corrections to subsequent welding processes, ensuring that the welding quality meets acoustic performance requirements.
[0070] S3454: Perform welding analysis based on the first welding result data to determine the starting point and end point of each welding component, and determine each welding trajectory according to the starting point and end point of each welding component.
[0071] It can be understood that each welding component has multiple starting points and end points; for example, the transducer column has multiple starting points and end points, and the connected starting points and end points form a sub-welding segment, which is a partial welding trajectory (or becomes one of the segments in the segmented welding), and multiple sub-welding segments constitute the overall welding.
[0072] For example, the first welding result data includes the geometric coordinate information of the weld seam (e.g., obtained through laser scanning or structured light measurement). By identifying the coordinates of the start and end points of each continuous weld seam, connecting all identified start and end points (relevant start and end points form a segment), and combining them with the geometric relationships of the components (such as the flange circumference and the edge of the connecting plate), the precise path required for the welding gun to move, namely the weld trajectory, can be fitted.
[0073] S3455: Determine welding plan data based on the second welding result data and each welding trajectory and geometric relationship data.
[0074] Exemplarily, the defect positions found by acoustic detection are mapped to the determined welding trajectory, and combined with the geometric constraint relationship between the components (such as the gap between the flange and the connecting plate, the relative position of the positioning tube and the transducer column), through the causes of the defects (such as misalignment, improper gaps, unfused parts caused by angle deviations, pores, etc.), a welding plan including corrective measures (such as adjusting the welding gun posture, compensating the path, changing parameters, etc.) is formulated, and the welding plan corrected by the corrective measures is determined as the welding plan data.
[0075] This setup, combined with acoustic performance constraint data, geometric relationship data, and comprehensive analysis of weld trajectory, generates more accurate and reliable welding plan data. This allows for the development of welding plans that take into account welding defects and risk points, enabling the implementation of appropriate corrective measures for prevention and improvement. Simulating and predicting the welding process also allows for further optimization of welding process parameters, improving welding quality and stability.
[0076] In one possible implementation, see Figure 4 S3455: Determine welding scheme data based on the second welding result data and the welding trajectory and geometric relationship data, including: S34551, performing simulated welding detection from the starting point to the end point of each welding track to obtain each welding defect data; wherein the welding defect data is used to indicate the welding area with welding defects.
[0077] It can be understood that the data of each welding defect can be obtained based on historical data, material properties, acoustic detection results (second welding result data) and the current welding trajectory, geometric relationships (such as gaps and angles), using welding process simulation software (such as SYSWELD, Simufact Welding) or algorithm models to predict the defects (such as cracks, pores, and lack of fusion) that may occur along the trajectory under a given process and their location, type and severity, to obtain prediction results, and to form welding defect data with the prediction results.
[0078] S34552, determine the influence of geometric relationship data on each welding defect data and obtain the influence index.
[0079] For example, the correlation between joint defect data and key geometric relationship data (such as the concentricity deviation between the transducer post and the positioning tube, the assembly gap between the flange and the connection plate, and the insertion depth of the conduit) is determined. For example, a larger radial deviation angle may significantly increase the risk of lack of fusion in a specific area. The impact of different geometric deviations on the probability or severity of specific defects is then quantified and output as an impact index (e.g., a value between 0 and 1 or a high, medium, or low level).
[0080] S34553, calling the welding process database according to the influence index, and determining energy parameters and time parameters based on the welding process database; wherein the energy parameters include welding current, voltage and power, and the time parameters include welding speed, arc starting time and arc ending time.
[0081] It can be understood that the welding process database is a database that stores optimized process parameter groups that have been verified for different material combinations, joint forms, plate thicknesses, and different "problem-geometry influence" scenarios; For example, based on the current impact index (reflecting the severity of the problem) and defect type, a matching set of adjustable baseline parameters is retrieved from the welding process database. For example, for areas with a high impact index for lack of fusion risk, the database might recommend increasing the welding current and reducing the welding speed. For areas with porosity risk, adjustments to pulse parameters or shielding gas flow might be recommended.
[0082] S34554, generates motion instructions and process instructions based on energy parameters and time parameters; wherein the motion instructions include welding gun positioning, speed and posture moving along the path, and the process instructions include turning on the welding power supply at a specific point on the path and turning off the welding power supply at a specific point on the path.
[0083] Exemplarily, the determined energy parameters and time parameters are converted into instructions executable by a welding gun controller.
[0084] As you can understand, motion instructions specify the precise position of the welding gun in three-dimensional space (positioning), the linear speed along the weld trajectory (welding speed), and the angle of the welding gun relative to the weld (attitude angle, such as travel angle and working angle). Process instructions control the coordinate point along the trajectory at which the welding power source is activated (arc start) and the coordinate point at which the welding power source is shut down (arc end), and also set parameters such as the power source output current, voltage, and pulse waveform in real time.
[0085] S34555, determines welding plan data based on motion instructions and process instructions.
[0086] For example, all the generated motion instructions and process instructions are arranged according to the welding sequence to form a final welding program file or data set, namely welding plan data, which is parsed and executed by an automated welding machine.
[0087] With this setup, by simulating welding inspections, analyzing the potential impact of geometric relationship data on welding defects, and calling the optimization parameters in the welding process database accordingly, highly customized welding plan data can be generated, thereby improving the high targeting and practicality of the welding plan, and enhancing production efficiency and consistency of welding quality.
[0088] In one possible implementation, see Figure 5 S340: Generating welding plan data according to the matching determination data, including: S3401: If the matching determination data indicates that the case data and the historical case data fail to match and / or the acoustic correction mark data exist, extract the axial spacing and radial deflection angle between the transducer column and the positioning tube.
[0089] It can be understood that the axial spacing refers to the distance between the central axis of the transducer column and the central axis of the positioning tube in the axial direction (i.e., the length direction), while the radial deflection angle refers to the deflection angle of the transducer column relative to the positioning tube in the radial direction (i.e., the cross-sectional direction).
[0090] Exemplarily, when the matching judgment data indicates that the case data and the historical case data fail to match or / and the acoustic correction mark data exist, key geometric features are automatically extracted from the measurement data, namely, the distance difference (axial spacing L) between the central axis of the transducer column and the central axis of the positioning tube in the axial direction (Z direction), and the angle (radial deviation angle θ) between the projections of the two axes on the radial plane (XY plane).
[0091] S3402: If the axial spacing and radial deviation angle do not meet the preset conditions, the sound channel correction mode is triggered.
[0092] For example, the preset conditions can be based on acoustic performance requirements, historical welding experience, or a set threshold range. When the axial spacing exceeds the maximum or minimum allowable spacing threshold, or the radial deflection exceeds the maximum allowable deflection threshold, it is determined that the preset conditions are not met, and the acoustic channel correction mode is automatically triggered.
[0093] Additionally, in sound channel calibration mode, the positional relationship between the transducer column and the positioning tube is adjusted so that their relative position and angle meet design requirements, thereby improving the accuracy and stability of the sound channel. These calibration actions may include adjusting welding process parameters, modifying the welding path, and adding auxiliary positioning devices, depending on the actual deviation and the calibration requirements.
[0094] In one possible implementation, the channel correction mode includes: The axial deviation is calculated using a calculation formula, and a reverse pre-deformation path is generated based on the axial deviation.
[0095] It can be understood that the axial deviation can be obtained by obtaining the axial spacing between the transducer column and the positioning tube and calculating the axial deviation, the reverse pre-deformation can be calculated based on the axial deviation, and the original welding trajectory of the corresponding component can be modified based on the reverse pre-deformation. For each point on the trajectory, a new Z coordinate adjustment is performed, and the X and Y coordinates are kept unchanged. The new trajectory obtained is the reverse pre-deformation path.
[0096] According to the reverse pre-deformation path, a path compensation section of the radial deflection angle at the end of the positioning tube welding track is determined.
[0097] It can be understood that this step compensates for the radial deflection angle (the angle between the transducer column and the positioning tube axis in the radial plane) by modifying the welding path at the end of the positioning tube weld (near the transducer column connection) to guide the weld contraction direction and reduce the radial deflection angle after welding.
[0098] For example, the radial deflection angle is obtained from step S3401 to clarify the deflection direction (for example, the deflection angle causes the end of the positioning tube to deviate from the center in the +X direction). A path compensation segment is defined: Specifically, a length of the end of the positioning tube welding trajectory is selected as the compensation segment, typically 1-2 times the positioning tube diameter (for example, if the tube diameter D = 10mm, then L_comp = 10mm to 20mm). The end compensation target is then calculated to align the positioning tube end with the center of the transducer column after welding. For each point on the compensation segment, the scale factor of that point on the compensation segment is calculated, and the compensation offset of that point in the X direction is calculated. The starting point of the compensation segment is the X coordinate on the original (or after axial pre-deformation) path. Similarly, the compensation offset and Y coordinate are calculated in the Y direction. The modified point coordinate sequence of the compensation segment is smoothly connected to the axially pre-deformed path of the positioning tube main body (uncompensated segment) to form the final complete positioning tube welding path.
[0099] S3403, obtain the overlap coefficient of the welding heat-affected zone between the flange and the connecting plate.
[0100] The overlap factor is used to assess the degree of interaction between the heat-affected zone (HAZ) of the flange and the connecting plate during welding. This factor is related to the welding sequence, weld layout, and material heat transfer properties. A higher overlap factor may indicate a larger HAZ, requiring special attention to controlling weld distortion and residual stress.
[0101] The overlap coefficient can be obtained through experimental measurement, finite element simulation, or estimation based on empirical formulas. Experimental measurement can be performed by performing actual welding on a sample and using a thermal imager or temperature sensor to record the extent of the heat-affected zone, thereby calculating the overlap coefficient. Finite element simulation establishes a numerical model of the welding process, simulates welding heat conduction and stress-strain behavior, and predicts the distribution of the heat-affected zone. Estimation based on empirical formulas uses statistical regression or expert systems to quickly estimate the overlap coefficient based on known welding parameters and material properties.
[0102] S3404: When the overlap coefficient of the welding heat affected zone is at a preset value, a gradient energy parameter is generated.
[0103] It is understood that the preset value can be a range set based on welding process requirements, material properties, and heat-affected zone control objectives. When the overlap coefficient is within this preset range, it means that the degree of interaction between the heat-affected zones of the flange and the connecting plate is moderate, achieving sufficient weld strength while avoiding weld deformation and residual stress problems caused by an excessively large heat-affected zone.
[0104] For example, generating gradient energy parameters can involve adjusting parameters such as welding current, voltage, or welding speed to apply different energy inputs at different locations along the weld path, creating a gradient of energy input. For example, lower energy parameters can be used at the start and end of the weld to reduce heat input and avoid weld defects caused by sudden energy changes at the beginning and end of the weld, while higher energy parameters can be used in the middle of the weld to improve weld penetration and strength.
[0105] In one possible implementation, see Figure 6 , S3404, when the overlap coefficient of the welding heat affected zone is at a preset value, generate gradient energy parameters, including: S34041, when the overlap coefficient of the welding heat affected zone is at a preset value, determine the flange center data; wherein the flange center data is used to indicate the center of the flange.
[0106] Exemplarily, the flange center data can be determined by obtaining the three-dimensional point cloud data or CAD model of the flange end face when the overlap coefficient of the welding heat affected zone is at a preset value, and directly extracting the center point coordinates (X_c, Y_c, Z_c) of the outer circle (or the maximum inscribed circle) of the flange end face (usually the mounting sealing surface or the surface welded to the connecting plate) from the CAD model. This point is the flange center.
[0107] S34042, establish a polar coordinate system with the flange center indicated by the flange center data as the origin.
[0108] For example, the center point of the flange (X_c, Y_c, Z_c) is taken as the pole O, and the polar axis direction is usually determined by taking the normal direction of the flange end face (perpendicular to the end face plane) as the Z axis (axial direction). In the end face plane, a reference direction (for example, parallel to a certain locating pin hole connection line or +X direction) is selected as the 0 degree direction, and then the point P'i projected onto the flange end face plane, the distance ri to the pole O, and the angle φi are obtained by calculation, and then a polar coordinate system can be established.
[0109] S34043, based on the established polar coordinate system, divide the welding area according to the division criteria to obtain division data; the division data includes high-risk area, medium-risk area and safe area. The division criteria are acoustic sensitivity weight. The high-risk area is the range area of X mm around the transducer column, where X is an integer greater than 0. The medium-risk area is the overlapping area of the flange and the connecting plate. The safe area is the welding area of the wire protection pipe.
[0110] The high-risk zone is a fixed value (e.g., X = 5mm) set based on the acoustic characteristics of the transducer post (e.g., beam diameter and near-field length). This zone is the core channel for acoustic transmission and reception on the transducer post. Any weld defects (pores, inclusions, microcracks) can severely impact acoustic detection accuracy and reliability, and therefore carries the highest acoustic sensitivity weight. The primary risk in the medium-risk zone is the degradation of material properties (strength, toughness, and corrosion resistance) caused by thermal effects. The safe zone is the conduit, typically located away from the transducer post and primary sealing surface, and has relatively low overall performance requirements. This division can be based on thermal accumulation.
[0111] S34044, when the data is divided into a high-risk area, adjusting the parameters in real time to obtain adjusted parameters, and determining the adjusted parameters as gradient energy parameters.
[0112] It is understood that real-time parameter adjustments may include, but are not limited to, increasing the stability of the welding current, fine-tuning the welding speed to maintain consistency in the weld pool temperature, and optimizing the pulse waveform to reduce heat input fluctuations.
[0113] For example, when welding in high-risk areas, real-time monitoring equipment is used, such as an infrared thermal imager (to monitor the temperature distribution of the weld and the near-weld area, with a focus on peak temperature and high-temperature residence time) or a molten pool visual sensor (to monitor the size, shape, and stability of the molten pool). The alarm thresholds of key parameters are set according to the material properties. When the welding gun enters the high-risk area, the sensor data is read in real time. If it approaches or exceeds the threshold, an adjustment is triggered to further reduce the welding current or further increase the welding speed. The adjustment range can be calculated using a proportional (P) or proportional integral (PI) control algorithm based on the size of the deviation, and the parameters adjusted in real time are used as the final energy parameters of the high-risk section point.
[0114] This setting enables refined energy management (preset gradient) in areas with thermal impact superposition risk, and introduces real-time closed-loop control specifically for the acoustic core area (high-risk area) to improve the welding quality and acoustic performance in this area and prevent overheating and defects.
[0115] S3405, identifying the sealing surface area of the flange. If a welding track exists in the sealing surface area, generating constraint rule data; wherein the constraint rule data includes increasing the welding speed, reducing the current, and adding pulse phase modulation.
[0116] It is understood that identifying the flange sealing surface area can be done by accurately extracting the flange sealing surface geometry (usually an annular plane or a specific surface with grooves) from a CAD model or measurement data, obtaining its boundary coordinates, or defining a protection zone surrounding the surface (for example, an area extending 2 mm outward and 2 mm inward), thereby identifying the flange sealing surface area. Detecting the presence of a weld track in the sealing surface area can be done by calculating the shortest distance from each point on the planned weld track (step S3454 or the path corrected in the previous step) to the sealing surface area (or its protection zone), and setting a critical distance (for example, 5 mm). If a path point meets the criteria, it is determined that the weld track exists near the sealing surface area; otherwise, it does not exist. The constraint rule data generated can be: if it is determined to exist, then the welding speed will be increased (that is, the heat input per unit length will be reduced, and the heat accumulation will be reduced), the welding current will be reduced (directly reducing the heat input intensity, reducing the molten pool temperature and the depth / width of the heat-affected zone), and pulse phase modulation will be added (the pulse welding mode will be forced to be enabled. This mode requires setting the pulse peak current, pulse base current and pulse duty cycle. That is, under the premise of ensuring the depth of penetration, the average heat input is greatly reduced by using the base period, effectively controlling the temperature rise and deformation of the sealing surface. Pulse modulation can also improve the molten pool flow and solidification structure).
[0117] S3406, generating welding plan data based on the acoustic channel correction mode, gradient energy parameters and constraint rule data.
[0118] Exemplarily, the sub-scheme corresponding to the acoustic channel correction mode, the sub-scheme corresponding to the gradient energy parameter, and the sub-scheme corresponding to the constraint rule data are corrected, and the corrected sub-schemes are replaced with some sub-schemes within the welding scheme to obtain a welding scheme after replacing some sub-schemes, and the welding scheme after replacing some sub-schemes is determined as welding scheme data.
[0119] This setting can automatically adjust and optimize the welding scheme according to the complex structure and specific acoustic performance requirements of the large-caliber multi-channel ultrasonic water meter case; through fine geometric feature extraction, triggering and execution of the channel correction mode, setting of gradient energy parameters, and special protection of the sealing surface area, this method not only improves the accuracy and stability of welding, but also improves the acoustic performance and sealing reliability of the final product. In addition, the automation and intelligent characteristics of this method also significantly improve production efficiency and product quality consistency.
[0120] S400: Controlling the welding device to weld the watch case to be welded based on the welding plan data.
[0121] For example, a welding control system (such as a robot controller, PLC or dedicated welding controller) loads the analyzed welding plan data, and controls each part of the welding device in sequence according to the welding plan data to perform welding work, and then controls the welding device according to the welding plan data to complete the welding work of the watch case to be welded.
[0122] In summary, reducing ineffective process matching and lowering welding quality risks caused by improper process adaptation can reduce the superposition of thermal cycles caused by traditional welding, thereby preventing sudden changes in local sound velocity of the material and the geometric detuning of the sound channel caused by asymmetric heat input. This can improve the use of water meters and enhance the accuracy and stability of water meter measurement. At the same time, through refined welding control, the residual stress and deformation that may occur during the welding process can be minimized, the control of the welding heat-affected zone can be optimized, and the degradation of material properties caused by an excessively large heat-affected zone can be reduced, thereby extending the service life of the water meter.
[0123] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0124] Corresponding to the large-diameter multi-channel ultrasonic water meter case welding control method described in the above embodiment, the embodiment of the present application also provides a large-diameter multi-channel ultrasonic water meter case welding control system, and the various units of the system can implement the various steps of the large-diameter multi-channel ultrasonic water meter case welding control method. Figure 7 A structural block diagram of a large-caliber multi-channel ultrasonic water meter case welding control system provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0125] Reference Figure 7 The large-caliber multi-channel ultrasonic water meter case welding control system includes: an acquisition unit, configured to acquire, in response to a welding operation, each watch case data and historical watch case data corresponding to each watch case to be welded; wherein the watch case data is used to indicate the type and model of the watch case to be welded, and there are multiple watch cases to be welded; and the historical watch case data is used to indicate the type, model, and welding process of the historical watch cases that have been welded, and the welding process is a segmented welding process; a matching unit, configured to perform case similarity matching on each watch case data with historical watch case data to obtain case matching result data for each watch case; wherein the case matching result data is used to indicate the similarity between the type of the watch case to be welded and the type of the historical watch case, and the similarity between the model of the watch case to be welded and the model of the historical watch case; A generating unit, configured to generate welding scheme data according to the matching result data of each watch case; wherein the welding scheme data is used to indicate a welding scheme for welding the watch case to be welded, and the welding scheme includes a segmented welding process; The control unit is used to control the welding device to weld the watch case to be welded based on the welding plan data.
[0126] It should be noted that the information interaction, execution process, etc. between the above-mentioned systems / units are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.
[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0128] The embodiment of the present application also provides an electronic device, Figure 8 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. Figure 8 As shown, the electronic device 6 of this embodiment includes: at least one processor 60 ( Figure 8 Only one is shown), at least one memory 61 ( Figure 8 Only one is shown) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the electronic device 6 implements the steps of any of the above-mentioned large-caliber multi-channel ultrasonic water meter case welding control method embodiments, or implements the functions of each module / unit in the above-mentioned system embodiments.
[0129] For example, the computer program 62 may be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to implement the present application. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the electronic device 6.
[0130] The electronic device 6 may be a computing device such as a desktop computer or a notebook computer. The electronic device may include, but is not limited to, a processor 60 and a memory 61. It will be understood by those skilled in the art that Figure 8 It is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.
[0131] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0132] In some embodiments, the memory 61 may be an internal storage unit of the electronic device 6, such as a hard drive or memory of the electronic device 6. In other embodiments, the memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. equipped on the electronic device 6. Furthermore, the memory 61 may include both an internal storage unit of the electronic device 6 and an external storage device. The memory 61 is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of the computer program. The memory 61 may also be used to temporarily store data that has been output or is about to be output.
[0133] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0134] An embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device implements the steps of any of the above method embodiments.
[0135] If the integrated unit is implemented as a software functional unit and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process steps in the above-mentioned method embodiments by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to an electronic device, a recording medium, computer memory, read-only memory (ROM), random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Examples include a USB flash drive, a removable hard drive, a magnetic disk, or an optical disk.
[0136] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0137] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0138] In the embodiments provided in the present application, it should be understood that the disclosed large-caliber multi-channel ultrasonic water meter case welding control system, electronic equipment and method can be implemented in other ways. For example, the embodiments of the large-caliber multi-channel ultrasonic water meter case welding control system and electronic equipment described above are merely schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0139] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0140] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A large-caliber multi-channel ultrasonic water meter case welding control method, characterized in that: include: In response to the welding operation, each watch case data and historical watch case data corresponding to each watch case to be welded are acquired; wherein the watch case data is used to indicate the type and model of the watch case to be welded, and there are multiple watch cases to be welded; the historical watch case data is used to indicate the type, model, and welding process of the historical watch cases that have been welded, and the welding process is a segmented welding process; Performing case similarity matching on each of the watch case data and the historical watch case data to obtain each watch case matching result data; wherein the watch case matching result data is used to indicate the similarity between the type of the watch case to be welded and the type of the historical watch case, and the similarity between the model of the watch case to be welded and the model of the historical watch case; Generating welding scheme data according to the matching result data of each watch case; wherein the welding scheme data is used to indicate a welding scheme for welding the watch case to be welded, and the welding scheme includes the segmented welding process; The welding device is controlled based on the welding plan data to weld the watch case to be welded.
2. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 1, characterized in that: Generating welding scheme data according to the matching result data of each watch case includes: Calculating the similarity between the type of the watch case to be welded and the type of the historical watch case indicated by the watch case matching result data and the preset type similarity to obtain first matching data; wherein the first matching data is used to indicate the difference in similarity with the preset type; Calculating the similarity between the model of the watch case to be welded and the model of the historical watch case indicated by the watch case matching result data and the preset model similarity to obtain second matching data; wherein the second matching data is used to indicate the difference in similarity with the preset model; determining matching determination data based on the first matching data and the second matching data; wherein the matching determination data is used to indicate whether the watch case data and the historical watch case data are successfully matched; The welding plan data is generated based on the matching determination data.
3. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 2, characterized in that: Generating the welding plan data according to the matching determination data includes: If the matching determination data indicates that the watch case data and the historical watch case data are successfully matched, first model data is obtained; wherein the first model data is used to indicate a three-dimensional model of the watch case to be welded after completing a pre-operation, wherein the pre-operation is completed drilling the watch case; Determining first welding data of the watch case to be welded based on the three-dimensional model of the watch case to be welded indicated by the first model data; wherein the first welding data is used to indicate welding parts of the watch case to be welded that are arranged in sequence according to a welding sequence and need to be welded, and the welding parts that are arranged in sequence according to a welding sequence and need to be welded are a transducer column, a flange, a connecting plate, a positioning tube, and a wire protection tube; Acquire historical welding data and first welding result data corresponding to the historical watch case data; wherein the historical welding data includes a welding trajectory, a welding time, and welding parameters; and the first welding result data is used to reflect the welding condition of the welding component on the historical watch case; Based on the historical welding data and the first welding data, the welding component is sequentially simulated and welded on the three-dimensional model of the watch case to be welded indicated by the first simulation data to obtain second welding result data; wherein the second welding result data is used to reflect the welding condition of the welding component on the three-dimensional model of the watch case to be welded; The first welding result data and the second welding result data are analyzed to obtain the welding plan data.
4. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 3, characterized in that: The step of analyzing the first welding result data and the second welding result data to obtain the welding scheme data includes: Acquire welding position data based on the first welding result data; wherein the welding position data is used to indicate the positions of the transducer column, the flange, the connecting plate, the positioning tube, and the wire protection tube on the three-dimensional model; Obtaining welding relationship data according to the position of each welding component on the three-dimensional model indicated by the welding position data; wherein the welding relationship data is used to indicate the connection relationship of each welding component; Performing geometric relationship analysis based on the welding relationship data to obtain geometric relationship data; wherein the geometric relationship data is used to indicate the relative angle, distance and constraint state between the welded parts after welding; Performing welding analysis based on the first welding result data to determine the starting point and the end point of each welding component, and determining each welding trajectory according to the starting point and the end point of each welding component; The welding plan data is determined based on the second welding result data, each of the welding trajectories, and the geometric relationship data.
5. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 4, characterized in that: The determining of the welding scheme data based on the second welding result data, each of the welding trajectories, and the geometric relationship data includes: Performing simulated welding detection from the starting point to the end point of each welding track to obtain each welding defect data; wherein the welding defect data is used to indicate the welding area with welding defects; Determining the influence of the geometric relationship data on each of the welding defect data to obtain an influence index; Calling a welding process database according to the influence index, and determining energy parameters and time parameters based on the welding process database; wherein the energy parameters include welding current, voltage and power, and the time parameters include welding speed, arc starting time and arc ending time; Generate motion instructions and process instructions based on the energy parameters and the time parameters; wherein the motion instructions include welding gun positioning, speed and posture along the path, and the process instructions include turning on the welding power supply at a specific point along the path and turning off the welding power supply at a specific point along the path; The welding plan data is determined according to the motion instruction and the process instruction.
6. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 4, characterized in that: The performing of geometric relationship analysis based on the welding relationship data to obtain geometric relationship data includes: Acquiring water meter acoustic performance constraint data; wherein the water meter acoustic performance constraint data includes a sound channel length tolerance threshold and a transducer column axial deflection angle tolerance threshold; Based on the geometric relationship data, calculating the deviation between the theoretical sound channel length and the designed sound channel length between adjacent transducer columns, and the axial deviation angle of the central axis of the transducer column relative to the central axis of the positioning tube; If the deviation exceeds the acoustic channel length tolerance threshold, or the axial deviation angle exceeds the transducer column axial deviation angle tolerance threshold, acoustic correction mark data is generated and associated with the affected weld component.
7. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 5, characterized in that: Generating welding plan data according to the matching determination data includes: If the matching determination data indicates that the watch case data and the historical watch case data fail to match and / or the acoustic correction mark data exists, extracting the axial spacing and radial deflection angle between the transducer column and the positioning tube; If the axial spacing and the radial deflection angle do not meet the preset conditions, triggering the acoustic channel correction mode; Obtaining the overlap coefficient of the welding heat-affected zone between the flange and the connecting plate; When the overlap coefficient of the welding heat affected zone is at a preset value, generating a gradient energy parameter; Identifying a sealing surface area of the flange, and generating constraint rule data if a weld track exists in the sealing surface area; wherein the constraint rule data includes increasing the welding speed, reducing the current, and adding pulse phase modulation; The welding plan data is generated based on the acoustic channel correction model, the gradient energy parameter, and the constraint rule data.
8. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 7, characterized in that: The channel correction mode includes: Calculating the axial deviation using a calculation formula, and generating a reverse pre-deformation path based on the axial deviation; According to the reverse pre-deformation path, a path compensation section of the radial deflection angle at the end of the positioning tube welding track is determined.
9. The large-caliber multi-channel ultrasonic water meter case welding control method according to claim 7, characterized in that: When the overlap coefficient of the welding heat affected zone is at a preset value, generating a gradient energy parameter includes: When the overlap coefficient of the welding heat affected zone is at a preset value, determining flange center data; wherein the flange center data is used to indicate the center of the flange; Establishing a polar coordinate system with the flange center indicated by the flange center data as the origin; Based on the established polar coordinate system, the welding area is divided according to a division basis to obtain division data; wherein the division data includes a high-risk area, a medium-risk area, and a safe area, the division basis is an acoustic sensitivity weight, the high-risk area is a range of X mm around the transducer column, where X is an integer greater than 0, the medium-risk area is an overlapping area between the flange and the connecting plate, and the safe area is the welding area of the wire protection pipe; When the divided data is the high-risk area, the parameters are adjusted in real time to obtain adjusted parameters, and the adjusted parameters are determined as the gradient energy parameters.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.