A method, medium and system for detecting carbon content in coal in a fuel testing laboratory

Through image analysis and machine learning technology, a deep learning model is established to solve the complexity and destructive problems of coal carbon content detection methods, achieve fast and accurate coal carbon content measurement, and is suitable for efficient detection of the coal industry chain.

CN118671195BActive Publication Date: 2024-10-18INNER MONGOLIA INST OF METROLOGY TESTING & RES
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411123897.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-10-18
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

The existing coal carbon content detection method is complex to operate, difficult to achieve rapid detection, and involves destructive processing of coal samples, which limits the flexibility and accuracy of detection.

Method used

Image analysis and machine learning technology are used to comprehensively analyze the surface images of coal blocks, ultrasonic scanning data, coal powder images and ash characteristics, and establish a neural network model based on deep learning to achieve rapid and accurate prediction of coal carbon content.

Benefits of technology

It realizes non-destructive testing, improves testing accuracy and flexibility, simplifies the testing process, reduces costs, can quickly and accurately measure the carbon content of coal, and is suitable for a wide range of applications in the coal industry chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118671195B_ABST
    Figure CN118671195B_ABST
Patent Text Reader

Abstract

This invention provides a method, medium, and system for detecting the carbon content of coal in a fuel testing laboratory, belonging to the field of coal coking technology. The method includes: first, selecting samples; for each coal sample, acquiring mass, surface images, ultrasonic internal structure data, coal powder images, and ash images for feature extraction; establishing a training dataset and training a neural network model based on the feature data and experimentally measured carbon content to obtain a carbon content calculation model; crushing the large coal pieces to be tested, randomly obtaining sample fragments, extracting relevant features and inputting them into the carbon content model to obtain a carbon content dataset for each sample fragment; then acquiring all fragments of the large coal piece with a mass greater than a preset value, matching the most similar carbon content in the sample fragment carbon content dataset based on surface and ultrasonic features, and calculating the carbon content of each fragment; finally, obtaining the total carbon content of the large coal piece to be tested; and selecting high-carbon-content samples for coke production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a carbon content detection technology in the field of coal coking, and in particular to a coal carbon content detection method, medium and system in a fuel testing laboratory. Background Art

[0002] Coal is an important fossil energy source, widely used in many fields such as electricity, steel, and chemical industry. The quality of coal mainly depends on its carbon content, which is a key parameter that determines important indicators such as coal combustion calorific value, power generation efficiency, and metallurgical properties. Coal with a high carbon content can be used for coke manufacturing. Therefore, accurately measuring the carbon content of coal is of great significance to the quality control, trading, and use selection of the entire coal industry chain.

[0003] At present, the main methods for measuring the carbon content of coal are as follows: direct chemical analysis, ash analysis and thermogravimetric analysis. Direct chemical analysis is to directly determine the carbon content in coal by conducting chemical experiments such as acid-base titration and elemental analysis on coal samples. This method is cumbersome to operate and requires a professional chemical laboratory and complex instruments and equipment. In addition, the sample preparation and experimental process will produce certain losses, making it difficult to promote and apply on a large scale. The ash analysis method indirectly estimates the carbon content of coal based on the ash content remaining after complete combustion. Although the operation is relatively simple, it is difficult to accurately reflect the actual carbon content due to the complexity of the ash composition. Thermogravimetric analysis is to perform controlled incineration of coal samples, monitor their mass changes in real time, and then calculate the carbon content. This method has high equipment costs and requires professional personnel to operate. It is also not suitable for large-scale promotion and application. Existing methods for detecting carbon content in coal are generally complicated to operate and difficult to achieve rapid detection. Summary of the invention

[0004] In view of this, the present invention provides a method, medium and system for detecting the carbon content of coal in a fuel testing laboratory, which can solve the technical problems that the existing methods for detecting the carbon content of coal are generally complex to operate and difficult to achieve rapid detection.

[0005] The present invention is achieved in that:

[0006] A first aspect of the present invention provides a method for detecting carbon content in coal in a fuel testing laboratory, comprising the following steps:

[0007] S10, randomly selecting at least 100 broken coal blocks as a sample set, obtaining the mass and full surface image of each coal block in the sample set, and performing preprocessing and feature extraction to obtain surface image features of the coal block;

[0008] S20, for each coal block in the sample set, obtaining ultrasonic data including the internal structure and density distribution of the coal block by non-destructively scanning the coal block using an ultrasonic detection device, and performing preprocessing and feature extraction to obtain ultrasonic features of the coal block;

[0009] S30, for each coal block in the sample set, obtaining high-resolution images of coal powder at multiple angles after the coal block is crushed, dried, and evenly mixed, and performing preprocessing and feature extraction to obtain coal powder image features;

[0010] S40, for each coal block in the sample set, the coal powder obtained by processing, the ash after the combustion carbon content measurement experiment, obtain the carbon content obtained in the experiment and the mass and image of the ash, and pre-process the image of the ash to obtain the ash image features;

[0011] S50, establishing a training data set according to the sample set, wherein the input of the training data set is the mass of each coal block, the surface image features of the coal block, and the ultrasonic features of the coal block, the coal powder image features, the ash mass and the ash image features corresponding to the coal block, and the output of the training data set is the ratio of the experimentally obtained carbon content corresponding to the coal block to the mass of the coal block, which is recorded as the carbon content rate; using the training data set to train a neural network model to obtain a carbon content rate calculation model;

[0012] S60, crushing the large piece of coal to be tested, randomly obtaining a plurality of broken pieces as sample broken pieces, and obtaining basic parameters of each sample broken piece, including mass, surface image features of the sample broken piece and ultrasonic features of the sample broken piece corresponding to the sample broken piece, coal powder image features, ash mass and ash image features; inputting the basic parameters of each sample broken piece into the carbon content calculation model to obtain the carbon content of each sample broken piece, and forming a sample broken piece carbon content data set;

[0013] S70, obtaining all the broken pieces with a mass greater than or equal to a minimum preset mass after the large piece of coal to be tested is broken, obtaining the surface image feature and ultrasonic feature of each broken piece, and recording the broken pieces with a mass less than the minimum preset mass as broken slag;

[0014] S80, for each broken block, selecting the carbon content of the sample broken block with the highest matching degree in the sample broken block carbon content data set according to the surface image features and the ultrasonic features as the carbon content of the corresponding broken block, and calculating the carbon content of each broken block according to the mass of each broken block;

[0015] S90, calculating the average carbon content of the bulk coal to be tested, and calculating the mass of the crushed slag according to the mass of all the crushed pieces, using the average carbon content to calculate the carbon content of all the crushed slag, and finally taking the carbon content of all the crushed pieces and the carbon content of all the crushed slag as the carbon content of the bulk coal to be tested.

[0016] Among them, the step S10 specifically includes: randomly selecting at least 100 coal blocks from the coal to be tested as a sample set; for each sample coal block, obtaining a high-resolution image of its quality and full surface; preprocessing the surface image, including denoising, grayscale, and histogram equalization operations, extracting feature indicators including texture, color, and shape, and forming a surface image feature vector of each coal block.

[0017] Among them, the specific steps of S20 include: for each sample coal block, use non-destructive ultrasonic detection equipment to perform an all-round scan to obtain ultrasonic data reflecting the internal structure and density distribution; pre-process these ultrasonic data, including filtering and normalization, and extract characteristic indicators including echo amplitude, attenuation coefficient, and Rayleigh scattering to form an ultrasonic feature vector for each coal block.

[0018] The specific steps of S30 include: for each sample coal block, firstly crushing, drying and mixing are performed to prepare coal powder; then high-resolution images of the coal powder taken from multiple angles are collected, and these images are preprocessed and feature extracted to obtain the coal powder image feature vector corresponding to each coal block.

[0019] The specific steps of S40 include: for each sample coal block, a combustion experiment is performed on its coal powder sample to determine the mass and image characteristics of the ash; first, the coal powder is completely burned until only ash is left, and the mass of the ash is recorded; then a high-resolution image of the ash sample is collected, and the image is preprocessed to extract feature indicators including color and texture to form an ash image feature vector corresponding to each coal block.

[0020] The specific steps of S50 include: based on the various feature vectors obtained in the above steps and the experimentally measured carbon content, a training data set is established, wherein the input includes the mass, surface image features, ultrasonic features, coal powder image features, ash mass and image features of each sample coal block, and the output is the ratio of the experimentally measured carbon content of the sample coal block to its mass; then the training data set is used to train a neural network model based on deep learning to obtain a calculation model that can estimate the carbon content of coal. The key to this step is to build a machine learning model that can fully characterize the complex relationship between coal characteristics and carbon content.

[0021] The specific steps of S60 include: crushing the large piece of coal to be tested, and randomly obtaining multiple broken pieces as samples; measuring the mass of each sample broken piece, and obtaining its surface image characteristics, ultrasonic characteristics, coal powder image characteristics, ash mass and image characteristics; and then inputting these characteristic parameters into the trained carbon content prediction model to obtain the carbon content of each sample broken piece, forming a carbon content data set of the sample broken pieces. This step aims to use the trained model to estimate the carbon content of the broken pieces of the coal to be tested, and provide basic data for subsequent carbon content calculation.

[0022] The specific steps of S70 include: crushing the large coal to be tested, obtaining all the crushed pieces whose mass is greater than or equal to the preset minimum mass; measuring the surface image characteristics and ultrasonic characteristics of each crushed piece; and treating the crushed pieces whose mass is less than the preset minimum mass as crushed slag. This step is intended to divide the coal block to be tested into a main part whose carbon content can be measured and a fine crushed slag part whose carbon content cannot be measured separately. The minimum preset mass here can be determined according to actual application requirements.

[0023] The specific steps of S80 include: for each broken block that meets the quality requirements, in the carbon content data set of the sample broken blocks, according to its surface image features and ultrasonic features, select the sample broken block with the highest matching degree, and use its carbon content index as the carbon content of the broken block; then calculate its carbon content according to the mass of each broken block. The key to this step is to find the most similar sample block through feature matching, and use its carbon content as the predicted value. The preset minimum mass threshold is 50 grams.

[0024] The specific steps of S90 include: firstly, calculating the average carbon content of the large piece of coal to be tested by summing the carbon content of all broken pieces that meet the quality requirements and then dividing the sum by their total mass; then, for the small slag part, since its carbon content cannot be measured separately, the average carbon content calculated above is used in combination with the total mass of the slag to calculate its total carbon content; finally, the carbon content of all broken pieces and the carbon content of the slag are added together to obtain the final carbon content of the large piece of coal to be tested.

[0025] Furthermore, in step S80, feature matching uses a nearest neighbor search based on cosine similarity.

[0026] Among them, the calculation formula of the average carbon content is: average carbon content = sum of carbon content of all broken blocks / sum of mass of all broken blocks; the calculation formula of the carbon content of the slag is: carbon content of slag = total mass of slag × average carbon content.

[0027] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are executed, they are used to execute the above-mentioned coal carbon content detection method in a fuel testing laboratory.

[0028] A third aspect of the present invention provides a coal carbon content detection system for a fuel testing laboratory, which includes the above-mentioned computer-readable storage medium.

[0029] Compared with the prior art, the beneficial effects of the coal carbon content detection method, medium and system provided by the present invention in a fuel testing laboratory are as follows:

[0030] 1. Non-destructive testing of raw coal is achieved. Existing chemical analysis, ash analysis and thermogravimetric analysis methods all require a certain degree of destructive treatment of coal samples, while the method of the present invention only requires surface imaging and ultrasonic scanning of coal blocks, which will not cause any damage to the raw coal samples, greatly improving the flexibility and scope of application of the test.

[0031] 2. Greatly improved detection accuracy. The method of the present invention establishes a high-precision carbon content prediction model based on deep learning by comprehensively analyzing multi-dimensional information such as coal surface image, internal structure, coal powder characteristics and combustion ash. Experimental results show that the carbon content prediction accuracy of this method is 5 percentage points better than the existing technology and can reach a relative error level of 3%. This greatly meets the demanding requirements of the coal industry for detection accuracy.

[0032] 3. Simplified the detection process and reduced costs. The method of the present invention only requires surface imaging, ultrasonic scanning and a small amount of combustion experiments on coal, without the need for complex chemical analysis equipment and professionals, and is simple and quick to operate. Compared with the existing technology, this method greatly reduces the detection cost and is conducive to its wide application in the coal industry chain.

[0033] 4. Automation and intelligence are achieved. The method of the present invention makes full use of machine learning technology to establish an intelligent model that can automatically estimate the carbon content of coal. Once the model is trained, the coal characteristic parameters can be directly input to automatically give the carbon content prediction results, which greatly improves the efficiency and replicability of the detection.

[0034] In summary, the present invention proposes a method for detecting the carbon content of coal based on image analysis and machine learning. By comprehensively analyzing the surface image, ultrasonic scanning data, coal powder image and ash characteristics of the coal sample, a neural network model that can accurately estimate the carbon content of coal is established. Therefore, the solution of the present invention solves the technical problem that the existing coal carbon content detection methods are generally complex to operate and difficult to achieve rapid detection. Through the rapid and accurate measurement of the carbon content, it is helpful to understand and judge the quality of coal, select high-carbon coal for coke production, save time and improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0036] Figure 1 A flow chart of the method provided by the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0038] like Figure 1 FIG. 1 is a flow chart of a method for detecting carbon content in coal in a fuel testing laboratory provided by the present invention. The method comprises the following steps:

[0039] S10, obtaining at least 100 randomly selected broken coal blocks as a sample set, obtaining the mass and full surface image of each coal block in the sample set, and performing preprocessing and feature extraction to obtain surface image features of the coal block;

[0040] S20, for each coal block in the sample set, obtaining ultrasonic data including the internal structure and density distribution of the coal block by non-destructively scanning the coal block using an ultrasonic detection device, and performing preprocessing and feature extraction to obtain ultrasonic features of the coal block;

[0041] S30, for each coal block in the sample set, obtaining high-resolution images of coal powder from multiple angles after the coal block is crushed, dried, and evenly mixed, and performing preprocessing and feature extraction to obtain coal powder image features;

[0042] S40, for each coal block in the sample set, after the coal powder is processed and the ashes are subjected to the carbon content measurement experiment, the carbon content obtained in the experiment and the mass and image of the ashes are obtained, and the image of the ashes is preprocessed to obtain the ashes image features;

[0043] S50, establishing a training data set according to the sample set, wherein the input of the training data set is the mass of each coal block, the surface image features of the coal block and the ultrasonic features of the coal block, the image features of the coal powder, the mass of the ash and the image features of the ash corresponding to the coal block, and the output of the training data set is the ratio of the carbon content obtained by the experiment corresponding to the coal block to the mass of the coal block, which is recorded as the carbon content rate; using the training data set to train a neural network model to obtain a carbon content rate calculation model;

[0044] S60, crushing the large piece of coal to be tested, randomly obtaining a plurality of broken pieces as sample broken pieces, and obtaining basic parameters of each sample broken piece, including mass, surface image features of the sample broken piece and ultrasonic features of the sample broken piece corresponding to the sample broken piece, coal powder image features, ash mass and ash image features; inputting the basic parameters of each sample broken piece into a carbon content calculation model to obtain the carbon content of each sample broken piece, and forming a sample broken piece carbon content data set;

[0045] S70, obtaining all the broken pieces with a mass greater than or equal to a minimum preset mass after the large piece of coal to be tested is broken, obtaining the surface image feature and ultrasonic feature of each broken piece, and recording the broken pieces with a mass less than the minimum preset mass as broken slag;

[0046] S80, for each broken block, selecting the carbon content of the sample broken block with the highest matching degree in the sample broken block carbon content data set according to the surface image features and the ultrasonic features as the carbon content of the corresponding broken block, and calculating the carbon content of each broken block according to the mass of each broken block;

[0047] S90, calculating the average carbon content of the bulk coal to be tested, and calculating the mass of the crushed slag according to the mass of all the crushed pieces, using the average carbon content to calculate the carbon content of all the crushed slag, and finally taking the carbon content of all the crushed pieces and the carbon content of all the crushed slag as the carbon content of the bulk coal to be tested.

[0048] The specific implementation methods of the above steps are described in detail below:

[0049] The specific implementation method of step S10 is: first, randomly select at least 100 coal blocks from the coal to be tested as a sample set. For each sample coal block, obtain its mass and high-resolution image of the entire surface. Then, these surface images are preprocessed, such as denoising, graying, histogram equalization, etc., to extract feature indicators such as texture, color, shape, etc., to form the surface image feature vector of each coal block. The purpose of this step is to obtain the appearance feature information of the coal block surface to provide a basis for the subsequent carbon content estimation.

[0050] The specific implementation of step S20 is: for each sample coal block, a non-destructive ultrasonic detection device is used to perform an all-round scan on it to obtain ultrasonic data reflecting the internal structure and density distribution. The ultrasonic data are also pre-processed, such as filtering, normalization, etc., to extract characteristic indicators such as echo amplitude, attenuation coefficient, Rayleigh scattering, etc., to form an ultrasonic feature vector for each coal block. These ultrasonic features can reflect the internal physical properties of the coal block and also have an important impact on the estimation of carbon content.

[0051] The specific implementation of step S30 is: for each sample coal block, firstly, crush, dry, mix and other processes are performed to prepare coal powder. Then, high-resolution images of the coal powder taken from multiple angles are collected, and these images are pre-processed and feature extracted to obtain the coal powder image feature vector corresponding to each coal block. These features can reflect the fine structure of the coal powder and have a certain correlation with the carbon content.

[0052] The specific implementation of step S40 is: for each sample coal block, the coal powder sample is subjected to a combustion experiment to determine the mass and image characteristics of the ash. First, the coal powder is completely burned until only ash is left, and the mass of the ash is recorded. Then, a high-resolution image of the ash sample is collected, and the image is preprocessed to extract characteristic indicators such as color and texture to form an ash image feature vector corresponding to each coal block. The purpose of this step is to obtain the ash characteristics after the coal powder is burned, and to provide a direct experimental basis for carbon content estimation.

[0053] The specific implementation method of step S50 is: based on the various feature vectors obtained in the above steps and the experimentally measured carbon content, a training data set is established. The input of the data set includes: the mass, surface image features, ultrasonic features, coal powder image features, ash mass and image features of each sample coal block; the output is the ratio of the experimentally measured carbon content of the sample coal block to its mass, recorded as the carbon content. Next, the training data set is used to train a neural network model based on deep learning to obtain a calculation model that can estimate the carbon content of coal. The key to this step is to build a machine learning model that can fully characterize the complex relationship between coal characteristics and carbon content.

[0054] The specific implementation method of step S60 is: crush the large piece of coal to be tested, randomly obtain multiple broken pieces as samples, and record them as sample broken pieces. For each sample broken piece, measure its mass, and obtain its surface image characteristics, ultrasonic characteristics, coal powder image characteristics, ash mass and image characteristics. Then input these characteristic parameters into the aforementioned trained carbon content prediction model to obtain the carbon content of each sample broken piece, forming a carbon content data set of the sample broken pieces. The purpose of this step is to use the trained model to estimate the carbon content of the broken pieces of the coal to be tested, and provide basic data for subsequent carbon content calculation.

[0055] The specific implementation of step S70 is: crush the large piece of coal to be tested, and obtain all the broken pieces whose mass is greater than or equal to the preset minimum mass. Measure the surface image characteristics and ultrasonic characteristics of each broken piece. The broken pieces whose mass is less than the preset minimum mass are regarded as broken slag. This step is intended to divide the coal block to be tested into a main part whose carbon content can be measured and a fine broken slag part whose carbon content cannot be measured separately. The minimum preset mass here can be determined according to the actual application requirements, for example, it can be set to 50 grams.

[0056] The specific implementation of step S80 is: for each broken block that meets the quality requirements, in the carbon content data set of the sample broken blocks, according to its surface image features and ultrasonic features, select the sample broken block with the highest matching degree, and use its carbon content index as the carbon content of the broken block. Then, according to the mass of each broken block, calculate its carbon content. The key to this step is to find the most similar sample block through feature matching and use its carbon content as the predicted value.

[0057] The specific implementation of step S90 is: first calculate the average carbon content of the large piece of coal to be tested, by summing the carbon content of all broken pieces that meet the quality requirements and then dividing it by their total mass. Then, for the small slag part, since its carbon content cannot be measured separately, the average carbon content calculated above is used, combined with the total mass of the slag, to calculate its total carbon content. Finally, the carbon content of all broken pieces and the carbon content of the slag are added together to obtain the final carbon content of the large piece of coal to be tested. The purpose of this step is to comprehensively consider the measurable part and the small slag part that cannot be measured separately, and obtain the overall carbon content of the coal to be tested.

[0058] In general, this coal carbon content detection method comprehensively describes the internal and external characteristics of coal and establishes a correlation model with the carbon content rate through a variety of advanced technical means, including image feature extraction, ultrasonic scanning, machine learning model training, etc. When analyzing the coal to be tested, it not only takes into account the large measurable parts, but also estimates the small debris parts that cannot be measured separately, thereby obtaining a more accurate and reliable overall carbon content.

[0059] The rapid and accurate measurement of carbon content helps to understand the quality of coal and select coal with high carbon content for coke production, thus saving time and improving efficiency.

[0060] In order to better implement this method, the specific implementation method of this method is described in more detail below in combination with a specific formula:

[0061] The specific implementation of step S10 is as follows:

[0062] For the coal to be tested, at least 100 coal blocks are randomly selected as the sample set. For each sample coal block , get its quality and high-resolution images of the entire surface Then, these surface images Preprocessing is performed, including denoising, grayscale, histogram equalization and other operations, to extract feature indicators such as texture, color, shape, etc., to form the surface image feature vector of each coal block. The purpose of this step is to obtain the appearance characteristic information of the coal block surface and provide a basis for the subsequent carbon content estimation.

[0063] The specific implementation of step S20 is as follows:

[0064] For each sample coal block , use non-destructive ultrasonic detection equipment to scan it in all directions and obtain ultrasonic data reflecting the internal structure and density distribution . Preprocessing, such as filtering and normalization, is performed to extract characteristic indicators such as echo amplitude, attenuation coefficient, Rayleigh scattering, etc., to form the ultrasonic feature vector of each coal block. These ultrasonic characteristics can reflect the internal physical properties of coal blocks and have an important impact on the estimation of carbon content.

[0065] The specific implementation of step S30 is as follows:

[0066] For each sample coal block First, the coal powder sample is prepared by crushing, drying, mixing, etc. Then high-resolution images of the coal powder sample are taken from multiple angles. , and preprocess and extract features from these images to obtain the coal powder image feature vector corresponding to each coal block These characteristics can reflect the fine structure of coal powder and have a certain correlation with the carbon content.

[0067] The specific implementation of step S40 is as follows:

[0068] For each sample coal block , the coal powder sample was subjected to a complete combustion experiment to determine the mass of the ash and images First, the coal powder sample was completely burned until only ash remained, and the mass of the ash was recorded. . A high-resolution image of the ash sample was then taken , and preprocess the image to extract feature indicators such as color and texture to form the ash image feature vector corresponding to each coal block The purpose of this step is to obtain the ash characteristics after coal powder combustion and provide a direct experimental basis for carbon content estimation.

[0069] The specific implementation of step S50 is as follows:

[0070] Based on the various feature vectors obtained in the previous steps And the experimentally measured carbon content , create a training dataset . The input feature vector , the output is the experimentally measured carbon content of the sample coal block Then use this training data set Train a deep learning based neural network model , a calculation model that can estimate the carbon content of coal is obtained:

[0071]

[0072] in The key to this step is to build a machine learning model that can fully describe the complex relationship between coal characteristics and carbon content.

[0073] The specific implementation of step S60 is as follows:

[0074] The large piece of coal to be tested is crushed, and multiple broken pieces are randomly obtained as samples, which are recorded as For each sample, break the block , measure its quality , and obtain its surface image features , Ultrasonic characteristics , coal powder image features , Ash quality and image features , forming the feature vector These characteristic parameters are then input into the previously trained carbon content prediction model The predicted carbon content of each sample fragment is obtained , which constitutes the carbon content data set of the sample fragments This step aims to use the trained model to estimate the carbon content of the broken pieces of coal to be tested, providing basic data for subsequent carbon content calculations.

[0075] The specific implementation of step S70 is as follows:

[0076] Crush the large pieces of coal to be tested and obtain all the pieces with a mass greater than or equal to the preset minimum mass. A collection of broken blocks For each broken block Measure its surface image features and ultrasound characteristics . Set the quality to be less than the preset minimum quality The broken pieces are regarded as the debris set This step aims to divide the coal block to be tested into major parts whose carbon content can be measured. and fine debris that cannot be measured individually The minimum preset quality here It can be determined according to actual application requirements, for example, it can be set to 50 grams.

[0077] The specific implementation of step S80 is as follows:

[0078] For each crushed block that meets the quality requirements , in the carbon content data set of the sample fragments According to its surface image characteristics and ultrasound characteristics , select the sample fragment that is most similar to it , and its carbon content prediction value As the broken block Predicted value of carbon content Then, according to each broken block Quality , calculate its carbon content The key to this step is to find the most similar sample block through feature matching and use its carbon content as the predicted value.

[0079] The specific implementation of step S90 is as follows:

[0080] First, calculate the average carbon content of the large piece of coal to be tested , the method is to calculate all the broken pieces that meet the quality requirements Carbon content Add them together and divide by their total mass :

[0081]

[0082] Then for the small debris ,Since it is impossible to measure its carbon content separately, the average carbon content calculated above is used , combined with the total mass of the slag , calculate its total carbon content as

[0083]

[0084] Finally, the carbon content of all broken pieces and the carbon content of the slag are added together to obtain the final carbon content of the large piece of coal to be tested:

[0085]

[0086] The purpose of this step is to comprehensively consider the measurable part and the fine debris part that cannot be measured individually, so as to obtain the overall carbon content of the coal to be tested.

[0087] The relevant variables are explained as: : The sample set of coal to be tested; : No. Sample coal blocks; : Sample Collection The number of coal blocks in ; : No. The mass of each sample coal block; : No. Full surface high-resolution images of sample coal blocks; : No. Surface image feature vectors of sample coal blocks; : Dimension of surface image feature vector; : No. Ultrasonic data of a sample coal block; : Dimension of ultrasound data; : No. Ultrasonic feature vectors of sample coal blocks; : Dimension of ultrasound feature vector; : No. A collection of high-resolution images of coal powder from multiple angles prepared from 10 sample coal blocks; : The number of coal dust images; : No. The coal powder image feature vector of the sample coal blocks; : Dimension of coal powder image feature vector; : No. The mass of ash after burning the sample coal blocks; : No. Ash images of sample coal blocks after burning; : No. Ash image feature vectors of sample coal blocks; : Dimension of the ash image feature vector; : No. The experimental carbon content of a sample coal block is defined as ; :No. The feature vector of the sample coal block is given by , , , , and Spliced ​​together; : Include A training data set of samples; : The trained carbon content prediction model; : Carbon content prediction model Parameters; : Model Predicted carbon content; : A collection of broken pieces of coal to be tested; : No. A broken piece of coal to be tested; : The number of broken pieces of the coal to be tested; : No. The feature vector of the broken blocks; : No. Predicted carbon content of each broken block; : Include A data set of predicted carbon content values ​​for broken blocks of samples; : A collection of large broken blocks with quality that meets the requirements; : A collection of fine slag with a mass less than the required mass; : The minimum mass threshold of the broken block is set to 50 grams; : No. Carbon content of each broken piece; : The average carbon content of the coal to be tested; : Total carbon content of fine slag; : The total carbon content of the bulk coal to be tested; : Minimum number of coal pieces in sample set; g: Minimum mass threshold for breaking chunks.

[0088] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are executed, they are used to execute the above-mentioned coal carbon content detection method in a fuel testing laboratory.

[0089] A third aspect of the present invention provides a coal carbon content detection system for a fuel testing laboratory, which includes the above-mentioned computer-readable storage medium.

[0090] Specifically, the principle of the present invention is:

[0091] First, the method of the present invention fully considers multiple key factors that affect the carbon content of coal, including the surface characteristics of coal blocks, internal structure, microscopic characteristics of coal powder, and combustion ash properties. By comprehensively analyzing these multi-dimensional characteristics, the actual physical and chemical properties of coal can be more accurately portrayed, laying the foundation for accurate prediction of carbon content.

[0092] Secondly, the present invention uses a neural network model based on deep learning to learn the complex nonlinear mapping relationship between coal characteristic parameters and carbon content. Compared with traditional linear regression or shallow models, deep neural networks have powerful feature expression and pattern recognition capabilities, and can fully capture the deep relationship between coal characteristics and carbon content. Through end-to-end training of a large number of labeled samples, the model can eventually obtain a highly generalized carbon content prediction function, providing strong support for the rapid estimation of new samples.

[0093] Furthermore, the present invention has also made many innovative designs in sample collection and data processing. On the one hand, by randomly selecting a large number of coal blocks as training samples, it is ensured that the established model has strong universality and robustness; on the other hand, in the feature extraction link, a variety of advanced image processing algorithms, such as Gabor filtering, Fourier transform, etc., are used to fully explore various visual features of coal and further improve the prediction performance of the model.

[0094] Finally, when estimating the carbon content of the actual coal to be tested, the present invention cleverly combines the measurable part and the fine slag part that cannot be measured separately, and comprehensively considers the overall situation of the whole coal sample. In this way, not only can an accurate carbon content prediction be given for reliable broken blocks, but also the contribution of the fine slag part can be reasonably estimated, and finally a more comprehensive and reliable overall carbon content index is obtained.

[0095] Finally, the rapid and accurate measurement of carbon content helps to understand and judge the quality of coal, and select coal with high carbon content for coke production, saving time and improving efficiency.

[0096] A specific embodiment of the present invention is provided below: A coal testing laboratory has been using traditional chemical analysis and ash analysis methods to detect the carbon content of the produced coal, but these methods have problems such as complex operation, high cost, and limited measurement accuracy, and it is difficult to meet the urgent needs of the modern coal industry for detection efficiency and accuracy.

[0097] To this end, the coal testing laboratory decided to introduce the new coal carbon content detection method based on image analysis and machine learning proposed in this invention, in order to significantly improve the detection efficiency and reduce costs while ensuring the measurement accuracy. The following is the specific situation of the laboratory applying the method of the invention in actual production:

[0098] Sample collection and feature extraction

[0099] First, the coal testing laboratory randomly selected 100 representative raw coal blocks at the production site as the sample set. For each sample coal block , measure its quality , and use a high-resolution digital camera to capture images of its entire surface Then, Gabor filtering, histogram equalization and other image preprocessing techniques are used to extract 20 feature indicators such as texture, color, shape, etc. from these surface images to form the feature vector of each coal block. .

[0100] Next, the laboratory used a non-destructive ultrasonic testing device to conduct a full-scale scan of the above 100 coal samples to obtain ultrasonic data reflecting their internal structure and density distribution. After preprocessing such as filtering and normalization, 30 characteristic parameters, such as echo amplitude, attenuation coefficient, Rayleigh scattering, etc., were extracted from these ultrasonic data as the ultrasonic characteristic vector of each coal block. .

[0101] The lab then crushed, dried and mixed each sample of coal to create coal powder samples. High-resolution images of the coal powder were taken from multiple angles. Based on Fourier transform and other technologies, 20 characteristic parameters characterizing the microstructure of coal powder are extracted to form the coal powder image feature vector of each coal block. .

[0102] Finally, the laboratory conducted a complete combustion experiment on each coal powder sample to determine the mass of the ash. , and collect high-resolution images of the ash After image preprocessing such as color and texture analysis, 15 feature parameters are extracted from the ash image to form the ash image feature vector of each coal block. .

[0103] After completing the above steps, the laboratory obtained all the characteristic data of 100 sample coal blocks, including At the same time, the actual carbon content of these 100 sample coal blocks was also determined through combustion experiments. .

[0104] Model training and evaluation

[0105] With the above sample data, the next step for the coal testing laboratory is to establish a carbon content prediction model based on deep learning. First, they divided the 100 samples into a training set and test set , the ratio is 8:2. The training set contains 80 samples, whose feature vector and actual carbon content Forms the training data ; The test set contains 20 samples for performance evaluation of the model.

[0106] In terms of model architecture, the laboratory tried a variety of deep neural network structures and finally chose a convolutional neural network model consisting of 5 convolutional layers and 3 fully connected layers. The input of this model is an 85-dimensional feature vector , the output is the corresponding carbon content prediction value During the training process, the laboratory used mean square error (MSE) as the loss function and used Adam optimizer for parameter update. The number of training rounds was set to 300 epochs and the batch size was 16.

[0107] To evaluate the generalization performance of the model, the lab conducted the following experiments on the test set:

[0108] 1. Calculate the mean absolute error (MAE) and mean relative error (MAPE) of the model on the test set:

[0109]

[0110]

[0111] The results show that the model has a MAE of 0.021 and a MAPE of 2.8% on the test set, indicating that its carbon content prediction accuracy is very high.

[0112] 2. Further analysis of the model's performance in different carbon content ranges: the test samples were divided into It is divided into three intervals: low, medium and high, and the MAE and MAPE of each interval are calculated respectively. The results are shown in Table 1. It can be seen that the model performs well in each interval, indicating that it has strong generalization ability and robustness.

[0113] Table 1 Prediction performance of the model in different carbon content ranges

[0114]

[0115] 3. Comparison of prediction results with existing technical methods: The laboratory simultaneously used chemical analysis and ash analysis to test the carbon content of the test samples. The results showed that the prediction accuracy of the method of the present invention was significantly better than those of the two traditional methods.

[0116] In summary, this deep learning model has achieved very ideal results in predicting the carbon content of coal, laying a solid foundation for subsequent industrial applications.

[0117] Practical application and result analysis

[0118] With a high-precision carbon content prediction model , and the coal testing laboratory was subsequently widely used in actual production.

[0119] First, they analyzed the coal to be tested in a large coal mine. 200 raw coal blocks were randomly selected from this coal mine and recorded as the sample broken block set For each sample, break the block , measure its quality , and use the above method to extract its surface image features and ultrasound characteristics , forming the feature vector Then, these feature vectors are input into the trained carbon content prediction model The predicted carbon content of each sample fragment is obtained , which constitutes the carbon content data set of the sample fragments .

[0120] Next, the laboratory crushed the entire coal to be tested and obtained a collection of all broken pieces with a mass greater than or equal to 50 grams. , a total of 1458. , measuring its surface image features and ultrasound characteristics , forming the feature vector These feature vectors are compared with the carbon content data set of the sample fragments mentioned above. Perform nearest neighbor matching, select the most similar sample fragment, and take its carbon content prediction value As an estimate of the carbon content of the current broken block. Then according to the mass of each broken block , calculate its carbon content The collection of fine debris with a mass of less than 50 grams is recorded as , a total of 452.

[0121] Finally, the laboratory calculated the average carbon content of the entire coal to be tested. , by dividing the carbon content of all large broken pieces by Add them together and divide by their total mass :

[0122]

[0123] Then for the fine debris , using the average carbon content and their total mass Tons, calculate its total carbon content as:

[0124]

[0125] Finally, the laboratory added up the carbon content of all the large pieces and the carbon content of the fine slag, and obtained the overall carbon content of the entire coal to be tested:

[0126]

[0127] The laboratory conducted further analysis and confirmation of the above results:

[0128] 1. Compared with the test results of chemical analysis and ash analysis, the carbon content prediction value of the method of the present invention differs by no more than 5%, which is within the acceptable accuracy range.

[0129] 2. The mass of the coal to be tested is 1,500 tons, and the fine slag accounts for only 12.5 / 1500=0.83%, which contributes little to the overall carbon content.

[0130] 3. During the entire detection process, only surface imaging and ultrasonic scanning of some broken blocks are required, which is time-saving and easy to operate, greatly improving the detection efficiency.

[0131] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for detecting the carbon content of coal in a fuel testing laboratory. It is characterized in that The following steps are involved: S10, randomly selecting at least 100 broken coal blocks as a sample set, obtaining the mass and full surface image of each coal block in the sample set, and performing preprocessing and feature extraction to obtain surface image features of the coal block; S20, for each coal block in the sample set, obtaining ultrasonic data including the internal structure and density distribution of the coal block by non-destructively scanning the coal block using an ultrasonic detection device, and performing preprocessing and feature extraction to obtain ultrasonic features of the coal block; S30, for each coal block in the sample set, obtaining high-resolution images of coal powder at multiple angles after the coal block is crushed, dried, and evenly mixed, and performing preprocessing and feature extraction to obtain coal powder image features; S40, for each coal block in the sample set, the coal powder obtained by processing, the ash after the combustion carbon content measurement experiment, obtain the carbon content obtained in the experiment and the mass and image of the ash, and pre-process the image of the ash to obtain the ash image features; S50, establishing a training data set according to the sample set, wherein the input of the training data set is the mass of each coal block, the surface image features of the coal block, and the ultrasonic features of the coal block, the coal powder image features, the ash mass and the ash image features corresponding to the coal block, and the output of the training data set is the ratio of the experimentally obtained carbon content corresponding to the coal block to the mass of the coal block, which is recorded as the carbon content rate; using the training data set to train a neural network model to obtain a carbon content rate calculation model; S60, crushing the large piece of coal to be tested, randomly obtaining a plurality of broken pieces as sample broken pieces, and obtaining basic parameters of each sample broken piece, including mass, surface image features of the sample broken piece and ultrasonic features of the sample broken piece corresponding to the sample broken piece, coal powder image features, ash mass and ash image features; inputting the basic parameters of each sample broken piece into the carbon content calculation model to obtain the carbon content of each sample broken piece, and forming a sample broken piece carbon content data set; S70, obtaining all the broken pieces with a mass greater than or equal to a minimum preset mass after the large piece of coal to be tested is broken, obtaining the surface image feature and ultrasonic feature of each broken piece, and recording the broken pieces with a mass less than the minimum preset mass as broken slag; S80, for each broken block, selecting the carbon content of the sample broken block with the highest matching degree in the sample broken block carbon content data set according to the surface image features and the ultrasonic features as the carbon content of the corresponding broken block, and calculating the carbon content of each broken block according to the mass of each broken block; S90, calculating the average carbon content of the bulk coal to be tested, and calculating the mass of the crushed slag according to the mass of all the crushed pieces, using the average carbon content to calculate the carbon content of all the crushed slag, and finally taking the carbon content of all the crushed pieces and the carbon content of all the crushed slag as the carbon content of the bulk coal to be tested.

2. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 1, It is characterized in that The step S10 specifically includes: randomly selecting at least 100 coal blocks from the coal to be tested as a sample set; for each sample coal block, obtaining a high-resolution image of its mass and full surface; preprocessing the surface image, including denoising, grayscale, and histogram equalization operations, extracting feature indicators including texture, color, and shape, and forming a surface image feature vector of each coal block.

3. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 1, It is characterized in that The specific steps of S20 include: for each sample coal block, using non-destructive ultrasonic detection equipment to perform an all-round scan to obtain ultrasonic data reflecting the internal structure and density distribution; pre-processing these ultrasonic data, including filtering and normalization, extracting characteristic indicators including echo amplitude, attenuation coefficient, and Rayleigh scattering, and forming an ultrasonic feature vector for each coal block.

4. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 1, It is characterized in that The specific steps of S30 include: for each sample coal block, firstly crushing, drying and mixing are performed to prepare coal powder; then high-resolution images of the coal powder taken from multiple angles are collected, and these images are preprocessed and feature extracted to obtain the coal powder image feature vector corresponding to each coal block.

5. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 1, It is characterized in that The specific steps of S40 include: for each sample coal block, a combustion experiment is performed on the coal powder sample to determine the mass and image characteristics of the ash; first, the coal powder is completely burned until only ash is left, and the mass of the ash is recorded; then a high-resolution image of the ash sample is collected, and the image is preprocessed to extract feature indicators including color and texture to form an ash image feature vector corresponding to each coal block.

6. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 1, It is characterized in that The specific steps of S90 include: firstly, calculating the average carbon content of the large piece of coal to be tested by summing the carbon content of all broken pieces that meet the quality requirements and then dividing it by their total mass; then, for the small slag part, since its carbon content cannot be measured separately, the average carbon content calculated above is used in combination with the total mass of the slag to calculate its total carbon content; finally, the carbon content of all broken pieces and the carbon content of the slag are added together to obtain the final carbon content of the large piece of coal to be tested.

7. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 6, It is characterized in that In step S80, feature matching uses a nearest neighbor search based on cosine similarity.

8. A method for detecting carbon content in coal in a fuel testing laboratory according to claim 1, It is characterized in that The calculation formula for the average carbon content is: average carbon content = sum of carbon content of all broken blocks / sum of mass of all broken blocks; the calculation formula for the carbon content of the slag is: carbon content of slag = total mass of slag × average carbon content.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores program instructions, and when the program instructions are executed, they are used to execute the coal carbon content detection method for a fuel testing laboratory according to any one of claims 1 to 8.

10. A coal carbon content detection system for a fuel testing laboratory, It is characterized in that A computer-readable storage medium comprising the computer-readable storage medium of claim 9.

Citation Information

Patent Citations

  • Coal quality detection method based on hyperspectral imaging technology and convolutional neural network

    CN112950632A

  • Intelligent coal quality test system and method

    CN118112210A