A method and system for detecting faults based on a casting production line
By using 3D scanners and spatial defect fingerprint databases on the casting production line, the defect feature set of castings can be quickly identified, solving the problem of low production line reliability, enabling timely fault detection and maintenance, and reducing the generation of defective products.
Patent Information
- Application Number
- CN202611258698.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-24
AI Technical Summary
The casting production line has low production reliability. Regular inspections cannot detect fluctuations in process parameters or equipment malfunctions in time, resulting in the continuous production of defective products.
A 3D scanner is used to acquire measured point cloud information of the casting. By matching the reference point cloud information, a defect feature set is generated. The spatial defect fingerprint database is used to determine the cause of the fault, thereby realizing real-time fault detection.
It enables real-time fault detection in the casting production line, reduces the continuous output of defective products, and improves production reliability.
Smart Images

Figure CN123149371A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent detection, and more specifically, to a fault detection method and system based on a casting production line. Background Technology
[0002] The casting production line achieves continuous and rhythmic production through automated conveying systems and centralized control systems. The equipment in each process is strongly coupled and subject to time constraints, forming a typical process-oriented manufacturing mode.
[0003] Currently, the casting production line mainly adopts periodic inspection as a quality monitoring method. There is a significant time lag between the inspection and the production process. When process parameters fluctuate or equipment malfunctions, the problem often cannot be effectively captured in the first instance, which can easily lead to continuous production of defective products and result in low production reliability. Further improvements are needed. Summary of the Invention
[0004] Based on this, embodiments of this application provide a fault detection method and system based on a casting production line to solve the problem of low production reliability in the prior art.
[0005] In a first aspect, embodiments of this application provide a fault detection method based on a casting production line, the method comprising: Based on a preset 3D scanner, the measured point cloud information of the casting to be inspected is obtained; Based on the measured point cloud information, the defect feature set information is determined; Based on a pre-set spatial defect fingerprint database, the cause of failure in the production line to be inspected is determined according to the defect feature set information.
[0006] Compared with the prior art, the beneficial effects are as follows: The fault detection method based on the casting production line provided in this application embodiment allows the terminal device to first acquire the measured point cloud information of the casting to be inspected based on a preset 3D scanner, then quickly determine the defect feature set information based on the measured point cloud information, and finally reliably determine the fault cause information of the production line to be inspected based on the defect feature set information according to the preset spatial defect fingerprint database. This enables real-time detection of the fault cause of the production line to be inspected, which is conducive to timely and rapid maintenance of the casting production line, reduces the situation of continuous production of defective products, greatly improves production reliability, and solves the problem of low production reliability to a certain extent.
[0007] Secondly, embodiments of this application provide a fault detection system based on a casting production line, the system comprising: Measured point cloud information acquisition module: used to acquire measured point cloud information of the casting to be inspected based on a preset 3D scanner; Defect feature set information determination module: used to determine defect feature set information based on the measured point cloud information; Fault Cause Information Determination Module: Based on a preset spatial defect fingerprint database, this module determines the fault cause information of the production line to be inspected according to the defect feature set information.
[0008] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described in the first aspect above.
[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.
[0010] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0012] Figure 1 This is a schematic flowchart of a fault detection method provided in an embodiment of this application; Figure 2 This is a flowchart illustrating step S200 in a fault detection method provided in an embodiment of this application; Figure 3 This is a flowchart illustrating step S300 in a fault detection method provided in an embodiment of this application; Figure 4 This is a flowchart illustrating the process after step S360 in a fault detection method provided in an embodiment of this application; Figure 5 This is a block diagram of a fault detection system provided in one embodiment of this application; Figure 6 This is a schematic diagram of a terminal device provided in an embodiment of this application. Detailed Implementation
[0013] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0014] In the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0015] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of 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 "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0016] To illustrate the technical solution described in this application, specific embodiments are provided below.
[0017] Please see Figure 1 , Figure 1 This is a flowchart illustrating a fault detection method based on a casting production line provided in this application embodiment. In this embodiment, the execution subject of the fault detection method is a terminal device. It is understood that the types of terminal devices include, but are not limited to, tablet computers, laptops, Ultra-Mobile Personal Computers (UMPCs), netbooks, Personal Digital Assistants (PDAs), etc., and this application embodiment does not impose any restrictions on the specific type of terminal device.
[0018] Please see Figure 1 The fault detection method provided in this application includes, but is not limited to, the following steps: In S100, based on a preset 3D scanner, the measured point cloud information of the casting to be inspected is obtained.
[0019] Specifically, the terminal device can first acquire the measured point cloud information of the casting to be inspected based on a preset 3D scanner. The measured point cloud information is used to describe the point cloud data obtained by scanning the casting to be inspected using a 3D scanner.
[0020] In S200, defect feature set information is determined based on measured point cloud information.
[0021] Specifically, after the terminal device acquires the measured point cloud information, it can effectively determine the defect feature set information based on the measured point cloud information. The measured point cloud information includes multiple first spatial point information, which is used to describe any sampling point in the measured point cloud information. The defect feature set information includes region centroid coordinate information and measured defect region surface area information. The region centroid coordinate information is used to describe the three-dimensional coordinates corresponding to the centroid of the defect region, and the measured defect region surface area information is used to describe the surface area of the defect region.
[0022] In some possible implementations, for effectively determining defect feature set information, please refer to [link / reference]. Figure 2 Step S200 includes, but is not limited to, the following steps: In S210, the reference point cloud information of the reference casting is obtained.
[0023] Specifically, the terminal device can acquire the reference point cloud information of the reference casting, wherein the reference casting is used to describe the casting whose product quality meets the preset qualified standard; the reference point cloud information includes multiple second spatial point information, which is used to describe any sampling point in the reference point cloud information.
[0024] In S220, the measured point cloud information is matched with the reference point cloud information to generate spatial deviation value information.
[0025] Specifically, after the terminal device acquires the reference point cloud information, it can match the measured point cloud information with the reference point cloud information, and then calculate the deviation value between the measured point cloud information and the reference point cloud information to effectively generate spatial deviation value information. The spatial deviation value information is used to describe the deviation value between the first target point and the second target point. The first target point is used to describe any first spatial point information, and the second target point is used to describe the second spatial point information in the reference point cloud information that matches the first target point.
[0026] In S230, based on a preset allowable deviation threshold, the measured point cloud information is binarized and segmented to generate measured defect area information.
[0027] Specifically, after the terminal device generates spatial deviation value information, the terminal device can perform binarization segmentation on the measured point cloud information based on a preset allowable deviation threshold. The continuous point cloud region in the measured point cloud information where the spatial deviation value information is greater than the allowable deviation threshold is determined as the measured defect region information. The measured defect region information is used to describe the continuous point cloud region where the spatial deviation value information is greater than the allowable deviation threshold.
[0028] In S240, based on the preset centroid method, the centroid coordinate information of the region is generated according to the measured defect region information.
[0029] Specifically, after the terminal device generates the measured defect area information, the terminal device can use the preset centroid method to calculate the arithmetic mean of the coordinates of all valid sampling points in the defect area, and combine the built-in calibration parameters to complete the mapping transformation from the pixel coordinate system to the physical coordinate system, and finally generate the centroid coordinate information of the region with a unified spatial reference.
[0030] In S250, based on the preset triangulation method, the surface area information of the measured defect area is generated according to the measured defect area information.
[0031] Specifically, after the terminal device generates the centroid coordinate information of the region, it can generate the surface area information of the measured defect region based on the preset triangulation method and the measured defect region information.
[0032] Specifically, after the terminal device generates the centroid coordinate information of the region, it can decompose the surface of the defect region into several interconnected triangular mesh units based on a preset triangulation method. By accumulating the precise area of each triangular unit, the total surface area information of the measured defect region is finally generated.
[0033] In S300, based on a preset spatial defect fingerprint database, the cause of failure of the production line to be inspected is determined according to the defect feature set information.
[0034] Specifically, after the terminal device generates the measured surface area information of the defect area, it can reliably determine the cause of the failure of the production line under inspection based on the preset spatial defect fingerprint database and the defect feature set information. This enables timely detection of abnormalities in the casting production line and rapid identification of the cause of the abnormality, avoiding the continuous production of unqualified castings and effectively improving production reliability.
[0035] In some possible implementations, to reliably determine the cause of failures in the production line under inspection, please refer to [link to relevant documentation]. Figure 3 Step S300 includes, but is not limited to, the following steps: In S310, measured spatial topology information is generated based on the centroid coordinates of multiple regions.
[0036] Specifically, after the terminal device generates the measured surface area information of the defect area, the terminal device can quickly generate the measured spatial topology information based on the centroid coordinate information of multiple areas. The measured spatial topology information is used to describe the topological structure between the centroid coordinate information of multiple areas.
[0037] In S320, based on measured spatial topology information, the spatial defect fingerprint database is searched to determine the topology information of multiple targets.
[0038] Specifically, after the terminal device generates the measured spatial topology information, it can search the spatial defect fingerprint database based on this information to retrieve historical spatial topology information that matches the measured information. This allows for the rapid identification of multiple target topologies. The spatial defect fingerprint database includes multiple candidate defect fingerprint feature sets. Each candidate set includes historical spatial topology information, historical defect area surface area information, and historical fault cause information. The historical spatial topology information describes the topological structure formed by the centroid coordinates of multiple defect areas in historically defective castings. The historical defect area surface area information describes the surface area of each defect area in historically defective castings. The historical fault cause information describes the fault causes in the casting production line that historically led to the defective castings. The target topology information describes any historical spatial topology information that matches the measured spatial topology information.
[0039] In S330, the historical fault cause information corresponding to the candidate defect fingerprint feature set information to which each target topology information belongs is determined as the candidate fault cause information.
[0040] Specifically, after the terminal device determines multiple target topology information, the terminal device can determine the historical fault cause information corresponding to the candidate defect fingerprint feature set information to which each target topology information belongs as the candidate fault cause information, thereby initially determining the cause of the current defect in the casting production line.
[0041] In S340, for each candidate fault cause information: based on the difference between the measured surface area information of the defect area and the candidate surface area information, area deviation value information is generated.
[0042] Specifically, after the terminal device determines the candidate fault cause information, the terminal device can perform the following processing for each candidate fault cause information: based on the difference between the measured defect area surface area information and the candidate surface area information, area deviation value information is effectively generated. The candidate surface area information is used to describe the historical defect area surface area information corresponding to the candidate defect fingerprint feature set information to which the candidate fault cause information belongs.
[0043] In S350, it is determined whether the area deviation value is less than the preset phase difference threshold.
[0044] Specifically, after the terminal device generates the area deviation value information, the terminal device can quickly determine whether the area deviation value information is less than the preset difference threshold information. The specific value of the difference threshold information can be preset by the operation and maintenance personnel, so it will not be elaborated here.
[0045] In S360, if the area deviation value information is within the preset phase difference threshold information, then the candidate fault cause information is determined as the fault cause information.
[0046] Specifically, if the area deviation value is within the preset phase difference threshold, the terminal device can determine the candidate fault cause information as the fault cause information, thereby ultimately determining the cause of the current defect in the casting production line.
[0047] For further improvement in the accuracy of the analysis results, please refer to some possible implementations. Figure 4 After step S360, the method further includes, but is not limited to, the following steps: In S370, it is determined whether the number of fault cause information is greater than 1.
[0048] Specifically, the terminal device can determine whether the number of fault cause information is greater than 1.
[0049] In S380, if the number of fault cause information is greater than one, only the fault cause information corresponding to the smallest area deviation value is retained.
[0050] Specifically, if the number of fault cause information is greater than one, the terminal device can retain only the fault cause information corresponding to the smallest area deviation value as the final determined fault cause information.
[0051] In some possible implementations, to facilitate remote identification and analysis of the causes of casting production line failures by maintenance personnel, the method, after step S300, may also include, but is not limited to, the following steps: In S400, defect feature set information and fault cause information are sent to the designated terminal.
[0052] Specifically, after the terminal device determines the cause of the fault in the production line to be inspected, the terminal device can send the defect feature set information and the cause of the fault to the designated terminal, where the designated terminal is used to describe the terminal where the maintenance personnel are located.
[0053] The implementation principle of the fault detection method for casting production lines in this application embodiment is as follows: The terminal equipment can first acquire the measured point cloud information of the casting to be inspected based on a preset 3D scanner, and then quickly determine the defect feature set information based on the measured point cloud information. Finally, based on a preset spatial defect fingerprint database, the fault cause information of the production line to be inspected can be reliably determined according to the defect feature set information, thereby realizing the real-time discovery of the fault cause of the production line to be inspected. This is conducive to timely and rapid maintenance of the casting production line, reducing the situation of continuous production of defective products, and greatly improving production reliability.
[0054] It should be noted that the sequence number of each step in the above embodiments does not imply 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.
[0055] Embodiments of this application also provide a fault detection system based on a casting production line. For ease of explanation, only the parts relevant to this application are shown, such as... Figure 5 As shown, the system 50 includes: Measured point cloud information acquisition module 51: used to acquire measured point cloud information of the casting to be inspected based on a preset 3D scanner; Defect Feature Set Information Determination Module 52: Used to determine defect feature set information based on measured point cloud information; Fault Cause Information Determination Module 53: Based on a preset spatial defect fingerprint database, it determines the fault cause information of the production line to be inspected according to the defect feature set information.
[0056] Optionally, the measured point cloud information includes information on multiple first spatial points, and the defect feature set information includes the region centroid coordinates and the measured surface area of the defect region; the aforementioned defect feature set information determination module 52 includes: Reference point cloud information acquisition submodule: used to acquire reference point cloud information of reference castings, wherein the reference point cloud information includes multiple second space point information; Spatial Deviation Value Information Generation Submodule: This module is used to match the measured point cloud information with the reference point cloud information to generate spatial deviation value information. The spatial deviation value information is used to describe the deviation value between the first target point and the second target point. The first target point is used to describe any first spatial point information, and the second target point is used to describe the second spatial point information in the reference point cloud information that matches the first target point. The measured defect region information generation submodule is used to perform binarization segmentation on the measured point cloud information based on a preset allowable deviation threshold, and generate measured defect region information. The measured defect region information is used to describe continuous point cloud regions where the spatial deviation value is greater than the allowable deviation threshold. Regional centroid coordinate information generation submodule: used to generate regional centroid coordinate information based on the preset centroid method and the measured defect area information; The measured defect area surface area information generation submodule is used to generate measured defect area surface area information based on the measured defect area information using a preset triangulation method.
[0057] Optionally, the above-mentioned fault cause information determination module 53 includes: The measured spatial topology information generation submodule is used to generate measured spatial topology information based on the centroid coordinate information of multiple regions. The measured spatial topology information is used to describe the topological structure between the centroid coordinate information of multiple regions. The target topology information determination submodule is used to search the spatial defect fingerprint database based on the measured spatial topology information and determine multiple target topology information. The spatial defect fingerprint database includes multiple candidate defect fingerprint feature sets. Each candidate defect fingerprint feature set includes historical spatial topology information, historical defect area surface area information, and historical fault cause information. The target topology information is used to describe any historical spatial topology information that is equal to the measured spatial topology information. The candidate fault cause information determination submodule is used to determine the historical fault cause information corresponding to the candidate defect fingerprint feature set information to which each target topology information belongs as the candidate fault cause information; Area Deviation Value Generation Submodule: Used for each candidate fault cause information: Based on the difference between the measured defect area surface area information and the candidate surface area information, area deviation value information is generated. Wherein, the candidate surface area information is used to describe the historical defect area surface area information corresponding to the candidate defect fingerprint feature set information to which the candidate fault cause information belongs. Area deviation value information judgment submodule: used to determine whether the area deviation value is less than the preset phase difference threshold; Fault Cause Information Determination Submodule: If the area deviation value is within a preset phase difference threshold, then the candidate fault cause information is determined as the fault cause information.
[0058] Optionally, the system 50 also includes: Fault Cause Information Judgment Module: Used to determine whether the number of fault cause information is greater than 1; Fault cause information retention module: If the number of fault cause information is greater than 1, only the fault cause information corresponding to the smallest area deviation value will be retained.
[0059] Optionally, the system 50 also includes: Defect Feature Set Information Sending Submodule: Used to send defect feature set information and fault cause information to the designated terminal. It should be noted that the information interaction and execution process between the above modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.
[0060] This application also provides a terminal device, such as... Figure 6 As shown, the terminal device 60 in this embodiment includes a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the processor 61 executes the computer program 63, it implements the steps described in the fault detection method embodiment above, for example... Figure 1 Steps S100 to S300 are shown; or, when processor 61 executes computer program 63, it implements the functions of each module in the above-described device, for example... Figure 5 The functions of modules 51 to 53 are shown.
[0061] The terminal device 60 can be a desktop computer, laptop, handheld computer, or cloud server, etc., and includes, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will understand that... Figure 6 This is merely an example of terminal device 60 and does not constitute a limitation on terminal device 60. It may include more or fewer components than shown, or combine certain components, or different components. For example, terminal device 60 may also include input / output devices, network access devices, buses, etc.
[0062] The processor 61 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.; the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0063] The memory 62 can be an internal storage unit of the terminal device 60, such as the hard disk or memory of the terminal device 60. The memory 62 can also be an external storage device of the terminal device 60, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the terminal device 60. Furthermore, the memory 62 can include both internal storage units and external storage devices of the terminal device 60. The memory 62 can also store computer program 63 and other programs and data required by the terminal device 60. The memory 62 can also be used to temporarily store data that has been output or will be output.
[0064] One embodiment of this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0065] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the methods, principles and structures of this application should be covered within the scope of protection of this application.
Claims
1. A fault detection method based on a casting production line, characterized in that, The method includes: Based on a preset 3D scanner, the measured point cloud information of the casting to be inspected is obtained; Based on the measured point cloud information, the defect feature set information is determined; Based on a pre-set spatial defect fingerprint database, the cause of failure in the production line to be inspected is determined according to the defect feature set information.
2. The method according to claim 1, characterized in that, The measured point cloud information includes information on multiple first spatial points, and the defect feature set information includes regional centroid coordinate information and measured surface area information of the defect region; determining the defect feature set information based on the measured point cloud information includes: Acquire reference point cloud information of the reference casting, wherein the reference point cloud information includes multiple second spatial point information; The measured point cloud information is matched with the reference point cloud information to generate spatial deviation value information. The spatial deviation value information is used to describe the deviation value between the first target point and the second target point. The first target point is used to describe any first spatial point information, and the second target point is used to describe the second spatial point information in the reference point cloud information that matches the first target point. Based on a preset allowable deviation threshold, the measured point cloud information is binarized and segmented to generate measured defect region information, wherein the measured defect region information is used to describe continuous point cloud regions where the spatial deviation value is greater than the allowable deviation threshold. Based on the preset centroid method, the centroid coordinate information of the region is generated according to the measured defect region information; Based on the preset triangulation method, the surface area information of the measured defect area is generated according to the measured defect area information.
3. The method according to claim 2, characterized in that, The method based on the preset spatial defect fingerprint database determines the cause of failure information of the production line to be inspected according to the defect feature set information, including: Based on the centroid coordinate information of multiple regions, measured spatial topology information is generated, wherein the measured spatial topology information is used to describe the topological structure between the centroid coordinate information of multiple regions; Based on the measured spatial topology information, the spatial defect fingerprint database is searched to determine multiple target topology information. The spatial defect fingerprint database includes multiple candidate defect fingerprint feature sets. Each candidate defect fingerprint feature set includes historical spatial topology information, historical defect area surface area information, and historical fault cause information. The target topology information is used to describe any historical spatial topology information that is equal to the measured spatial topology information. The historical fault cause information corresponding to the candidate defect fingerprint feature set information to which each of the target topology information belongs is determined as the candidate fault cause information; For each of the candidate fault cause information: based on the difference between the measured defect area surface area information and the candidate surface area information, an area deviation value is generated, wherein the candidate surface area information is used to describe the historical defect area surface area information corresponding to the candidate defect fingerprint feature set information to which the candidate fault cause information belongs; Determine whether the area deviation value is less than a preset phase difference threshold. If the area deviation value information is within the preset phase difference threshold information, then the candidate fault cause information is determined to be the fault cause information.
4. The method according to claim 3, characterized in that, After determining the candidate fault cause information as fault cause information if the area deviation value information is within a preset phase difference threshold, the method further includes: Determine whether the number of fault cause information is greater than 1; If the number of fault cause information is greater than 1, then only the fault cause information corresponding to the smallest area deviation value will be retained.
5. The method according to claim 1, characterized in that, After determining the cause of failure information of the production line to be inspected based on the defect feature set information from the preset spatial defect fingerprint database, the method further includes: Send the defect feature set information and fault cause information to the designated terminal.
6. A fault detection system based on a casting production line, characterized in that, The system includes: Measured point cloud information acquisition module: used to acquire measured point cloud information of the casting to be inspected based on a preset 3D scanner; Defect feature set information determination module: used to determine defect feature set information based on the measured point cloud information; Fault Cause Information Determination Module: Based on a preset spatial defect fingerprint database, this module determines the fault cause information of the production line to be inspected according to the defect feature set information.
7. The system according to claim 6, characterized in that, The system also includes: Defect Feature Set Information Sending Submodule: Used to send the defect feature set information and fault cause information to the designated terminal.
8. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 5.
