Speed reducer appearance detection method and system based on deep learning
Through the combination of high-precision imaging and deep learning models, adaptive learning and feature pyramid networks are used to solve the problems of low efficiency and lack of adaptability of traditional detection methods, achieve efficient and accurate detection and fault prediction of the appearance of the reducer, and extend the equipment life.
Patent Information
- Application Number
- CN202411261105.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-09-10
AI Technical Summary
The traditional reducer appearance inspection method is inefficient and susceptible to subjective judgment. It is difficult to meet the high requirements of modern industry for inspection accuracy and speed, and the deep learning model lacks adaptive learning ability in the face of new fault modes.
A high-precision imaging module is used for comprehensive, multi-angle image collection, combined with a deep learning model for preliminary feature extraction and defect identification, and the model parameters are dynamically adjusted through an adaptive learning mechanism. Feature pyramid networks are used to fuse features of different scales, and spectral analysis data are combined. Appearance quality assessment and generation of comprehensive inspection reports.
It improves the accuracy and efficiency of inspection, can identify known defects and adapt to new failure modes, provides a more comprehensive and accurate assessment of appearance quality, reduces manual intervention, generates detailed inspection reports and preventive maintenance recommendations, and extends the service life of equipment.
Smart Images

Figure CN118799592A_ABST
Abstract
Description
Technical Field
[0001] The present invention proposes a reducer appearance detection method and system based on deep learning, belonging to the technical field of deep learning and reducer appearance detection. Background Art
[0002] As an indispensable transmission component in mechanical equipment, the performance stability and appearance quality of the reducer directly affect the operating efficiency and life of the entire equipment. The traditional reducer appearance inspection method mainly relies on manual visual inspection, which is not only inefficient, but also easily affected by subjective judgment, resulting in missed inspections or misjudgments. In addition, with the increase in the number of reducer types and the complexity of the structure, the requirements for detection accuracy and speed are also getting higher and higher. The traditional method can no longer meet the needs of modern industrial production.
[0003] In recent years, the rapid rise of deep learning technology has brought new solutions to reducer appearance inspection. Deep learning models, especially convolutional neural networks (CNNs), have demonstrated powerful feature extraction and pattern recognition capabilities in the field of image processing, and can automatically learn and identify complex features and defect patterns in images. This technical feature makes deep learning have broad application prospects in reducer appearance inspection.
[0004] However, there are still some limitations in relying solely on deep learning models to perform preliminary feature extraction and defect recognition on images. On the one hand, due to the complexity and diversity of the reducer's appearance, feature extraction at a single scale may not fully reflect its appearance quality; on the other hand, traditional deep learning models often lack the ability to adaptively learn new fault modes, requiring frequent model updates and retraining. Summary of the invention
[0005] The present invention provides a method and system for reducing machine appearance detection based on deep learning, which is used to solve the problems mentioned in the above background technology: The present invention proposes a method for reducing machine appearance detection based on deep learning, the method comprising: S1. Use a high-precision imaging module to collect comprehensive and multi-angle images of the reducer and pre-process the collected images; S2. Apply deep learning models to perform preliminary feature extraction on preprocessed images, identify appearance defects, and use adaptive learning mechanisms to dynamically adjust model parameters based on emerging failure modes; S3, using feature pyramid network to fuse features of different scales, and using spectral analysis data combined with visual features to evaluate appearance quality; S4. Analyze the evaluation results in real time, automatically generate comprehensive inspection reports, and generate preventive maintenance recommendations based on historical data and current inspection reports through fault prediction models.
[0006] Furthermore, the S2 includes: S21. Select a deep learning model, and use a labeled reducer appearance image dataset to pre-train the deep learning model; S22, inputting the preprocessed image into the pre-trained deep learning model, and automatically extracting multi-level features in the image through a convolutional layer, wherein the multi-level features include edges, textures, and shapes; S23, generating a defect candidate region on the feature map through a region proposal network, and determining whether the region contains a defect through a classifier; S24, if defects are included, the identified defects are sub-classified through a hierarchical classification strategy; S25, integrated online learning module, automatically collects and annotates these samples when encountering new failure modes or misidentification cases; and uses incremental learning to dynamically adjust the deep learning model parameters.
[0007] Furthermore, the S22 includes: Adopt adaptive median filtering or bilateral filtering algorithm to dynamically adjust filtering parameters according to local features of the image, remove random noise in the image, and retain edge details; Apply the Retinex algorithm or a deep learning-based illumination normalization model to adjust the global and local illumination of the image to reduce the impact of illumination changes on feature extraction; Using histogram equalization or its improved method to enhance the contrast of the image; Construct an image pyramid and apply convolutional layers at different scales to extract multi-scale features from coarse to fine. Design a feature fusion module to fuse the features extracted by convolutional layers of different scales; Residual connections are introduced in the convolutional layer, and principal component analysis is used to evaluate the importance of features, identify and retain the most critical features for defect detection, and use L1 regularization to sparse the features.
[0008] Furthermore, the S23 includes: According to the shape and size of common defects in the reducer appearance image, the anchor box is designed. At the same time, an adaptive anchor box generation mechanism is introduced to dynamically adjust the size and proportion of the anchor box according to the image content. Using the feature pyramid network structure, feature maps of different scales are fused, allowing the region proposal network to detect defects at multiple scales; The region proposal network is used to generate preliminary defect candidate regions by sliding the window on the feature map. Non-maximum suppression is used to remove redundant and overlapping candidate regions based on the scores and overlaps of the candidate regions. According to the complexity and real-time requirements of defect classification, a suitable classifier architecture is selected, and a feature recalibration module is introduced before the classifier to adaptively recalibrate the features of the candidate area; Design a context information fusion mechanism to integrate the image information around the candidate area into the classification decision; use the trained classifier to classify the screened candidate area to determine whether it contains defects; Calculate a confidence score for each candidate area determined to be a defect, and sort or further process the defects based on the confidence score; Review the classification results, identify the defects of false detection and missed detection, and analyze their causes; based on the results of false detection and missed detection analysis, adjust the parameters of the region proposal network, optimize the structure of the classifier, or introduce new feature representation methods.
[0009] Furthermore, the S3 includes: S31. Use feature pyramid network to fuse different scale features extracted by deep learning model; and combine high-level semantic features with low-level detail features through top-down paths and lateral connections; S32. Based on the feature pyramid network, a multi-scale feature fusion strategy is designed; according to the characteristics of the reducer appearance inspection task, the feature fusion method is selected; S33. Compare the effects of different fusion methods through simulation tests and select fusion strategies; and further optimize the fused features through the attention mechanism; S34, in the feature fusion process, context information is introduced; by considering the correlation between different regions in the image, context features are extracted, and the context features are combined with local features; S35, collecting spectral data of the reducer surface, measuring it using a spectrometer; and preprocessing the spectral data; S36. Analyze the correlation between spectral data and visual features through statistical analysis and machine learning algorithms; obtain the intrinsic connection between spectral features and visual features, and establish a multi-dimensional appearance quality assessment model; S37. Apply machine learning algorithms to establish a mapping relationship between spectral features and appearance quality. By training the model, learn the nonlinear relationship between spectral features and appearance quality, and obtain appearance quality prediction results based on spectral data.
[0010] Furthermore, the S31 includes: Design a multi-level feature extraction network based on the appearance characteristics of the reducer; balance computing resources and feature representation capabilities, select network depth, and adjust the number and size of convolution kernels; The resolution of high-level feature maps is increased to match that of low-level feature maps through upsampling; at each level, the upsampled high-level features are fused with the corresponding low-level features through horizontal connections; A channel attention module is embedded in the feature fusion process, and the weights of different channels or spatial positions in the feature map are adaptively adjusted through the attention module.
[0011] Furthermore, the S36 includes: Remove noise and outliers from spectral data and normalize visual features extracted from deep learning models; According to the acquisition position and time of the reducer appearance image and spectral data, data alignment is performed, and the linear or nonlinear correlation between the spectral data and the visual features is analyzed using the Pearson correlation coefficient; Random forest is used to evaluate the importance of each feature to the appearance quality of the reducer. Based on the results of feature selection, principal component analysis (PCA) is used to reduce the dimension of the features. Through a variety of fusion strategies, the data is fused and the key parameters in the fusion strategy are tuned; the performance of different fusion strategies in the reducer appearance quality assessment task is evaluated, and the deep learning model is selected according to the task characteristics; The spectral data and visual features are embedded into the hidden layers of the deep learning model respectively, and the features are deeply fused through the attention mechanism; An end-to-end training method is adopted to simultaneously optimize the spectral data processing module and the visual feature processing module.
[0012] Furthermore, the S4 includes: S41, performing real-time analysis on the fused features and applying a classification algorithm to determine the appearance quality grade of the reducer; S42. Predict potential faults and their development trends through the fault prediction model based on historical data and current test results; conduct a comprehensive analysis of the classification results and fault prediction results; S43, automatically generate a comprehensive test report based on the results of real-time evaluation and analysis; S44. Generate preventive maintenance recommendations based on the results of the fault prediction model; and continuously adjust and optimize the maintenance plan based on real-time detection data and historical maintenance records.
[0013] The present invention proposes a system for implementing the reducer appearance detection method based on deep learning, the system comprising: Image acquisition module: Use high-precision imaging module to perform comprehensive and multi-angle image acquisition of the reducer, and pre-process the acquired images; Feature extraction module: Apply deep learning models to perform preliminary feature extraction on preprocessed images, identify appearance defects, and use adaptive learning mechanisms to dynamically adjust model parameters based on emerging fault modes; Feature fusion module: It uses a feature pyramid network to fuse features of different scales, and uses spectral analysis data combined with visual features to evaluate the appearance quality; Report generation module: Analyze the evaluation results in real time, automatically generate comprehensive inspection reports, and generate preventive maintenance recommendations based on historical data and current inspection reports through fault prediction models.
[0014] The invention has the following beneficial effects: through the high-precision imaging module, images are comprehensively collected from multiple angles and preprocessed to ensure image quality, laying the foundation for subsequent accurate detection; the deep learning model is used for feature extraction and defect recognition, combined with the adaptive learning mechanism, known defects can be identified, and the model can be continuously optimized by learning new fault modes; the feature pyramid network is used for multi-scale feature fusion, combined with spectral analysis data, so that the method can more comprehensively evaluate the appearance quality from different scales, thereby improving the accuracy of detection; the channel attention module is embedded in the feature pyramid network, which can adaptively adjust the weights of different channels or spatial positions in the feature map, enhance important features, suppress unimportant features, and improve detection efficiency; context information is introduced in the feature fusion process The model can understand the correlation between different areas in the image and identify defects more accurately by combining spectral data and visual features. A multi-dimensional appearance quality assessment model is established, so that the detection method is not limited to the visual information on the image surface, but can also analyze the quality problems inside the material from a spectral perspective. The evaluation results can be analyzed in real time and a comprehensive test report can be automatically generated to provide timely information for production management and quality control. Through the fault prediction model, based on historical data and current test reports, not only existing problems can be discovered, but potential faults can also be predicted, and preventive maintenance suggestions can be put forward, which will help reduce downtime and extend the service life of equipment. The method can continuously adjust and optimize the maintenance plan based on real-time detection data and historical maintenance records, thus realizing closed-loop management of detection and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a step diagram of the method of the present invention; Figure 2 This is a system module diagram of the present invention. DETAILED DESCRIPTION
[0016] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is 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.
[0017] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0019] One embodiment of the present invention, as Figure 1 As shown, a method for reducing machine appearance detection based on deep learning, the method comprising: S1. Using a high-precision imaging module, perform comprehensive and multi-angle image acquisition of the reducer, and pre-process the acquired images; the pre-processing includes denoising, contrast enhancement, and color correction; S2. Apply deep learning models to perform preliminary feature extraction on preprocessed images, identify appearance defects, and use adaptive learning mechanisms to dynamically adjust model parameters based on emerging failure modes; S3, using feature pyramid network (FPN) to fuse features of different scales, and using spectral analysis data combined with visual features to evaluate appearance quality; S4. Analyze the evaluation results in real time and automatically generate a comprehensive test report, which includes a detailed fault description, maintenance suggestions and expected life prediction; generate preventive maintenance suggestions based on historical data and current test reports through a fault prediction model.
[0020] The working principle of the above technical solution is: use high-precision imaging modules (such as high-resolution cameras, 3D scanners, etc.) to collect comprehensive and multi-angle images of the reducer. This ensures that images of key parts and details of the reducer are captured, providing a rich data basis for subsequent analysis; perform a series of pre-processing operations on the collected images; specifically, including: Denoising: Remove noise from the image, such as random pixels, image sensor noise, etc., to make the image clearer.
[0021] Enhance contrast: Adjust the contrast of the image to make the details in the image more prominent, which is convenient for subsequent feature extraction and defect identification.
[0022] Color correction: Correct the color deviation of the image to ensure that the image color accurately reflects the actual appearance of the reducer and avoid misjudgment due to color distortion.
[0023] A deep learning model (such as convolutional neural network (CNN)) is applied to extract features from the preprocessed image. The deep learning model can automatically learn complex features in the image, providing strong support for subsequent defect identification. Using the adaptive learning mechanism, when encountering new fault modes, the model can dynamically adjust its parameters to adapt to the new data distribution. The model can continuously learn and improve its recognition ability, improving the accuracy and robustness of detection. The feature pyramid network is used to fuse features of different scales. FPN can use multi-scale feature information to improve the detection ability of defects of different sizes and locations. By fusing features at different levels, the model can understand the image content more comprehensively and improve the accuracy and efficiency of detection. In addition to visual features, spectral analysis data (such as infrared spectrum, ultraviolet spectrum, etc.) are combined to further evaluate the appearance quality of the reducer. Spectral analysis data can provide more information about material properties, surface conditions, etc., which helps to more accurately judge the health of the reducer. The evaluation results are analyzed in real time to quickly identify appearance defects, wear and other problems in the reducer. At the same time, the fault prediction model is used to predict the future state of the reducer based on historical data and current inspection reports. Automatically generate a comprehensive inspection report containing detailed fault description, maintenance suggestions and life expectancy prediction. The report not only points out the specific problem of the reducer, but also provides targeted maintenance suggestions to help users take timely measures to avoid the expansion of faults. At the same time, by predicting the life expectancy of the reducer, users can reasonably arrange maintenance plans and reduce maintenance costs.
[0024] The effects of the above technical solutions are as follows: using a high-precision imaging module, it is possible to capture tiny details and defects on the surface of the reducer, providing high-quality image data for subsequent image processing and analysis; the deep learning model has powerful feature extraction and pattern recognition capabilities, and can automatically learn and identify various appearance defects, thereby improving the accuracy and reliability of detection; by fusing features of different scales through FPN, it is possible to capture information in the image more comprehensively, further improving the accuracy of detection; the model can dynamically adjust parameters according to emerging failure modes, which means that with the continuous development of reducer design and manufacturing technology, the detection model can continue to learn and evolve, and maintain sensitivity to new failure modes; combined with spectral analysis data, it can provide more dimensional information, enhance the comprehensive judgment ability of the detection system, and make it more flexible to deal with reducer appearance detection under different materials and different working conditions; it reduces the need for manual intervention and improves Improves detection efficiency; the system can automatically analyze the evaluation results in real time, and generate a comprehensive detection report containing detailed fault descriptions, maintenance suggestions and expected life predictions, greatly improving the automation and efficiency of detection; through the fault prediction model, preventive maintenance suggestions are generated based on historical data and current detection reports, which can help companies plan maintenance plans in advance and avoid downtime losses and rising maintenance costs caused by sudden failures; timely detection and treatment of appearance defects can effectively prevent the expansion of defects from causing more serious damage to the inside of the reducer, thereby extending the overall service life of the equipment; detailed fault descriptions, accurate maintenance suggestions and expected life predictions can provide users with high-quality detection service experience and enhance users' trust and satisfaction with the company's brand; this technical solution demonstrates the company's professional capabilities and technical innovation capabilities in the field of reducer detection, which helps to enhance the company's brand image and market competitiveness.
[0025] In one embodiment of the present invention, the S2 includes: S21. Select a deep learning model and pre-train the deep learning model using a labeled reducer appearance image dataset, including samples of normal states and multiple known defect types, to enhance the basic recognition capability of the model.
[0026] S22, inputting the preprocessed image into the pre-trained deep learning model, and automatically extracting multi-level features in the image through a convolutional layer, wherein the multi-level features include edges, textures, and shapes; S23, generating possible defect candidate regions on the feature map through a region proposal network (RPN), and determining whether the region contains defects through a classifier; S24. If defects are present, the identified defects are sub-classified through a hierarchical classification strategy, such as cracks, wear, rust, etc. S25, integrated online learning module, automatically collects and annotates these samples when encountering new failure modes or misidentification cases; and uses incremental learning to dynamically adjust the deep learning model parameters.
[0027] The working principle of the above technical solution is as follows: First, according to the specific needs of the reducer appearance inspection, select a suitable deep learning model, such as a convolutional neural network (CNN) or more advanced variants (such as ResNet, VGG, etc.), which have shown strong performance in the field of image recognition; use a well-labeled reducer appearance image dataset to pre-train the deep learning model. This dataset should contain image samples of the reducer in a normal state and samples of various known defect types (such as cracks, wear, rust, etc.). Through pre-training, the model can learn these basic features and patterns, thereby improving its basic recognition ability; input the image that has undergone pre-processing steps such as denoising, contrast enhancement, and color correction into the pre-trained deep learning model; through the convolution layer in the model, automatically extract multi-level features in the image. These features include edges, textures, and shapes, which together constitute a high-level representation of the image, which is helpful for subsequent defect recognition; on the feature map, use RPN to generate possible defect candidate areas. RPN can quickly scan the entire feature map and predict the areas that may contain defects and their corresponding confidence levels; for each candidate area, a classifier (such as a softmax classifier) is used to determine whether it actually contains defects. This step helps to filter out non-defective areas and reduce the amount of computation required for subsequent processing; if the candidate area is judged to contain defects, the defects are further subclassified through a hierarchical classification strategy. This step usually involves multiple classifiers or classification layers, which classify defects more finely at each level, such as distinguishing different types of defects such as cracks, wear, and rust; an integrated online learning module that can collect samples of new fault modes or misidentification cases encountered during the detection process in real time and automatically annotate them (or prompt manual annotation); and dynamically adjust the parameters of the deep learning model using incremental learning technology. Incremental learning allows the model to gradually adapt to new fault modes while maintaining its ability to recognize old fault modes. In this way, the recognition ability and robustness of the model will continue to improve as the detection work continues.
[0028] The effect of the above technical solution is: using the labeled reducer appearance image dataset for pre-training, the deep learning model can learn the basic features of the normal state and various known defect types, thereby improving the basic recognition ability of the model.
[0029] Multi-level feature extraction: The multi-level features (edges, textures, shapes, etc.) in the image are automatically extracted through the convolution layer. These features can more comprehensively describe the image content and help to identify defects more accurately; the identified defects are sub-classified (such as cracks, wear, rust, etc.), which further improves the accuracy and specificity of identification and helps with subsequent repair and maintenance work; the integrated online learning module can collect and annotate samples of new fault modes or misidentified cases in real time. This enables the model to continuously learn and adapt to new data distributions, enhancing its adaptability and flexibility; the incremental learning technology is used to dynamically adjust the parameters of the deep learning model, so that the model can gradually adapt to new fault modes while maintaining the ability to recognize old fault modes. This capability is particularly important for handling complex and ever-changing reducer appearance defect detection scenarios; from image preprocessing, feature extraction, defect candidate area generation, defect judgment to sub-classification, the entire detection process is highly automated, reducing the need for manual intervention and improving detection efficiency; it can analyze the evaluation results in real time and automatically generate a comprehensive detection report, so that the detection results can be quickly fed back to relevant personnel so that timely measures can be taken; by accurately identifying reducer appearance defects and generating preventive maintenance suggestions, it helps companies plan maintenance plans in advance and avoid downtime losses and increased maintenance costs caused by sudden failures; timely detection and handling of appearance defects can effectively prevent the expansion of defects from causing more serious damage to the inside of the reducer, thereby extending the overall service life of the equipment; providing accurate detection results and detailed maintenance suggestions has improved user satisfaction and trust in the company's services; the use of advanced deep learning technology and online learning mechanisms has demonstrated the company's strength in technological innovation and helped to enhance the company's brand image and market competitiveness.
[0030] In one embodiment of the present invention, the S22 includes: Adopt adaptive median filtering or bilateral filtering algorithm to dynamically adjust filtering parameters according to local features of the image, remove random noise in the image, and retain edge details; Apply the Retinex algorithm or a deep learning-based illumination normalization model to adjust the global and local illumination of the image to reduce the impact of illumination changes on feature extraction; Using histogram equalization or its improved method (such as contrast-limited adaptive histogram equalization CLAHE) to enhance the contrast of the image; Construct an image pyramid and apply convolutional layers at different scales to extract multi-scale features from coarse to fine. Design a feature fusion module to fuse the features extracted by convolutional layers of different scales; introduce residual connections in the convolutional layers; Principal component analysis (PCA) is used to evaluate the importance of features, identify and retain the most critical features for defect detection, and use L1 regularization to sparse the features.
[0031] The working principle of the above technical solution is: through adaptive median filtering or bilateral filtering algorithm, the filtering parameters are dynamically adjusted according to the local features of the image (such as pixel value difference, texture complexity, etc.). These algorithms can effectively retain the edge details of the image while removing random noise, laying a good foundation for subsequent feature extraction; the Retinex algorithm or the illumination standardization model based on deep learning is applied to adjust the global and local illumination of the image. The Retinex algorithm is based on the color constancy theory and can simulate the adaptability of the human eye to illumination changes and reduce the impact of illumination changes on the image content. The illumination standardization model based on deep learning automatically adjusts the image illumination by learning a large amount of data to make it more uniform, which is conducive to subsequent feature extraction; the image contrast is enhanced by using histogram equalization or its improved methods (such as CLAHE). These methods adjust the histogram distribution of the image to make the pixel value distribution of the image more uniform, thereby enhancing the detail expression of the image and making defects easier to detect; construct an image pyramid and apply convolutional layers at different scales for feature extraction. This method can capture multi-scale information from coarse to fine in the image, so that the model can detect defects of different sizes; design a feature fusion module to fuse the features extracted by convolutional layers of different scales. Through the attention mechanism or DenseNet and other technologies, the importance of features of each scale is automatically learned and effectively integrated to improve the expressiveness and robustness of the features. In this way, the model can comprehensively consider information of different scales and make more accurate judgments; introduce residual connections (such as ResNet structure) in the convolutional layer to allow the network to directly learn the residual between input and output. This structure helps to alleviate the problem of gradient disappearance or explosion in deep network training and improve the accuracy and efficiency of feature extraction; use principal component analysis (PCA) to evaluate the importance of features, identify and retain the most critical features for defect detection. At the same time, the features are sparsely processed through L1 regularization to reduce redundant information and improve the compactness and generalization ability of features. In this way, the model can pay more attention to learning features useful for defect detection during training and improve detection performance.
[0032] The effects of the above technical solutions are as follows: by adaptive median filtering or bilateral filtering algorithms, random noise in the image is effectively removed while retaining edge details. This is crucial for subsequent feature extraction and defect detection, because noise reduction can improve the quality of features, while retaining edge details helps to accurately identify object boundaries and potential defects in the image; the Retinex algorithm or the illumination normalization model based on deep learning is applied to realize automatic adjustment of global and local illumination of the image. This greatly reduces the impact of illumination changes on feature extraction, allowing the model to maintain stable performance under different illumination conditions. Illumination standardization helps the model focus more on the image content itself rather than changes in illumination conditions; using histogram equalization or its improved methods (such as CLAHE), the contrast of the image is significantly enhanced, making the details in the image more clearly visible. This is particularly important for defect detection, because the enhancement of detail information helps to discover those tiny defects that were originally difficult to detect; by constructing an image pyramid and applying convolutional layers at different scales, multi-scale features from coarse to fine are extracted. This multi-scale feature extraction strategy can capture information of different scales in the image, thereby improving the model's ability to detect defects of different sizes. In addition, the design of the feature fusion module fuses features of different scales, further improving the expressiveness and robustness of the features; the introduction of residual connections (such as the ResNet structure) in the convolutional layer effectively alleviates the problem of gradient vanishing or exploding in deep network training. This enables the network to be trained more stably and improves the accuracy and efficiency of feature extraction. The residual connection also promotes the flow of information, allowing the network to better utilize deep features; principal component analysis (PCA) is used to evaluate the importance of features and identify the most critical features for defect detection. The features are sparsely processed through L1 regularization, which reduces redundant information and improves the compactness and generalization ability of the features. This feature optimization strategy helps to reduce the complexity of the model, improve computational efficiency, and enhance the generalization ability of the model on unseen data.
[0033] In one embodiment of the present invention, the S23 includes: According to the shapes and sizes of common defects in the reducer appearance images, a variety of anchor boxes are designed. At the same time, an adaptive anchor box generation mechanism is introduced to dynamically adjust the size and proportion of the anchor box according to the image content. The feature pyramid network (FPN) structure is used to fuse feature maps of different scales, so that the region proposal network can detect defects at multiple scales. The region proposal network is used to slide the window on the feature map to generate a large number of preliminary defect candidate regions. Non-maximum suppression (NMS) is used to remove redundant and overlapping candidate regions based on the scores and overlaps of the candidate regions. According to the complexity and real-time requirements of defect classification, select the appropriate classifier architecture, such as convolutional neural network (CNN), recurrent neural network (RNN) or a combination of the two; introduce a feature recalibration module (such as SEBlock in SENet) before the classifier to adaptively recalibrate the features of the candidate area. Considering the relationship between defects and the surrounding environment, a context information fusion mechanism is designed to integrate the image information around the candidate area into the classification decision; the screened candidate area is classified using the trained classifier to determine whether it contains defects; A confidence score is calculated for each candidate region that is determined to be a defect. This score reflects the degree of certainty that the classifier is certain that the region contains a defect. Based on the confidence score, the defects are sorted or further processed; Review the classification results, identify the defects of false detection and missed detection, and analyze their causes; based on the results of false detection and missed detection analysis, adjust the parameters of the region proposal network, optimize the structure of the classifier, or introduce new feature representation methods.
[0034] The working principle of the above technical solution is as follows: according to the shape and size of common defects in the reducer appearance image, a variety of anchor boxes are pre-designed. These anchor boxes serve as the initial shape and size of the defect candidate area, which helps to improve the recall rate; an adaptive anchor box generation mechanism is introduced to dynamically adjust the size and proportion of the anchor box according to the image content. This mechanism can more accurately match the actual defect shape in the image and further improve the accuracy of detection; the feature pyramid network (FPN) structure is used to fuse feature maps of different scales. FPN combines high-level semantic information with low-level detail information through upsampling and lateral connection, so that the region proposal network can perform defect detection at multiple scales; through the FPN structure, the region proposal network can slide the window on the feature map of different scales to generate a large number of preliminary defect candidate regions. This multi-scale detection strategy improves the sensitivity to defects of different sizes; the region proposal network slides the window on the feature map to generate a large number of preliminary defect candidate regions; the non-maximum suppression algorithm is used to remove redundant and overlapping candidate regions according to the scores and overlaps of the candidate regions, and retain the regions most likely to contain defects. This step reduces the computational burden of subsequent classifiers and improves the accuracy of detection. According to the complexity and real-time requirements of defect classification, select the appropriate classifier architecture, such as convolutional neural network (CNN), recurrent neural network (RNN) or a combination of the two. Introduce a feature recalibration module (such as SEBlock in SENet) before the classifier to adaptively recalibrate the features of the candidate area. This step enhances the expressive power of key features, suppresses useless features, and improves the accuracy of classification. Design a context information fusion mechanism to incorporate image information around the candidate area into the classification decision. This mechanism takes into account the association between defects and the surrounding environment, which helps to more accurately determine whether the candidate area contains defects. Calculate a confidence score for each candidate area determined to be a defect, which reflects the degree of certainty of the classifier that the area contains defects. Review the classification results, identify falsely detected and missed defects, and analyze their causes. According to the review results, the parameters of the region proposal network can be adjusted, the structure of the classifier can be optimized, or new feature representation methods can be introduced to further improve the accuracy and robustness of detection.
[0035] The effects of the above technical solution are as follows: according to the shape and size of common defects in the reducer appearance image, a variety of anchor boxes (AnchorBoxes) are designed to cover possible defect forms more comprehensively, thereby increasing the probability of defects being initially detected; an adaptive anchor box generation mechanism is introduced to dynamically adjust the size and proportion of the anchor box according to the image content, so that the anchor box is more in line with the shape of the actual defect, further improving the recall rate; the feature maps of different scales are fused using the FPN structure, so that the region proposal network (RPN) can perform defect detection at multiple scales. This multi-scale detection mechanism improves the sensitivity to defects of different sizes, especially for small and imperceptible defects; through the NMS algorithm, redundant and overlapping candidate regions are removed according to the scores and overlaps of the candidate regions, and the regions most likely to contain defects are retained. This step effectively reduces the computational burden of the subsequent classifier and improves the accuracy of classification; a feature recalibration module (such as SEBlock in SENet) is introduced before the classifier to adaptively recalibrate the features of the candidate regions, enhance the expression ability of key features, and suppress useless features. This mechanism helps improve the classifier's ability to identify defect features; a context information fusion mechanism is designed to incorporate image information around the candidate area into the classification decision. This helps the classifier to more comprehensively understand the environment in which the candidate area is located, thereby improving the accuracy of classification; a confidence score is calculated for each candidate area determined to be a defect, which reflects the degree of certainty of the classifier that the area contains a defect. This step provides an important reference for subsequent defect processing; the classification results are reviewed to identify falsely detected and missed defects and analyze their causes. This helps to continuously optimize and adjust the detection scheme and improve the accuracy and credibility of the detection results; according to the results of false detection and missed detection analysis, the parameters of the region proposal network are adjusted, the structure of the classifier is optimized, or new feature representation methods are introduced. This continuous optimization and iteration mechanism ensures that the detection scheme can continuously adapt to new application scenarios and defect forms.
[0036] In one embodiment of the present invention, S3 includes: S31. Use Feature Pyramid Network (FPN) to fuse different scale features extracted by deep learning models; and combine high-level semantic features with low-level detail features through top-down paths and lateral connections; S32. Based on the feature pyramid network, a multi-scale feature fusion strategy is designed; according to the characteristics of the reducer appearance inspection task, the feature fusion method is selected. S33, and compare the effects of different fusion methods through simulation tests, select the optimal fusion strategy; and further optimize the fused features through the attention mechanism; S34, in the feature fusion process, context information is introduced; by considering the correlation between different regions in the image, context features are extracted, and the context features are combined with local features; S35, collect the spectral data of the reducer surface and measure it using a high-precision spectrometer. Pre-process the spectral data. S36. Analyze the correlation between spectral data and visual features through statistical analysis and machine learning algorithms; obtain the intrinsic connection between spectral features and visual features, and establish a multi-dimensional appearance quality assessment model; S37. Apply machine learning algorithms, such as support vector machine (SVM) or random forest, to establish a mapping relationship between spectral features and appearance quality. By training the model, learn the nonlinear relationship between spectral features and appearance quality, and realize appearance quality prediction based on spectral data.
[0037] The working principle of the above technical solution is: use FPN to fuse the features of different scales extracted by the deep learning model. FPN combines high-level semantic features with low-level detail features through top-down paths and lateral connections. High-level features are rich in semantic information and help to identify target categories; low-level features contain more detail information and help to accurately locate the target position; this fusion method makes the model more robust in detecting defects of different scales and can capture global and local information at the same time; according to the characteristics of the reducer appearance inspection task, a multi-scale feature fusion strategy is designed. The strategy may include feature weighting, feature splicing, and feature selection. Each strategy has its applicable scenarios and advantages and disadvantages; the effects of different fusion methods are compared through simulation tests to select the optimal fusion strategy. This step is crucial to ensure the performance of the final detection system; after feature fusion, the attention mechanism is introduced to further optimize the features. The attention mechanism simulates the focusing process of the human visual system, weights the important areas in the feature map, highlights the key features, and suppresses irrelevant features; through the optimization of the attention mechanism, the detection accuracy can be further improved, so that the model pays more attention to those features that are critical to judging the defect type; in the feature fusion process, context information is introduced. By considering the correlation between different regions in the image, context features are extracted and combined with local features; the introduction of context information helps the model better understand the overall structure and background information of the image, thereby improving the accuracy and robustness of detection; a high-precision spectrometer is used to collect spectral data on the surface of the reducer. Spectral data can reflect the chemical composition and physical state of the material surface, providing important information for appearance quality assessment; spectral data are preprocessed by denoising, baseline correction and feature extraction to improve the signal-to-noise ratio and feature separability of spectral data; the correlation between spectral data and visual features is analyzed through statistical analysis and machine learning algorithms. The intrinsic connection between spectral features and visual features is obtained to establish a multi-dimensional appearance quality assessment model; this multi-dimensional assessment model can more comprehensively reflect the appearance quality of the reducer; machine learning algorithms (such as SVM or random forest) are used to establish the mapping relationship between spectral features and appearance quality. By training the model, the nonlinear relationship between spectral features and appearance quality is learned; finally, the model can predict the appearance quality of the reducer based on spectral data, providing strong support for preventive maintenance and fault warning.
[0038] The effects of the above technical solutions are as follows: by fusing features of different scales through FPN, combining high-level semantic features with low-level detail features, the model is more accurate and robust when detecting defects of different sizes and shapes. This fusion method helps to capture more comprehensive image information and improve the accuracy of detection; according to the characteristics of the reducer appearance detection task, design and select appropriate feature fusion methods (such as feature weighting, splicing, selection), which can further optimize feature representation and improve the generalization ability and detection accuracy of the model; weight the fused features through the attention mechanism, highlight the key features, suppress irrelevant features, so that the model is more focused on the areas that have an important impact on the detection task, thereby improving the detection accuracy; introduce context information in the feature fusion process, consider the correlation between different areas in the image, which helps the model understand the overall structure and background information of the image, and improve the comprehensive judgment ability of the reducer appearance quality; collect spectral data on the reducer surface, and measure and preprocess it through a high-precision spectrometer to improve the signal-to-noise ratio and feature separability of the data. Spectral data can reflect the chemical composition and physical state of the material surface, providing unique and important information for appearance quality assessment; through statistical analysis and machine learning algorithms, the correlation between spectral data and visual features is analyzed, and a multi-dimensional appearance quality assessment model is established. This multi-dimensional evaluation method can more comprehensively reflect the appearance quality of the reducer; machine learning algorithms (such as SVM and random forest) are used to establish the mapping relationship between spectral features and appearance quality, and by learning the nonlinear relationship between spectral features and appearance quality, the appearance quality prediction based on spectral data is realized. This method is not only fast and efficient, but also can provide more objective and accurate evaluation results; the entire detection process is highly automated, from feature extraction and fusion to spectral data collection, processing, model training and prediction, which can be automatically completed on the computer, reducing the need for manual intervention and improving detection efficiency and accuracy; by integrating the information of visual features and spectral data, the model can make more intelligent decisions and provide a scientific basis for the maintenance, repair and replacement of reducers.
[0039] In one embodiment of the present invention, the S31 includes: According to the complex appearance characteristics of the reducer (such as gears of different sizes and bearing seats), a multi-level feature extraction network is designed; the computing resources and feature representation capabilities are balanced, the network depth is selected, and the number and size of convolution kernels are adjusted; The resolution of high-level feature maps is increased to match that of low-level feature maps through upsampling (such as bilinear interpolation or transposed convolution); at each level, the upsampled high-level features are fused with the corresponding low-level features through lateral connections (element-wisesum or concatenation), and weight distribution is considered during fusion to balance the contribution of features at different levels.
[0040] A channel attention module is embedded in the feature fusion process, and the weights of different channels or spatial positions in the feature map are adaptively adjusted through the attention module.
[0041] The working principle of the above technical solution is as follows: In view of the complexity of the reducer's appearance, such as gears of different sizes, bearing seats, etc., a multi-level feature extraction network is designed. This network structure can ensure that different scale features from coarse to fine can be effectively captured to meet the detection needs of defects of different sizes and shapes; in the design process, a balance is taken between computing resources and feature representation capabilities. By selecting an appropriate network depth and adjusting the number and size of convolution kernels, sufficient feature extraction capabilities are guaranteed while avoiding unnecessary computational overhead; through upsampling techniques (such as bilinear interpolation or transposed convolution), the resolution of high-level feature maps is increased to match that of low-level feature maps. This step ensures that features are aligned in the spatial dimension when fusion is performed, making the fusion process more effective; at each level, the upsampled high-level features are fused with the corresponding low-level features. The fusion method can be element-wise sum or concatenation, and the specific choice depends on the task requirements and the best practices of feature representation. In the fusion process, weight distribution is also considered to balance the contribution of features at different levels, ensuring that the fused features contain rich semantic information and retain sufficient detail information; in the feature fusion process, a channel attention module is embedded. This module can adaptively adjust the weights of different channels or spatial positions in the feature map, so that the model pays more attention to the feature areas that have an important impact on the detection task. Through the attention mechanism, the model can simulate the focusing process of the human visual system, highlight key features, and suppress irrelevant features, thereby improving detection accuracy; after the fusion and optimization of the above steps, the feature pyramid network can generate a series of feature maps that fuse information at different scales. These feature maps retain high-level semantic information while also incorporating low-level detail information, providing richer feature representations for subsequent detection or classification tasks.
[0042] The effect of the above technical solution is: designing a multi-level feature extraction network can ensure that features of different scales from coarse to fine are effectively captured. This is particularly important for objects with complex appearance characteristics such as reducers, because features of different scales are crucial for detecting defects of different sizes and shapes; by reasonably adjusting the network depth, the number and size of convolution kernels, the solution achieves a good balance between computing resources and feature representation capabilities. This not only ensures sufficient feature extraction capabilities, but also avoids unnecessary computing overhead and improves the overall detection efficiency; the resolution of high-level feature maps is increased to match the low-level feature maps through upsampling technology, ensuring the alignment of features in the spatial dimension. This step is the key to feature fusion, because only aligned features can be effectively fused, thereby retaining more useful information; at each level, the upsampled high-level features are fused with the corresponding low-level features, and the feature contributions of different levels are balanced by considering weight distribution. This fusion method not only retains the semantic information of the high level, but also incorporates the detailed information of the low level, making the fused features richer and more comprehensive; embedding the channel attention module in the feature fusion process can adaptively adjust the weights of different channels or spatial positions in the feature map. This enables the model to focus more on feature areas that have an important impact on the detection task, thereby improving the model's attention and detection accuracy; by integrating multi-level features and adaptive weight adjustment, the solution makes the model more robust to small changes or occlusions in the reducer's appearance. Even in complex environments, the model can accurately detect defects or anomalies; effectively extracted and fused features provide strong support for subsequent detection, classification or evaluation tasks. These rich feature representations enable subsequent tasks to be performed more accurately and efficiently.
[0043] In one embodiment of the present invention, the S36 includes: Remove noise and outliers from spectral data, such as fluctuations caused by instrument errors or measurement environment, and normalize visual features extracted from deep learning models. According to the acquisition position and time of the reducer appearance image and spectral data, accurate data alignment is performed, and the linear or nonlinear correlation between the spectral data and the visual features is analyzed using the Pearson correlation coefficient; Random forest is used to evaluate the importance of each feature to the appearance quality of the reducer. Based on the results of feature selection, principal component analysis (PCA) is used to reduce the dimension of the features. The data are fused through various fusion strategies, such as early fusion (fusion in the feature extraction stage), mid-term fusion (fusion in the feature processing stage) and late fusion (fusion in the decision stage), and the key parameters in the fusion strategy are tuned, such as fusion weight, fusion layer position, etc.
[0044] The performance of different fusion strategies in the reducer appearance quality assessment task is evaluated, including indicators such as accuracy, recall, and F1 score. Deep learning models are selected according to the characteristics of the task, such as convolutional neural networks (CNN) for processing visual features, and recurrent neural networks (RNN) or long short-term memory networks (LSTM) for processing the temporal information in spectral data.
[0045] The spectral data and visual features are embedded into the hidden layers of the deep learning model respectively, and the features are deeply fused through the attention mechanism; An end-to-end training method is adopted to simultaneously optimize the spectral data processing module and the visual feature processing module, as well as the fusion method between them.
[0046] The working principle of the above technical solution is as follows: First, remove the noise and outliers in the spectral data, which may come from instrument errors or changes in the measurement environment. At the same time, the visual features extracted from the deep learning model are normalized to ensure the consistency of the magnitude of different features, providing a clean and comparable data basis for subsequent analysis; according to the acquisition location and time of the reducer appearance image and spectral data, accurate data alignment is performed. This is a key step to ensure the accuracy of the correspondence between the two, providing a basis for subsequent correlation analysis and feature fusion; the Pearson correlation coefficient is used to analyze the linear or nonlinear correlation between spectral data and visual features. The importance of each feature to the appearance quality of the reducer is evaluated using the random forest algorithm. Through this step, the key features that contribute more to the evaluation task can be identified; based on the results of feature selection, PCA is used to reduce the dimension of the features. PCA reduces the computational complexity and retains key information by retaining the main change direction (i.e., principal component) in the data and removing redundant information; multiple fusion strategies are used to fuse the data, including early fusion, mid-term fusion, and late fusion. Each fusion strategy has its unique advantages and applicable scenarios. By adjusting the key parameters in the fusion strategy (such as fusion weight, fusion layer position, etc.), the fusion effect can be optimized; the performance of different fusion strategies on the reducer appearance quality assessment task is evaluated, including indicators such as accuracy, recall rate, F1 score, etc.; the appropriate deep learning model is selected according to the characteristics of the task. For example, CNN is used to process visual features and its powerful spatial feature extraction ability is utilized; RNN or LSTM is used to process the timing information in the spectral data to capture the time dependency in the data; spectral data and visual features are embedded in the hidden layer of the deep learning model respectively. The deep fusion of features through the attention mechanism enables the model to use the information of two data sources to make decisions at the same time; an end-to-end training method is used to simultaneously optimize the spectral data processing module, the visual feature processing module, and the fusion method between them. This training method helps to obtain the best fusion effect and overall performance.
[0047] The effects of the above technical solutions are as follows: by removing noise and outliers in spectral data and visual features, the quality of data can be significantly improved, and the impact of instrument errors or changes in the measurement environment on the analysis results can be reduced; the visual features are normalized to ensure the consistency of the magnitude of different features, providing a more stable and reliable data basis for subsequent model training and data analysis; the reducer appearance image and the spectral data acquisition position and time are accurately aligned to ensure the accurate correspondence between the two, providing a solid foundation for subsequent correlation analysis and fusion strategies; the importance of each feature is evaluated using the random forest algorithm, which helps to identify the most critical features for the reducer appearance quality assessment task; the feature dimensionality reduction processing through PCA not only reduces the computational complexity, but also retains the key information in the data, improving the generalization ability and prediction accuracy of the model; it provides early There are many fusion strategies, such as early fusion, mid-term fusion and late fusion. You can choose the appropriate fusion method according to the specific task requirements to achieve effective data fusion; tune the key parameters in the fusion strategy, such as fusion weight, fusion layer position, etc., to further optimize the fusion effect and improve the performance of the evaluation task; select a suitable deep learning model according to the characteristics of the task, such as CNN for processing visual features, RNN or LSTM for processing time series information in spectral data, and give full play to the advantages of different models in processing different types of data; embed spectral data and visual features into the hidden layer of the deep learning model respectively, and perform deep fusion of features through the attention mechanism, so as to achieve effective integration and utilization of information from the two data sources; adopt an end-to-end training method to simultaneously optimize the spectral data processing module, the visual feature processing module and the fusion method between them, so as to obtain the best fusion effect and overall performance. This training method not only improves the training efficiency, but also ensures the stability and reliability of the model in practical applications. In one embodiment of the present invention, S4 includes: S41. Perform real-time analysis on the fused features and apply classification algorithms (such as SVM, neural network, etc.) to determine the appearance quality grade of the reducer; S42. Predict potential faults and their development trends through fault prediction models based on historical data and current test results. Fault prediction models should use time series analysis, machine learning and other methods, consider factors such as the frequency, severity and development trend of faults, and provide fault warnings and estimated remaining service life. Comprehensively analyze the classification results and fault prediction results; the fault prediction results are obtained through the following formula:
[0048] in, is the fault prediction result at time t, N is the number of different prediction models, is the i-th prediction model The weight of , is the predicted value of the ith prediction model at time t, is the trend adjustment coefficient based on time series analysis, is the error term, which represents the uncertainty of the prediction.
[0049] S43. Based on the results of real-time evaluation and analysis, a comprehensive test report including detailed fault description, fault location marking, maintenance suggestions and life expectancy prediction is automatically generated; S44, and based on the results of the fault prediction model, generate targeted preventive maintenance recommendations; and continuously adjust and optimize the maintenance plan based on real-time detection data and historical maintenance records.
[0050] The working principle of the above technical solution is as follows: first, the fused features are analyzed in real time. These features contain a variety of information about the appearance of the reducer, such as shape, color, texture, etc.; classification algorithms (such as SVM, neural network, etc.) are used to analyze the features to determine the appearance quality level of the reducer. The classification algorithm can accurately distinguish different levels such as normal state, minor defects, and serious defects through training and learning, and give corresponding confidence levels; based on historical data and current test results, a fault prediction model is established using time series analysis, machine learning and other methods. The model considers factors such as the frequency, severity, and development trend of the fault, and gives fault warnings and estimated remaining service life; the classification results are comprehensively analyzed with the fault prediction results. For example, when the classification result shows a serious defect, the alarm mechanism is triggered immediately; when the fault prediction model gives a high fault risk, preventive maintenance is recommended. At the same time, considering the impact of different levels of defects and fault risks on the overall performance of the reducer, a comprehensive evaluation result is given; based on the results of real-time evaluation and analysis, a comprehensive test report containing detailed fault descriptions, fault location markings, maintenance recommendations and life expectancy predictions is automatically generated. The report is designed to provide users with comprehensive information on the reducer status so that they can make reasonable decisions; based on the results of the fault prediction model, targeted preventive maintenance recommendations are generated. These recommendations include maintenance time windows, maintenance content, maintenance methods, and required resources to ensure timely maintenance intervention before a failure occurs; based on real-time detection data and historical maintenance records, the maintenance plan is continuously adjusted and optimized. When new defects or failure modes appear, maintenance recommendations are updated in a timely manner to respond to new risks; when maintenance resources change, maintenance plans are re-optimized to ensure effective use of resources; a history record function for maintenance recommendations is provided to facilitate users to track and compare changes in maintenance recommendations at different time points. This helps users understand the evolution of maintenance recommendations and make more reasonable decisions.
[0051] The effect of the above technical solution is: by real-time analysis of the fused features, the appearance quality level of the reducer can be quickly and accurately determined, including normal state, minor defects, serious defects, etc. This real-time performance ensures the timely discovery and handling of problems; the application of the classification algorithm makes the evaluation results have a high degree of confidence, reduces the possibility of misjudgment, and improves the accuracy of the evaluation; the fault prediction model can predict potential faults and their development trends based on historical data and current test results. This prediction capability enables users to take preventive measures before a fault occurs, avoiding downtime and economic losses caused by the fault; when the fault prediction model gives a high fault risk, the system recommends preventive maintenance. This pre-emptive maintenance strategy reduces the possibility of faults and extends the service life of the reducer; the generated comprehensive inspection report contains detailed fault descriptions, fault location markings, maintenance recommendations, and life expectancy predictions. This comprehensive report provides users with clear information on the reducer status, helping users make reasonable decisions; based on the results of the fault prediction model, the generated preventive maintenance recommendations are targeted, including maintenance time windows, maintenance content, maintenance methods, and required resources. These suggestions provide users with clear maintenance guidelines, ensuring the effectiveness and efficiency of maintenance work; the system can continuously adjust and optimize the maintenance plan based on real-time detection data and historical maintenance records. This dynamic adjustment mechanism ensures the timeliness and adaptability of the maintenance plan, and can respond to new defects or failure modes and resource changes; by optimizing the maintenance plan, the system can ensure the effective use of resources and avoid waste and excessive consumption of resources; it provides a historical record function for maintenance suggestions, which is convenient for users to track and compare changes in maintenance suggestions at different time points. This function enhances the user's sense of participation and trust and improves the user experience; it considers the impact of different levels of defects and failure risks on the overall performance of the reducer and gives a comprehensive evaluation result. This comprehensive evaluation result helps users fully understand the status of the reducer and improves user satisfaction. The above formula allows the outputs of multiple different prediction models to be combined, which helps to improve the accuracy and robustness of the prediction. Different models may capture different features and patterns. By combining this information, a more comprehensive prediction result can be obtained. The introduction of weight factors can make important models have a greater impact on the final result, while less reliable models have a smaller impact. The choice of weights can be determined based on the historical performance of the model or expert experience. Using trend adjustment coefficients can make the forecast results more consistent with the changing trend of the actual situation, which helps to correct the deviation caused by short-term fluctuations and make long-term forecasts more accurate. Introducing error terms can reflect the uncertainty of forecast results, which is very important for risk management and decision making. Understanding the credible interval of forecast results can help make more reasonable decisions. By combining the outputs of multiple models, the deviation of a single model can be reduced, thereby improving the accuracy of the overall forecast.In the face of abnormal data or environmental changes, the integration of multiple models can provide additional information to make the system more robust. Due to the integration of multiple models and trend adjustments, false positives and false negatives can be effectively reduced, and the reliability of the fault prediction system can be improved. The prediction results and their uncertainties provided can assist decision makers in better planning maintenance strategies, such as scheduling preventive maintenance measures or replacing parts. Combining historical data with current test results can identify potential signs of failure earlier, so that timely intervention measures can be taken to avoid major accidents.
[0052] One embodiment of the present invention, as Figure 2 As shown, a reducer appearance detection system based on deep learning, the system includes: Image acquisition module: Use high-precision imaging module to perform comprehensive and multi-angle image acquisition of the reducer, and pre-process the acquired images; Feature extraction module: Apply deep learning models to perform preliminary feature extraction on preprocessed images, identify appearance defects, and use adaptive learning mechanisms to dynamically adjust model parameters based on emerging fault modes; Feature fusion module: It uses feature pyramid network (FPN) to fuse features of different scales, and evaluates appearance quality by combining spectral analysis data with visual features; Report generation module: performs real-time analysis on the evaluation results and automatically generates a comprehensive test report containing detailed fault descriptions, maintenance recommendations and life expectancy predictions; generates preventive maintenance recommendations based on historical data and current test reports through a fault prediction model.
[0053] The working principle of the above technical solution is: use high-precision imaging modules (such as high-resolution cameras, 3D scanners, etc.) to collect comprehensive and multi-angle images of the reducer. This ensures that images of key parts and details of the reducer are captured, providing a rich data basis for subsequent analysis; perform a series of pre-processing operations on the collected images; specifically, including: Denoising: Remove noise from the image, such as random pixels, image sensor noise, etc., to make the image clearer.
[0054] Enhance contrast: Adjust the contrast of the image to make the details in the image more prominent, which is convenient for subsequent feature extraction and defect identification.
[0055] Color correction: Correct the color deviation of the image to ensure that the image color accurately reflects the actual appearance of the reducer and avoid misjudgment due to color distortion.
[0056] A deep learning model (such as convolutional neural network (CNN)) is applied to extract features from the preprocessed image. The deep learning model can automatically learn complex features in the image, providing strong support for subsequent defect identification. Using the adaptive learning mechanism, when encountering new fault modes, the model can dynamically adjust its parameters to adapt to the new data distribution. The model can continuously learn and improve its recognition ability, improving the accuracy and robustness of detection. The feature pyramid network is used to fuse features of different scales. FPN can use multi-scale feature information to improve the detection ability of defects of different sizes and locations. By fusing features at different levels, the model can understand the image content more comprehensively and improve the accuracy and efficiency of detection. In addition to visual features, spectral analysis data (such as infrared spectrum, ultraviolet spectrum, etc.) are combined to further evaluate the appearance quality of the reducer. Spectral analysis data can provide more information about material properties, surface conditions, etc., which helps to more accurately judge the health of the reducer. The evaluation results are analyzed in real time to quickly identify appearance defects, wear and other problems in the reducer. At the same time, the fault prediction model is used to predict the future state of the reducer based on historical data and current inspection reports. Automatically generate a comprehensive inspection report containing detailed fault description, maintenance suggestions and life expectancy prediction. The report not only points out the specific problem of the reducer, but also provides targeted maintenance suggestions to help users take timely measures to avoid the expansion of faults. At the same time, by predicting the life expectancy of the reducer, users can reasonably arrange maintenance plans and reduce maintenance costs.
[0057] The effects of the above technical solutions are as follows: using a high-precision imaging module, it is possible to capture tiny details and defects on the surface of the reducer, providing high-quality image data for subsequent image processing and analysis; the deep learning model has powerful feature extraction and pattern recognition capabilities, and can automatically learn and identify various appearance defects, thereby improving the accuracy and reliability of detection; by fusing features of different scales through FPN, it is possible to capture information in the image more comprehensively, further improving the accuracy of detection; the model can dynamically adjust parameters according to emerging failure modes, which means that with the continuous development of reducer design and manufacturing technology, the detection model can continue to learn and evolve, and maintain sensitivity to new failure modes; combined with spectral analysis data, it can provide more dimensional information, enhance the comprehensive judgment ability of the detection system, and make it more flexible to deal with different materials and different Appearance inspection of reducers under working conditions; reduces the need for manual intervention and improves inspection efficiency; the system can automatically analyze the evaluation results in real time and generate a comprehensive inspection report containing detailed fault descriptions, maintenance suggestions and expected life predictions, greatly improving the automation and efficiency of inspections; through the fault prediction model, preventive maintenance suggestions are generated based on historical data and current inspection reports, which can help companies plan maintenance plans in advance and avoid downtime losses and increased maintenance costs caused by sudden failures; timely detection and treatment of appearance defects can effectively prevent the expansion of defects from causing more serious damage to the inside of the reducer, thereby extending the overall service life of the equipment; detailed fault descriptions, accurate maintenance suggestions and expected life predictions can provide users with a high-quality inspection service experience and enhance users' trust and satisfaction with the corporate brand.
[0058] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A reducer appearance detection method based on deep learning, characterized in that: The method comprises: S1. Use a high-precision imaging module to collect comprehensive and multi-angle images of the reducer and pre-process the collected images; S2. Apply deep learning models to perform preliminary feature extraction on preprocessed images, identify appearance defects, and use adaptive learning mechanisms to dynamically adjust model parameters based on emerging failure modes; S3, using feature pyramid network to fuse features of different scales, and using spectral analysis data combined with visual features to evaluate appearance quality; S4. Analyze the evaluation results in real time, automatically generate comprehensive inspection reports, and generate preventive maintenance recommendations based on historical data and current inspection reports through fault prediction models.
2. According to the method for reducing machine appearance detection based on deep learning in claim 1, it is characterized in that: The S2 comprises: S21. Select a deep learning model, and use a labeled reducer appearance image dataset to pre-train the deep learning model; S22, inputting the preprocessed image into the pre-trained deep learning model, and automatically extracting multi-level features in the image through a convolutional layer, wherein the multi-level features include edges, textures, and shapes; S23, generating a defect candidate region on the feature map through a region proposal network, and determining whether the region contains a defect through a classifier; S24, if defects are included, the identified defects are sub-classified through a hierarchical classification strategy; S25, integrated online learning module, automatically collects and annotates these samples when encountering new failure modes or misidentification cases; and uses incremental learning to dynamically adjust the deep learning model parameters.
3. According to the method for reducing machine appearance detection based on deep learning in claim 2, it is characterized in that: The S22 comprises: Adopt adaptive median filtering or bilateral filtering algorithm to dynamically adjust filtering parameters according to local features of the image, remove random noise in the image, and retain edge details; Apply the Retinex algorithm or a deep learning-based illumination normalization model to adjust the global and local illumination of the image; Using histogram equalization or its improved method to enhance the contrast of the image; Construct an image pyramid and apply convolutional layers at different scales to extract multi-scale features from coarse to fine. Design a feature fusion module to fuse the features extracted by convolutional layers of different scales; Residual connections are introduced in the convolutional layer, and principal component analysis is used to evaluate the importance of features, identify and retain the most critical features for defect detection, and use L1 regularization to sparse the features.
4. According to the method for reducing machine appearance detection based on deep learning in claim 2, it is characterized in that: The S23 comprises: According to the shape and size of common defects in the reducer appearance image, the anchor box is designed. At the same time, an adaptive anchor box generation mechanism is introduced to dynamically adjust the size and proportion of the anchor box according to the image content. Using the feature pyramid network structure, feature maps of different scales are fused, allowing the region proposal network to detect defects at multiple scales; The region proposal network is used to generate preliminary defect candidate regions by sliding the window on the feature map. Non-maximum suppression is used to remove redundant and overlapping candidate regions based on the scores and overlaps of the candidate regions. According to the complexity and real-time requirements of defect classification, the classifier architecture is selected, and a feature recalibration module is introduced before the classifier to adaptively recalibrate the features of the candidate area; Design a context information fusion mechanism to integrate the image information around the candidate area into the classification decision; use the trained classifier to classify the screened candidate area to determine whether it contains defects; Calculate a confidence score for each candidate area determined to be a defect, and sort or further process the defects based on the confidence score; Review the classification results, identify the defects of false detection and missed detection, and analyze their causes; based on the results of false detection and missed detection analysis, adjust the parameters of the region proposal network, optimize the structure of the classifier, or introduce new feature representation methods.
5. According to the method for reducing machine appearance detection based on deep learning in claim 1, it is characterized in that: The S3 includes: S31. Use feature pyramid network to fuse different scale features extracted by deep learning model; and combine high-level semantic features with low-level detail features through top-down paths and lateral connections; S32. Based on the feature pyramid network, a multi-scale feature fusion strategy is designed; according to the characteristics of the reducer appearance inspection task, the feature fusion method is selected; S33. Compare the effects of different fusion methods through simulation tests and select fusion strategies; and further optimize the fused features through the attention mechanism; S34, in the feature fusion process, context information is introduced; by considering the correlation between different regions in the image, context features are extracted, and the context features are combined with local features; S35, collecting spectral data of the reducer surface, measuring it using a spectrometer; and preprocessing the spectral data; S36. Analyze the correlation between spectral data and visual features through statistical analysis and machine learning algorithms; obtain the intrinsic connection between spectral features and visual features, and establish a multi-dimensional appearance quality assessment model; S37. Apply machine learning algorithms to establish a mapping relationship between spectral features and appearance quality. By training the model, learn the nonlinear relationship between spectral features and appearance quality, and obtain appearance quality prediction results based on spectral data.
6. According to the method for reducing machine appearance detection based on deep learning in claim 5, it is characterized in that: The S31 includes: Design a multi-level feature extraction network based on the appearance characteristics of the reducer; balance computing resources and feature representation capabilities, select network depth, and adjust the number and size of convolution kernels; The resolution of high-level feature maps is increased to match that of low-level feature maps through upsampling; at each level, the upsampled high-level features are fused with the corresponding low-level features through horizontal connections; A channel attention module is embedded in the feature fusion process, and the weights of different channels or spatial positions in the feature map are adaptively adjusted through the attention module.
7. The reducer appearance detection method based on deep learning according to claim 5 is characterized in that: The S36 comprises: Remove noise and outliers from spectral data and normalize visual features extracted from deep learning models; According to the acquisition position and time of the reducer appearance image and spectral data, data alignment is performed, and the linear or nonlinear correlation between the spectral data and the visual features is analyzed using the Pearson correlation coefficient; Random forest is used to evaluate the importance of each feature to the appearance quality of the reducer. Based on the results of feature selection, principal component analysis is used to reduce the dimension of the features. Through a variety of fusion strategies, the data is fused and the key parameters in the fusion strategy are tuned; the performance of different fusion strategies in the reducer appearance quality assessment task is evaluated, and the deep learning model is selected according to the task characteristics; The spectral data and visual features are embedded into the hidden layers of the deep learning model respectively, and the features are deeply fused through the attention mechanism; An end-to-end training method is adopted to simultaneously optimize the spectral data processing module and the visual feature processing module.
8. The reducer appearance detection method based on deep learning according to claim 1 is characterized in that: The S4 comprises: S41, performing real-time analysis on the fused features and applying a classification algorithm to determine the appearance quality grade of the reducer; S42. Predict potential faults and their development trends through the fault prediction model based on historical data and current test results; conduct a comprehensive analysis of the classification results and fault prediction results; S43, automatically generate a comprehensive test report based on the results of real-time evaluation and analysis; S44. Generate preventive maintenance recommendations based on the results of the fault prediction model; and continuously adjust and optimize the maintenance plan based on real-time detection data and historical maintenance records.
9. A system for implementing the reducer appearance detection method based on deep learning as claimed in claim 1, characterized in that: The system comprises: Image acquisition module: Use high-precision imaging module to perform comprehensive and multi-angle image acquisition of the reducer, and pre-process the acquired images; Feature extraction module: Apply deep learning models to perform preliminary feature extraction on preprocessed images, identify appearance defects, and use adaptive learning mechanisms to dynamically adjust model parameters based on emerging fault modes; Feature fusion module: It uses a feature pyramid network to fuse features of different scales, and uses spectral analysis data combined with visual features to evaluate the appearance quality; Report generation module: Analyze the evaluation results in real time, automatically generate comprehensive inspection reports, and generate preventive maintenance recommendations based on historical data and current inspection reports through fault prediction models.
Citation Information
Patent Citations
Method for detecting bolt denitration defect of power transmission line by introducing attention mechanism
CN114677339A
Two-stage mainboard image defect detecting and positioning method based on machine vision
CN114972213A
Wafer defect unknown category detection and classification method and system
CN116188877A
Small sample steel defect detection method based on attention feature pyramid mechanism
CN116958073A
Intelligent detection system and method based on machine vision
CN117907341A
Cited By
Method and device for detecting appearance defects of electroplated layer of power pin product and related product
CN119228796A
Bridge crack detection method and system based on unmanned aerial vehicle
CN119399162A
Production quality detection system of motor
CN119510407A
Stranded cable intelligent detection method and system based on machine vision
CN119757397A
Film tearing machine intelligent control method and system based on machine learning
CN120327916A
