Large-scale integrated die-casting pump body defect detection method based on die flow analysis

Through mode flow analysis and frequency decoupling technology, defects in die-cast pump body are identified and optimized, and defects such as loosening and bubbles that are difficult to detect in the prior art are solved, which improves the detection efficiency and production efficiency of the pump body and reduces costs.

CN118886362APending Publication Date: 2024-11-01SICHUAN YUCHENG MACHINERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411033485.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect and identify defects such as looseness and bubbles on the die-cast pump body, resulting in high detection difficulty, high cost and low production efficiency.

Method used

Using a method based on modular flow analysis, stress analysis and structural optimization are performed by simulating the filling and solidification process of the die-cast pump body. The image is decoupled into high-frequency and low-frequency images by using the frequency decoupling module, and reconstructed through the generator, and used the The judge outputs the discrimination probability and improves the defect identification efficiency.

Benefits of technology

It significantly improves the detection capacity of pump body defects, shortens debugging time, reduces costs, improves production efficiency, and can effectively identify defects that are not easily discovered, such as loosening, shrinking holes and bubbles except stress defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886362A_ABST
    Figure CN118886362A_ABST
Patent Text Reader

Abstract

The invention provides a large integrated die-casting pump body defect detection method based on die flow analysis, which can improve the detection energy of pump body defects, shorten the debugging time of a die-casting pump body and reduce the cost. The defect detection method comprises the following steps: simulating a mold-filling solidification process of the die-casting pump body through mold flow analysis software, carrying out stress analysis on a cracking area, and carrying out structure optimization on the die-casting pump body; a pump body image of the optimized model is decoupled into a high-frequency image and a low-frequency image through a frequency decoupling module; respectively reconstructing the high-frequency image and the low-frequency image by adopting a generator to obtain reconstructed images; and a judging device is adopted to judge the pump body image and the reconstructed image, and the judgment probability is output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of pump body design and processing, and in particular to a large-scale integrated die-casting pump body defect detection method based on mold flow analysis. Background Art

[0002] The castings produced by die casting have complex shapes, high density, high precision, good mechanical properties and low cost. With the development of lightweight automobiles, die castings are increasingly used in automobiles. The pump body is an important component in the automobile engine. It has a complex shape and requires good air tightness and high pressure resistance. Die casting production has certain difficulties. By numerically simulating the die casting production process, analyzing the temperature field, flow field, and stress field of the casting, and predicting possible defects and their distribution, the die casting process parameters can be effectively optimized, saving costs and improving production efficiency. In the prior art, mold flow analysis software is generally used to numerically simulate the die casting process parameters, analyze the air entrapment and shrinkage holes, and stress defects generated during the filling process, optimize the process parameters, and carry out actual production to provide a reference for the process optimization of similar parts.

[0003] However, it is not easy to detect defects such as looseness and bubbles on the pump body, so there is a technical defect. Summary of the invention

[0004] The object of the present invention is to provide a large-scale integrated die-casting pump body defect detection method based on mold flow analysis, which can improve the detection energy of pump body defects, shorten the debugging time of the die-casting pump body and reduce costs.

[0005] The embodiment of the present invention is achieved as follows: A large-scale one-piece die-casting pump body defect detection method based on mold flow analysis, the defect detection method comprises the following steps: The mold filling and solidification process of the die-casting pump body is simulated through mold flow analysis software, stress analysis is performed on the cracking area, and the structure of the die-casting pump body is optimized; The pump body image of the optimized model is decoupled into high-frequency image and low-frequency image through the frequency decoupling module; The generator is used to reconstruct the high-frequency image and the low-frequency image respectively to obtain a reconstructed image; The discriminator is used to distinguish the pump body image and the reconstructed image respectively, and the discrimination probability is output.

[0006] In a preferred embodiment of the present invention, the above-mentioned method of optimizing the structure of the die-cast pump body includes: thickening the cracked area or applying grid ribs to the entire outer wall of the pump body at the stress concentration part.

[0007] In a preferred embodiment of the present invention, the method for decoupling the pump body image of the optimized model into a high-frequency image and a low-frequency image by using a frequency decoupling module comprises the following steps: The frequency decoupling module obtains the frequency energy distribution of normal samples and abnormal samples of the pump body image through Fourier transform; Obtain an abnormal energy set through the frequency energy distribution of normal samples and abnormal samples; Obtain high-frequency images and low-frequency images of the local image corresponding to the abnormal energy set.

[0008] In a preferred embodiment of the present invention, details and texture information of a local image are acquired in a high-frequency image; and semantic information is acquired in a low-frequency image.

[0009] In a preferred embodiment of the present invention, a generator is used to reconstruct the high-frequency image and the low-frequency image respectively, and obtaining the reconstructed image includes the following steps: using a high-frequency generator to reconstruct the high-frequency image, and using a low-frequency generator to reconstruct the low-frequency image; the high-frequency generator and the low-frequency generator share the same U-Net model structure.

[0010] In a preferred embodiment of the present invention, low-frequency images are processed preferentially, and the reconstruction method of low-frequency images includes: performing mask convolution on the low-frequency images corresponding to the normal energy set, and performing self-supervised predictive convolution attention learning on the low-frequency images corresponding to the abnormal energy set.

[0011] In a preferred embodiment of the present invention, the high-frequency image is reprocessed, and the reconstruction method of the high-frequency image includes: performing mask convolution on the high-frequency image corresponding to the normal energy set, and performing self-supervised predictive convolution attention learning on the high-frequency image corresponding to the abnormal energy set.

[0012] In a preferred embodiment of the present invention, a generator is used to fuse the processed high-frequency image and low-frequency image to obtain a reconstructed image.

[0013] In a preferred embodiment of the present invention, it is determined that it includes a feature extraction submodule and a classification submodule, and the feature advance submodule adopts a pyramid structure design, and gradually constructs a convolution layer of the pyramid structure in a cyclic manner, the output size of each layer is halved, the channel dimension is doubled, and finally output to a specific dimension through a convolution layer; The classification submodule performs convolution on the output of the feature subnetwork, activates it through the sigmoid function, and compresses the output of the classifier convolution layer to generate the discrimination probability.

[0014] In a preferred embodiment of the present invention, the above-mentioned determiner adopts the FDHH-GAN model.

[0015] The beneficial effects of the embodiments of the present invention are: The present invention first uses mold flow analysis software to perform a preliminary simulation of the die-cast pump body, and then performs image analysis after structural optimization of the model. The optimized pump body image is decoupled from the high frequency and low frequency, and then reconstructed by a generator. After the reconstructed image and the original image are judged, if the regenerated reconstructed image has a large deviation from the original image, the original image has defects that are not easy to find except stress defects, such as looseness, shrinkage holes and bubbles, thereby improving the efficiency of defect recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A flow chart of a pump body defect detection method according to an embodiment of the present invention; Figure 2 This is a flow chart of the operation method of the frequency decoupling module according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0019] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0021] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0022] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0023] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0024] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0025] First embodiment See also Figure 1 and Figure 2 This embodiment provides a large-scale one-piece die-casting pump body defect detection method based on mold flow analysis, and the defect detection method includes the following steps: S1: The mold filling and solidification process of the die-casting pump body is simulated by mold flow analysis software, stress analysis is performed on the cracking area, and the structure of the die-casting pump body is optimized.

[0026] The structural optimization method can be: thickening the cracked area or applying grid ribs to the entire outer wall of the pump body where the stress is concentrated, so as to eliminate the major defects of the large one-piece die-cast pump body in advance.

[0027] S2: Through the frequency decoupling module, the pump body image of the optimized model is decoupled into high-frequency image and low-frequency image.

[0028] Specifically, the operation method of the frequency decoupling module is: S21: The frequency decoupling module obtains the frequency energy distribution of normal samples and abnormal samples of the pump body image through Fourier transform; S22: Obtain an abnormal energy set through the frequency energy distribution of normal samples and abnormal samples; S23: Obtain a high-frequency image and a low-frequency image of the local image corresponding to the abnormal energy set, obtain details and texture information of the local image in the high-frequency image; and obtain semantic information in the low-frequency image.

[0029] For an image, its pixel distribution reflects the spatial frequency of the image. Different frequency components contain different information. The low-frequency components of the image contain more semantic information, while the high-frequency components contain more details and texture information. In many computer vision tasks, the model performance can be improved from the frequency domain perspective. Normal defect-free samples and abnormal defective samples have obvious frequency distribution differences in frequency domain representation, which are mainly reflected in the frequency distribution shift and shape difference. The frequency distribution shift indicates that there are abnormal energy sets at certain frequencies, and the frequency distribution shape difference indicates that abnormal samples may show sharper peaks at certain frequencies. The above differences come from defects in the abnormal sample data, such as looseness and bubbles. Therefore, separating the different frequency components of the image helps to obtain more noteworthy image information, thereby creating favorable conditions for the subsequent generator to reconstruct the image.

[0030] The goal of this step is to separate the frequency domain components of the pump body image so that the subsequent generator network can focus on the features of images with different frequencies.

[0031] S3: Use the generator to reconstruct the high-frequency image and the low-frequency image respectively to obtain a reconstructed image.

[0032] Specifically, the steps include: S31: Prioritize processing of low-frequency images, the reconstruction method of low-frequency images includes: performing mask convolution on the low-frequency images corresponding to the normal energy set, and performing self-supervised predictive convolution attention learning on the low-frequency images corresponding to the abnormal energy set, for learning the global structure of normal non-defective pump body image samples; S32: reprocessing the high-frequency image, the reconstruction method of the high-frequency image includes: performing mask convolution on the high-frequency image corresponding to the normal energy set, and performing self-supervised predictive convolution attention learning on the high-frequency image corresponding to the abnormal energy set, which is used to learn the detailed features of the pump body image sample, and the accuracy of the defect detection system can be improved by utilizing the adaptability of the self-supervised predictive convolution attention learning model and the reconstruction error; S33: The generator is used to fuse the processed high-frequency image and low-frequency image to obtain a reconstructed image. By constructing a parallel set of generator networks, the model is more capable of capturing and reconstructing different levels of information in the image, which helps to reduce confusion and loss of information in the generation process, thereby improving the details and realism of the generated image.

[0033] In this embodiment, a high-frequency generator is used to reconstruct a high-frequency image, and a low-frequency generator is used to reconstruct a low-frequency image; the high-frequency generator and the low-frequency generator share the same U-Net model structure.

[0034] S4: Use a judger to distinguish the pump body image and the reconstructed image respectively, and output the judgment probability.

[0035] In this embodiment, the discriminator network receives the original pump body image and the pump body image reconstructed by the generator network, learns the potential representation of the two images, and discriminates whether the reconstructed image is an abnormal and defective pump body image based on the difference in the potential representation. The constructed discriminator network is divided into a feature extraction subnetwork and a classification subnetwork. Among them, the feature advance submodule adopts a pyramid structure design, and gradually constructs the convolution layer of the pyramid structure in a cyclic manner. The output size of each layer is halved, the channel dimension is doubled, and finally output to a specific dimension through a convolution layer; by gradually capturing the low-level and high-level features of the image, the ability to understand the semantics of the image is improved, and finally a discriminant feature is generated to judge the authenticity of the input image.

[0036] The classification submodule performs convolution on the output of the feature subnetwork, activates the sigmoid function, and compresses the output of the classifier convolution layer into 0-1 to generate a discrimination probability. The discriminator in this embodiment adopts the FDHH-GAN model.

[0037] In summary, the present invention first uses mold flow analysis software to perform a preliminary simulation of the die-cast pump body, and then performs image analysis after structural optimization of the model. The optimized pump body image is decoupled from the high frequency and low frequency, and then reconstructed by a generator. After the reconstructed image and the original image are judged, if the regenerated reconstructed image has a large deviation from the original image, the original image has defects that are not easy to find other than stress defects, such as looseness, shrinkage holes, and bubbles, thereby improving the efficiency of defect recognition.

[0038] Those of ordinary skill 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, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. 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 to be beyond the scope of the present invention.

[0039] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, 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, or it can be an electrical, mechanical or other form of connection.

[0040] The units described as separate components may or may not be physically separated. As a unit, it can be appreciated by those skilled in the art that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. 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 to be beyond the scope of the present invention.

[0041] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0042] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a grid device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0043] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A large-scale one-piece die-casting pump body defect detection method based on mold flow analysis, characterized in that: The steps include: The mold filling and solidification process of the die-casting pump body is simulated through mold flow analysis software, stress analysis is performed on the cracking area, and the structure of the die-casting pump body is optimized; The pump body image of the optimized model is decoupled into high-frequency image and low-frequency image through the frequency decoupling module; Reconstructing the high-frequency image and the low-frequency image respectively using a generator to obtain a reconstructed image; A judger is used to distinguish the pump body image and the reconstructed image respectively, and a judgment probability is output.

2. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 1 is characterized in that: Ways to optimize the structure of the die-cast pump body include: thickening the cracked area or applying grid ribs to the entire outer wall of the pump body where the stress is concentrated.

3. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 1 is characterized in that: The method of decoupling the pump body image of the optimized model into a high-frequency image and a low-frequency image by using a frequency decoupling module includes the following steps: The frequency decoupling module obtains the frequency energy distribution of the normal samples and the abnormal samples of the pump body image through Fourier transform; Obtain an abnormal energy set through the frequency energy distribution of normal samples and abnormal samples; A high-frequency image and a low-frequency image of the local image corresponding to the abnormal energy set are obtained.

4. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 3 is characterized in that: The details and texture information of the local image are obtained in the high-frequency image; and the semantic information is obtained in the low-frequency image.

5. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 3 is characterized in that: The generator is used to reconstruct the high-frequency image and the low-frequency image respectively to obtain the reconstructed image, which includes the following steps: using the high-frequency generator to reconstruct the high-frequency image, and using the low-frequency generator to reconstruct the low-frequency image; the high-frequency generator and the low-frequency generator share the same U-Net model structure.

6. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 5 is characterized in that: Prioritize low-frequency images, and the reconstruction method of the low-frequency images includes: performing mask convolution on the low-frequency images corresponding to the normal energy set, and performing self-supervised predictive convolution attention learning on the low-frequency images corresponding to the abnormal energy set.

7. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 6 is characterized in that: The high-frequency image is then processed, and the reconstruction method of the high-frequency image includes: performing mask convolution on the high-frequency image corresponding to the normal energy set, and performing self-supervised prediction convolution attention learning on the high-frequency image corresponding to the abnormal energy set.

8. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 7 is characterized in that: The generator is used to fuse the processed high-frequency image and low-frequency image to obtain the reconstructed image.

9. The large-scale one-piece die-casting pump body defect detection method based on mold flow analysis according to claim 1 is characterized in that: The judgment includes a feature extraction submodule and a classification submodule. The feature advance submodule adopts a pyramid structure design, and gradually constructs a convolution layer of the pyramid structure in a cyclic manner. The output size of each layer is halved, the channel dimension is doubled, and finally output to a specific dimension through a convolution layer; The classification submodule performs convolution on the output of the feature subnetwork, activates it through the sigmoid function, and compresses the output of the classifier convolution layer to generate a discrimination probability.

10. The large-scale integrated die-casting pump body defect detection method based on mold flow analysis according to claim 9 is characterized in that: The judger adopts the FDHH-GAN model.