Small sample infrared thermal imaging coal lithology identification method based on generative adversarial network
By combining generative adversarial networks and infrared thermal imaging, and utilizing a dual discriminator and adaptive feature fusion WGAN-GP model, the problem of identifying coal and rock properties in small samples was solved, achieving efficient and accurate identification of coal and rock properties, and improving the intelligence and safety of coal mining machines.
Patent Information
- Application Number
- CN202410912665.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Under small sample conditions, existing technologies are unable to effectively identify coal and rock properties, leading to reduced cutting efficiency of coal mining machines and increased safety hazards.
An infrared thermal imaging method based on generative adversarial networks is adopted. By building a dual discriminator and an adaptive feature fusion WGAN-GP model, infrared thermal images of coal and rock properties are collected using an infrared thermal camera to construct an extended dataset. The recognition is then performed using a 2D-CNN to achieve high-quality image generation and accurate recognition.
It achieves efficient and accurate identification of coal and rock properties under small sample conditions, improves the intelligence level of coal mining machines, reduces safety hazards, and supports unmanned or minimally manned mining.
Smart Images

Figure CN118918432B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent coal and rock identification technology, specifically relating to a small-sample infrared thermal imaging coal and rock property identification method based on generative adversarial networks. Background Technology
[0002] As a key piece of equipment in fully mechanized mining faces, the intelligentization of coal mining machines is a necessary condition for achieving unmanned mining. Currently, the frequent alternation of coal and rock properties in the coal face makes the operating condition of the coal mining machine during the cutting process prone to deterioration, leading to reduced cutting efficiency, equipment failure, and even accidents causing casualties. Therefore, it is urgent to ensure the efficient and stable operation of coal mining machines, and the primary key technology for the stable operation of coal mining machines is the effective identification of coal and rock properties.
[0003] Considering the significant temperature changes in the coal face before and after cutting during coal mining operations, and the different temperature values for different coal and rock properties, infrared thermal imaging technology can be used to obtain thermal distribution information during coal face cutting to identify coal and rock properties. Currently, ideal data-based coal and rock property identification methods based on deep learning models such as machine learning, convolutional neural networks, and stacked autoencoders have achieved significant success. However, due to potential safety hazards in fully mechanized mining faces and the single cutting mode of coal mining machines, it is often difficult to obtain sufficient usable coal and rock data to train deep learning identification models. Therefore, research on coal and rock property identification under small sample conditions is more practically significant.
[0004] Generative Adversarial Networks (GANs) offer a solution to the small-sample identification problem from a data generation perspective, exhibiting good portability and widespread applicability. However, the combination of GANs and infrared thermal imaging in the identification field is still in its early stages and cannot yet effectively solve the problem of coal and rock property identification. Therefore, there is an urgent need to provide a small-sample infrared thermal imaging coal and rock property identification method based on GANs to effectively address the problem of coal and rock property identification under small sample conditions. Summary of the Invention
[0005] To address the problems existing in the prior art, this invention provides a small-sample infrared thermal imaging coal and rock property identification method based on generative adversarial networks. This method has simple implementation steps, high identification accuracy, and a high degree of automation in the identification process. It can efficiently complete the identification of coal and rock properties under small sample conditions and provide reliable technical support for the intelligent and stable operation of coal mining machines.
[0006] To achieve the above objectives, the present invention provides a method for identifying coal and rock properties using small-sample infrared thermal imaging based on generative adversarial networks, comprising the following steps;
[0007] Step 1: Install an infrared thermal camera on the rocker arm of the coal mining machine and establish a communication connection between the infrared thermal camera and the data processing equipment. Use the rocker arm of the coal mining machine, the infrared thermal camera and the data processing equipment to build a coal wall cutting test platform for the coal mining machine.
[0008] Step 2: According to the sequence of fully mechanized mining operations, cut the coal wall test blocks under different properties in sequence. At the same time, use an infrared thermal camera to collect infrared thermal images of the coal cutting area under different coal and rock properties at set time intervals and send them to the data processing equipment.
[0009] Step 3: The data processing device preprocesses the received infrared thermal imaging images and then randomly divides the processed infrared thermal imaging images into a small sample training set and a normal number test set.
[0010] Step 4: Construct an improved WGAN-GP model based on dual discriminators and adaptive feature fusion. Train the improved WGAN-GP model using a small sample training set to generate high-quality infrared thermal imaging images.
[0011] Step 5: Select 2D-CNN as the recognition network model, construct an expanded dataset using the generated high-quality infrared thermal imaging images and a small sample training set, and then train the recognition network model using the expanded dataset to obtain a trained coal and rock property recognition network model. Finally, test the trained coal and rock property recognition model using a normal number of test sets.
[0012] Step Six: During the cutting operation of the coal wall test block, the real-time acquired infrared thermal imaging images are input into the trained coal and rock property recognition network model, and the coal and rock property classification results are output to achieve effective identification of coal and rock properties under small sample conditions.
[0013] Furthermore, to improve the robustness of model training and the diversity of generated data, thereby producing higher-quality images and more effectively assisting in the coal and rock identification process under small sample conditions, the construction process of the WGAN-GP model is improved in step four as follows:
[0014] A1: Configure a dual discriminator network;
[0015] A11: Using WGAN-GP as the basic generative model, a dual discriminator network with different discrimination criteria is set; one discriminator D1 uses real samples as the discrimination standard, the first input of discriminator D1 is an infrared thermal image, and the second input is a generated sample obtained by the generator network G based on random noise z; the other discriminator D2 uses the reconstructed sample extracted by the feature encoder as the discrimination standard, the first input of discriminator D2 is the reconstructed sample obtained by the feature encoder based on the infrared thermal image, and the second input is a generated sample obtained by the generator network G based on random noise z; at the same time, the generator loss function of the WGAN-GP model is obtained according to formula (1), and the discriminator loss function of the WGAN-GP model is obtained according to formula (2);
[0016]
[0017] In the formula, x represents the probability distribution P. r(x) Real samples, λ×GP is the result of random interpolation sampling of random noise between real samples and generated samples, where λ×GP is the gradient penalty term.
[0018] A12: The generator loss function of the dual discriminator network is derived by formula (1), as shown in formula (3);
[0019]
[0020] In the formula, ω represents the adaptive weights used in model training. Its value ranges from 0 to 1; D1(G(z)) is the probability that discriminator D1 distinguishes between real samples and fake samples, D2(G(z)) is the probability that discriminator D2 distinguishes between real samples and reconstructed samples, and e is the natural base;
[0021] A2: Adaptive feature fusion mechanism;
[0022] A21: An adaptive feature fusion mechanism is introduced. First, the feature encoder is used to extract the feature information in the infrared thermal imaging image and input the feature information into the U-Net reconstruction network. Then, the U-Net reconstruction network is used to extract the intermediate feature F. Then, the random noise z and the intermediate feature F are adaptively superimposed using the fusion mechanism to obtain the output m of the feature fusion mechanism, as shown in formula (4). Then, the output m of the feature fusion mechanism is input into the generator network G to obtain the generated sample. The generated sample is then used as the second input of the discriminator D1 and the second input of the discriminator D2. At the same time, the conditional random field (CRF) is used to perform post-processing operations on the output of the U-Net reconstruction network to obtain the reconstructed sample. The reconstructed sample is then used as the first input of the discriminator D2.
[0023] m = Concat(λF(x), z) + z (4);
[0024] In the formula, z is random noise, F(x) is the intermediate feature of the feature encoder, λ is the feature fusion weight, which gradually decreases as the number of iterations increases, and Concat is the merging operation;
[0025] A22: Combining formulas (3) and (4), we obtain the generator loss function after introducing the adaptive feature fusion mechanism, as shown in formula (5);
[0026]
[0027] In the formula, m represents belonging to probability distribution P m Fusion samples;
[0028] A23: Based on formula (5), a sample reconstruction loss term is introduced to obtain a new generator loss function, as shown in formula (6);
[0029]
[0030] In the formula, |G(m)-x True 2 This represents the reconstruction loss of the sample.
[0031] Furthermore, to improve the accuracy of edge generation for samples, in A21, the post-processing operation of the output of the U-Net reconstructed network using a Conditional Random Field (CRF) is as follows:
[0032] A Conditional Random Field (CRF) method is used to post-process the image generated by the U-Net reconstruction network, thereby making the boundary region between the target and the background more accurate during generation; assuming C = {c1, c2, ..., c N Let} represent the N categories generated from the real image I, and let D = {d1, d2, ..., dn} be the undirected graph of the generated results. N The essence of image generation is to take a real image I as a premise and solve for the conditional probability P(D=c) of each pixel in I belonging to a category. k |I); According to graph theory, the probabilistic undirected graph corresponding to D satisfies the global Markov property, and the conditional random field P(D|I) is obtained according to formula (7);
[0033]
[0034] In the formula, Z(I) is the normalization factor. Wherein, ψ1(d j ψ2(d) is a univariate potential function representing the shape, structure, location, color, texture, and gradient information in an image; j ,d k) is a binary potential function, representing the influence of the mutual relationship between pixel points on image generation, wherein, each is a feature f extracted from pixels j and k, and weighted by the parameter ω g , the vectors f j and f k are feature vectors of any dimension at the positions of pixels j and k respectively; ω g is the weight of the linear combination term; wherein, Q j and Q k are the pixel values of the j-th and k-th pixels respectively, E j and E k are the positions of the j-th and k-th pixels in the real image I respectively, and θ, β and δ are all constants.
[0035] Further, in order to ensure the quality of the obtained infrared thermal imaging image, in step 4, the process of generating a high-quality infrared thermal imaging image using the improved WGAN-GP model is as follows:
[0036] B1: model input and parameter setting; taking the finite infrared thermal imaging images and random noise z as model inputs, and respectively setting the coefficient α of the generator, the coefficient β of the discriminator, and the learning rate η D of the generator, the learning rate η G of the discriminator, the maximum number of iterations N D of the generator, and the maximum number of iterations N G of the discriminator;
[0037] B2: parameter initialization; setting the number of iterations N=0 and the intermediate feature F=0;
[0038] B3: adaptive feature fusion; using a fusion mechanism to adaptively superimpose the random noise z and the intermediate feature F, the specific process is as follows:
[0039] B31: first extracting feature information in the finite infrared thermal imaging images using a feature encoder, and inputting the feature information into a U-Net reconstruction network, then extracting the intermediate feature F using the U-Net reconstruction network, and dividing the intermediate feature F into {F(x) | F(1), F(2), ... F(n)};
[0040] B32: performing a feature fusion operation using formula (4) to obtain the output m of the feature fusion mechanism;
[0041] B33: updating the loss function L D of the discriminator and the loss function L G of the generator using formulas (2) and (6) respectively;
[0042] B34: If the iteration termination condition is met, output the result; otherwise, repeat B33.
[0043] B4: Sample generation; The generator network G uses upsampling to restore the fused features to obtain generated samples, and then uses a conditional random field (CRF) for post-processing.
[0044] B5: Sample discrimination; The generated samples are output to discriminators D1 and D2 respectively, and discriminators D1 and D2 are used to determine whether they are real samples or fake samples;
[0045] B6: If the model training reaches the maximum number of iterations N D N G Output the infrared thermal image generated by the dual discriminator and adaptive feature fusion WGAN-GP model; otherwise, re-execute B3 until the maximum number of model iterations is met.
[0046] Furthermore, to adapt to the classification requirements of coal and rock properties, in step five, the coal and rock property identification network model classifier structure includes two two-dimensional convolutional layers, one max pooling layer, and two output classification layers, with ReLU6 activation function, Adam optimizer, batch size of 2, and 100 epochs.
[0047] In this invention, by constructing a coal face cutting experimental platform for a coal mining machine, infrared thermal images of the cutting area under different coal and rock properties can be acquired using an infrared thermal camera mounted on the rocker arm. This provides reliable data support for obtaining a subsequent coal and rock property identification network model. Data processing equipment is used to divide several infrared thermal images into a small-sample training set and a normal-quantity test set for the identification network. This facilitates training the improved WGAN-GP model using the small-sample training set and further training the identification network using the generated high-quality infrared images and the small-sample training set to obtain the coal and rock property identification network model. Using WGAN-GP as the basic generative model, a dual-discriminator network structure with different discrimination criteria is designed to optimize the model training strategy, ensuring improved model training robustness and the diversity of generated data. Since an adaptive feature fusion mechanism is constructed to address the oscillation problem easily generated in the early stages of model training, introducing a conditional random field for post-processing can effectively improve the accuracy of the sample generation boundary. By training the constructed dual discriminator and adaptive feature fusion WGAN-GP model using a small sample training set, high-quality infrared thermal imaging images can be generated, which in turn can construct an expanded dataset. Then, the recognition network model is trained using the expanded dataset, which ensures that the coal and rock property recognition network model can quickly and accurately output classification results for different coal and rock properties, thereby enabling coal and rock property recognition under small sample conditions.
[0048] In summary, this invention proposes a small-sample coal and rock property identification method based on infrared thermal imaging classification technology and an adaptive feature fusion WGAN-GP model. This method can solve the problem of insufficient sample collection and uneven distribution caused by potential safety hazards in fully mechanized mining faces and the single cutting mode of coal mining machines, resulting in low accuracy in coal and rock property identification. This significantly improves the intelligence level of coal mining machines and is of great significance for realizing "unmanned" or "less manned" mining in fully mechanized mining faces. Attached Figure Description
[0049] Figure 1 This is a flowchart of the present invention;
[0050] Figure 2 This is a framework diagram of the traditional WGAN-GP model in this invention;
[0051] Figure 3 This is a framework structure diagram of the WGAN-GP model based on dual discriminators and adaptive feature fusion in this invention;
[0052] Figure 4 This is a framework diagram of the dual discriminator network in this invention;
[0053] Figure 5 This is a framework diagram of the adaptive feature fusion mechanism in this invention;
[0054] Figure 6 This is a framework diagram of the coal and rock property identification network model in this invention. Detailed Implementation
[0055] The present invention will be further described below with reference to the embodiments, but the present invention is not limited to the following embodiments.
[0056] like Figures 1 to 6 As shown, the present invention provides a method for identifying coal and rock properties using small-sample infrared thermal imaging based on generative adversarial networks, comprising the following steps;
[0057] Step 1: Install an infrared thermal camera on the rocker arm of the coal mining machine and establish a communication connection between the infrared thermal camera and the data processing equipment. Use the rocker arm of the coal mining machine, the infrared thermal camera and the data processing equipment to build a coal wall cutting test platform for the coal mining machine.
[0058] Because the temperature of the coal mining machine changes significantly before and after cutting the coal face, the temperature field of the cutting area can directly reflect the coal and rock properties (i.e., the hardness of the coal face being cut by the coal mining machine). In addition, due to the limitations of experimental conditions and site space, the maximum hardness of the coal face cut by the coal mining machine does not exceed the Protodyakonov coefficient f = 7. The cutting conditions for four typical coal and rock properties are Protodyakonov coefficients f = 1, f = 3, f = 5, and f = 7, respectively.
[0059] Step 2: According to the sequence of fully mechanized mining operations, cut the coal wall test blocks under different properties in sequence. At the same time, use an infrared thermal camera to collect infrared thermal images of the coal cutting area under different coal and rock properties at set time intervals and send them to the data processing equipment.
[0060] Step 3: The data processing device preprocesses the received infrared thermal imaging images and then randomly divides the processed infrared thermal imaging images into a small sample training set and a normal number test set.
[0061] Step 4: Construct an improved WGAN-GP (Wasserstein Generative Adversarial Network with Gradient Penalty) model based on dual discriminators and adaptive feature fusion. Train the improved WGAN-GP model using a small sample training set to generate high-quality infrared thermal imaging images to assist in the identification of coal and rock properties under small sample conditions.
[0062] Step 5: Select 2D-CNN as the recognition network model, construct an expanded dataset using the generated high-quality infrared thermal imaging images and a small sample training set, and then train the recognition network model using the expanded dataset to obtain a trained coal and rock property recognition network model. Finally, test the trained coal and rock property recognition model using a normal number of test sets.
[0063] Step Six: During the cutting operation of the coal wall test block, the real-time acquired infrared thermal imaging images are input into the trained coal and rock property recognition network model, and the coal and rock property classification results are output to achieve effective identification of coal and rock properties under small sample conditions.
[0064] To improve the robustness of model training and the diversity of generated data, enabling the generation of higher-quality images and more effectively assisting in the coal and rock identification process under small sample conditions, the construction process of the WGAN-GP model is improved in step four as follows:
[0065] A1: Configure a dual discriminator network;
[0066] A11: Using WGAN-GP as the basic generative model, the discriminator can only distinguish which distribution a single sample comes from, causing the generative network to tend to generate high-quality samples within local intervals while ignoring global correlation features. To address this, a dual-discriminator network with different discrimination criteria is set up to optimize the model training strategy. An additional loss term is added to the generator's loss function to improve the model's training robustness and the diversity of generated data. One discriminator, D1, uses real samples as the discrimination standard. The first input of discriminator D1 is an infrared thermal image, and the second input is a generated sample obtained by the generator network G based on random noise z. The other discriminator, D2, uses reconstructed samples extracted by the feature encoder as the discrimination standard. The first input of discriminator D2 is a reconstructed sample obtained by the feature encoder based on the infrared thermal image, and the second input is a generated sample obtained by the generator network G based on random noise z.
[0067] Meanwhile, in the early stages of model training, the feature encoder can only extract the salient features of the real samples, while many difficult-to-extract detailed features have not been fully learned. At this time, the reconstructed samples can be considered as a downgraded version of the real samples. The addition of the "tolerant" discriminator will greatly reduce the training difficulty of the generator, help the generator gain an advantage in adversarial competition, make the generated samples reach the standard of "real" data, and thus improve the smoothness and convergence of the model training process. The generator loss function of the WGAN-GP model is obtained according to formula (1), and the discriminator loss function of the WGAN-GP model is obtained according to formula (2).
[0068]
[0069] In the formula, x represents the probability distribution P. r(x) Real samples, λ×GP is the result of random interpolation sampling of random noise between real samples and generated samples, where λ×GP is the gradient penalty term.
[0070] A12: The generator loss function of the dual discriminator network is derived by formula (1), as shown in formula (3);
[0071]
[0072] In the formula, ω represents the adaptive weights used in model training. Its value ranges from 0 to 1; D1(G(z)) is the probability that discriminator D1 distinguishes between real samples and fake samples, D2(G(z)) is the probability that discriminator D2 distinguishes between real samples and reconstructed samples, and e is the natural base;
[0073] A2: Adaptive feature fusion mechanism;
[0074] To further mitigate the oscillation issue that easily occurs in the early stages of model training, an adaptive feature fusion mechanism is employed to fuse random noise z with the intermediate features F of the feature encoder. Specifically, in the initial stages of model training, the fused features guide the generator's learning. As the number of iterations increases, the intermediate features extracted by U-Net are gradually eliminated, and finally, only random noise is used as the generator's input. This operation addresses both the issue of large fluctuations in model training and the problem of low diversity in generated samples due to the single-input structure. The specific process is as follows:
[0075] A21: An adaptive feature fusion mechanism is introduced. First, the feature encoder is used to extract the feature information in the infrared thermal imaging image and input the feature information into the U-Net reconstruction network. Then, the U-Net reconstruction network is used to extract the intermediate feature F. Then, the random noise z and the intermediate feature F are adaptively superimposed using the fusion mechanism to obtain the output m of the feature fusion mechanism, as shown in formula (4). Then, the output m of the feature fusion mechanism is input into the generator network G to obtain the generated sample. The generated sample is then used as the second input of the discriminator D1 and the second input of the discriminator D2. At the same time, the conditional random field (CRF) is used to perform post-processing operations on the output of the U-Net reconstruction network to obtain the reconstructed sample. The reconstructed sample is then used as the first input of the discriminator D2.
[0076] m = Concat(λF(x), z) + z (4);
[0077] In the formula, z is random noise, F(x) is the intermediate feature of the feature encoder, λ is the feature fusion weight, which gradually decreases as the number of iterations increases, and Concat is the merging operation;
[0078] A22: Combining formulas (3) and (4), we obtain the generator loss function after introducing the adaptive feature fusion mechanism, as shown in formula (5);
[0079]
[0080] In the formula, m represents belonging to probability distribution P m Fusion samples;
[0081] A23: Based on formula (5), a sample reconstruction loss term is introduced to obtain a new generator loss function, as shown in formula (6);
[0082]
[0083] In the formula, |G(m)-x True 2 This represents the reconstruction loss of the sample.
[0084] To improve the accuracy of edge generation for samples, in A21, the post-processing operation of the output of the U-Net reconstructed network using a Conditional Random Field (CRF) is as follows:
[0085] During the training of the aforementioned generative adversarial network, the upsampling operations in the Generator and U-Net reconstruction networks can easily lead to misclassification and unclear boundaries in the generated images. Considering that Conditional Random Fields (CRFs) in probabilistic graphical models can enhance image interpretation performance by predicting a large number of unlabeled pixels, forming a good complementary relationship, a CRF method is used to post-process the images generated by the U-Net reconstruction network. This makes the boundary region between the target and the background more accurate during generation. Assume C = {c1, c2, ..., c...} N Let} represent the N categories generated from the real image I, and let D = {d1, d2, ..., dn} be the undirected graph of the generated results. N The essence of image generation is to take a real image I as a premise and solve for the conditional probability P(D=c) of each pixel in I belonging to a category. k |I); According to graph theory, the probabilistic undirected graph corresponding to D satisfies the global Markov property, and the conditional random field P(D|I) is obtained according to formula (7);
[0086]
[0087] In the formula, Z(I) is the normalization factor. Wherein, ψ1(d j ψ2(d) is a univariate potential function representing information such as shape, structure, location, color, texture, and gradient in an image; j ,d k () is a binary potential function that represents the influence of the relationships between pixels on image generation. Each of them Both are features f extracted from pixels j and k, and are determined by the parameter ω. g We get the vector f by weighting. j and f k These are the feature vectors of arbitrary dimensions at pixel positions j and k, respectively; ω g These are the weights of the linear combination terms; for The binary potential function has a value only when j and k are assigned different labels. If the two pixels are assigned the same label, the value of the binary potential function is zero.
[0088] Among them, Q j and Q k E represents the pixel values of the j-th and k-th pixels, respectively. j and E kare the positions of the j-th and k-th pixels in the real image I, respectively, and θ, β, and δ are all constants. Using formula to calculate information such as pixel categories and color positions around a certain pixel to obtain the binary potential function of that pixel, and using the potential function minimization operation to optimize the image generation result, so that the boundary area between the target and the background is more accurate during generation.
[0089] To ensure the quality of the obtained infrared thermal imaging images, in step four, the process of generating high-quality infrared thermal imaging images using the improved WGAN-GP model is as follows:
[0090] B1: Model input and parameter setting; using limited infrared thermal imaging images and random noise z as model inputs, set the coefficient α of the generator, the coefficient β of the discriminator, and the learning rate η of the generator respectively D , the learning rate η of the discriminator G , the maximum number of iterations N of the generator D , the maximum number of iterations N of the discriminator G ;
[0091] B2: Parameter initialization; set the number of iterations N=0, and the intermediate feature F=0;
[0092] B3: Adaptive feature fusion; use the fusion mechanism to adaptively superimpose the random noise z and the intermediate feature F, and the specific process is as follows:
[0093] B31: First use the feature encoder to extract feature information from the limited infrared thermal imaging images, and input the feature information to the U-Net reconstruction network, then use the U-Net reconstruction network to extract the intermediate feature F, and divide the intermediate feature F into {F(x) | F(1), F(2), … F(n)};
[0094] B32: Use formula (4) to perform feature fusion operation to obtain the output m of the feature fusion mechanism;
[0095] B33: Use formulas (2) and (6) to update the loss function L of the discriminator respectively D and the loss function L of the generator G ;
[0096] B34: If the iteration termination condition is met, output the result; otherwise, repeat B33;
[0097] B4: Sample generation; the generator network G uses upsampling to restore the fused features to obtain generated samples, and uses the conditional random field CRF for post-processing operations;
[0098] B5: Sample discrimination; The generated samples are output to discriminators D1 and D2 respectively, and discriminators D1 and D2 are used to determine whether they are real samples or fake samples;
[0099] B6: If the model training reaches the maximum number of iterations N D N G Output the infrared thermal image generated by the dual discriminator and adaptive feature fusion WGAN-GP model; otherwise, re-execute B3 until the maximum number of model iterations is met.
[0100] To meet the classification requirements of coal and rock properties, in step five, the coal and rock property identification network model classifier structure includes two two-dimensional convolutional layers, one max pooling layer, and two output classification layers, with ReLU6 activation function, Adam optimizer, batch size of 2, and 100 epochs.
[0101] In this invention, by constructing a coal face cutting experimental platform for a coal mining machine, infrared thermal images of the cutting area under different coal and rock properties can be acquired using an infrared thermal camera mounted on the rocker arm. This provides reliable data support for obtaining a subsequent coal and rock property identification network model. Data processing equipment is used to divide several infrared thermal images into a small-sample training set and a normal-quantity test set for the identification network. This facilitates training the improved WGAN-GP model using the small-sample training set and further training the identification network using the generated high-quality infrared images and the small-sample training set to obtain the coal and rock property identification network model. Using WGAN-GP as the basic generative model, a dual-discriminator network structure with different discrimination criteria is designed to optimize the model training strategy, ensuring improved model training robustness and the diversity of generated data. Since an adaptive feature fusion mechanism is constructed to address the oscillation problem easily generated in the early stages of model training, introducing a conditional random field for post-processing can effectively improve the accuracy of the sample generation boundary. By training the constructed dual discriminator and adaptive feature fusion WGAN-GP model using a small sample training set, high-quality infrared thermal imaging images can be generated, which in turn can construct an expanded dataset. Then, the recognition network model is trained using the expanded dataset, which ensures that the coal and rock property recognition network model can quickly and accurately output classification results for different coal and rock properties, thereby enabling coal and rock property recognition under small sample conditions.
[0102] In summary, this invention proposes a small-sample coal and rock property identification method based on infrared thermal imaging classification technology and an adaptive feature fusion WGAN-GP model. This method can solve the problem of insufficient sample collection and uneven distribution caused by potential safety hazards in fully mechanized mining faces and the single cutting mode of coal mining machines, resulting in low accuracy in coal and rock property identification. This significantly improves the intelligence level of coal mining machines and is of great significance for realizing "unmanned" or "less manned" mining in fully mechanized mining faces.
Claims
1. A method for identifying coal and rock properties using small-sample infrared thermal imaging based on generative adversarial networks, characterized in that, Includes the following steps; Step 1: Install an infrared thermal camera on the rocker arm of the coal mining machine and establish a communication connection between the infrared thermal camera and the data processing equipment. Use the rocker arm of the coal mining machine, the infrared thermal camera and the data processing equipment to build a coal wall cutting test platform for the coal mining machine. Step 2: According to the sequence of fully mechanized mining operations, cut the coal wall test blocks under different properties in sequence. At the same time, use an infrared thermal camera to collect infrared thermal images of the coal cutting area under different coal and rock properties at set time intervals and send them to the data processing equipment. Step 3: The data processing device preprocesses the received infrared thermal imaging images and then randomly divides the processed infrared thermal imaging images into a small sample training set and a normal number test set. Step 4: Construct an improved WGAN-GP model based on dual discriminators and adaptive feature fusion. Train the improved WGAN-GP model using a small sample training set to generate high-quality infrared thermal imaging images. The construction process of the improved WGAN-GP model is as follows: A1: Configure a dual discriminator network; A11: Using WGAN-GP as the basic generative model, a dual discriminator network with different discrimination criteria is set; one discriminator D1 uses real samples as the discrimination standard, the first input of discriminator D1 is an infrared thermal imaging image, and the second input is a generated sample obtained by the generator network G based on random noise z; the other discriminator D2 uses the reconstructed sample extracted by the feature encoder as the discrimination standard, the first input of discriminator D2 is the reconstructed sample obtained by the feature encoder based on the infrared thermal imaging image, and the second input is a generated sample obtained by the generator network G based on random noise z; at the same time, the generator loss function of the WGAN-GP model is obtained according to formula (1), and the discriminator loss function of the WGAN-GP model is obtained according to formula (2); (1); (2); In the formula, Indicates belonging to a probability distribution Real samples, This represents the result of random noise being randomly interpolated between real and generated samples. This is a gradient penalty term; A12: The generator loss function of the dual discriminator network is derived by formula (1), as shown in formula (3); (3); In the formula, Adaptive weights for model training Its value ranges from 0 to 1; The probability of the discriminator D1 distinguishing between real and fake samples. e represents the probability that the discriminator D2 distinguishes between real samples and reconstructed samples, where e is the natural base. A2: Adaptive feature fusion mechanism; A21: An adaptive feature fusion mechanism is introduced. First, the feature encoder is used to extract the feature information in the infrared thermal imaging image and input the feature information into the U-Net reconstruction network. Then, the U-Net reconstruction network is used to extract the intermediate feature F. Then, the random noise z and the intermediate feature F are adaptively superimposed using the fusion mechanism to obtain the output m of the feature fusion mechanism, as shown in formula (4). Then, the output m of the feature fusion mechanism is input into the generator network G to obtain the generated sample. The generated sample is then used as the second input of the discriminator D1 and the second input of the discriminator D2. At the same time, the conditional random field (CRF) is used to perform post-processing operations on the output of the U-Net reconstruction network to obtain the reconstructed sample. The reconstructed sample is then used as the first input of the discriminator D2. (4); In the formula, z represents random noise, and F(x) represents the intermediate features of the feature encoder. The weights for feature fusion gradually decrease as the number of iterations increases, and Concat is the merging operation; A22: Combining formulas (3) and (4), we obtain the generator loss function after introducing the adaptive feature fusion mechanism, as shown in formula (5); (5); In the formula, m represents belonging to probability distribution P m Fusion samples; A23: Based on formula (5), a sample reconstruction loss term is introduced to obtain a new generator loss function, as shown in formula (6); (6); In the formula, Represents the reconstruction loss of the samples; Step 5: A 2D-CNN is selected as the recognition network model, and the generated high-quality infrared thermal imaging images and small-sample training set are used to construct an expanded dataset. Then, the recognition network model is trained using the expanded dataset to obtain a trained coal-rock property recognition network model. Afterwards, a normal-sized test set is used to test the trained coal-rock property recognition model. Step 6: During the cutting operation of the coal wall test block, the real-time collected infrared thermal imaging images are input into the trained coal-rock property recognition network model to output coal-rock property classification results, thereby realizing effective recognition of coal-rock properties under small-sample conditions.
2. The method for identifying coal and rock properties using small-sample infrared thermal imaging based on generative adversarial networks according to claim 1, characterized in that, In A21, the process of using the conditional random field (CRF) to perform post-processing operations on the output of the U-Net reconstruction network is as follows: A Conditional Random Field (CRF) method is used to post-process the image generated by the U-Net reconstruction network, thereby making the boundary region between the target and the background more accurate during generation; assuming... Let N be the number of categories generated from a real image I, and let the probabilities of the generated results be an undirected graph. Image generation essentially takes a real image I as a premise and solves for the conditional probability of each pixel in I belonging to a particular category. According to graph theory, the probabilistic undirected graph corresponding to D satisfies the global Markov property. Based on formula (7), the conditional random field is obtained. ; (7); In the formula, For normalization factor, ,in, It is a univariate potential function that represents the shape, structure, location, color, texture, and gradient information in the image; This is a binary potential function that represents the influence of the relationships between pixels on image generation. , of which each Both are features f extracted from pixels j and k, and are determined by parameters. We get the weighted vector. and These are feature vectors of arbitrary dimensions at pixel positions j and k, respectively. These are the weights of the linear combination terms; ; ,in, and Let be the pixel values of the j-th and k-th pixels, respectively. and Let J and K be the positions of the j-th and k-th pixels in the real image I, respectively. , and All are constants.
3. The method for identifying coal and rock properties based on small-sample infrared thermal imaging using generative adversarial networks according to claim 2, characterized in that, In Step 4, the process of generating high-quality infrared thermal imaging images using the improved WGAN-GP model is as follows: B1: Model Input and Parameter Settings; Using finite infrared thermal imaging images and random noise z as model inputs, set the generator's coefficients respectively. Discriminator coefficient The learning rate of the generator The learning rate of the discriminator Maximum number of iterations for the generator Maximum number of iterations for the discriminator ; B2: Parameter initialization; set the number of iterations N=0, and the intermediate feature F=0; B3: Adaptive feature fusion; The fusion mechanism is used to perform adaptive superposition of the random noise z and the intermediate feature F, and the specific process is as follows: B31: First, a feature encoder is used to extract feature information from the limited infrared thermal imaging images, and the feature information is input into the U-Net reconstruction network. Then, the U-Net reconstruction network is used to extract the intermediate feature F, which is divided into {F(x) | F(1), F(2), ..., F(n)}; B32: Formula (4) is used to perform feature fusion operations to obtain the output m of the feature fusion mechanism; B33: Update the discriminator's loss function L using formulas (2) and (6) respectively. D The loss function L of the generator G ; B34: If the iteration termination condition is met, output the result; otherwise, repeat B33; B4: Sample generation; The generator network G uses upsampling to restore the fused features to obtain generated samples, and uses the conditional random field (CRF) for post-processing operations; B5: Sample discrimination; The generated samples are output to discriminator D1 and discriminator D2 respectively, and discriminator D1 and discriminator D2 are used to determine whether they are real samples or fake samples; B6: If the model training reaches the maximum number of iterations , Output the infrared thermal image generated by the dual discriminator and adaptive feature fusion WGAN-GP model; otherwise, re-execute B3 until the maximum number of model iterations is met.
4. The method for identifying coal and rock properties using small-sample infrared thermal imaging based on generative adversarial networks according to claim 3, characterized in that, In Step 5, the classifier structure of the coal-rock property recognition network model includes 2 two-dimensional convolutional layers, 1 max pooling layer, and 2 output classification layers. The activation function is ReLu6, the optimizer is Adam, the batch-size is 2, and the epochs are 100.
