A quality analysis method and system for low-carbon lubricating oil
Collect lubricating oil images through high-definition camera equipment and combine them with image processing and computer vision technology to extract multi-dimensional characteristic parameters and establish a benchmark model for abnormality detection, which solves the problem of insufficient real-time and accuracy of lubricating oil quality detection in the existing technology and realizes Efficient, accurate monitoring and timely alerts of lubricant quality.
Patent Information
- Application Number
- CN202311715868.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-12-13
AI Technical Summary
Existing lubricant quality detection methods cannot perform real-time monitoring and rely on infrared spectrum analysis, which has low characteristic latitude, resulting in insufficient accuracy.
High-definition camera equipment is used to collect lubricant images in real time, multi-dimensional feature parameters are extracted through image processing and computer vision technology, a benchmark model is established for anomaly detection and classification, and chemical analysis data is combined for verification.
It realizes real-time monitoring of lubricating oil quality, improves the accuracy and reliability of judgment, reduces the false alarm rate, and issues alarms to operators or monitoring systems in a timely manner to ensure that lubricating oil quality meets requirements.
Smart Images

Figure CN117723739B
Abstract
Description
Technical Field
[0001] The invention relates to a quality analysis method and system for low-carbon lubricating oil. Background Art
[0002] Low-carbon lubricants are environmentally friendly lubricants. Their main feature is that they can reduce negative impacts on the environment and reduce carbon emissions during use. Low-carbon lubricants are widely used in industrial production and transportation, and are an important part of sustainable development and green environmental protection. They can help reduce carbon emissions, reduce energy consumption, and have a smaller impact on the environment.
[0003] Existing lubricant quality detection methods are shown in a method for rapid detection of new lubricant quality disclosed in application number 201010136894.9, which discloses "comprising the following steps: (1) collecting representative lubricant samples as a training set; (2) measuring the infrared spectra of the lubricant samples in the training set; and performing corresponding preprocessing, with the preprocessed spectral data serving as variables; (3) selecting a suitable multivariate correction method to establish a relationship model between the quality index of new lubricant and the spectrum; (4) for quality detection of unknown lubricant samples, first measuring their infrared spectra, and subjecting them to the same preprocessing, and then using the lubricant quality analysis model to determine the lubricant quality index". This scheme requires collecting samples before testing, and cannot perform real-time monitoring. It mainly relies on infrared spectroscopy for data analysis, has relatively low feature latitude, and is insufficient in accuracy. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a quality analysis method and system for low-carbon lubricating oil that can perform real-time monitoring, extract multi-dimensional feature parameters for analysis, and combine image processing analysis with chemical analysis data to improve the accuracy of judgment and reduce the false alarm rate.
[0005] The technical solution adopted by the present invention to solve its technical problem is:
[0006] A quality analysis method for low-carbon lubricating oil comprises the following steps:
[0007] Use high-definition camera equipment to collect real-time images of lubricating oil on the production line;
[0008] Processing the collected images, including denoising, contrast enhancement, and extracting characteristic parameters of lubricating oil images, including color distribution and particle shape;
[0009] A benchmark model is established, taking the image features of normal lubricating oil as the standard;
[0010] Using computer vision technology, we detect and classify anomalies in lubricant images and find image features that do not match the baseline model, including color anomalies and uneven particles.
[0011] Combine the results of image processing and analysis with chemical analysis data to further confirm abnormal images and verify whether there are any lubricant quality problems;
[0012] When verification finds that the lubricant quality is abnormal, an alarm is sent to the operator or monitoring system through the alarm device, and the abnormal image and analysis results are fed back to the production management personnel.
[0013] Preferably, the method for extracting characteristic parameters of the lubricating oil image is:
[0014] The image is converted into a color space using color space conversion technology, and then the pixel proportion of each color in each area is calculated by segmenting or selecting the area of the image, thereby obtaining the color distribution characteristics of the lubricating oil image;
[0015] The image is processed using morphological processing methods to highlight the particles in the lubricating oil, and then the shape characteristics of the lubricating oil particles are extracted through contour analysis methods;
[0016] The uniformity of the lubricant image is evaluated by calculating the gradient using the grayscale information of the image.
[0017] Preferably, the method for evaluating the uniformity of the lubricating oil image by calculating the gradient is:
[0018] Convert the lubricant image to a grayscale image;
[0019] Use the Sobel operator to calculate the horizontal and vertical gradients of the grayscale image;
[0020] Averaging or summing the gradient images in the horizontal and vertical directions to obtain a comprehensive gradient image;
[0021] Calculate the mean or variance of the integrated gradient image;
[0022] The uniformity of the lubricating oil image is determined based on the size of the mean or variance.
[0023] Preferably, the method of using the Sobel operator to calculate the horizontal and vertical gradients of the grayscale image is:
[0024] Define two convolution kernels of the Sobel operator, representing the gradient calculation in the horizontal and vertical directions respectively. The horizontal convolution kernel (Gx) and the vertical convolution kernel (Gy) are:
[0025] Gx=[[-1,0,1],
[0026] [-2,0,2],
[0027] [-1,0,1]]
[0028] Gy=[[-1,-2,-1],
[0029] [0,0,0],
[0030] [1,2,1]]
[0031] Perform two-dimensional convolution operations on the grayscale image using Gx and Gy respectively to obtain approximate gradients in the horizontal and vertical directions;
[0032] Calculate the gradient amplitude in the horizontal and vertical directions for each pixel, that is,
[0033] gradient_magnitude=sqrt(Gx^2+Gy^2)
[0034] and the gradient direction, i.e.
[0035] gradient_direction=arctan2(Gy,Gx)
[0036] Arctan2 is the inverse tangent function, which can get the correct gradient direction according to the signs of Gy and Gx.
[0037] Preferably, the method for establishing the benchmark model is:
[0038] Collecting a number of representative lubricating oil image data, including lubricating oil images in normal state and images with abnormal color and uneven particles;
[0039] Preprocess the collected lubricating oil image data, including denoising, color correction, and size standardization operations, to ensure data quality and consistency;
[0040] Using image processing and computer vision technology, feature parameters are extracted from pre-processed image data, including color distribution features, particle shape features, and oil uniformity features;
[0041] The extracted characteristic parameters are labeled, and the lubricating oil images in normal state are marked as normal, and the images in abnormal state are marked as corresponding abnormal types;
[0042] Using the labeled feature parameter data and training with a deep learning neural network model, a baseline model for lubricant quality is established.
[0043] Preferably, the method for extracting feature parameters from the preprocessed image data is:
[0044] Use color histogram to extract color information in the image;
[0045] Use gray-level co-occurrence matrix to analyze the texture information of the image;
[0046] Use edge detection to describe the shape features of objects in images;
[0047] Use principal component analysis to select and reduce the dimension of the extracted features;
[0048] The extracted feature parameters are represented as a feature matrix that can be processed by a computer.
[0049] Preferably, the method for detecting and classifying abnormalities in lubricating oil images is:
[0050] The extracted feature parameters are input into the benchmark model, and the model is used for anomaly detection. By comparing the difference between the feature parameters of the image to be detected and the normal feature distribution, it is determined whether there is an anomaly, and the image is divided into color abnormality image and particle uneven image according to the anomaly type.
[0051] Preferably, the method of combining the results of image processing analysis with chemical analysis data is:
[0052] Sampling the lubricating oil with abnormal images, and performing chemical composition analysis on the sampled lubricating oil to obtain test data of the viscosity, acid value, and alkalinity index of the lubricating oil;
[0053] The test data of the lubricating oil is compared with the standard data to determine whether the test data is within the standard data range. If it is not within the standard data range, it is determined that the indicator of the lubricating oil is abnormal.
[0054] Another technical problem to be solved by the present invention is to provide a quality analysis system for low-carbon lubricating oil, comprising:
[0055] Image acquisition module, used for real-time image acquisition of lubricating oil on the production line, including high-definition camera equipment;
[0056] Image processing module, which pre-processes the collected images, including denoising and contrast enhancement modules;
[0057] Feature extraction module, used to extract characteristic parameters such as color distribution and particle shape of lubricating oil images;
[0058] A benchmark model building module, used to build a benchmark model by taking the image features of normal lubricating oil as a standard;
[0059] Computer vision module, which uses computer vision technology to detect and classify anomalies in lubricant images and find image features that do not match the benchmark model, including color anomalies and uneven particles
[0060] An image processing and analysis module is used to combine the results of image processing and analysis with chemical analysis data to further confirm abnormal images;
[0061] Feedback module, used to feed back abnormal images and analysis results to production managers.
[0062] Preferably, an alarm device is also included, which sends an alarm to the operator or the monitoring system when the lubricating oil quality is found to be abnormal.
[0063] The beneficial effects of the present invention are:
[0064] By using high-definition video equipment to collect real-time images of lubricants on the production line, the status of lubricants can be monitored at any time; lubricant images can be analyzed through image processing and computer vision technology, without the need for destructive sampling and chemical analysis. This can reduce interference and costs in the production process; multi-dimensional feature parameters such as color distribution and particle shape of lubricant images can be extracted, and computer vision technology can be used to detect and classify anomalies; the results of image processing analysis can be combined with chemical analysis data to further confirm and verify abnormal images. This can improve the accuracy of judgment and reduce the false alarm rate; when abnormal lubricant quality is found, an alarm can be promptly issued to the operator or monitoring system through the alarm device, and the abnormal image and analysis results can be fed back to the production management personnel. This helps to take timely measures to avoid further quality problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic flow chart of a quality analysis method for low-carbon lubricating oil according to the present invention;
[0066] Figure 2 The present invention is a principle block diagram of a method for quality analysis of low-carbon lubricating oil. DETAILED DESCRIPTION
[0067] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention. The present invention is described in more detail by way of example with reference to the accompanying drawings in the following paragraphs. The advantages and features of the present invention will become clearer according to the following description and claims. It should be noted that the drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0068] 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 herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0069] Example
[0070] See also Figure 1 As shown, a quality analysis method for low-carbon lubricating oil comprises the following steps:
[0071] Use high-definition camera equipment to collect real-time images of lubricating oil on the production line;
[0072] Processing the collected images, including denoising, contrast enhancement, and extracting characteristic parameters of lubricating oil images, including color distribution and particle shape;
[0073] A benchmark model is established, taking the image features of normal lubricating oil as the standard;
[0074] Using computer vision technology, we detect and classify anomalies in lubricant images and find image features that do not match the baseline model, including color anomalies and uneven particles.
[0075] Combine the results of image processing and analysis with chemical analysis data to further confirm abnormal images and verify whether there are any lubricant quality problems;
[0076] When verification finds that the lubricant quality is abnormal, an alarm is sent to the operator or monitoring system through the alarm device, and the abnormal image and analysis results are fed back to the production management personnel.
[0077] Install high-definition video equipment on the production line to collect real-time images of lubricating oil. Ensure that the position and angle of the video equipment can cover the entire area of the lubricating oil; process the collected images, including removing noise and enhancing contrast, etc. These processes can improve the accuracy of subsequent feature extraction and anomaly detection;
[0078] Based on the processed image, the characteristic parameters of the lubricating oil image are extracted, including color distribution and particle shape. Computer vision techniques such as image segmentation and edge detection can be used to extract features; the image features of normal lubricating oil are used as a benchmark to establish a benchmark model. Machine learning or deep learning methods can be used to train and model the features for subsequent anomaly detection and classification;
[0079] Using the benchmark model and computer vision technology, abnormality detection and classification of lubricating oil images can be performed. By comparing the differences between the collected image features and the benchmark model, it can be determined whether the lubricating oil has quality abnormalities, such as abnormal color or uneven particles; the results of image processing analysis are integrated with chemical analysis data. Professional instruments can be used to analyze the chemical composition of lubricating oil, and the chemical analysis data can be combined with the image analysis results to improve the accuracy and reliability of the judgment;
[0080] For lubricating oil images that are judged to be abnormal, further confirmation and verification are carried out. If the verification finds that the lubricating oil has quality problems, an alarm signal is sent to the operator or monitoring system through the alarm device so that measures can be taken to deal with the abnormal situation in time; the abnormal image and analysis results are fed back to the production management personnel. The management personnel can make timely processing and adjustments based on this information to ensure that the quality of the lubricating oil meets the requirements.
[0081] The method for extracting characteristic parameters of lubricating oil image is:
[0082] The image is converted into a color space using color space conversion technology, and then the pixel proportion of each color in each area is calculated by segmenting or selecting the area of the image, thereby obtaining the color distribution characteristics of the lubricating oil image;
[0083] The image is processed using morphological processing methods to highlight the particles in the lubricating oil, and then the shape characteristics of the lubricating oil particles are extracted through contour analysis methods;
[0084] The uniformity of the lubricant image is evaluated by calculating the gradient using the grayscale information of the image.
[0085] By extracting characteristic parameters such as color distribution characteristics, particle shape characteristics and image uniformity, the quality of lubricating oil images can be fully reflected, which is conducive to the comprehensive evaluation of lubricating oil quality; the use of color space conversion technology and morphological processing methods can adapt to different types of lubricating oil images, and can be adjusted and optimized according to different lubricating oil quality requirements; the use of image processing and analysis technology can realize the accurate extraction and calculation of characteristic parameters, which improves the accurate evaluation of lubricating oil image quality.
[0086] The lubricating oil image is converted to a specific color space, such as RGB, CMYK or HSV, etc. Then the image is segmented or the region is selected, and the pixel proportion of each color in each region is calculated to obtain the color distribution characteristics of the lubricating oil image.
[0087] The image is processed using morphological processing methods to highlight the particles in the lubricant. Morphological processing operations such as corrosion, expansion, opening or closing operations can be used to make the particles more prominent and clear. Then, the shape characteristics of the lubricant particles are extracted through contour analysis methods.
[0088] The uniformity of the lubricating oil image can be evaluated by calculating the gradient using the grayscale information of the image. The gradient calculation algorithm can be used to analyze the grayscale changes of the image to evaluate the uniformity of the lubricating oil image.
[0089] The method for evaluating the uniformity of the lubricating oil image by calculating the gradient is:
[0090] Convert the lubricant image to a grayscale image;
[0091] Use the Sobel operator to calculate the horizontal and vertical gradients of the grayscale image;
[0092] Averaging or summing the gradient images in the horizontal and vertical directions to obtain a comprehensive gradient image;
[0093] Calculate the mean or variance of the integrated gradient image;
[0094] The uniformity of the lubricating oil image is determined based on the size of the mean or variance.
[0095] Preferably, the method of using the Sobel operator to calculate the horizontal and vertical gradients of the grayscale image is:
[0096] Define two convolution kernels of the Sobel operator, representing the gradient calculation in the horizontal and vertical directions respectively. The horizontal convolution kernel (Gx) and the vertical convolution kernel (Gy) are:
[0097] Gx=[[-1,0,1],
[0098] [-2,0,2],
[0099] [-1,0,1]]
[0100] Gy=[[-1,-2,-1],
[0101] [0,0,0],
[0102] [1,2,1]]
[0103] Perform two-dimensional convolution operations on the grayscale image using Gx and Gy respectively to obtain approximate gradients in the horizontal and vertical directions;
[0104] Calculate the gradient amplitude in the horizontal and vertical directions for each pixel, that is,
[0105] gradient_magnitude=sqrt(Gx^2+Gy^2)
[0106] and the gradient direction, i.e.
[0107] gradient_direction=arctan2(Gy,Gx)
[0108] Arctan2 is the inverse tangent function, which can get the correct gradient direction according to the signs of Gy and Gx.
[0109] After conversion to a grayscale image, the Sobel operator is used to calculate the horizontal and vertical gradients, which can intuitively reflect the amplitude of color changes in the image, thereby evaluating the uniformity of the lubricating oil image; using convolution operations and mathematical operations, the gradient amplitude and gradient direction can be efficiently calculated without the need for complex image processing algorithms and a large amount of computing resources; by calculating the mean or variance of the gradient amplitude, a quantitative indicator can be obtained to evaluate the uniformity of the lubricating oil image, which is convenient for comparison and judgment.
[0110] The lubricating oil image can be converted into a grayscale image by using a common grayscale conversion algorithm, such as taking the average of the three channel values of the RGB image.
[0111] The grayscale image is convolved using the horizontal convolution kernel (Gx) and the vertical convolution kernel (Gy) of the Sobel operator to obtain the approximate gradient in the horizontal and vertical directions.
[0112] The mean or variance of the gradient amplitude of all pixels in the image is counted as an indicator for evaluating the uniformity of the lubricant image. The smaller the mean or variance, the more uniform the color change of the image, and vice versa, the color distribution is uneven.
[0113] The method to establish the baseline model is:
[0114] Collecting a number of representative lubricating oil image data, including lubricating oil images in normal state and images with abnormal color and uneven particles;
[0115] Preprocess the collected lubricating oil image data, including denoising, color correction, and size standardization operations, to ensure data quality and consistency;
[0116] Using image processing and computer vision technology, feature parameters are extracted from pre-processed image data, including color distribution features, particle shape features, and oil uniformity features;
[0117] The extracted characteristic parameters are labeled, and the lubricating oil images in normal state are marked as normal, and the images in abnormal state are marked as corresponding abnormal types;
[0118] Using the labeled feature parameter data and training with a deep learning neural network model, a baseline model for lubricant quality is established.
[0119] By collecting representative lubricant image data, including images under normal and abnormal conditions, the actual usage of lubricants can be better covered and the generalization ability of the model can be improved. Preprocessing operations such as denoising, color correction and size standardization on the collected image data can help eliminate noise and unnecessary changes, ensure the quality and consistency of the data, and thus improve the effect of model training.
[0120] Image processing and computer vision technology are used to extract color distribution features, particle shape features, and oil uniformity features. These features can more comprehensively reflect the quality of the lubricant and help improve the accuracy of the model. The extracted feature parameters are labeled, and normal and abnormal lubricant images are marked, which helps the model learn the features under normal and abnormal conditions and improve the model's classification and recognition capabilities. Using the labeled feature parameter data and training with a deep learning neural network model can better mine the potential patterns and features in the data and establish a baseline model for lubricant quality.
[0121] The method for extracting feature parameters from preprocessed image data is:
[0122] Use color histogram to extract color information in the image;
[0123] Use gray-level co-occurrence matrix to analyze the texture information of the image;
[0124] Use edge detection to describe the shape features of objects in images;
[0125] Use principal component analysis to select and reduce the dimension of the extracted features;
[0126] The extracted feature parameters are represented as a feature matrix that can be processed by a computer.
[0127] By using methods such as color histogram, gray-level co-occurrence matrix and edge detection, the color, texture and shape features of the image can be extracted from different angles, making the feature parameters more comprehensive and diversified; the color histogram can reflect the distribution of various colors in the image, the gray-level co-occurrence matrix can describe the texture information of the image, and the edge detection can capture the shape characteristics of the objects in the image. Representing these feature parameters as a computer-processable feature matrix can provide rich information for subsequent model training and analysis.
[0128] Using methods such as principal component analysis to select and reduce the extracted features can reduce feature redundancy and noise, improve feature effectiveness and model training efficiency; since the extracted feature parameters are represented as a feature matrix that can be processed by a computer, the parallel computing power of the computer can be fully utilized to improve the efficiency of feature extraction and processing; this feature extraction method can adapt to different types of images, including color changes, texture differences and shape features in lubricating oil images, and has strong adaptability and generalization capabilities.
[0129] The method for anomaly detection and classification of lubricating oil images is:
[0130] The extracted feature parameters are input into the benchmark model, and the model is used for anomaly detection. By comparing the difference between the feature parameters of the image to be detected and the normal feature distribution, it is determined whether there is an anomaly, and the image is divided into color abnormality image and particle uneven image according to the anomaly type.
[0131] By inputting the extracted feature parameters into the benchmark model, anomaly detection can be performed quickly and accurately. The model is able to learn the feature distribution of normal lubricating oil images, and can effectively detect anomalies by comparing the differences between the features of the image to be detected and the normal features; based on the comparison results, the abnormal images can be classified into different categories, such as color anomalies and uneven particles. This classification helps to describe and identify anomalies in lubricating oil images in more detail, providing more specific problem location and solutions.
[0132] This method can flexibly classify anomalies as needed, and can define and distinguish different anomaly types according to actual conditions. At the same time, model training and optimization can also be adjusted and expanded according to actual application scenarios to improve the adaptability and generalization ability of the model; by using the benchmark model for anomaly detection and classification, automatic processing and intelligent analysis of lubricating oil images can be achieved. This can greatly improve work efficiency and reduce human errors, which is particularly important for the processing of large-scale data sets; model-based anomaly detection results can be visualized and explained to help operators more intuitively understand and analyze anomalies in lubricating oil images. This helps provide a basis for decision support and troubleshooting.
[0133] The method of combining the results of image processing analysis with chemical analysis data is:
[0134] Sampling the lubricating oil with abnormal images, and performing chemical composition analysis on the sampled lubricating oil to obtain test data of the viscosity, acid value, and alkalinity index of the lubricating oil;
[0135] The test data of the lubricating oil is compared with the standard data to determine whether the test data is within the standard data range. If it is not within the standard data range, it is determined that the indicator of the lubricating oil is abnormal.
[0136] Chemical composition analysis can be used to obtain data on lubricating oil's viscosity, acid value, alkalinity value and other indicators, which are very important for determining whether the lubricating oil is working properly. Combining chemical analysis data with image processing analysis results can provide a more comprehensive understanding of the lubricating oil's status and evaluate the lubricating oil from different angles; comparing image processing analysis results with chemical analysis data can more accurately determine whether the lubricating oil has abnormalities. Image processing can capture subtle changes in color and particle distribution, while chemical analysis can provide more specific numerical indicators. By comparing, abnormal images can be linked to specific chemical indicators to improve the accuracy of abnormality detection.
[0137] By combining image processing analysis results with chemical analysis data, the status of lubricants can be monitored in real time and potential problems can be discovered in a timely manner. If a chemical indicator exceeds the standard data range, it can be determined that the lubricant is abnormal in this aspect, and corresponding measures can be taken to avoid equipment failure or accidents; image processing analysis can provide intuitive visual information, while chemical composition analysis can provide specific numerical indicators. The combination of the two can supplement the quantitative indicator information that image processing cannot obtain, making the evaluation more accurate and comprehensive; image processing and chemical analysis are two different methods, each with its own advantages and limitations. Using them together can complement each other and improve the reliability of the results. If the conclusions drawn by image processing and chemical analysis are consistent, then the judgment that the lubricant is abnormal is more credible.
[0138] See also Figure 2 As shown, a quality analysis system for low-carbon lubricating oil comprises:
[0139] Image acquisition module, used for real-time image acquisition of lubricating oil on the production line, including high-definition camera equipment;
[0140] Image processing module, which pre-processes the collected images, including denoising and contrast enhancement modules;
[0141] Feature extraction module, used to extract characteristic parameters such as color distribution and particle shape of lubricating oil images;
[0142] A benchmark model building module, used to build a benchmark model by taking the image features of normal lubricating oil as a standard;
[0143] Computer vision module, which uses computer vision technology to detect and classify anomalies in lubricant images and find image features that do not match the benchmark model, including color anomalies and uneven particles
[0144] An image processing and analysis module is used to combine the results of image processing and analysis with chemical analysis data to further confirm abnormal images;
[0145] Feedback module, used to feed back abnormal images and analysis results to production managers.
[0146] The system can collect images of lubricating oil on the production line in real time, and perform real-time anomaly detection and classification through computer vision technology, which helps to promptly discover lubricating oil quality problems; the system uses image processing and computer vision technology to automatically extract characteristic parameters of lubricating oil images, and perform anomaly detection and classification, reducing the burden of manual analysis and improving analysis efficiency.
[0147] Through the benchmark model building module, the system can use the image features of normal lubricating oil as the standard to build a benchmark model, thereby more accurately identifying abnormal situations; the system's image processing and analysis module combines the results of image processing and analysis with chemical analysis data to further confirm abnormal images, thereby improving the comprehensiveness and accuracy of the analysis; the system has a feedback module that can promptly feed back abnormal images and analysis results to production management personnel so that they can quickly take appropriate measures to prevent lubricating oil quality problems from affecting production.
[0148] It also includes an alarm device, which sends an alarm to the operator or the monitoring system when the lubricating oil quality is found to be abnormal.
[0149] When the system verifies that the lubricant quality is abnormal, the alarm device can immediately send an alarm to the operator or monitoring system so that it can take appropriate actions in time; timely detection of lubricant quality abnormalities through the alarm device can avoid the use of low-quality lubricants that may cause machine equipment failure or damage, thereby reducing losses caused by production line shutdowns and repairs; the timely response of the alarm device can help operators quickly discover problems, reduce production process interruptions caused by quality problems, and improve production efficiency.
[0150] The above embodiments of the present invention are not intended to limit the protection scope of the present invention, and the implementation modes of the present invention are not limited thereto. All other modifications, replacements or changes made to the above structures of the present invention based on the above contents of the present invention, in accordance with common technical knowledge and customary means in the art, without departing from the above basic technical ideas of the present invention, should fall within the protection scope of the present invention.
Claims
1. A quality analysis system for low-carbon lubricating oil, comprising: Image acquisition module, used for real-time image acquisition of lubricating oil on the production line, including high-definition camera equipment; Image processing module, which pre-processes the collected images, including denoising and contrast enhancement modules; A feature extraction module is used to extract color distribution and particle shape feature parameters of lubricating oil images; A benchmark model building module, used to build a benchmark model by taking the image features of normal lubricating oil as a standard; Computer vision module, which uses computer vision technology to detect and classify anomalies in lubricant images and find image features that do not match the benchmark model, including color anomalies and uneven particles An image processing and analysis module is used to combine the results of image processing and analysis with chemical analysis data to further confirm abnormal images; Feedback module, used to feed back abnormal images and analysis results to production managers; It also includes an alarm device, which sends an alarm to the operator or monitoring system when the lubricating oil quality is found to be abnormal; The analysis method of the quality analysis system of the low-carbon lubricating oil comprises the following steps: Use high-definition camera equipment to collect real-time images of lubricating oil on the production line; Processing the collected images, including denoising, contrast enhancement, and extracting characteristic parameters of lubricating oil images, including color distribution and particle shape; A benchmark model is established, taking the image features of normal lubricating oil as the standard; Using computer vision technology, we detect and classify anomalies in lubricant images and find image features that do not match the baseline model, including color anomalies and uneven particles. Combine the results of image processing and analysis with chemical analysis data to further confirm abnormal images and verify whether there are any lubricant quality problems; When the lubricant quality is found to be abnormal, an alarm device will be used to send an alarm to the operator or monitoring system, and the abnormal image and analysis results will be fed back to the production management personnel; The method for extracting characteristic parameters of lubricating oil image is: The image is converted into a color space using color space conversion technology, and then the pixel proportion of each color in each area is calculated by segmenting or selecting the area of the image, thereby obtaining the color distribution characteristics of the lubricating oil image; The image is processed using morphological processing methods to highlight the particles in the lubricating oil, and then the shape characteristics of the lubricating oil particles are extracted through contour analysis methods; The uniformity of the lubricant image is evaluated by calculating the gradient using the grayscale information of the image; The method for evaluating the uniformity of the lubricating oil image by calculating the gradient is: Convert the lubricant image to a grayscale image; Use the Sobel operator to calculate the horizontal and vertical gradients of the grayscale image; Averaging or summing the gradient images in the horizontal and vertical directions to obtain a comprehensive gradient image; Calculate the mean or variance of the integrated gradient image; Determine the uniformity of the lubricating oil image based on the size of the mean or variance; The method of using the Sobel operator to calculate the horizontal and vertical gradients of a grayscale image is: Define two convolution kernels of the Sobel operator, representing the gradient calculation in the horizontal and vertical directions respectively. The horizontal convolution kernel (Gx) and the vertical convolution kernel (Gy) are: Gx=[[-1,0,1], [-2,0,2], [-1,0,1]] Gy=[[-1,-2,-1], [0,0,0], [1,2,1]] Perform two-dimensional convolution operations on the grayscale image using Gx and Gy respectively to obtain approximate gradients in the horizontal and vertical directions; Calculate the gradient amplitude in the horizontal and vertical directions for each pixel, that is, gradient_magnitude=sqrt(Gx^2+Gy^2) and the gradient direction, i.e. gradient_direction=arctan2(Gy,Gx) Where arctan2 is the inverse tangent function, which can get the correct gradient direction according to the signs of Gy and Gx; The method to establish the baseline model is: Collecting a number of representative lubricating oil image data, including lubricating oil images in normal state and images with abnormal color and uneven particles; Preprocess the collected lubricating oil image data, including denoising, color correction, and size standardization operations, to ensure data quality and consistency; Using image processing and computer vision technology, feature parameters are extracted from pre-processed image data, including color distribution features, particle shape features, and oil uniformity features; The extracted characteristic parameters are labeled, and the lubricating oil images in normal state are marked as normal, and the images in abnormal state are marked as corresponding abnormal types; Using the annotated feature parameter data, a deep learning neural network model is trained to establish a benchmark model for lubricant quality; The method for extracting feature parameters from preprocessed image data is: Use color histogram to extract color information in the image; Use gray-level co-occurrence matrix to analyze the texture information of the image; Use edge detection to describe the shape features of objects in images; Use principal component analysis to select and reduce the dimension of the extracted features; The extracted feature parameters are expressed as a feature matrix that can be processed by a computer; The method for anomaly detection and classification of lubricating oil images is: The extracted feature parameters are input into the benchmark model, and the model is used for anomaly detection. By comparing the difference between the feature parameters of the image to be detected and the normal feature distribution, it is determined whether there is an anomaly, and the image is divided into color anomaly image and particle uneven image according to the anomaly type; The method of combining the results of image processing analysis with chemical analysis data is: Sampling the lubricating oil with abnormal images, and performing chemical composition analysis on the sampled lubricating oil to obtain test data of the viscosity, acid value, and alkalinity index of the lubricating oil; The test data of the lubricating oil is compared with the standard data to determine whether the test data is within the standard data range. If it is not within the standard data range, it is determined that the indicator of the lubricating oil is abnormal.
