Control method for automatic detection and packaging device of punching machine
By constructing a three-dimensional model and crack detection of stamping finished products, automatic detection and packaging of stamping machine tools are realized, solving the problem of low efficiency of traditional manual detection and improving product quality and production efficiency.
Patent Information
- Application Number
- CN202411292520.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN118799332A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of industrial production equipment control, in particular to a control method for an automatic detection and packaging device of a punching machine. Background Art
[0002] In modern manufacturing, stamping machine tools, as important processing equipment, play a key role in many industries such as automobiles, home appliances, aerospace, etc. However, product quality control during the stamping process has always been a major challenge facing the industry. Traditional quality control relies on manual inspection, which is not only inefficient, but also easily interfered by human factors, resulting in large fluctuations in product quality and difficulty in meeting high-precision and high-efficiency production requirements. With the development of industrial automation and intelligence, there is an urgent need for an efficient and accurate automatic inspection and packaging device for stamping machine tools to improve production efficiency, reduce production costs, and ensure the stability and consistency of product quality.
[0003] In recent years, with the integration and application of advanced technologies such as computer vision, artificial intelligence, and the Internet of Things, automatic detection and packaging devices for stamping machines have developed rapidly. By integrating multiple sensors and intelligent algorithms, such devices can achieve real-time monitoring, abnormality detection, and automatic adjustment of the stamping process, significantly improving the automation level of the production process and product quality. At the same time, the automatic packaging system can customize packaging according to product characteristics, which not only improves packaging efficiency, but also effectively reduces material waste and realizes green manufacturing.
[0004] Therefore, the development of an efficient method for automatic detection of stamping machines and control of packaging devices can not only solve the limitations of traditional detection methods, but also realize precise control, real-time monitoring and intelligent decision-making of the stamping process, and ultimately achieve the goals of improving product quality, improving production efficiency, reducing costs and saving energy and reducing emissions, which is of great significance to enhancing the overall competitiveness of the manufacturing industry. Summary of the invention
[0005] The invention overcomes the shortcomings of the prior art and provides a control method for an automatic detection and packaging device of a punching machine.
[0006] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is: The first aspect of the present invention discloses a control method for an automatic detection and packaging device of a stamping machine, comprising the following steps: The camera in the detection device obtains product images of a stamped product at several preset angles in the stamping machine, and constructs a three-dimensional model diagram of the actual shape of the stamped product based on the product images of the stamped product at several preset angles; Obtain standard size parameter information of the stamped finished product, and construct a standard 3D model diagram of the stamped finished product according to the standard size parameter information; Performing intersection analysis on the actual 3D model diagram of the stamped product and the standard 3D model diagram to obtain a model intersection ratio between the actual 3D model diagram and the standard 3D model diagram; If the model intersection ratio between the actual 3D model diagram and the standard 3D model diagram is not greater than the preset intersection ratio, it means that the size of the stamped product does not meet the standard and is a stamped defective product, and the stamped product will not be packaged; If the model intersection ratio between the actual morphology three-dimensional model diagram and the standard morphology three-dimensional model diagram is greater than the preset intersection ratio, the crack detector in the detection device is controlled to perform crack detection and analysis on the stamped product to obtain a crack ratio analysis result of the stamped product; If the crack ratio analysis result of the stamped finished product is qualified, which means that the size and crack concentration of the stamped finished product are up to standard, then the packaging device is controlled to package the stamped finished product; If the crack ratio analysis result of the stamped finished product is unqualified, it means that the crack concentration of the stamped finished product does not meet the standard and it is a defective stamping product, then the stamped finished product will not be packaged.
[0007] In a preferred embodiment of the present invention, a three-dimensional model diagram of the actual shape of the stamped product is constructed based on product images of several preset angles of the stamped product, specifically: Perform feature processing on the product image at each preset angle, extract feature points in each product image, and obtain a feature point set of each product image; Calculate the LOF value of each feature point in each feature point set respectively, and filter out the feature points whose LOF value is greater than the preset threshold in the corresponding feature point set; and so on, perform denoising on each feature point set to obtain the final feature point set of each product image; The local sensitive hashing algorithm is introduced to calculate the hash value and index value corresponding to each feature point in each final feature point set based on the local sensitive hashing algorithm; Create a hash table, and map the hash value and index value corresponding to each feature point in each final feature point set to the hash table; wherein the key of the hash table is the hash value, and the value of the hash table is the index value of the corresponding feature point; Traversing all hash values in the hash table, retrieving two feature points with the same hash value in the hash table, defining them as a feature point pair; searching the hash table for an index value of a feature point in the feature point pair; and calculating the similarity between the feature points in the feature point pair according to the found index value; If the similarity between the feature points in a pair of feature points is greater than a preset similarity, the two feature points in the feature point pair are defined as a matching feature point pair; Repeat the above steps to perform feature matching on the feature points in each final feature point set to obtain several pairs of matching feature points; Constructing a three-dimensional coordinate system, importing each final feature point set into the three-dimensional coordinate system, performing registration processing on each matching feature point pair in the three-dimensional coordinate system to obtain a feature point model; obtaining relative coordinate information between each feature point in the feature point model; The 3D modeling software is used to construct a 3D model diagram of the actual shape of the stamped product based on the relative coordinate information between the feature points.
[0008] In a preferred embodiment of the present invention, an intersection analysis is performed on the actual 3D model diagram of the stamped product and the standard 3D model diagram to obtain a model intersection ratio between the actual 3D model diagram and the standard 3D model diagram, specifically: Marking the machining reference planes in the actual form three-dimensional model diagram and the standard form three-dimensional model diagram respectively; setting the actual form three-dimensional model diagram to a pure black black body model, and setting the standard form three-dimensional model diagram to a pure white white body model; Constructing a voxel space and dividing the voxel space into a plurality of voxel grids; inputting the actual morphological three-dimensional model image and the standard morphological three-dimensional model image into the voxel space; Aligning the actual morphology three-dimensional model image with the standard morphology three-dimensional model image based on the marked processing reference plane in the voxel space; Analyze each voxel grid in the voxel space according to a preset order; if neither the black body model nor the white body model exists in a certain voxel grid, mark the voxel grid as a non-model area grid; If both the black body model and the white body model exist in a certain voxel grid, the voxel grid is calibrated as an overlapping model area grid; If only a black body model or only a white body model exists in a certain voxel grid, the voxel grid is calibrated as a non-overlapping model area grid; After the analysis is completed, the total number of grids in the non-overlapping model area is counted, and the total number of grids in the overlapping model area is counted; The model intersection ratio between the actual morphology three-dimensional model diagram and the standard morphology three-dimensional model diagram is calculated according to the total number of grids in the non-overlapping model area and the total number of grids in the overlapping model area.
[0009] In a preferred embodiment of the present invention, the crack detector in the control detection device performs crack detection and analysis on the stamped product to obtain the crack ratio analysis result of the stamped product, specifically: If the model intersection ratio between the actual 3D model diagram and the standard 3D model diagram is greater than the preset intersection ratio, the crack detector in the detection device is controlled to scan and detect the stamped product; Acquire crack characteristic data fed back by cracks inside the stamped product, and calculate the total crack volume value of the stamped product according to the crack characteristic data; wherein the crack characteristic data includes crack position, crack length, crack depth and crack width; Obtaining a three-dimensional model diagram of the actual morphology of the stamped product, and calculating a total model volume value of the three-dimensional model diagram of the actual morphology; calculating a crack ratio of the stamped product according to the total crack volume value and the total model volume value; If the crack proportion is greater than the preset proportion, it means that the crack proportion of the stamped product is unqualified; if the crack proportion is not greater than the preset proportion, it means that the crack proportion of the stamped product is qualified.
[0010] The following steps are also included: If the size of the stamped product does not meet the standard, a model area where only a black body model or only a white body model exists in the voxel grid is obtained, and the model area where only a black body model or only a white body model exists is marked as a stamping size abnormal area; Obtaining die structure information of the stamping equipment, which includes the location and function of each sub-stamping module; According to the die structure information, the stamping size abnormal area is associated with each sub-stamping module to obtain a sub-stamping module associated with the stamping size abnormal area, which is defined as an abnormal sub-stamping module; Obtaining a stamping record book of the abnormal sub-stamping module, and obtaining historical stamping parameters of the abnormal sub-stamping module when stamping the stamped finished product according to the stamping record book; wherein the stamping parameters include stamping pressure, die gap, stamping temperature and stamping speed; It is determined whether the historical stamping parameters are within a preset range. If not, the real-time stamping parameters of the abnormal sub-stamping module are regulated.
[0011] The following steps are also included: If the crack concentration of the stamped product does not meet the standard, the crack position of the stamped product is obtained according to the crack characteristic data fed back by the internal cracks of the stamped product, and the crack position of the stamped product is marked as an abnormal stamping crack area; Obtaining die structure information of the stamping equipment, which includes the location and function of each sub-stamping module; According to the die structure information, the abnormal stamping crack region is associated with each sub-stamping module, and a sub-stamping module associated with the abnormal stamping crack region is obtained, which is defined as an abnormal sub-stamping module; Obtaining a stamping record book of the abnormal sub-stamping module, and obtaining historical stamping parameters of the abnormal sub-stamping module when stamping the stamped finished product according to the stamping record book; wherein the stamping parameters include stamping pressure, die gap, stamping temperature and stamping speed; It is determined whether the historical stamping parameters are within a preset range. If not, the real-time stamping parameters of the abnormal sub-stamping module are regulated.
[0012] The second aspect of the present invention discloses a control system for an automatic detection and packaging device for a stamping machine tool. The control system for the automatic detection and packaging device for a stamping machine tool comprises a memory and a processor. The memory stores a control method program for the automatic detection and packaging device for a stamping machine tool. When the control method program for the automatic detection and packaging device for a stamping machine tool is executed by the processor, any one of the control method steps for the automatic detection and packaging device for a stamping machine tool is implemented.
[0013] The third aspect of the present invention discloses a computer-readable storage medium, which includes a control method program for automatic detection and packaging of a stamping machine tool. When the control method program for automatic detection and packaging of a stamping machine tool is executed by a processor, any one of the control method steps for automatic detection and packaging of a stamping machine tool is implemented.
[0014] The present invention solves the technical defects existing in the background technology, and has the following beneficial effects: performing intersection analysis on the actual morphological three-dimensional model diagram of the stamped finished product and the standard morphological three-dimensional model diagram; if the model intersection ratio between the actual morphological three-dimensional model diagram and the standard morphological three-dimensional model diagram is not greater than the preset intersection ratio, the stamped finished product will not be packaged; if the model intersection ratio between the actual morphological three-dimensional model diagram and the standard morphological three-dimensional model diagram is greater than the preset intersection ratio, the crack detector in the detection device is controlled to perform crack detection analysis on the stamped finished product to obtain the crack ratio analysis result of the stamped finished product; if the crack ratio analysis result of the stamped finished product is qualified, which indicates that the size and crack concentration of the stamped finished product are up to standard, then the packaging device is controlled to package the stamped finished product; if the crack ratio analysis result of the stamped finished product is unqualified, which indicates that the crack concentration of the stamped finished product is not up to standard and it is a stamped defective product, then the stamped finished product will not be packaged. This method can realize comprehensive detection and automatic packaging of stamped finished products, and improve production efficiency and product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, drawings of other embodiments can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a flow chart of the overall method of a control method of an automatic detection and packaging device of a stamping machine; Figure 2 It is a partial method flow chart of a control method of an automatic detection and packaging device of a stamping machine; Figure 3 The system block diagram of a control system for an automatic detection and packaging device of a stamping machine tool. DETAILED DESCRIPTION
[0017] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0018] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0019] like Figure 1 As shown, the first aspect of the present invention discloses a control method for an automatic detection and packaging device of a stamping machine, comprising the following steps: S102: acquiring product images of a stamped product at several preset angles in a stamping machine through a camera in a detection device, and constructing a three-dimensional model diagram of the actual shape of the stamped product according to the product images of the stamped product at several preset angles; S104: Acquire standard size parameter information of the stamped product, and construct a standard shape three-dimensional model diagram of the stamped product according to the standard size parameter information; S106: performing intersection analysis on the actual 3D model diagram of the stamped product and the standard 3D model diagram to obtain a model intersection ratio between the actual 3D model diagram and the standard 3D model diagram; S108: If the model intersection ratio between the actual 3D model diagram and the standard 3D model diagram is not greater than the preset intersection ratio, it means that the size of the stamped product does not meet the standard and is a stamped defective product, and the stamped product is not packaged; S110: If the model intersection ratio between the actual morphology 3D model diagram and the standard morphology 3D model diagram is greater than a preset intersection ratio, controlling the crack detector in the detection device to perform crack detection and analysis on the stamped product to obtain a crack ratio analysis result of the stamped product; S112: If the crack ratio analysis result of the stamped product is qualified, which means that the size and crack concentration of the stamped product are up to standard, then the packaging device is controlled to package the stamped product; S114: If the crack ratio analysis result of the stamped finished product is unqualified, it means that the crack concentration of the stamped finished product does not meet the standard and is a stamped defective product, and the stamped finished product will not be packaged.
[0020] It should be noted that the product images of the stamped finished product at multiple preset angles are obtained by the camera, and the actual morphological three-dimensional model diagram is constructed, and the intersection analysis is performed with the standard morphological three-dimensional model diagram to determine whether the size meets the standard. If the size meets the standard, crack detection is performed, and if the crack ratio is qualified, packaging is performed; otherwise, it is determined to be a stamping defective product and no packaging is performed. This method can realize comprehensive detection and automatic packaging of stamped finished products, improving production efficiency and product quality. Through the construction and comparison of the three-dimensional model diagram, it can be accurately judged whether the product size meets the standard, avoiding the errors and uncertainties of manual detection. At the same time, crack detection can detect crack defects of the product in time to ensure product quality. In addition, the automatic packaging device can perform packaging according to the detection results, reducing manual intervention and improving packaging efficiency. In general, this control method can effectively improve the production efficiency and product quality of the stamping machine tool, and reduce production costs and labor intensity.
[0021] In a preferred embodiment of the present invention, a three-dimensional model diagram of the actual shape of the stamped product is constructed based on product images of several preset angles of the stamped product, specifically: Perform feature processing on the product image at each preset angle, extract feature points in each product image, and obtain a feature point set of each product image; Calculate the LOF value of each feature point in each feature point set respectively, and filter out the feature points whose LOF value is greater than the preset threshold in the corresponding feature point set; and so on, perform denoising on each feature point set to obtain the final feature point set of each product image; The local sensitive hashing algorithm is introduced to calculate the hash value and index value corresponding to each feature point in each final feature point set based on the local sensitive hashing algorithm; Create a hash table, and map the hash value and index value corresponding to each feature point in each final feature point set to the hash table; wherein the key of the hash table is the hash value, and the value of the hash table is the index value of the corresponding feature point; Traversing all hash values in the hash table, retrieving two feature points with the same hash value in the hash table, defining them as a feature point pair; searching the hash table for an index value of a feature point in the feature point pair; and calculating the similarity between the feature points in the feature point pair according to the found index value; If the similarity between the feature points in a pair of feature points is greater than a preset similarity, the two feature points in the feature point pair are defined as a matching feature point pair; Repeat the above steps to perform feature matching on the feature points in each final feature point set to obtain several pairs of matching feature points; Constructing a three-dimensional coordinate system, importing each final feature point set into the three-dimensional coordinate system, performing registration processing on each matching feature point pair in the three-dimensional coordinate system to obtain a feature point model; obtaining relative coordinate information between each feature point in the feature point model; The 3D modeling software is used to construct a 3D model diagram of the actual shape of the stamped product based on the relative coordinate information between the feature points.
[0022] It should be noted that feature points in product images are extracted through algorithm features such as ORB algorithm and SIFT algorithm to form a feature point set, and LOF value (local outlier factor value) is used to filter and remove noise to obtain the final feature point set. The use of LOF value helps to identify and remove abnormal or noise points, ensuring the accuracy of the model constructed subsequently. Next, the local sensitive hashing algorithm is introduced to perform hash processing on the final feature point set, generate a mapping relationship between hash value and index value, and construct a hash table. This method can effectively find similar feature points in a large number of feature points and accelerate the matching process. Then, by traversing the hash table, feature point pairs with the same hash value are found, and the similarity between them is calculated. For feature point pairs whose similarity exceeds the preset threshold, they are regarded as matching feature point pairs. This step is based on the geometric relationship between feature points to ensure the accuracy of model construction. Finally, the three-dimensional coordinate system and matching feature point pairs are used for registration processing to construct a feature point model, and a three-dimensional model diagram of the stamped finished product is constructed using three-dimensional modeling software such as CAD based on the relative coordinate information in the model. This method can realize automatic and efficient conversion from two-dimensional images to three-dimensional models, and is suitable for quality control and product design in large-scale production environments.
[0023] In general, this method aims to efficiently extract key features from multi-angle product images and construct accurate three-dimensional models through automated feature extraction, matching and registration processes to achieve the purpose of automated detection and model building. It realizes efficient conversion from multi-angle images to accurate three-dimensional models, which not only improves detection efficiency but also reduces the need for manual intervention, providing strong technical support for quality control of stamping products.
[0024] In a preferred embodiment of the present invention, an intersection analysis is performed on the actual 3D model diagram of the stamped product and the standard 3D model diagram to obtain a model intersection ratio between the actual 3D model diagram and the standard 3D model diagram, specifically: Marking the machining reference planes in the actual form three-dimensional model diagram and the standard form three-dimensional model diagram respectively; setting the actual form three-dimensional model diagram to a pure black black body model, and setting the standard form three-dimensional model diagram to a pure white white body model; Constructing a voxel space and dividing the voxel space into a plurality of voxel grids; inputting the actual morphological three-dimensional model image and the standard morphological three-dimensional model image into the voxel space; Aligning the actual morphology three-dimensional model image with the standard morphology three-dimensional model image based on the marked processing reference plane in the voxel space; Analyze each voxel grid in the voxel space according to a preset order; if neither the black body model nor the white body model exists in a certain voxel grid, mark the voxel grid as a non-model area grid; If both the black body model and the white body model exist in a certain voxel grid, the voxel grid is calibrated as an overlapping model area grid; If only a black body model or only a white body model exists in a certain voxel grid, the voxel grid is calibrated as a non-overlapping model area grid; After the analysis is completed, the total number of grids in the non-overlapping model area is counted, and the total number of grids in the overlapping model area is counted; The model intersection ratio between the actual morphology three-dimensional model diagram and the standard morphology three-dimensional model diagram is calculated according to the total number of grids in the non-overlapping model area and the total number of grids in the overlapping model area.
[0025] It should be noted that, first, by marking the processing reference surface, the reference point of the model analysis is clarified to ensure that the subsequent comparative analysis has a unified coordinate system. Then, the actual morphological three-dimensional model diagram is set to a pure black black body model, and the standard morphological three-dimensional model diagram is set to a pure white white body model. This color coding makes the model difference easy to identify. Subsequently, the voxel space is constructed and divided into several voxel grids, and the model is input into the voxel space for subsequent fine analysis. Next, based on the marked processing reference surface, the model is aligned to ensure the accuracy of the comparison. After that, each grid in the voxel space is analyzed in a preset order, and the grids are classified into non-model area grids, overlapping model area grids, and non-overlapping model area grids according to whether there are different combinations of black body models and white body models in the grids. Finally, the number of each type of grid is counted, and the ratio of the total number of grids in the non-overlapping model area grids to the overlapping model area grids is calculated to obtain the model intersection ratio. This ratio reflects the similarity between the actual 3D model and the standard 3D model. The larger the value, the closer the models are and the higher the product quality. On the contrary, it means that there are large differences between the models, which may mean quality problems. This method can not only quickly locate model differences through refined model comparison and analysis, but also quantitatively evaluate the similarity of models, providing a reliable basis for product quality evaluation and helping to improve production efficiency and product quality.
[0026] In a preferred embodiment of the present invention, Figure 2 As shown, the crack detector in the control detection device performs crack detection and analysis on the stamped product to obtain the crack ratio analysis results of the stamped product, which are specifically: S202: If the model intersection ratio between the actual 3D model diagram and the standard 3D model diagram is greater than a preset intersection ratio, controlling the crack detector in the detection device to scan and detect the stamped product; S204: Acquire crack characteristic data fed back by cracks inside the stamped product, and calculate the total crack volume value of the stamped product according to the crack characteristic data; wherein the crack characteristic data includes crack position, crack length, crack depth and crack width; S206: Obtaining the actual morphological three-dimensional model diagram of the stamped product, and calculating the total model volume value of the actual morphological three-dimensional model diagram; calculating the crack proportion of the stamped product according to the total crack volume value and the total model volume value; S208: If the crack proportion is greater than the preset proportion, it means that the crack proportion of the stamped product is unqualified; if the crack proportion is not greater than the preset proportion, it means that the crack proportion of the stamped product is qualified.
[0027] It should be noted that, first, by comparing the model intersection ratio of the actual morphology three-dimensional model diagram with the standard morphology three-dimensional model diagram, it is determined whether crack detection is required. If the model intersection ratio is greater than the preset intersection ratio, it means that the size of the stamped finished product meets the standard and needs further inspection. Next, the crack detector is used to scan and detect the stamped finished product to obtain the crack feature data of the internal crack feedback, including information such as the crack position, length, depth and width. Then, the total volume value of the crack is calculated based on these data. At the same time, the total volume value of the model of the actual morphology three-dimensional model diagram is obtained, and the crack proportion is calculated by the ratio of the total volume value of the crack to the total volume value of the model. Finally, the crack proportion is compared with the preset proportion to determine whether the crack proportion of the stamped finished product is qualified. This method can realize automated crack detection and analysis of stamped finished products, and improve detection efficiency and accuracy. By calculating the total volume value of the crack and the crack proportion, the severity of the crack can be quantitatively evaluated, providing a scientific basis for product quality judgment. At the same time, this method can detect crack problems in a timely manner, avoid unqualified products from entering the market, and improve the reliability and safety of the product.
[0028] The following steps are also included: If the size of the stamped product does not meet the standard, a model area where only a black body model or only a white body model exists in the voxel grid is obtained, and the model area where only a black body model or only a white body model exists is marked as a stamping size abnormal area; Obtaining die structure information of the stamping equipment, which includes the location and function of each sub-stamping module; According to the die structure information, the stamping size abnormal area is associated with each sub-stamping module to obtain a sub-stamping module associated with the stamping size abnormal area, which is defined as an abnormal sub-stamping module; Obtaining a stamping record book of the abnormal sub-stamping module, and obtaining historical stamping parameters of the abnormal sub-stamping module when stamping the stamped finished product according to the stamping record book; wherein the stamping parameters include stamping pressure, die gap, stamping temperature and stamping speed; It is determined whether the historical stamping parameters are within a preset range. If not, the real-time stamping parameters of the abnormal sub-stamping module are regulated.
[0029] It should be noted that by comparing the measured three-dimensional model of the stamped finished product with the ideal model, the area with substandard size is identified and then marked as "abnormal stamping size area". Then, by obtaining the mold structure information of the stamping equipment, including the position and function of each sub-stamping module, the abnormal area and the sub-stamping module are correlated and analyzed to determine the sub-stamping module most related to the abnormal size, namely the "abnormal sub-stamping module". For these abnormal sub-stamping modules, the system further retrieves their historical stamping parameter records, including key parameters such as stamping pressure, die gap, stamping temperature and stamping speed. By analyzing these historical parameters, it is determined whether they are within the preset safe or optimal range. If it is found that the historical parameter exceeds the preset range, it means that the parameter may be related to the abnormal size. The system will adjust the real-time stamping parameters of the abnormal sub-stamping module in order to restore the normal stamping effect. In summary, this method realizes the automated fault diagnosis and parameter optimization of the stamping process by combining three-dimensional model analysis, mold structure information and historical data, and effectively improves the operating efficiency and product quality of the stamping equipment.
[0030] The following steps are also included: If the crack concentration of the stamped product does not meet the standard, the crack position of the stamped product is obtained according to the crack characteristic data fed back by the internal cracks of the stamped product, and the crack position of the stamped product is marked as an abnormal stamping crack area; Obtaining die structure information of the stamping equipment, which includes the location and function of each sub-stamping module; According to the die structure information, the abnormal stamping crack region is associated with each sub-stamping module, and a sub-stamping module associated with the abnormal stamping crack region is obtained, which is defined as an abnormal sub-stamping module; Obtaining a stamping record book of the abnormal sub-stamping module, and obtaining historical stamping parameters of the abnormal sub-stamping module when stamping the stamped finished product according to the stamping record book; wherein the stamping parameters include stamping pressure, die gap, stamping temperature and stamping speed; It is determined whether the historical stamping parameters are within a preset range. If not, the real-time stamping parameters of the abnormal sub-stamping module are regulated.
[0031] It should be noted that, first, the crack position is determined by analyzing the crack feature data, and it is marked as an abnormal stamping crack area. Then, the mold structure information of the stamping equipment is obtained, including the position and function of each sub-stamping module. Next, the abnormal stamping crack area is associated with the sub-stamping module to find the sub-stamping module related to the abnormal area, that is, the abnormal sub-stamping module. After that, the stamping record book of the abnormal sub-stamping module is obtained, which contains historical stamping parameters such as stamping pressure, die gap, stamping temperature and stamping speed. By judging whether these historical stamping parameters are within the preset range, it is determined whether the real-time stamping parameters of the abnormal sub-stamping module need to be regulated and processed. This method can adjust the real-time stamping parameters of the abnormal sub-stamping module in time, which helps to improve product quality, reduce scrap rate, and help ensure the stability and consistency of product quality.
[0032] Furthermore, the control method further comprises the following steps: Acquire the detection record of the detection device, and acquire the total number of defective stamping products and the total number of good stamping products generated by the stamping equipment within a preset time period according to the detection record; The product defect rate of the stamping equipment is calculated according to the total number of stamping defective products and the total number of stamping good products produced by the stamping equipment within a preset time period; If the product defect rate is greater than a preset defect rate threshold, then obtaining real-time stamping parameters of each sub-stamping module in the stamping equipment; The random forest algorithm is introduced, and several decision trees are constructed according to the number of sub-stamping modules in the stamping equipment. Root nodes are generated in the corresponding decision trees according to the real-time stamping parameters of each sub-stamping module; and each root node is iteratively split to obtain several leaf nodes; The real-time stamping parameters in each leaf node are obtained. When no other real-time stamping parameters exist in each leaf node, the iterative splitting ends, and the decision tree model corresponding to the real-time stamping parameters in each sub-stamping module is obtained; Obtain the decision tree model corresponding to the preset stamping parameters in each sub-stamping module, calculate the Mahalanobis distances between the corresponding leaf nodes in the decision tree model corresponding to the real-time stamping parameters in each sub-stamping module and the decision tree model corresponding to the preset stamping parameters, and perform weighted average processing on the Mahalanobis distances between the leaf nodes to obtain the state transition probability of each sub-stamping module; If the state transition probability of a sub-stamping module is greater than the preset state transition probability value, a fault warning message is generated and the stamping equipment is controlled to stop production.
[0033] It should be noted that the production data of the stamping equipment is first collected through the detection device, including the total number of stamping defective products and the total number of good products generated within a preset time period, and then the defective rate of the product is calculated. If the defective rate is found to exceed the preset threshold, the system will further analyze the problem. Specifically, the system will identify the main source of defective products, namely each sub-stamping module. Then, the decision tree model is constructed using the random forest algorithm, and each sub-stamping module is modeled based on the real-time stamping parameters. The decision tree model forms multiple leaf nodes through iterative splitting, and each leaf node represents a specific set of real-time stamping parameters. Once the parameters in all leaf nodes become unique, the model construction is completed. Then, the system compares the difference between the real-time parameters of each sub-stamping module and the preset parameters, quantifies this difference by calculating the Mahalanobis distance, and performs weighted average on these distances to obtain the state transition probability of each sub-stamping module. A high state transition probability means that the module may be in an unstable or faulty state. Finally, if the state transition probability of a sub-stamping module exceeds the preset value, the system will issue a fault warning and automatically stop the production of the module or the entire equipment to prevent potential quality problems. This method not only improves the transparency and controllability of the production process, but also effectively prevents quality accidents caused by equipment failure, thereby improving overall production efficiency and product quality. It realizes real-time monitoring and fault prediction of stamping equipment, and significantly improves the efficiency and quality control level of the production process through automation and intelligent means.
[0034] Furthermore, the control method further comprises the following steps: Obtaining working position nodes of a signal transmitter in a detection device and a signal receiver in a packaging device, and planning a plurality of signal transmission channels according to the working position nodes and based on a ray tracing algorithm; At a preset time point, a signal is sent to a signal receiver of a packaging device through a signal transmitter in the detection device based on each signal transmission channel; Determine whether the signals transmitted through each signal transmission channel can be successfully received by the signal receiver of the packaging device; The signal transmission channels corresponding to the signal receivers that can be successfully received by the packaging device are retained; and the signal transmission channels corresponding to the signal receivers that cannot be successfully received by the packaging device are screened out; Obtaining whether signals transmitted by the remaining signal transmission channels have signal discontinuity within a preset time period, filtering out signal transmission channels that have signal discontinuity, and retaining signal transmission channels that have not signal discontinuity; The peak fidelity of the signal transmitted in the remaining signal transmission channels is obtained, and the remaining signal transmission channel with the largest peak fidelity is output as the optimal signal transmission channel between the detection device and the packaging device, and the communication between the detection device and the packaging device is controlled based on the optimal signal transmission channel.
[0035] It should be noted that, firstly, by obtaining the working position nodes of the signal transmitter in the detection device and the signal receiver in the packaging device, and combining with the ray tracing algorithm, a series of possible signal transmission channels are planned. The role of the ray tracing algorithm here is to simulate the propagation path of light in space, so as to evaluate the signal transmission effect of different paths. At the preset time node, the detection device sends the signal to the signal receiver of the packaging device through the signal transmitter based on these planned channels. Next, the system will determine whether the signal can reach the receiver smoothly, and in this way, select the effective signal transmission channel. Those channels where the signal fails to be successfully received will be eliminated, and the channels that can successfully receive the signal will continue to the next step of evaluation. Subsequently, the system will further check the remaining signal transmission channels to see if there is a signal interruption within the preset time period. Those channels that are interrupted during the transmission process will be excluded to ensure the continuity and stability of the signal. Finally, the system evaluates the peak fidelity of the signal in the remaining channels, that is, the clarity and integrity of the signal, and selects the channel with the highest peak fidelity as the best signal transmission channel. Finally, based on the selected best signal transmission channel, efficient communication control is achieved between the detection device and the packaging device. The advantage of this method is that, through precise planning, screening and optimization, the reliability and efficiency of signal transmission are ensured, communication errors caused by signal interruption or distortion are reduced, and the operating efficiency and product quality of the entire automation system are improved.
[0036] like Figure 3 As shown, the second aspect of the present invention discloses a control system for an automatic detection and packaging device for a stamping machine tool, wherein the control system for the automatic detection and packaging device for a stamping machine tool comprises a memory 41 and a processor 62, wherein the memory 41 stores a control method program for the automatic detection and packaging device for a stamping machine tool, and when the control method program for the automatic detection and packaging device for a stamping machine tool is executed by the processor 62, any one of the control method steps for the automatic detection and packaging device for a stamping machine tool is implemented.
[0037] The third aspect of the present invention discloses a computer-readable storage medium, which includes a control method program for automatic detection and packaging of a stamping machine tool. When the control method program for automatic detection and packaging of a stamping machine tool is executed by a processor, any one of the control method steps for automatic detection and packaging of a stamping machine tool is implemented.
[0038] 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. 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 can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0039] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0040] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0041] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0042] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0043] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A control method for an automatic detection and packaging device of a stamping machine, characterized in that: The following steps are involved: The camera in the detection device obtains product images of a stamped product at several preset angles in the stamping machine, and constructs a three-dimensional model diagram of the actual shape of the stamped product based on the product images of the stamped product at several preset angles; Obtain standard size parameter information of the stamped finished product, and construct a standard 3D model diagram of the stamped finished product according to the standard size parameter information; Performing intersection analysis on the actual 3D model diagram of the stamped product and the standard 3D model diagram to obtain a model intersection ratio between the actual 3D model diagram and the standard 3D model diagram; If the model intersection ratio between the actual 3D model diagram and the standard 3D model diagram is not greater than the preset intersection ratio, it means that the size of the stamped product does not meet the standard and is a stamped defective product, and the stamped product will not be packaged; If the model intersection ratio between the actual morphology three-dimensional model diagram and the standard morphology three-dimensional model diagram is greater than the preset intersection ratio, the crack detector in the detection device is controlled to perform crack detection and analysis on the stamped product to obtain a crack ratio analysis result of the stamped product; If the crack ratio analysis result of the stamped finished product is qualified, which means that the size and crack concentration of the stamped finished product are up to standard, then the packaging device is controlled to package the stamped finished product; If the crack ratio analysis result of the stamped finished product is unqualified, it means that the crack concentration of the stamped finished product does not meet the standard and it is a defective stamping product, then the stamped finished product will not be packaged.
2. The control method of the automatic detection and packaging device of a stamping machine according to claim 1 is characterized in that: The actual 3D model of the stamped product is constructed based on the product images at several preset angles of the stamped product, specifically: Perform feature processing on the product image at each preset angle, extract feature points in each product image, and obtain a feature point set of each product image; Calculate the LOF value of each feature point in each feature point set respectively, and filter out the feature points whose LOF value is greater than a preset threshold in the corresponding feature point set; Similarly, each feature point set is denoised to obtain the final feature point set of each product image; The local sensitive hashing algorithm is introduced to calculate the hash value and index value corresponding to each feature point in each final feature point set based on the local sensitive hashing algorithm; Create a hash table, and map the hash value and index value corresponding to each feature point in each final feature point set to the hash table; wherein the key of the hash table is the hash value, and the value of the hash table is the index value of the corresponding feature point; Traversing all hash values in the hash table, retrieving two feature points with the same hash value in the hash table, defining them as a feature point pair; searching the hash table for an index value of a feature point in the feature point pair; and calculating the similarity between the feature points in the feature point pair according to the found index value; If the similarity between the feature points in a pair of feature points is greater than a preset similarity, the two feature points in the feature point pair are defined as a matching feature point pair; Repeat the above steps to perform feature matching on the feature points in each final feature point set to obtain several pairs of matching feature points; Constructing a three-dimensional coordinate system, importing each final feature point set into the three-dimensional coordinate system, performing registration processing on each matching feature point pair in the three-dimensional coordinate system to obtain a feature point model; obtaining relative coordinate information between each feature point in the feature point model; The 3D modeling software is used to construct a 3D model diagram of the actual shape of the stamped product based on the relative coordinate information between the feature points.
3. The control method of the automatic detection and packaging device of a stamping machine according to claim 1, characterized in that: The intersection analysis is performed on the actual 3D model diagram of the stamped product and the standard 3D model diagram to obtain the model intersection ratio between the actual 3D model diagram and the standard 3D model diagram, which is specifically: Marking the machining reference planes in the actual form three-dimensional model diagram and the standard form three-dimensional model diagram respectively; setting the actual form three-dimensional model diagram to a pure black black body model, and setting the standard form three-dimensional model diagram to a pure white white body model; Constructing a voxel space and dividing the voxel space into a plurality of voxel grids; inputting the actual morphological three-dimensional model image and the standard morphological three-dimensional model image into the voxel space; Aligning the actual morphology three-dimensional model image with the standard morphology three-dimensional model image based on the marked processing reference plane in the voxel space; Analyze each voxel grid in the voxel space in a preset order; If neither the black body model nor the white body model exists in a certain voxel grid, the voxel grid is marked as a non-model area grid; If both the black body model and the white body model exist in a certain voxel grid, the voxel grid is calibrated as an overlapping model area grid; If only a black body model or only a white body model exists in a certain voxel grid, the voxel grid is calibrated as a non-overlapping model area grid; After the analysis is completed, the total number of grids in the non-overlapping model area is counted, and the total number of grids in the overlapping model area is counted; The model intersection ratio between the actual morphology three-dimensional model diagram and the standard morphology three-dimensional model diagram is calculated according to the total number of grids in the non-overlapping model area and the total number of grids in the overlapping model area.
4. The control method of the automatic detection and packaging device of a stamping machine according to claim 1, characterized in that: The crack detector in the control detection device performs crack detection and analysis on the stamped product to obtain the crack ratio analysis results of the stamped product, specifically: If the model intersection ratio between the actual morphology three-dimensional model diagram and the standard morphology three-dimensional model diagram is greater than the preset intersection ratio, the crack detector in the detection device is controlled to scan and detect the stamped product; Acquire crack characteristic data fed back by cracks inside the stamped product, and calculate the total crack volume value of the stamped product according to the crack characteristic data; wherein the crack characteristic data includes crack position, crack length, crack depth and crack width; Obtaining a three-dimensional model diagram of the actual morphology of the stamped product, and calculating a total model volume value of the three-dimensional model diagram of the actual morphology; calculating a crack ratio of the stamped product according to the total crack volume value and the total model volume value; If the crack proportion is greater than the preset proportion, it means that the crack proportion of the stamped product is unqualified; if the crack proportion is not greater than the preset proportion, it means that the crack proportion of the stamped product is qualified.
5. The control method of the automatic detection and packaging device of a stamping machine according to claim 3 is characterized in that: The following steps are also included: If the size of the stamped product does not meet the standard, a model area where only a black body model or only a white body model exists in the voxel grid is obtained, and the model area where only a black body model or only a white body model exists is marked as a stamping size abnormal area; Obtaining die structure information of the stamping equipment, which includes the location and function of each sub-stamping module; According to the die structure information, the stamping size abnormal area is associated with each sub-stamping module to obtain a sub-stamping module associated with the stamping size abnormal area, which is defined as an abnormal sub-stamping module; Obtaining a stamping record book of the abnormal sub-stamping module, and obtaining historical stamping parameters of the abnormal sub-stamping module when stamping the stamped finished product according to the stamping record book; wherein the stamping parameters include stamping pressure, die gap, stamping temperature and stamping speed; It is determined whether the historical stamping parameters are within a preset range. If not, the real-time stamping parameters of the abnormal sub-stamping module are regulated.
6. The control method of the automatic detection and packaging device of a stamping machine according to claim 4, characterized in that: The following steps are also included: If the crack concentration of the stamped product does not meet the standard, the crack position of the stamped product is obtained according to the crack characteristic data fed back by the internal cracks of the stamped product, and the crack position of the stamped product is marked as an abnormal stamping crack area; Obtaining die structure information of the stamping equipment, including the location and function of each sub-stamping module; According to the die structure information, the abnormal stamping crack region is associated with each sub-stamping module, and a sub-stamping module associated with the abnormal stamping crack region is obtained, which is defined as an abnormal sub-stamping module; Obtaining a stamping record book of the abnormal sub-stamping module, and obtaining historical stamping parameters of the abnormal sub-stamping module when stamping the stamped finished product according to the stamping record book; wherein the stamping parameters include stamping pressure, die gap, stamping temperature and stamping speed; It is determined whether the historical stamping parameters are within a preset range. If not, the real-time stamping parameters of the abnormal sub-stamping module are regulated.
7. A control system for an automatic detection and packaging device for a stamping machine, characterized in that: The control system of the automatic detection and packaging device of the stamping machine tool includes a memory and a processor. The memory stores a control method program of the automatic detection and packaging device of the stamping machine tool. When the control method program of the automatic detection and packaging device of the stamping machine tool is executed by the processor, the control method steps of the automatic detection and packaging device of the stamping machine tool as described in any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a control method program for the automatic detection and packaging device of a stamping machine tool. When the control method program for the automatic detection and packaging device of a stamping machine tool is executed by a processor, the control method steps for the automatic detection and packaging device of a stamping machine tool as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Workstation control method and system for automobile repair tool production
CN116698642A
CAN bus cable detection analysis method and system based on intelligent feedback
CN118011133A
Operation and maintenance method and system for licorice tablet preparation equipment based on Internet of Things
CN118071334A
Production process optimization method and system of terminal connector and storage medium
CN118586560A
