Intelligent mining system and method for coal mine rock formations integrating spectrum and adaptive vision

By integrating spectrum and adaptive vision, the intelligent mining system for coal mine rock formations, combined with the deep learning image segmentation algorithm, detects coal and rock formations in real time and adjusts the cutting height of the shearer, solving the problems of insufficient coal and rock identification accuracy and speed in the existing technology, and improving It improves mining efficiency and safety and reduces gangue content.

CN118442057BActive Publication Date: 2024-09-27ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410908068.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-09-27
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

Existing coal and rock identification technology has deficiencies in identification accuracy, operating speed, and ability to adapt to harsh environments, resulting in low coal mining efficiency, poor safety, and increased gangue problems.

Method used

An intelligent mining system for coal mine strata using integrated spectrum and adaptive vision, combined with a deep learning image segmentation algorithm, detects coal strata in real time through infrared cameras and spectral receivers, adjusts the cutting height of the shearer, and achieves fast, stable, and high-precision particle positioning. detection.

Benefits of technology

It improves the accuracy and speed of coal and rock formation identification, reduces the wear rate of shearer blades and the gangue content in coal mining, and enhances the safety and efficiency of the mining process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118442057B
    Figure CN118442057B
Patent Text Reader

Abstract

The present invention discloses an intelligent mining system and method for coal mine rock strata that integrates spectrum and adaptive vision. By fusing infrared camera scanning and adaptive angle measurement spectrometer signals on the fully mechanized mining system, the coal and rock strata of the working face are identified in real time during the mining process of the coal mining machine, and the mining height of the coal mining machine is controlled in real time according to the identification results; infrared camera rapid scanning is used to achieve rapid suspected area positioning, and the high-precision identification and post-sampling spectral data of the optimal reflectivity of the spectrometer are obtained through adaptive optical optical path adjustment, and the high-precision coal-rock boundary judgment is performed in combination with the model deep learning image segmentation algorithm. The present invention can have both high speed and reliability, which is conducive to avoiding the mining of ore-rock interlayers during the mining process, reducing the wear rate of the coal mining machine cutter head, and reducing the gangue content in coal mining.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of machine vision and automated mining, and in particular relates to a coal mine rock stratum intelligent mining system and method integrating spectrum and adaptive vision. Background Art

[0002] Coal and rock identification technology is one of the key technologies to realize unmanned and intelligent mining in coal mines, especially in the complex and ever-changing mining environment underground. Accurate coal and rock identification can not only improve the efficiency and safety of coal collection, but also significantly reduce equipment failures and improve coal quality. At present, the main challenges facing this technology are to improve the recognition accuracy, operation speed and ability to adapt to harsh environments, and breakthroughs in technological innovation and practical applications are still needed.

[0003] At present, due to the large fluctuations in the boundary line of natural coal and rock layers and the small difference in the color of coal and rock layers, the rocks are cut and mixed into the coal by the roller at the same time. This phenomenon is also one of the main factors leading to the increase of gangue in the mined coal raw stone. Coal and rock identification technology is an unresolved technical problem in the field of international coal mining. Existing coal and rock identification technologies such as electromagnetic wave detection method and vibration detection method still have many problems to be solved in terms of identification accuracy, environmental applicability, and acquisition speed. Due to the large height range of the coal mining working face, the morphology and color of coal and rock are relatively similar. The thermal imaging detection method is fast, but the detection accuracy is not high. The method of spectral information detection is more accurate, but the detection point is not smooth, and the spectral information brought by different incident angles and reflection angles is very different, resulting in low recognition stability. Since the current detection method still has many problems and has not yet been implemented in practical applications, exploring and developing efficient coal and rock identification control technology is an important direction for improving coal mine safety production. Summary of the invention

[0004] In order to solve the problems existing in the background technology, the present invention provides a method for realizing coal and rock layer recognition based on integrated spectrum and adaptive vision and through deep learning image segmentation algorithm, and accurately controlling the cutting height of the coal mining machine according to the recognition result to avoid the coal mining machine cutting into the rock layer. The present invention can realize coal and rock layer detection and adjust the cutting height of the coal mining machine in real time during the coal mining machine cutting operation in the fully mechanized working face, and realize fast, stable and high-precision particle position detection.

[0005] The technical solution adopted by the present invention is as follows:

[0006] 1. An intelligent mining system for coal mine rock formations integrating spectrum and adaptive vision:

[0007] The system includes a coal mining machine, a lifting electric cylinder and an integrated spectral adaptive vision module. The integrated spectral adaptive vision module is installed on the coal mining machine through the lifting electric cylinder and can be lifted and lowered by the hydraulic pressure of the lifting electric cylinder. The integrated spectral adaptive vision module includes a fixed base plate, a swing mechanism around the X-axis, a rotation mechanism around the Z-axis, a slide rail fixing plate, an arc-shaped rack slide rail, a spectrum receiver, an infrared camera, and a halogen tungsten lamp. The fixed base plate is fixed to the upper end of the lifting electric cylinder, and the arc-shaped rack slide rail can be installed on the fixed base plate in a pitching and horizontally rotatable manner through a swing mechanism around the X-axis and a rotation mechanism around the Z-axis, and the arc-shaped rack slide rail is installed with a spectrum receiver, an infrared camera and a halogen tungsten lamp.

[0008] An infrared camera is fixedly installed in the middle of the arc-shaped rack slide rail, and a spectrum receiver and a halogen tungsten lamp are arranged on both sides of the infrared camera. The spectrum receiver and the halogen tungsten lamp can be slidably installed on the arc-shaped rack slide rail along the arc-shaped rack slide rail.

[0009] The arc-shaped rack slide rail is arc-shaped, and the concave side is arranged upward.

[0010] The first sliding plate and the second sliding plate are respectively installed on the arc track of the arc-shaped rack slide rail on both sides of the infrared camera, and the first sliding plate and the second sliding plate can slide in an arc along the arc track of the arc-shaped rack slide rail; the first sliding plate is installed with a spectrum receiver and a first motor with a reducer, and the output shaft of the first motor with a reducer is installed with a first gear, and the first gear is meshed with the rack on the arc-shaped rack slide rail; the second sliding plate is installed with a halogen tungsten lamp and a second motor with a reducer, and the output shaft of the second motor with a reducer is installed with a second gear, and the second gear is meshed with the rack on the arc-shaped rack slide rail.

[0011] 2. A real-time mining positioning method for coal mine rock formations integrating spectrum and adaptive vision:

[0012] The coal mining machine's coal mining cutter head cuts and mines the coal mine rock layer. During mining, the lifting electric cylinder and the integrated spectral adaptive visual module cooperate to perform real-time detection:

[0013] During real-time detection, the integrated spectral adaptive vision module is driven by the lifting electric cylinder to rise and fall to a height position where the infrared camera is parallel to the coal mining face where the coal mining cutter head mines the coal strata, so that the infrared camera is horizontally facing the cutting part of the coal mining face, ensuring the best optical reflectivity and thus achieving the best detection effect.

[0014] First, an infrared camera is used to capture images of the coal mining face, and real-time image analysis and processing are performed to obtain a preliminary judgment of the suspected rock layer area. Then, when the suspected rock layer area is determined, the spectral receiver and halogen tungsten lamp are started, and the spectral receiver and halogen tungsten lamp are used to move and detect together to obtain the boundary position between the coal seam and the rock layer.

[0015] When there is a rock layer on the coal mining face, due to the temperature conduction difference generated by the coal mining machine operation, the temperature difference is analyzed through the image taken by the infrared camera to obtain the suspected rock layer area, and the height and direction of the infrared camera are adjusted;

[0016] After determining the suspected rock layer area, adjust the direction of the halogen tungsten lamp irradiation and the spectrum receiver so that they are in a specific position for subsequent real-time data collection. This can avoid the reflection characteristic differences of the spectrometer receiver due to the differences in the spectrum detection angles, ensure the consistency of the spectrum reception signal, and thus improve the accuracy of the spectrum detection data.

[0017] A halogen tungsten lamp is then used to illuminate the suspected rock layer area to produce diffuse reflection, and a spectral receiver is used to receive the full-band spectral signal image reflected after the halogen tungsten lamp is illuminated in the suspected rock layer area to complete the collection, and the full-band spectral signal image is analyzed and processed to locate the boundary between the coal seam and the rock layer.

[0018] In this case, the infrared camera quickly detects the temperature of the coal mining face of the coal mining machine's coal mining cutter head. When a specific temperature change is detected, the spectral receiver is used to perform a secondary point-by-point scan and judgment of the suspected rock layer area. Combined with the deep learning image segmentation algorithm, it can have both high speed and reliability, which is conducive to avoiding the mining of the ore-rock interlayer during the mining process, reducing the wear rate of the coal mining machine head, reducing the gangue content in coal mining, and determining the boundary between the coal mine layer and the rock layer. At the same time, the spatial state of the coal mining machine is synchronously measured by the inertial navigation data and the odometer, which further promotes the coal mining machine to cut until it is completed in one cut.

[0019] The wavelengths of the full-band spectrum signal graph cover all wavelengths of visible light.

[0020] When the coal mining machine's coal cutting head mines the coal mine rock layer, the coal mining machine's coal cutting head generally mines and cuts from the coal layer to the rock layer from bottom to top. The infrared image captured by the infrared camera in real time is processed in the following way to analyze the temperature difference and obtain the suspected rock layer area:

[0021] Real-time judgment is performed on each pixel point in the infrared images of two adjacent frames in the time series. The pixel values ​​of the same pixel point in the infrared images of two adjacent frames are subtracted. If the difference is greater than the preset difference threshold, the coal mining face position corresponding to the pixel point is considered to be the suspected boundary position between the coal seam and the rock layer.

[0022] When a frame of infrared image obtained in real time has pixels at the suspected boundary position between the coal seam and the rock layer compared with the previous frame of infrared image, a pixel-by-pixel traversal search is performed on the grayscale difference map of each frame of infrared image obtained in real time compared with the previous frame of infrared image, and the pixel point whose grayscale difference exceeds the preset threshold is taken as the temperature difference change point. The temperature anomaly point is on the coal mining cutter head of the coal mining machine. The position at the same image height with a set distance from the temperature anomaly point is taken as the coal mine rock layer position, and the preset width range is widened horizontally and vertically to establish a suspected rock layer area, and the height and direction of the infrared camera are adjusted by the lifting electric cylinder, the swing mechanism around the X-axis and the rotation mechanism around the Z-axis, so that the center of the infrared image taken by the infrared camera coincides with the center of the connected domain.

[0023] The present invention utilizes the difference in physical properties between rock and coal seams during coal mining, resulting in different forces when cutting rock and coal, and thus significantly different temperatures. The infrared camera is used to achieve high-speed, large-area preliminary rock layer judgment on the working face, and determine the suspected coal-rock stratification area. Then, an adaptive visual angle variable mechanism and algorithm are used to ensure the best optical reflectivity and thus achieve the best detection effect.

[0024] The halogen tungsten lamp and the spectrum receiver move along the arc-shaped rack slide rail to their respective positions for irradiation and reception. The relative reflectivity is obtained by analyzing and processing the full-band spectrum signal graph obtained by the spectrum receiver each time. The maximum relative reflectivity obtained from all the times is taken as the optimal relative reflectivity. The positions of the halogen tungsten lamp and the spectrum receiver corresponding to the optimal relative reflectivity are taken as the fixed specific positions for the subsequent collection work of the halogen tungsten lamp and the spectrum receiver. The halogen tungsten lamp is used for irradiation and the spectrum receiver is used for receiving and collecting to obtain the full-band spectrum signal graph of the coal mining face.

[0025] The fixed specific positions of the halogen tungsten lamp and the spectrum receiver for subsequent collection work are specifically determined by the following steps:

[0026] S1. First, adjust the height and direction of the infrared camera so that the center of the infrared image captured by the infrared camera coincides with the center of the connected domain;

[0027] Then the halogen tungsten lamp and the spectrum receiver are driven to move along the arc-shaped rack slide rail to the positions close to the two sides of the infrared camera. After being irradiated by the halogen tungsten lamp, the spectrum receiver receives the full-band spectrum signal graph, and the light intensity is extracted according to the full-band spectrum signal graph as the detection relative light intensity;

[0028] S2. First, the second motor with a reducer drives the halogen tungsten lamp to move step by step on the arc-shaped rack slide rail to adjust the position so that the spectral spatial optical incident angle β is adjusted;

[0029] Then, each time the halogen tungsten lamp is moved and fixed on the arc-shaped rack slide rail, the spectrum receiver is driven by the first motor with a reducer to step and move on the arc-shaped rack slide rail to adjust the position, so that the optical reflection angle α of the spectrum space is adjusted;

[0030] After the spectrum receiver moves and adjusts its position, a full-band spectrum signal graph is received and obtained, and the light intensity is extracted according to the full-band spectrum signal graph as the total detected light intensity;

[0031] S3. Obtain the relative reflectivity according to the following formula:

[0032] R ref = I(λ,d,θ in-out ,α,β) / I(λ,d,θ in-out ,α,0)

[0033] Among them, R ref is the detection relative reflectivity, I is the detection light intensity function, λ is the wavelength of the detection light emitted by the halogen tungsten lamp, d is the distance from the detection point of the halogen tungsten lamp to the spectrum receiver, θ in-out is the elevation angle of the spectrum receiver relative to the halogen tungsten lamp, α and β represent the optical reflection angle and incident angle of the spectrum space, respectively;

[0034] S4. Select the largest relative reflectivity from all the relative reflectivities obtained as the best relative reflectivity, and use the positions of the halogen tungsten lamp and the spectrum receiver on the arc-shaped rack slide rail corresponding to the best relative reflectivity as the specific positions of the halogen tungsten lamp and the spectrum receiver for subsequent data collection work.

[0035] After the halogen tungsten lamp is irradiated and the spectral receiver is in a specific position, the halogen tungsten lamp is used to illuminate a point in the suspected rock layer area as a detection point, and the detection point is moved along a straight line scan from bottom to top. The spectral receiver is used to receive the full-band spectral signal image reflected from the detection point, and then the full-band spectral signal image is input into the deep learning image segmentation model for analysis and processing to obtain the height position of the boundary between the coal seam and the rock layer in the image; subsequently, the height position of the boundary between the coal seam and the rock layer is calculated based on the above results as the boundary position between the coal seam and the rock layer.

[0036] The deep learning image segmentation model includes an encoder, a decoder and a novel excitation selector. The excitation selector is arranged and connected between the encoder and the decoder, so that the output of the encoder is input into the decoder after being processed by the excitation selector.

[0037] The excitation selector includes two excitation modules and a region selection convolution module. The region selection convolution module is mainly composed of two sub-modules of a convolution attention module and a YL multi-layer perceptron module. The two sub-modules of the convolution attention module and the YL multi-layer perceptron module are arranged in parallel. The encoder outputs a coding feature map. The code feature map passes through the excitation module and then is respectively input into the convolution attention module and the YL multi-layer perceptron module to obtain their respective feature maps, which are then fused through channel mixing to obtain a fused feature map. The fused feature map is convolved with a standard convolution layer connection, and the output obtained by the convolution is added to the coding feature map output by the encoder, and then the output of the excitation selector is obtained through an excitation module.

[0038] The encoder is mainly composed of a plurality of convolutional encoder modules with decreasing channel numbers connected in sequence, each convolutional encoder module is composed of two convolutional encoders connected in sequence, and each convolutional encoder is composed of a convolution operation, layer normalization, and an activation function connected in sequence; the decoder is mainly composed of a plurality of convolutional decoder modules with decreasing channel numbers connected in sequence, each convolutional decoder module is composed of two convolutional decoders connected in sequence, and each convolutional decoder is composed of a convolution operation, layer normalization, and an activation function connected in sequence;

[0039] The number of convolutional encoder modules in the encoder is the same as the number of convolutional decoder modules in the decoder, both of which are N. The output of the nth convolutional encoder module in the encoder is connected to the input of the N+1-nth convolutional decoder module in the decoder. At the same time, the output of the last Nth convolutional encoder module in the encoder is connected to the input of the first convolutional decoder module in the decoder via an excitation selector, that is, the last Nth convolutional encoder module in the encoder outputs a coding feature map, which is processed by the excitation selector and input into the first convolutional decoder module in the decoder.

[0040] The improved model structure of the present invention is particularly suitable for the segmentation of longwall coal mine images, in which an excitation selector is added to enable it to better capture and process the features of longwall coal mine images. The encoder performs downsampling to extract the features of the image and gradually reduce the spatial size; the decoder performs upsampling, including a convolution layer, gradually restores the spatial size of the image, and combines jump connections to refine the features; the excitation selector adds a specific convolution module between the encoder and the decoder to process the features of the coal mine image.

[0041] The convolutional attention module includes channel attention processing and spatial attention processing; in the channel attention processing, each channel in the feature map of the input channel attention processing is processed by the global average pooling layer and the global maximum pooling layer respectively, and then processed by a two-layer perceptron to obtain respective feature vectors, and the two feature vectors are accumulated and then processed by the activation function, and finally multiplied with the feature map of the input channel attention processing to obtain the channel attention feature;

[0042] In the channel attention processing, each channel in the feature map of the input channel attention processing is processed by the global average pooling layer and the global maximum pooling layer, and then processed by a two-layer perceptron to obtain their own feature vectors. The two feature vectors are accumulated and then processed by the activation function, and finally multiplied with the feature map of the input channel attention processing to obtain the channel attention feature map, which is specifically expressed as:

[0043] M c (F)=σ(W1(W0(F c avg ))+ W1(W0(F c max )))×F

[0044] Among them, M c (F) represents the channel attention feature map, F represents the feature map of input channel attention processing, F c avg 、F c max They represent the results of channel c in the feature map after being processed by the global average pooling layer and the global maximum pooling layer, respectively. W0 and W1 represent the front and back two layers of the multi-layer perceptron in the channel attention processing, respectively. × represents the multiplication operation, and σ represents the sigmoid function.

[0045] In the spatial attention processing, the channel attention feature map M s Each channel in (F) is processed by the global average pooling layer and the global maximum pooling layer respectively, and then connected, and then a convolution operation is performed to obtain the feature vector, which is processed by the activation function and finally combined with the channel attention feature map M. s (F) is multiplied to obtain the spatial attention feature, which is specifically expressed as:

[0046] M s (F')=σ(f 5*5 ([F ’s avg ; F ’s max ])) × M s (F)

[0047] Among them, M s (F') represents the spatial attention feature map, f 5*5 Indicates a convolution operation with a convolution kernel of 5*5, F ’s avg 、F ’s max They respectively represent the results of the space s in the feature map after being processed by the global average pooling layer and the global maximum pooling layer.

[0048] The YL multilayer perceptron module specifically includes: firstly, extracting the feature map input to the YL multilayer perceptron module through an additive mask, performing convolution processing on the extracted feature map to obtain a convolution feature map, then dividing the convolution feature map into M regions, obtaining regional features of each region through average pooling, inputting all regional features into a two-layer perceptron for processing, and finally performing layer normalization processing to obtain the output of the YL multilayer perceptron module, which is specifically expressed as:

[0049] MLP YL (F)=LN(W'1(W'0(F YL )))

[0050] Among them, F YL represents a set of regional features, W'0 and W'1 represent the front and back two layers of the multilayer perceptron in the YL multilayer perceptron module, LN represents layer normalization, MLP YL (F) represents the output of the YL multi-layer perceptron module.

[0051] Finally, the method uses the coal and rock stratum recognition results of the detection point in the full-band spectral signal and the position of the detection point in the connected domain of the infrared image, and then combines the height of the lifting electric cylinder, the height of the coal mining machine, the distance between the infrared camera and the detection point, the X-axis swing mechanism and the rotation angle of the Z-axis rotation mechanism to convert the spatial coordinates and calculate the actual height position of the boundary between the coal seam and the rock stratum, and then controls the coal mining cutter head of the coal mining machine to stop mining and cutting when it reaches the boundary between the coal seam and the rock stratum.

[0052] The present invention takes into account that the difference between the incident angle and the reflection angle will greatly affect the detection accuracy. The detection accuracy is ensured by an adaptive visual angle variable mechanism and algorithm. A point-by-point scanning method is used to scan the suspected coal-rock stratification area after the detection range is narrowed. The coal-rock separation position is accurately determined through a model deep learning image segmentation algorithm to ensure the accuracy, efficiency and operational safety of coal-rock judgment, thereby achieving high accuracy in the judgment of coal and rock strata.

[0053] The present invention integrates infrared camera scanning and adaptive angle measurement spectrometer signals on the fully mechanized mining system to identify coal and rock layers on the working face in real time during the mining process of the coal mining machine, and controls the mining height of the coal mining machine in real time according to the identification results.

[0054] The present invention uses an infrared camera to quickly scan and realize rapid positioning of suspected areas, obtains high-precision identification and post-sampling spectral data of the optimal reflectivity of the spectrometer through adaptive optical light path adjustment, and combines the model deep learning image segmentation algorithm to perform high-precision coal-rock boundary judgment. It can have both high speed and reliability, which is beneficial to avoid the exploitation of ore-rock interlayers during the mining process, reduce the wear rate of the coal mining machine cutter head, and reduce the gangue content in coal mining.

[0055] The beneficial effects of the present invention are:

[0056] The present invention combines the technical advantages of high speed and large range of infrared cameras with the small range and high precision of spectral analysis technology, and combines the adaptive visual angle variable mechanism and algorithm and the model deep learning image segmentation algorithm to ensure the precision and accuracy of detection, and realizes real-time judgment of coal and rock layers during the operation of the coal mining machine and adjusts the cutting height of the coal mining machine, which is beneficial to avoid the mining of ore and rock interlayers during the mining process, reduce the wear rate of the coal mining machine cutter head, and reduce the gangue content in coal mining. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a structural schematic diagram of the system of the present invention;

[0058] Figure 2 This is a schematic diagram of the structure of the integrated spectral intelligent vision module in the system of the present invention;

[0059] Figure 3 This is the overall framework diagram of the deep learning system of the present invention;

[0060] Figure 4 The following is a work flow chart of the intelligent mining method of the present invention;

[0061] Figure 5 Schematic diagram of the additive mask in the YL multi-layer perceptron module;

[0062] Figure 6 Flow chart of the method of the present invention.

[0063] In the figure: coal mining machine (S1), lifting electric cylinder (S2), integrated spectral adaptive vision module (S3), fixed bottom plate (S4), swing mechanism around X axis (S5), rotation mechanism around Z axis (S6), slide rail fixing plate (S7), arc-shaped rack slide rail (S8), first sliding plate (S9), spectrum receiver (S10), first motor with reducer (S11), first gear (S12), infrared camera (S13), second sliding plate (S14), halogen tungsten lamp (S15), second motor with reducer (S16), second gear (S17). DETAILED DESCRIPTION

[0064] The present invention is further described below with reference to the accompanying drawings.

[0065] like Figure 1 As shown, it includes a coal mining machine S1, a lifting electric cylinder S2 and an integrated spectral adaptive vision module S3. The integrated spectral adaptive vision module S3 is installed on the coal mining machine S1 through two lifting electric cylinders S2 and can be driven by the hydraulic pressure of the lifting electric cylinders S2 to move up and down.

[0066] Specifically, the two lifting electric cylinders S2 are arranged vertically and in parallel, the lower ends of the two lifting electric cylinders S2 are fixed to the top of the coal mining machine S1, and the integrated spectrum adaptive vision module S3 is rigidly fixed to the cylinder rods at the upper ends of the two lifting electric cylinders S2, and can move up and down with the lifting electric cylinders S2. There is also a coal mining cutter head on the coal mining machine S1. While the coal mining cutter head is digging coal, the lifting electric cylinder S2 drives the integrated spectrum adaptive vision module S3 to rise and fall to a suitable height for real-time mining detection.

[0067] like Figure 2 As shown, the integrated spectral adaptive vision module S3 includes a fixed base plate S4, an X-axis swing mechanism S5, a Z-axis rotation mechanism S6, a slide rail fixing plate S7, an arc-shaped rack slide rail S8, a first sliding plate S9, a spectrum receiver S10, a first motor with a reducer S11, a first gear S12, an infrared camera S13, a second sliding plate S14, a halogen tungsten lamp S15, a second motor with a reducer S16, and a second gear S17; the fixed base plate S4 is rigidly fixed to the upper ends of the two lifting cylinders S2, and the arc-shaped rack slide rail S8 is installed on the fixed base plate S4 so as to be pitch-rotatable and horizontally rotatable toward the front through the X-axis swing mechanism S5 and the Z-axis rotation mechanism S6, and the spectrum receiver S10, the infrared camera S13 and the halogen tungsten lamp S15 are installed on the arc-shaped rack slide rail S8.

[0068] Specifically, the base portion of the X-axis swing mechanism S5 is installed on the fixed base plate S4, the base portion of the Z-axis rotation mechanism S6 is installed on the rotating portion of the X-axis swing mechanism S5, and the rotating portion of the Z-axis rotation mechanism S6 is fixedly installed with an arc-shaped rack slide rail S8. In a specific implementation, the middle portion of the arc-shaped rack slide rail S8 is fixed on the rotating portion of the Z-axis rotation mechanism S6.

[0069] The arc-shaped rack slide rail S8 and the rotation mechanism S6 around the Z axis are driven by the swing mechanism S5 around the X axis to pitch toward the front of the coal mining machine S1 as a whole. The X axis is horizontal and perpendicular to the pitch direction, that is, it is arranged along the left and right directions; the arc-shaped rack slide rail S8 is driven by the rotation mechanism S6 around the Z axis to rotate horizontally, and the Z axis is arranged along the vertical direction, that is, along the up and down directions; the Y axis is along the front and back direction, perpendicular to the X axis and the Z axis.

[0070] Therefore, through the lifting electric cylinder S2, the swinging mechanism S5 around the X-axis and the rotating mechanism S6 around the Z-axis, the infrared camera S13, the spectrum receiver S10 and the halogen tungsten lamp S15 can realize large-scale adaptive scanning and detection on the coal surface, ensuring adaptive visual angle adjustment in space.

[0071] An infrared camera S13 is fixedly installed in the middle of the arc-shaped rack slide rail S8, and a spectrum receiver S10 and a halogen tungsten lamp S15 are arranged on both sides of the infrared camera S13. The spectrum receiver S10 and the halogen tungsten lamp S15 can be slidably installed on the arc-shaped rack slide rail S8 along the arc-shaped rack slide rail S8.

[0072] In a specific implementation, the arc-shaped rack slide rail S8 is arc-shaped, with the concave side facing upward.

[0073] The first sliding plate S9 and the second sliding plate S14 are respectively installed on the arc track of the arc-shaped rack rail S8 on both sides of the infrared camera S13, and the first sliding plate S9 and the second sliding plate S14 can slide in an arc along the arc track of the arc-shaped rack rail S8; the first sliding plate S9 is installed with a spectrum receiver S10 and a first motor with a reducer S11, and the output shaft of the first motor with a reducer S11 is installed with a first gear S12, and the first gear S12 is meshed with the rack on the arc-shaped rack rail S8, and the first gear S12 is driven by the first motor with a reducer S11 to rotate and rotates through the gear The rack and pinion transmission pair drives the first sliding plate S9 and the spectrum receiver S10 thereon to rotate in an arc along the arc-shaped rack slide rail S8; the second sliding plate S14 is equipped with a halogen tungsten lamp S15 and a second motor with a reducer S16, and the output shaft of the second motor with a reducer S16 is equipped with a second gear S17, and the second gear S17 is meshed with the rack on the arc-shaped rack slide rail S8, and the second gear S17 is driven by the second motor with a reducer S16 to rotate and drive the second sliding plate S14 and the halogen tungsten lamp S15 thereon to rotate in an arc along the arc-shaped rack slide rail S8 through the rack and pinion transmission pair.

[0074] like Figure 6 As shown, the specific implementation process of the present invention is as follows:

[0075] Step 1

[0076] After the coal mining machine systems are initialized, the coal mining machine starts to cut the coal mining face and uses the infrared camera S13 to photograph the coal mining face. When there is a rock layer on the coal mining face, due to the temperature conduction difference generated when the coal mining machine S1 is operating, the suspected rock layer and coal face area can be photographed by the infrared camera S13 to determine the suspected rock layer area.

[0077] First, the height and direction of the infrared camera S13 can be adjusted by the lifting electric cylinder S2, the X-axis swing mechanism S5 and the Z-axis rotation mechanism S6, so that the infrared camera S13 faces the cutting part of the coal mining face, and the lifting electric cylinder S2 and the integrated spectral adaptive vision module S3 are adjusted to ensure the best optical relative reflectivity by the infrared camera S13 to achieve the best detection effect.

[0078] When the coal mining machine's coal cutting head mines the coal mine rock layer, the coal mining machine's coal cutting head generally mines and cuts from the coal layer to the rock layer from the bottom to the top. The infrared image captured by the infrared camera S13 in real time is processed in the following way to analyze the temperature difference and obtain the suspected rock layer area:

[0079] Real-time judgment is performed on each pixel point in the infrared images of two adjacent frames in the time series. The pixel values ​​of the same pixel point in the infrared images of two adjacent frames are subtracted. If the difference is greater than the preset difference threshold, the coal mining face position corresponding to the pixel point is considered to be the suspected boundary position between the coal seam and the rock layer.

[0080] When a frame of infrared image obtained in real time contains pixels at the suspected boundary position between the coal seam and the rock layer compared with the previous frame of infrared image, the grayscale difference map of the frame of infrared image obtained in real time compared with the previous frame of infrared image is searched pixel by pixel, and the point where the grayscale difference exceeds the set threshold is taken as the temperature difference point. Usually, the temperature anomaly point is on the coal mining cutter head of the coal mining machine. The coal mine rock layer position at the same height at the set distance from the temperature anomaly point is taken, and the set range is widened to obtain the connected domain. Then, a suspected rock layer area is established with the center of the connected domain as the center, and the height and direction of the infrared camera S13 are adjusted by the lifting electric cylinder S2, the swing mechanism S5 around the X-axis and the rotation mechanism S6 around the Z-axis, so that the center of the infrared image taken by the infrared camera S13 coincides with the center of the connected domain.

[0081] Step 2

[0082] Start the halogen tungsten lamp S15 to scan point by point along any vertical line from bottom to top in the suspected rock layer area, use the spectrum receiver S10 to receive the spectrum of the halogen tungsten lamp S15, adjust the incident angle β and the reflection angle α to the reference angle of 0 degrees, adjust the swing mechanism S5 around the X-axis and the rotation mechanism S6 around the Z-axis to obtain the pitch angle of the spectrum receiver relative to the halogen tungsten lamp with the strongest light intensity.

[0083] More specifically, the following steps are used:

[0084] First, the height and direction of the infrared camera S13 are adjusted by the lifting electric cylinder S2, the swing mechanism S5 around the X axis and the rotation mechanism S6 around the Z axis, so that the center of the infrared image captured by the infrared camera S13 coincides with the center of the connected domain, and the infrared camera S13 faces the cutting part of the coal mining face;

[0085] Then, the halogen tungsten lamp S15 and the spectrum receiver S10 are driven by the second motor with speed reducer S16 and the first motor with speed reducer S11 respectively to move along the arc-shaped rack rail S8 to the positions close to the two sides of the infrared camera S13, so that the spectral space optical incident angle β and the spectral space optical reflection angle α are close to zero or 0, which can be about 0±5 degrees. After being irradiated by the halogen tungsten lamp S15, the spectrum receiver S10 receives the full-band spectrum signal map, and extracts the light intensity according to the full-band spectrum signal map as the detection relative light intensity I(λ,d,θ in-out ,α,β).

[0086] The point on the coal mining surface illuminated by the halogen tungsten lamp S15 is used as the detection point.

[0087] Step 3

[0088] Then continue to adjust the X-axis swing mechanism S5 and the Z-axis rotation mechanism S6 to obtain the pitch angle of the spectrum receiver with the strongest light intensity relative to the halogen tungsten lamp. Traverse the incident angle β and the reflection angle α to obtain the maximum value of the relative reflectivity and sample the spectrum information. Adaptive search to obtain the spectrum information at the best relative reflectivity.

[0089] Specifically, the spectral spatial optical incident β is adjusted by controlling the second motor S16 with a speed reducer to adjust the position of the second sliding plate S14 on the arc-shaped rack rail S8, and the spectral spatial optical reflection angle α is adjusted by controlling the first motor S11 with a speed reducer to adjust the position of the first sliding plate S9 on the arc-shaped rack rail S8. By first fixing the incident angle β and then traversing the reflection angle α, the spectral information at the optimal reflectivity is adaptively searched according to the sampled spectral signal.

[0090] More specifically, the following steps are used:

[0091] First, the second sliding plate S14 and the halogen tungsten lamp S15 are driven by the second motor S16 with a reducer to step and move on the arc-shaped rack slide rail S8 to adjust their positions, so that the spectral spatial optical incident angle β is adjusted; the spectral spatial optical incident angle β is the angle between the line connecting the halogen tungsten lamp S15 to the cutting point of the coal mining face and the line connecting the infrared camera S13 to the cutting point of the coal mining face.

[0092] Then, each time after the halogen tungsten lamp S15 is moved and fixed on the arc-shaped rack slide rail S8, the first motor with reducer S11 drives the first sliding plate S9 and the spectrum receiver S10 to step and move on the arc-shaped rack slide rail S8 to adjust their positions, so that the spectral space optical reflection angle α is adjusted; the spectral space optical reflection angle α is the angle between the line connecting the spectral receiver S10 to the cutting point of the coal mining face and the line connecting the infrared camera S13 to the cutting point of the coal mining face.

[0093] After the spectrum receiver S10 moves and adjusts its position, it receives and obtains the full-band spectrum signal graph, and extracts the light intensity according to the full-band spectrum signal graph as the total light intensity I(λ, d, θ in-out ,0,0); each position of the halogen tungsten lamp S15 and each position of the spectrum receiver S10 constitutes one measurement.

[0094] Therefore, the optimal reflectivity is determined by first fixing the incident angle β and then traversing the reflection angle α according to the sampled spectral signal and adaptively searching, analyzing and calculating.

[0095] Next, the relative reflectivity is obtained according to the following formula:

[0096] R ref = I(λ,d,θ in-out ,α,β) / I(λ,d,θ in-out ,α,0)

[0097] Among them, R ref is the detection relative reflectivity at the detection point, I is the detection light intensity function at the detection point, I ref is the relative light intensity at the detection point, λ is the wavelength of the detection light emitted by the halogen tungsten lamp S15, d is the distance from the detection point of the halogen tungsten lamp S15 to the spectrum receiver S10, θ in-out is the pitch angle of the spectrum receiver S10 relative to the halogen tungsten lamp S15; the point on the coal mining surface irradiated by the halogen tungsten lamp S15 is the detection point.

[0098] The present invention has found in experiments that for the same detection point, when incident and reflected in different directions, the received full-band spectral signal graph will have a large spectral intensity difference problem. Therefore, the detection light intensity when the incident angle and the reflection angle are 0 degrees is used as the relative light intensity, and the real-time obtained light intensity is compared with the relative light intensity to calculate the relative reflectivity value for correction to reduce errors.

[0099] Finally, the largest relative reflectivity is selected from all the relative reflectivities obtained as the optimal relative reflectivity, and the positions of the halogen tungsten lamp S15 and the spectrum receiver S10 corresponding to the optimal relative reflectivity on the arc-shaped rack slide rail S8 are used as the fixed specific positions for the subsequent data collection work of the halogen tungsten lamp S15 and the spectrum receiver S10. Subsequently, the halogen tungsten lamp S15 is used for irradiation and the spectrum receiver S10 is used for receiving and collecting to obtain the full-band spectral signal diagram of the coal mining face.

[0100] Therefore, the spectral receiver S10 and the halogen tungsten lamp S15 are driven by the first motor with reducer S11 and the second motor with reducer S16 to achieve large-angle adaptive adjustment within the range of ±30°, and perform analysis and judgment, thereby being able to achieve a more accurate judgment on whether it is truly a rock layer.

[0101] Step 4

[0102] After the halogen tungsten lamp S15 is irradiated and the spectrum receiver S10 is in a specific position, the halogen tungsten lamp S15 is used to illuminate a point in the suspected rock layer area as a detection point, and the detection point is moved along a straight line scan from bottom to top, and the spectrum receiver S10 is used to receive the full-band spectrum signal image reflected from the detection point. The full-band spectrum signal image is then input into the deep learning image segmentation model for analysis and processing to obtain the height position of the boundary between the coal seam and the rock layer in the image; subsequently, the height position of the boundary between the coal seam and the rock layer is converted and calculated according to the above results as the boundary position between the coal seam and the rock layer.

[0103] In the specific implementation, the coal-rock image is preprocessed and then input into the deep learning image segmentation model, including normalization and data enhancement. The size of the input image is set to 512*512*3 and the size of the output single-channel segmented image is set to 512*512*1. The deep learning image segmentation model outputs the category of coal or rock at the corresponding position of each pixel point, and finds the boundary of the category of coal or rock along the vertical direction as the boundary between the coal seam and the rock seam.

[0104] Model construction Figure 4 As shown, the deep learning image segmentation model includes an encoder, a decoder and a novel excitation selector, and the excitation selector is set and connected between the encoder and the decoder, so that the output of the encoder is processed by the excitation selector and then input into the decoder;

[0105] The encoder is mainly composed of a plurality of convolutional encoder modules with decreasing number of channels connected in sequence, each convolutional encoder module is composed of two convolutional encoders connected in sequence, and each convolutional encoder is composed of convolution operation, layer normalization, and activation function connected in sequence; the decoder is mainly composed of a plurality of convolutional decoder modules with decreasing number of channels connected in sequence, each convolutional decoder module is composed of two convolutional decoders connected in sequence, and each convolutional decoder is composed of convolution operation, layer normalization, and activation function connected in sequence;

[0106] The number of convolutional encoder modules in the encoder is the same as the number of convolutional decoder modules in the decoder, both of which are N. The output of the nth convolutional encoder module in the encoder is connected to the input of the N+1-nth convolutional decoder module in the decoder. At the same time, the output of the last Nth convolutional encoder module in the encoder is connected to the input of the first convolutional decoder module in the decoder via an excitation selector, that is, the last Nth convolutional encoder module in the encoder outputs a coding feature map, which is processed by the excitation selector and input into the first convolutional decoder module in the decoder.

[0107] like Figure 4 As shown, in a specific implementation, the number of convolutional encoder modules in the encoder and the number of convolutional decoder modules in the decoder are both 4, the number of channels of the four convolutional encoder modules in the encoder are 64, 128, 256, and 512, respectively, the number of channels of the four convolutional decoder modules in the decoder are 64, 128, 256, and 512, respectively, the output of the first convolutional encoder module in the encoder is connected to the input of the fourth convolutional decoder module in the decoder, the output of the second convolutional encoder module in the encoder is connected to the input of the third convolutional decoder module in the decoder, the output of the third convolutional encoder module in the encoder is connected to the input of the second convolutional decoder module in the decoder, and the output of the fourth convolutional encoder module in the encoder is connected to the input of the first convolutional decoder module in the decoder.

[0108] The excitation selector includes two excitation modules and a region selection convolution module. The region selection convolution module is mainly composed of two sub-modules of the convolution attention module and the YL multi-layer perceptron module. The two sub-modules of the convolution attention module and the YL multi-layer perceptron module are set in parallel. The encoded feature maps output by the encoder are respectively input into the convolution attention module and the YL multi-layer perceptron module to obtain their respective feature maps, and then fused through channel mixing to obtain the fused feature map. The fused feature map is convolved with a standard convolution layer with a convolution kernel of 3*3. The output obtained by the convolution is added to the encoded feature map output by the encoder to obtain the output feature map of the excitation selector.

[0109] The convolutional attention module includes channel attention processing and spatial attention processing. In the channel attention processing, each channel in the feature map of the input channel attention processing is processed by the global average pooling layer and the global maximum pooling layer, and then processed by a two-layer perceptron to obtain their own feature vectors. The two feature vectors are accumulated and processed by the activation function, and finally multiplied with the feature map of the input channel attention processing to obtain the channel attention feature.

[0110] In channel attention processing, each channel in the feature map of the input channel attention processing is processed by the global average pooling layer and the global maximum pooling layer, and then processed by a two-layer perceptron to obtain their own feature vectors. The two feature vectors are accumulated and then processed by the activation function, and finally multiplied with the feature map of the input channel attention processing to obtain the channel attention feature map, which is specifically expressed as:

[0111] M c (F)=σ(W1(W0(F c avg ))+ W1(W0(F c max )))×F

[0112] Among them, M c (F) represents the channel attention feature map, F represents the feature map of the input channel attention processing, F∈H*W*C, where H, W, C are the feature map height, width and number of channels respectively, F c avg 、F c max They represent the results of channel c in the feature map after being processed by the global average pooling layer and the global maximum pooling layer respectively. W0 and W1 represent the front and back two layers of perception operations of the multi-layer perceptron in the channel attention processing respectively. × represents the multiplication operation, and σ represents the sigmoid function.

[0113] In the specific implementation, the two channels in the feature map are processed by the global average pooling layer and the global maximum pooling layer to obtain the channel descriptions of the two channels, and a channel description is obtained by using F c avg and F c max Indicates that the two channel descriptions are sent into a two-layer perceptron to obtain a feature vector for each, and the two feature vectors are merged by element-by-element accumulation. Then, an activation function is used to output the channel weight coefficient, and the weight coefficient is multiplied by the input feature to obtain a new feature map. The multiplication is represented by × in the figure.

[0114] The above two channels describe their respective multi-layer perceptrons, where the perceptual operations W0 and W1 share weights.

[0115] In the spatial attention processing, each channel in the channel attention feature map is processed by the global average pooling layer and the global maximum pooling layer, and then connected to form a vector, and then a convolution operation is performed to obtain a feature vector, which is processed by the activation function and finally multiplied with the channel attention feature map to obtain the spatial attention feature, which is specifically expressed as:

[0116] M s (F')=σ(f 5*5 ([F ’s avg ; F ’s max ])) × M s (F)

[0117] Among them, M s (F') represents the spatial attention feature map, f 5*5 Indicates a convolution operation with a convolution kernel of 5*5, F ’s avg 、F ’s max They respectively represent the results of the space s in the feature map after being processed by the global average pooling layer and the global maximum pooling layer.

[0118] In the specific implementation, the global maximum pooling layer and the average pooling layer are used to aggregate the channel information of the feature map to generate a new feature map, and then they are connected and convolved with a standard convolution layer. The spatial weight coefficient is output through an activation function, and the obtained spatial weight coefficient is multiplied with the input feature map, and the multiplication is represented by ×.

[0119] The YL multi-layer perceptron module specifically includes: first, the feature map input to the YL multi-layer perceptron module is YL extracted through an additive mask, and the extracted feature map is convolved using a 3*3 convolution kernel to obtain a convolution feature map. The number of convolution channels sets the hyperparameter N, and then the convolution feature map is divided into M regions. Each region obtains regional features through average pooling. N and M are obtained from experience. All regional features are input into a two-layer perceptron for processing. Finally, layer normalization is performed to obtain the output feature map of the YL multi-layer perceptron module, which is specifically expressed as:

[0120] MLP YL (F)=LN(W'1(W'0(F YL )))

[0121] Among them, F YL (represents a set of regional features, as shown in the schematic diagram, W'0 and W'1 represent the front and back two layers of the multilayer perceptron in the YL multilayer perceptron module, LN represents layer normalization, MLPYL (F) represents the output feature map of the YL multi-layer perceptron module.

[0122] Additive mask such as Figure 5 As shown, the pixels in the middle row and the middle column are all set to 1, and the rest are set to 0, that is, the pixels in the middle row and the middle column are extracted by the addition mask, and the rest of the pixels are discarded.

[0123] Among them, the excitation module is a compressed excitation network.

[0124] In the specific implementation, when training the deep learning image segmentation model, the Dice loss function is set to evaluate the segmentation effect. The optimizer uses the Adam optimizer to optimize the parameters, adjust the parameters to achieve the optimal segmentation effect, and use the validation set to evaluate the model to obtain a deep learning segmentation model that meets the expected requirements. The above Dice loss function is expressed as:

[0125] DiceLoss=1- (2|P∩T|+m) / (|P|+|T|+m)

[0126] Among them, |P∩T| represents the number of intersection pixels between the predicted segmentation result and the known label, |P| and |T| represent the number of pixels of the predicted segmentation result and the label respectively, and m is an auxiliary coefficient to prevent the denominator from being zero, which is set to 1.

[0127] The model structure of the present invention is particularly suitable for the segmentation of long-wall coal mine images, and a processing module is added to enable it to better capture and process the features of long-wall coal mine images.

[0128] Step 5: Obtain the coal-rock separation position, calculate the current coal mining machine cutting layer height and control the coal mining machine cutter head height in real time.

[0129] Step 6: Use two lifting hydraulic cylinders S2 to drive the spectral intelligent vision module S3 to descend, thereby avoiding collision with the rock layer.

[0130] Step 7: Controlling the shearer cutter head height in real time based on the calculated shearer cutting layer height can avoid mixing with the rock layer during cutting and reduce the gangue content in coal mining.

[0131] Step 8: Use the inertial navigation data and odometer to synchronously measure and further calibrate the spatial state of the system shearer. Continue to run the shearer and repeat steps 1-7 in real time until the coal mining operation is completed.

[0132] In a specific implementation, the system is built, and after the coal mining machine system is initialized, the infrared camera S13 monitors the coal mining face in real time. When the temperature rises, the halogen tungsten lamp S15 is started to illuminate the suspected rock layer area point by point, and the coal and rock layer images are segmented by using adaptive visual angle spectrum contrast and deep learning image segmentation algorithm. The multi-point images of the suspected rock layer area of ​​the working face are spliced ​​to obtain the coal and rock layer separation position, and the current coal mining machine cutting layer height is solved and controlled in real time. The above steps are repeated during the cutting process of the coal mining machine working face to achieve real-time and rapid coal seam detection and identification.

[0133] At the same time, the spatial state of the coal mining machine is measured synchronously by inertial navigation data and odometer, which further promotes the coal mining machine to cut until it is completed in one cut.

[0134] It can be seen from the above implementation that the advantage of the present invention lies in that the patent of the present invention adopts infrared camera rapid scanning to realize rapid suspected area positioning, obtains high-precision identification and post-sampling spectral data of the optimal reflectivity of the spectrometer through adaptive optical light path adjustment, and combines the model deep learning image segmentation algorithm to perform high-precision coal-rock boundary judgment, which can have both high speed and reliability, and is conducive to avoiding the mining of ore-rock interlayers during mining, reducing the wear rate of the coal mining machine cutter head, and reducing the gangue content in coal mining.

[0135] The above specific implementation modes are used to explain the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.

Claims

1. A real-time mining and positioning method for coal mine rock formations integrating spectrum and adaptive vision, characterized in that: The method adopts an intelligent mining system for coal mine rock formations with integrated spectrum and adaptive vision, wherein the intelligent mining system for coal mine rock formations comprises a coal mining machine (S1), a lifting electric cylinder (S2) and an integrated spectrum adaptive vision module (S3), wherein the integrated spectrum adaptive vision module (S3) is installed on the coal mining machine (S1) through the lifting electric cylinder (S2) and can be driven to move up and down by the hydraulic pressure of the lifting electric cylinder (S2); the integrated spectrum adaptive vision module (S3) comprises a fixed bottom plate (S4), a swinging mechanism around the X-axis (S5), and a rotating mechanism around the Z-axis (S6). , a slide rail fixing plate (S7), an arc-shaped slide rail with racks (S8), a spectrum receiver (S10), an infrared camera (S13), and a halogen tungsten lamp (S15); the fixed base plate (S4) is fixed to the upper end of the lifting electric cylinder (S2); the arc-shaped slide rail with racks (S8) is installed on the fixed base plate (S4) in a pitching and horizontally rotatable manner through an X-axis swing mechanism (S5) and a Z-axis rotation mechanism (S6); and the spectrum receiver (S10), the infrared camera (S13), and the halogen tungsten lamp (S15) are installed on the arc-shaped slide rail with racks (S8); The method specifically comprises: The coal mining cutter head of the coal mining machine (S1) mines the coal mine rock layer. During the mining process, the lifting electric cylinder (S2) and the integrated spectral adaptive visual module (S3) cooperate to perform real-time detection: First, an infrared camera (S13) is used to capture an image of the coal mining face, and image analysis and processing are performed in real time to obtain a preliminary judgment of a suspected rock layer area; then, when a suspected rock layer area is determined, a spectrum receiver (S10) and a halogen tungsten lamp (S15) are started, and the spectrum receiver (S10) and the halogen tungsten lamp (S15) cooperate to move and detect to obtain the boundary position between the coal seam and the rock layer; The suspected rock layer area is obtained by analyzing the temperature difference of the image captured by the infrared camera (S13), and the height and direction of the infrared camera (S13) are adjusted; after the suspected rock layer area is determined, the directions of the halogen tungsten lamp (S15) and the spectrum receiver (S10) are adjusted so that the halogen tungsten lamp (S15) and the spectrum receiver (S10) are located at a specific position for subsequent real-time data collection; the halogen tungsten lamp (S15) is used to illuminate the suspected rock layer area for reflection, and the spectrum receiver (S10) is used to receive the full-band spectrum signal image reflected by the halogen tungsten lamp (S15) after irradiating the suspected rock layer area, and the full-band spectrum signal image is analyzed, processed and positioned to obtain the boundary position between the coal seam and the rock layer; When the coal mining cutter head of the coal mining machine mines the coal mine rock layer, the infrared image captured by the infrared camera (S13) in real time is processed in the following manner to analyze the temperature difference and obtain the suspected rock layer area: Real-time judgment is performed on each pixel point in the infrared images of two adjacent frames in the time series. The pixel values ​​of the same pixel point in the infrared images of two adjacent frames are subtracted. If the difference is greater than the preset difference threshold, the coal mining face position corresponding to the pixel point is considered to be the suspected boundary position between the coal seam and the rock layer. When a frame of infrared image obtained in real time has a pixel at a suspected boundary position between a coal seam and a rock layer compared with a previous frame of infrared image, a pixel-by-pixel traversal search is performed on a grayscale difference map of each frame of infrared image obtained in real time compared with the previous frame of infrared image, and a pixel point whose grayscale difference exceeds a preset threshold is taken as a temperature difference change point, and a position at the same height as the temperature difference change point is taken as a coal mine rock layer position, and a set range is widened to obtain a connected domain, and then a suspected rock layer area is established with the center of the connected domain as the center, and the height and direction of the infrared camera (S13) are adjusted so that the center of the infrared image captured by the infrared camera (S13) coincides with the center of the connected domain; The halogen tungsten lamp (S15) and the spectrum receiver (S10) move along the arc-shaped rack slide rail (S8) to illuminate and receive at different positions, and the relative reflectivity is obtained by analyzing and processing the full-band spectrum signal graph obtained by the spectrum receiver (S10) each time. The positions of the halogen tungsten lamp (S15) and the spectrum receiver (S10) corresponding to the best relative reflectivity are used as specific positions for subsequent collection work of the halogen tungsten lamp (S15) and the spectrum receiver (S10); After the halogen tungsten lamp (S15) and the spectrum receiver (S10) are in specific positions, the halogen tungsten lamp (S15) is used to illuminate a point in the suspected rock layer area as a detection point, and the detection point is moved along a straight line scan from bottom to top. The spectrum receiver (S10) receives the full-band spectrum signal image reflected from the detection point, and then the full-band spectrum signal image is input into the deep learning image segmentation model for analysis, processing and positioning to obtain the height position of the boundary between the coal seam and the rock layer in the image; subsequently, the height position of the boundary between the coal seam and the rock layer is converted and calculated according to the above results as the boundary position between the coal seam and the rock layer.

2. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 1 is characterized by: A first sliding plate (S9) and a second sliding plate (S14) are respectively installed on the arc tracks of the arc-shaped rack slide rail (S8) on both sides of the infrared camera (S13), and the first sliding plate (S9) and the second sliding plate (S14) can slide in an arc along the arc track of the arc-shaped rack slide rail (S8); a spectrum receiver (S10) and a first motor with a reducer (S11) are installed on the first sliding plate (S9), and a first gear (S12) is installed on the output shaft of the first motor with a reducer (S11), and the first gear (S12) is meshed with the rack on the arc-shaped rack slide rail (S8); a halogen tungsten lamp (S15) and a second motor with a reducer (S16) are installed on the second sliding plate (S14), and a second gear (S17) is installed on the output shaft of the second motor with a reducer (S16), and the second gear (S17) is meshed with the rack on the arc-shaped rack slide rail (S8).

3. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 2 is characterized by: The specific positions of the subsequent collection work of the halogen tungsten lamp (S15) and the spectrum receiver (S10) are specifically determined by the following steps: S1. First, adjust the height and direction of the infrared camera (S13) so that the center of the infrared image captured by the infrared camera (S13) coincides with the center of the connected domain; Then, the halogen tungsten lamp (S15) and the spectrum receiver (S10) are driven to move along the arc-shaped rack slide rail (S8) to the positions on both sides close to the infrared camera (S13), and after being irradiated by the halogen tungsten lamp (S15), the spectrum receiver (S10) receives and obtains a full-band spectrum signal diagram, and extracts the light intensity as the detection relative light intensity according to the full-band spectrum signal diagram; S2, driving the halogen tungsten lamp (S15) to adjust its position by stepping on the arc-shaped rack slide rail (S8) through the second motor with a reducer (S16), so that the spectral spatial optical incident angle β is adjusted; Then, each time the halogen tungsten lamp (S15) is moved and fixed on the arc-shaped rack slide rail (S8), the spectrum receiver (S10) is driven by the first motor with a reducer (S11) to step and move on the arc-shaped rack slide rail (S8) to adjust its position, so that the optical reflection angle α of the spectrum space is adjusted; After the spectrum receiver (S10) moves and adjusts its position, it receives and obtains a full-band spectrum signal graph, and extracts light intensity as the total detected light intensity according to the full-band spectrum signal graph; S3. Obtain the relative reflectivity according to the following formula: R ref = I(λ,d,θ in-out ,α,β) / I(λ,d,θ in-out ,a,0) Among them, R ref is the detection relative reflectivity, I is the detection light intensity function, λ is the wavelength of the detection light emitted by the halogen tungsten lamp (S15), d is the distance from the detection point of the halogen tungsten lamp (S15) to the spectrum receiver (S10), θ in-out is the elevation angle of the spectrum receiver (S10) relative to the halogen tungsten lamp (S15), α and β represent the optical reflection angle and incident angle of the spectrum space, respectively; S4. The largest relative reflectivity is selected from all the relative reflectivities obtained as the best relative reflectivity, and the positions of the halogen tungsten lamp (S15) and the spectrum receiver (S10) on the arc-shaped rack slide rail (S8) corresponding to the best relative reflectivity are used as the specific positions of the halogen tungsten lamp (S15) and the spectrum receiver (S10) for subsequent data collection work.

4. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 1 is characterized by: The deep learning image segmentation model includes an encoder, a decoder and an excitation selector, wherein the excitation selector is arranged and connected between the encoder and the decoder, so that the output of the encoder is processed by the excitation selector and then input into the decoder; The excitation selector includes two excitation modules and a region selection convolution module. The region selection convolution module is mainly composed of two sub-modules of a convolution attention module and a YL multi-layer perceptron module. The two sub-modules of the convolution attention module and the YL multi-layer perceptron module are arranged in parallel. The encoder outputs a coding feature map. The coding feature map passes through the excitation module and then is respectively input into the convolution attention module and the YL multi-layer perceptron module to obtain their respective feature maps. The fused feature map is then fused through channel mixing to obtain a fused feature map. The fused feature map is connected with a convolution layer for convolution. The output obtained by the convolution is added to the coding feature map output by the encoder, and then the output of the excitation selector is obtained through an excitation module.

5. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 4 is characterized by: The encoder is mainly composed of a plurality of convolutional encoder modules with decreasing channel numbers connected in sequence, each convolutional encoder module is composed of two convolutional encoders connected in sequence, and each convolutional encoder is composed of convolution operation, layer normalization, and activation function connected in sequence; the decoder is mainly composed of a plurality of convolutional decoder modules with decreasing channel numbers connected in sequence, each convolutional decoder module is composed of two convolutional decoders connected in sequence, and each convolutional decoder is composed of convolution operation, layer normalization, and activation function connected in sequence; the number of convolutional encoder modules in the encoder is the same as the number of convolutional decoder modules in the decoder, both of which are N, the output of the nth convolutional encoder module in the encoder is connected to the input of the N+1-nth convolutional decoder module in the decoder, and at the same time, the output of the last Nth convolutional encoder module in the encoder is connected to the input of the first convolutional decoder module in the decoder via an excitation selector.

6. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 4 is characterized by: The convolutional attention module includes channel attention processing and spatial attention processing; In the channel attention processing, each channel in the feature map of the input channel attention processing is processed by the global average pooling layer and the global maximum pooling layer, and then processed by a two-layer perceptron to obtain their own feature vectors. The two feature vectors are accumulated and then processed by the activation function, and finally multiplied with the feature map of the input channel attention processing to obtain the channel attention feature map, which is specifically expressed as: M c (F)=σ(W1(W0(F c avg ))+ W1(W0(F c max )))×F Among them, M c (F) represents the channel attention feature map, F represents the feature map of input channel attention processing, F c avg 、F c max They represent the results of channel c in the feature map after being processed by the global average pooling layer and the global maximum pooling layer, respectively. W0 and W1 represent the front and back two layers of the multi-layer perceptron in the channel attention processing, respectively. × represents the multiplication operation, and σ represents the sigmoid function. In the spatial attention processing, the channel attention feature map M c Each channel in (F) is processed by the global average pooling layer and the global maximum pooling layer respectively, and then connected, and then a convolution operation is performed to obtain the feature vector, which is processed by the activation function and finally combined with the channel attention feature map M. c (F) Multiply to obtain the spatial attention feature map, which is specifically expressed as: M s (F’)=σ(f 5*5 ([F ’s avg ; F ’s max ])) ×M c (F) Among them, M s (F') represents the spatial attention feature map, f 5*5 Indicates a convolution operation with a convolution kernel of 5*5, F ’s avg 、F ’s max They respectively represent the results of the space s in the feature map after being processed by the global average pooling layer and the global maximum pooling layer.

7. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 4 is characterized by: The YL multilayer perceptron module specifically includes: firstly, extracting the feature map input to the YL multilayer perceptron module through an additive mask, performing convolution processing on the extracted feature map to obtain a convolution feature map, then dividing the convolution feature map into M regions, obtaining regional features of each region through average pooling, inputting all regional features into a two-layer perceptron for processing, and finally performing layer normalization processing to obtain the output of the YL multilayer perceptron module, which is specifically expressed as: MLP YL (F)=LN(W’1(W’0(F YL ))) Among them, F YL represents a set of regional features, W'0 and W'1 represent the front and back two layers of the multilayer perceptron in the YL multilayer perceptron module, LN represents layer normalization, MLP YL (F) represents the output of the YL multi-layer perceptron module.

8. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 1 is characterized by: The coal and rock strata recognition results of the detection points in the full-band spectral signal and the detection point positions in the connected domain of the infrared image are used, and then combined with the lifting height of the lifting electric cylinder (S2), the height of the coal mining machine (S1), the distance between the infrared camera and the detection point, the X-axis swing mechanism and the rotation angle of the Z-axis rotation mechanism to convert and calculate the actual height position of the boundary between the coal seam and the rock stratum, and then control the coal mining cutter head of the coal mining machine (S1) to stop mining and cutting when it reaches the boundary between the coal seam and the rock stratum.

9. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 1, characterized in that: An infrared camera (S13) is fixedly installed in the middle of the arc-shaped rack slide rail (S8), and a spectrum receiver (S10) and a halogen tungsten lamp (S15) are arranged on both sides of the infrared camera (S13). Both the spectrum receiver (S10) and the halogen tungsten lamp (S15) can be slidably installed on the arc-shaped rack slide rail (S8) along the arc-shaped rack slide rail (S8).

10. The method for real-time mining and positioning of coal mine rock formations integrating spectrum and adaptive vision according to claim 1, characterized in that: The arc-shaped rack-belt slide rail (S8) is arc-shaped, with the concave side facing upward.