A method and device for inversion of stress field of loaded coal and rock based on detection and monitoring information
By arranging detection devices in the coal and rock mass and building a self-attention mechanism and feed-forward neural network model, a stress field inversion method was established, which solved the problem of difficulty in real-time monitoring and inversion of the coal and rock stress field in the existing technology, and achieved The accurate inversion of the stress field of loaded coal and rock mass and the prediction of boundary conditions improve the early warning capability of dynamic catastrophe of coal and rock mass.
Patent Information
- Application Number
- CN202311669922.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-12-07
AI Technical Summary
Existing coal and rock stress field monitoring and inversion methods are difficult to dynamically obtain the spatiotemporal evolution characteristics of stress field distribution in real time, and there is a lack of effective methods to use monitoring information to invert the stress field distribution of loaded coal and rock masses.
The load-bearing coal and rock stress field inversion method based on detection-monitoring information is adopted. By arranging detection devices in the coal and rock mass to conduct load fracture tests, the detection and monitoring information and loading boundary conditions are recorded, and the velocity field, crack field, and internal strain are established. Coupling relationship with the stress value, building a self-attention mechanism and feed-forward neural network model to invert the stress field and predict boundary conditions.
It achieves accurate inversion and real-time reproduction of the stress field of loaded coal and rock mass, improves the accuracy of stress field inversion and boundary condition prediction, uncovers the "black box" process of coal and rock mass dynamic catastrophe, and has advanced early warning capabilities. effect.
Smart Images

Figure CN118153416B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coal rock monitoring, and in particular to a method and device for inverting a stress field of loaded coal rock based on detection and monitoring information. Background Art
[0002] Research shows that in the process of coal mining, mining activities break the equilibrium state of the initial coal-rock stress field, causing stress field redistribution, and the stress field evolution induces coal-rock structure mutation, which is the essential cause of dynamic disasters such as rock burst, coal and gas outburst, etc. Therefore, in order to further understand the mechanism of coal-rock dynamic disasters and realize the advance warning of disasters, it is necessary to carry out research on stress field distribution and evolution characteristics.
[0003] However, the evolution of the stress field of coal rock mass caused by mining activities is an invisible and intangible black box process. The existing rock mechanics theories and methods are difficult to intuitively display and accurately describe. There is still a lack of effective methods for real-time monitoring of the stress field and its inversion and reproduction: At present, advanced imaging technologies and numerical simulation methods such as industrial X-rays, CT scanning, magnetic resonance imaging and focused ion beam electron microscope scanning can be used to reconstruct the structure, and certain progress has been made in constructing a three-dimensional digital model of the discontinuous structure and stress field of coal rock mass. For example, patent CN116579195A discloses a method for establishing and simulating a multi-scale discontinuous model of a three-dimensional structural surface rock mass, patent CN108072467A discloses a method for measuring the internal stress field of a discontinuous structure, and patent CN115935702A discloses a method for determining the direction of action of a tectonic stress field based on PFC numerical simulation technology. However, these methods rely on high laboratory conditions and complex model reconstruction methods on the one hand, and the prospects for the promotion and application of stress field reproduction and inversion in the mine site are not clear, and it is also impossible to obtain the temporal and spatial evolution characteristics of the stress field distribution in real time and dynamically.
[0004] With the progress and development of technology, some detection and monitoring technical means (such as microseismic / acoustic emission, ultrasonic CT imaging, optical fiber, etc.) have been applied in laboratory data acquisition. However, the current use of these detection and monitoring information is mostly still limited to the analysis of the temporal variation law of the detection and monitoring signal, and rarely involves the inversion of the stress distribution of the entire region through the relationship between the detection and monitoring information and stress. How to extract and utilize these detection and monitoring information that is closely related to the stress field distribution and make up for the limitations of the limited measurement points of the stress gauge still needs further research. In recent years, with the breakthrough of deep learning methods, people have gradually begun to pay attention to the application of intelligent algorithms in stress field inversion, especially the neural network architecture using the self-attention mechanism, which can learn the feature similarity between different data information, and provide the possibility for the accurate inversion and real-time reproduction of the stress field and its evolution of the loaded coal rock mass based on the detection and monitoring signal, but there is still a lack of specific feasible ideas and implementation methods.
[0005] Therefore, it is urgently necessary to carry out the measurement of detection and monitoring signals during the loading process of coal and rock masses, establish the coupling relationship between detection and monitoring information and stress values, and propose an intelligent method and device for inversion of the stress field of loaded coal and rock masses based on detection and monitoring information. This will help to accurately obtain and reproduce in real time the distribution and evolution law of the stress field of loaded coal and rock, and play a positive role in revealing the "black box" evolution process of dynamic disasters of coal and rock masses and realizing advanced early warning of disasters. Summary of the invention
[0006] In response to the problems and needs raised above, this solution proposes a method and device for inversion of stress field of loaded coal and rock based on detection and monitoring information. Due to the adoption of the following technical features, the above technical objectives can be achieved and many other technical effects can be brought about.
[0007] An object of the present invention is to propose a method for inverting the stress field of loaded coal and rock based on detection and monitoring information, comprising the following steps:
[0008] S10: arranging a detection device in the coal-rock mass, and placing the coal-rock mass in a testing machine, and using the testing machine to perform a load fracture test on the coal-rock mass, and recording the collected detection and monitoring information and loading boundary condition information during the test;
[0009] S20: converting the detection and monitoring information by establishing a coupling relationship among the velocity field, the crack field, the internal strain and the stress value, and obtaining the stress value at the detection and monitoring position;
[0010] S30: dividing the stress values, detection and monitoring position coordinates and boundary condition data obtained during the test into a training set, a validation set and a test set;
[0011] S40: constructing a stress field inversion neural network model consisting of a spatial feature extraction part, a stress feature extraction part and a stress field construction part, and the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition features through training set and validation set data; wherein the spatial feature extraction part is configured to extract features from the observation point coordinate data; the stress feature extraction part is configured to extract features from the observation point stress value data; and the stress field construction part is configured to predict the boundary conditions of the coal rock mass during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary condition;
[0012] S50: input the stress value at the detection and monitoring position obtained through the coupling relationship in the test set into the trained stress field inversion neural network model to obtain the inverted coal rock stress field, and predict the boundary conditions during the test; verify the accuracy of the inverted coal rock stress field and the predicted boundary conditions through the stress values and boundary conditions measured by the sensors in the test set, and adjust the model parameters according to the verification results until the accuracy of the inverted coal rock stress field and boundary conditions meets the requirements.
[0013] In an example of the present invention, in the step S10, the detection device includes: an ultrasonic phased array sensor and a multi-frequency acoustic wave detection sensor, an optical fiber micro-nano sensor and a stress monitoring sensor, wherein the ultrasonic phased array sensor is arranged on the top of the coal rock mass; the multi-frequency acoustic wave detection sensor is arranged on the side of the coal rock mass; the optical fiber micro-nano sensor and the stress sensor are arranged inside the coal rock mass.
[0014] In an example of the present invention, in step S10, before the testing machine performs a load fracture test on the coal rock mass, the following steps are also included:
[0015] Set the operating frequency of the ultrasonic phased array sensor and the ultrasonic shear wave velocity; set the operating frequency of the multi-frequency acoustic wave detection sensor according to the corresponding waveform channel; the optical fiber micro-nano sensor has multiple channels, connect multiple sensors in parallel to one channel, and set its scanning frequency; set the stress sensor sampling frequency and monitoring position; set the loading method of the testing machine and the data to be collected.
[0016] In an example of the present invention, the step S20 includes the following steps:
[0017] The wave velocity field and crack field information obtained by the ultrasonic phased array sensor establish the coupling relationship between them and the stress field;
[0018] The fracture position is obtained by multi-frequency acoustic wave detection sensor, and the fracture scale is calculated by mechanism solution inversion method to infer the stress direction and magnitude at the fracture point;
[0019] The fiber optic micro-nano sensor is used to monitor the changing trend of the internal strain of the coal rock mass, and the stress value at the point or line monitoring position is calculated in combination with Hooke's law.
[0020] In one example of the present invention, in step S40, the spatial feature extraction part in the stress field inversion neural network model extracts features from the observation point coordinate data, including the following steps:
[0021] First, the measurement point coordinate data is read through the input layer, the data format is converted into a tensor format, the data is encoded in time and position, and the feature extraction of the spatial position measurement point coordinate data of the coal rock mass is performed through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows:
[0022]
[0023] Among them, SA stands for Self-Attention mechanism; Q stands for query module, which is responsible for querying the relationship between it and the queried features; K stands for the queried module, which is responsible for accepting the query of Q module; V module represents the actual feature information calculated; x, y, z represent the spatial position coordinates of the measurement point; Z X , Z Y , Z Z represents the spatial position coordinate features extracted by the self-attention mechanism; softmax represents the activation function;
[0024] Then, multiple self-attention mechanism layers are connected in a residual manner so that the spatial position features extracted by the self-attention mechanism of the x+1 layer contain the features extracted by the x and x+1 layers at the same time. The formula is as follows:
[0025] O(x)=F(x)+x
[0026] Among them, x represents the spatial position of the input neural network; F(x) represents the spatial position feature extracted by the neural network through the input x; O(x) represents the spatial position feature obtained through the residual connection;
[0027] Finally, the processed features are passed into the forward feedback network (FNN), and linear transformation is performed through the FNN layer to map the coordinate features of the measuring points from the low-dimensional space to the high-dimensional space, and the spatial position modeling of the limited measuring points in the coal rock body is performed. The formula is as follows:
[0028] FNN(Z X )=max(0,Z X W1+b1)W2+b2
[0029] FNN(Z Y )=max(0,Z Y W1+b1)W2+b2
[0030] FNN(Z Z )=max(0,Z Z W1+b1)W2+b2
[0031] Among them, Z X , Z Y , Z z represents the spatial position feature of the measurement point input to FNN; FNN() is the extracted spatial position coordinate feature of the measurement point, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters.
[0032] In one example of the present invention, in step S40, the stress feature extraction part in the stress field inversion neural network model extracts features from the stress value data of the observation point, including the following steps:
[0033] First, the stress value data is read through the input layer, the data format is converted into a tensor format, the data is encoded in time and position, and the stress value data at the coal rock mass measuring point is feature extracted through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows:
[0034]
[0035] in represents the stress features extracted by the self-attention mechanism, σ X , σ Y , σ Z Represents the stress values in the X, Y, and Z directions of the measuring point;
[0036] Then, multiple self-attention mechanism layers are connected in a residual manner so that the stress features extracted by the self-attention mechanism of the x+1 layer contain the features extracted by the x and x+1 layers at the same time. The formula is as follows:
[0037] O(x)=F(x)+x
[0038] Where x represents the stress value input into the neural network; F(x) represents the stress feature extracted by the neural network through input x; O(x) represents the stress feature obtained through residual connection;
[0039] Finally, the processed features are passed into the Feed Forward Neural Network (FNN), and linear transformation is performed through the FNN layer to map the stress features at the measuring point from the low-dimensional space to the high-dimensional space. The formula is as follows:
[0040]
[0041] Among them, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters; FNN() is the extracted stress feature.
[0042] In one example of the present invention, in step S40, the stress field construction part in the stress field inversion neural network model predicts the boundary conditions of the coal rock mass during loading according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary conditions, including the following steps:
[0043] S41: Input the features obtained from the spatial feature and stress feature extraction parts into the first feature splicing layer of the stress field construction part. The first feature splicing layer splices the features extracted from the two parts, extracts the similarity between the stress value and the coal rock coordinate position feature, and learns to predict the stress value size at different positions of the coal rock. The formula is as follows:
[0044]
[0045] Among them, Conf represents the concatenation result of Con-features, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters; (FNN(σ X )+FNN(σ Y )+FNN(σ Z )) is the stress feature extracted by the stress feature extraction part; (FNN(x)+FNN(y)+FNN(z)) is the spatial position coordinate feature of the measuring point extracted by the spatial feature extraction part; is obtained by (FNN(σ X )+FNN(σ Y )+FNN(σ Z )) and (FNN(x)+FNN(y)+FNN(z)) to obtain the feature concatenation result;
[0046] S42: During the training process of the stress field inversion neural network model, the first feature concatenation layer of the stress field construction part extracts features of the boundary conditions through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows:
[0047]
[0048] Among them, Z B represents the boundary condition features extracted by the self-attention mechanism; W Q , W K and W V represents the feature extraction weights of the auxiliary matrices Q, K, and V; Q B , K B and V B Represents the feature extraction result of the auxiliary matrix;
[0049] S42: The second feature splicing layer of the stress field construction part has two feature input terminals, including boundary conditions and splicing feature inputs; the boundary condition features extracted by the self-attention mechanism are combined with the splicing feature results. Feature fusion is performed to obtain the stress field distribution characteristics of the coal rock mass, and finally the stress field distribution of the coal rock mass is output through the fully connected layer. The formula is as follows:
[0050]
[0051] σ field =(Conf σ_field ·W1+b1)·W2+b2
[0052] Boundary=(Conf σ_field ·W1+b1)·W2+b2
[0053] in, is the stress field distribution characteristic; σ field represents the final predicted stress field distribution; Boundary represents the final predicted boundary conditions; W1 and W2 represent the weights of the fully connected layer; b1 and b2 represent bias parameters.
[0054] In one example of the present invention, in step S40, the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and validation set data, and further includes: calculating the deviation of the predicted stress value and boundary condition through the MSE mean square error function, and the formula is as follows:
[0055]
[0056] Where N is the length of the prediction sequence; y σp and Bp Represent the predicted stress value and boundary conditions respectively; y σt and Bt represent the true stress value and boundary conditions respectively.
[0057] In one example of the present invention, in step S50, the accuracy of the inverted coal rock stress field and the predicted boundary conditions is verified by the stress values and boundary conditions measured by the sensors in the test set, and the model parameters are adjusted according to the verification results until the accuracy of the inverted coal rock stress field and boundary conditions meets the requirements, including the following steps:
[0058] The error between the true value monitored by the stress sensor and the stress value obtained by model inversion is calculated by RMSE; if the calculated error is large, the hyperparameters of the stress field inversion neural network are adjusted, including: initialization weight, learning rate, training batch size and number of training times; the calculation formula for the error between the true value monitored by the stress sensor and the stress value obtained by model inversion by RMSE is as follows:
[0059]
[0060] Where N is the length of the prediction sequence; y obs,i and model,i They represent the true stress value monitored by the stress sensor and the stress value obtained by model inversion respectively.
[0061] Another object of the present invention is to provide a device for inverting the stress field of loaded coal and rock based on detection and monitoring information, comprising:
[0062] An information acquisition unit is configured to arrange detection and monitoring sensors in the coal-rock mass, and place the coal-rock mass in a testing machine, and the testing machine performs a load fracture test on the coal-rock mass, and records the collected detection and monitoring information and loading boundary condition information during the test;
[0063] A stress calculation unit is configured to convert the detection and monitoring information by establishing a coupling relationship between the velocity field, the crack field, the internal strain and the stress value to obtain the stress value at the detection and monitoring position;
[0064] A data division unit is configured to divide the stress values, detection and monitoring position coordinates and boundary condition data obtained after conversion during the test into a training set, a validation set and a test set;
[0065] The model building unit is configured to build a stress field inversion neural network model composed of a spatial feature extraction part, a stress feature extraction part and a stress field construction part, and the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and verification set data; wherein the spatial feature extraction part is configured to extract features from the observation point coordinate data; the stress feature extraction part is configured to extract features from the observation point stress value data; the stress field construction part is configured to predict the boundary conditions of the coal rock mass during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary condition;
[0066] The inversion calculation unit is configured to input the stress value at the detection and monitoring position obtained through the coupling relationship in the test set into the trained stress field inversion neural network model to obtain the inverted coal rock stress field and predict the boundary conditions during the test; the accuracy of the inverted coal rock stress field and the predicted boundary conditions is verified by the stress value and boundary conditions measured by the sensor in the test set, and the model parameters are adjusted according to the verification results until the accuracy of the inverted coal rock stress field and boundary conditions meets the requirements.
[0067] Compared with the prior art, the present invention has the following beneficial effects:
[0068] 1. The present invention focuses on the intelligent inversion of the stress field of loaded coal rock mass based on laboratory detection and monitoring information, combines the self-attention mechanism with the feedforward neural network method, proposes a feature extraction method combining multiple neural network modules of "spatial feature extraction + stress feature extraction + stress field construction", and sets a mean square error function for the neural network, so that the neural network can effectively learn the method of constructing stress field and predicting boundary conditions during the training process, improve the accuracy of stress field inversion and boundary condition prediction, and can reveal the black box process of stress field inversion of coal rock mass during loading, and realize the prediction of boundary conditions.
[0069] 2. The laboratory detection and monitoring information in the present invention adopts the traditional sensor arrangement scheme, realizes the collection and monitoring of detection and monitoring information through ultrasonic phased array, multi-frequency sound wave, optical fiber micro-nano and stress sensor, establishes the coupling relationship between detection and monitoring information and stress value, and realizes the detection and monitoring of stress value of coal rock mass. Combining the stress value obtained by the coupling relationship with the monitoring result of the stress sensor helps to improve the training effect of the neural network and further improve the accuracy of the model for stress field inversion and boundary condition prediction.
[0070] 3. The present invention can not only perform stress field inversion through detection and monitoring information, but also predict the boundary conditions of coal rock mass during loading. The trained neural network model can model the three-dimensional spatial position of the coal rock mass, and perform stress field inversion of the coal rock mass in the entire space through the stress values of the finite measuring point positions obtained through the coupling relationship, with high resolution and accuracy. After training, the model can extract features from the detection and monitoring information, learn the characteristic relationship between boundary conditions and detection and monitoring information, and realize the full process prediction of boundary conditions during the loading process of the coal rock mass.
[0071] The best embodiment for carrying out the present invention will be described in more detail below with reference to the accompanying drawings so that the features and advantages of the present invention can be easily understood. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings of the embodiments of the present invention, wherein the drawings are only used to illustrate some embodiments of the present invention, but not to limit all embodiments of the present invention thereto.
[0073] Figure 1 Flow chart of a method for inverting stress field of loaded coal and rock based on detection and monitoring information according to an embodiment of the present invention;
[0074] Figure 2 It is a schematic diagram of the structure of the arrangement of the detection device on the coal rock mass according to an embodiment of the present invention;
[0075] Figure 3 is a coupling relationship diagram between multi-element detection monitoring information and stress according to an embodiment of the present invention;
[0076] Figure 4 A schematic diagram of a neural network structure according to an embodiment of the present invention;
[0077] List of reference numerals:
[0078] Coal and rock mass 100;
[0079] Ultrasonic phased array sensor 10;
[0080] Multi-frequency acoustic wave detection sensor 20;
[0081] Fiber optic micro-nano sensor 30;
[0082] Stress monitoring sensor 40. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical solution and advantages of the technical solution of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described in conjunction with the drawings of specific embodiments of the present invention. The same figure marks in the drawings represent the same parts. It should be noted that the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the described embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0084] Unless otherwise defined, the technical terms or scientific terms used herein shall have the usual meanings understood by persons of ordinary skill in the field to which the present invention belongs. The words "first", "second" and similar words used in the patent application specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "one" do not necessarily indicate a quantity limitation. Words such as "include" or "comprise" mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0085] According to the first aspect of the present invention, a method for inverting the stress field of loaded coal and rock based on detection and monitoring information is as follows: Figure 1 and Figure 4 As shown, the following steps are included:
[0086] S10: arranging a detection device in the coal-rock body 100, and placing the coal-rock body 100 in a testing machine, and using the testing machine to perform a load fracture test on the coal-rock body 100, and recording the collected detection monitoring information and loading boundary condition information during the test;
[0087] For example, if the size of coal rock mass is 100mm*100mm*100mm, a static load of 50MPa is added to the top of the coal rock mass, the confining pressure (front, back, left, right) is 50MPa, and a dynamic load of 5-20KPa is added to the top of the coal rock mass, it can be a multi-strain rate loading: 10 -2 ~10 4 Take 10 -2 Taking strain rate as an example, the loading rate is 1mm / min, static: 10 -2 ~10 -1 ; Quasi-dynamic: 10 -1 ~10 1 ; Dynamic: 10 1 ~10 4 .
[0088] Among them, the ultrasonic phased array is arranged on the top surface of the coal rock mass, and the data types collected are: wave velocity field; crack distribution location;
[0089] Among them, the multi-frequency acoustic wave probes are evenly fixed on the front and back of the coal rock mass by special adhesives, and the lead breaking test is carried out to detect and adjust the system accuracy; the data types collected include: the coal rock fracture position obtained by positioning; the pulse, energy and other characteristic parameters of the multi-frequency acoustic waves.
[0090] Among them, the tubular packaged optical fiber micro-nano sensor is buried in the borehole and bonded with epoxy resin. The sensor with a wavelength of 1545mm is buried in the horizontal borehole, and the sensor with a wavelength of 1530mm is buried in the inclined borehole. The two sensors at the same position are connected to one channel through a spectrometer, and the sampling frequency is set to 1000Hz; the data type collected: internal strain at the measuring point / line position
[0091] The stress sensor is buried inside the coal rock mass to monitor the stress value changes at the specified location. Data collected: Stress value at the measuring point
[0092] Among them, a microcomputer-controlled electro-hydraulic servo testing machine was used to carry out loading tests on coal samples. The top, front, left and right sides were subjected to a confining pressure of 50 MPa, and the top surface dynamic load was displacement-controlled loading. -2 Taking strain rate as an example, the loading rate is 1mm / min. Use a laptop to start the ultrasonic phased array detection, fiber micro-nano demodulator and multi-frequency acoustic wave monitoring system. The data types collected by the microcomputer-controlled electro-hydraulic servo testing machine include stress-strain-change curves and boundary conditions during loading.
[0093] S20: converting the detection and monitoring information by establishing a coupling relationship among the velocity field, the crack field, the internal strain and the stress value, and obtaining the stress value at the detection and monitoring position;
[0094] S30: dividing the stress values, detection and monitoring position coordinates and boundary condition data obtained during the test into a training set, a validation set and a test set;
[0095] S40: constructing a stress field inversion neural network model consisting of a spatial feature extraction part, a stress feature extraction part and a stress field construction part, and the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and validation set data; wherein the spatial feature extraction part is configured to extract features from the observation point coordinate data; the stress feature extraction part is configured to extract features from the observation point stress value data; the stress field construction part is configured to predict the boundary conditions of the coal rock mass 100 during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary condition;
[0096] S50: input the stress value at the detection and monitoring position obtained through the coupling relationship in the test set into the trained stress field inversion neural network model to obtain the inverted stress field of the coal rock mass 100, and predict the boundary conditions during the test; verify the accuracy of the inverted stress field of the coal rock mass 100 and the predicted boundary conditions through the stress value and boundary conditions measured by the sensor in the test set, and adjust the model parameters according to the verification results until the accuracy of the inverted stress field of the coal rock mass 100 and the boundary conditions meets the requirements.
[0097] The present invention focuses on intelligent inversion of the stress field of the loaded coal rock mass 100 based on laboratory detection and monitoring information, combines the self-attention mechanism with the feedforward neural network method, proposes a feature extraction method combining multiple neural network modules of "spatial feature extraction + stress feature extraction + stress field construction", and sets a mean square error function for the neural network, so that the neural network can effectively learn the method of constructing stress fields and predicting boundary conditions during the training process, improve the accuracy of stress field inversion and boundary condition prediction, and can reveal the black box process of stress field inversion of the coal rock mass 100 during loading, and realize the prediction of boundary conditions.
[0098] The laboratory detection and monitoring information in the present invention adopts the traditional sensor arrangement scheme, realizes the collection and monitoring of detection and monitoring information through ultrasonic phased array, multi-frequency sound wave, optical fiber micro-nano and stress sensor, establishes the coupling relationship between detection and monitoring information and stress value, and realizes the detection and monitoring of stress value of coal rock mass 100. Combining the stress value obtained by the coupling relationship with the monitoring result of the stress sensor helps to improve the training effect of the neural network and further improve the accuracy of the model for stress field inversion and boundary condition prediction.
[0099] The present invention can not only perform stress field inversion through detection and monitoring information, but also predict the boundary conditions of the coal rock mass 100 during loading. The trained neural network model can model the three-dimensional spatial position of the coal rock mass 100, and perform stress field inversion on the coal rock mass 100 in the entire space through the stress values of the finite measuring point positions obtained through the coupling relationship, with high resolution and accuracy. After training, the model can extract features from the detection and monitoring information, learn the characteristic relationship between the boundary conditions and the detection and monitoring information, and realize the full process prediction of the boundary conditions of the coal rock mass 100 during loading.
[0100] In one example of the present invention, Figure 2 As shown, in the step S10, the detection device includes: an ultrasonic phased array sensor 10 and a multi-frequency acoustic wave detection sensor 20, an optical fiber micro-nano sensor 30 and a stress monitoring sensor 40, wherein the ultrasonic phased array sensor 10 is arranged on the top of the coal rock body 100; the multi-frequency acoustic wave detection sensor 20 is arranged on the side of the coal rock body 100; the optical fiber micro-nano sensor 30 and the stress sensor are arranged inside the coal rock body 100.
[0101] Among them, the ultrasonic phased array sensor uses ultrasonic pure SH shear wave emission and efficient detection methods to conduct fine detection of cracks. The wave velocity field and crack field distribution of the coal rock mass during loading are obtained; the data that the ultrasonic phased array sensor can obtain are the wave velocity field and crack field; the ultrasonic phased array sensor can establish the coupling relationship between the wave velocity field, crack field and stress field.
[0102] The multi-frequency acoustic sensor uses multi-frequency acoustic waves to locate the crack position and uses the acoustic positioning method to detect cracks in the coal rock mass during loading. First, the device transmits a pulse signal to the inside of the coal rock mass. The signal contacts the cracks inside the coal rock mass to form an echo wave with different acoustic impedances, which is received and analyzed by the receiver to determine the location of the fracture. The data obtained by the multi-frequency acoustic sensor are the fracture position and characteristic parameters such as the pulse and energy of the multi-frequency acoustic wave. The multi-frequency acoustic sensor locates the fracture position of the multi-frequency acoustic wave, and obtains the fracture scale of the coal rock mass by inverting the fracture position through the mechanism solution, and then calculates the stress direction and size at the fracture point. The fracture field obtained by the ultrasonic phased array sensor and the fracture field obtained by the multi-frequency acoustic sensor can be compared and verified to further obtain a more accurate position distribution of the fracture field.
[0103] Fiber optic micro-nano sensors are arranged inside the coal and rock mass. The fiber optic micro-nano multi-parameter co-sensing method realizes high-precision monitoring of the internal strain of the coal and rock mass and obtains the stress magnitude at the point / line monitoring position. The data obtained by the fiber optic micro-nano sensor is the internal strain of the coal and rock mass at the point / line measuring point position. The fiber optic micro-nano sensor can establish the coupling relationship between the internal strain and stress at the measuring point position.
[0104] In summary, these are detection and monitoring data, and a coupling relationship between the detection and monitoring data and the stress value is established to obtain the stress value obtained by improving the coupling relationship.
[0105] Stress sensors are arranged on the surface and inside of the coal rock mass to monitor the changes in surface and internal stress values of the coal rock mass during loading.
[0106] It should be noted that the data obtained by ultrasonic phased array, multi-frequency sound wave, fiber micro-nano and stress sensor are: wave velocity field and crack field; fracture position and characteristic parameters such as pulse, energy; point / line position monitoring strain. A coupling relationship is established between these data and stress values to obtain stress values (stress values obtained by establishing a coupling relationship). Another part of the stress values is the stress values obtained by monitoring the stress sensor. The stress values obtained by the coupling relationship and the stress values obtained by the stress sensor are put together with the boundary conditions to make a data set, and the data set is divided into a training set, a validation set and a test set. The neural network is trained (the process of training the neural network includes two steps, training and validation, so the data set should be divided into a training set and a validation set), and a neural network model is obtained after training. Next, the neural network model is tested with data. When testing the neural network, it is only necessary to input the stress value obtained by the coupling relationship into the model, and the model can invert the stress field during the coal rock mass loading process and predict the boundary conditions during the loading process. Then, the stress value (true value) measured by the stress sensor in the test set is used to test the accuracy of the stress field obtained by the model inversion to test whether its inversion result meets the standard. The boundary conditions predicted by the model are then tested using the true values of the boundary conditions in the test set to test whether the boundary condition prediction results meet the standards.
[0107] In an example of the present invention, in step S10, before the testing machine performs a load fracture test on the coal rock mass 100, the following steps are also included:
[0108] Set the working frequency and ultrasonic shear wave velocity of the ultrasonic phased array sensor 10; set the working frequency of the multi-frequency acoustic wave detection sensor 20 according to the corresponding waveform channel; the optical fiber micro-nano sensor 30 has multiple channels, connect multiple sensors in parallel to a channel, and set its scanning frequency; set the stress sensor sampling frequency and monitoring position; set the loading mode of the test machine and the data to be collected. Multiple sensors can respectively collect the internal crack position and wave velocity field distribution, internal strain change trend and internal stress value of the coal rock mass 100 during the experiment.
[0109] In one example of the present invention, in step S20, as Figure 3 As shown, the following steps are included:
[0110] The wave velocity field and crack field information obtained by the ultrasonic phased array sensor 10 establish a coupling relationship between the wave velocity field and the stress field;
[0111] The rupture position is obtained by the multi-frequency acoustic wave detection sensor 20, and the rupture scale is calculated by the mechanism solution inversion method to infer the stress direction and magnitude at the crack point;
[0112] The optical fiber micro-nano sensor 30 monitors the variation trend of the internal strain of the coal rock mass 100, and calculates the stress value of the point or line monitoring position in combination with Hooke's law.
[0113] In one example of the present invention, in step S40, the spatial feature extraction part in the stress field inversion neural network model extracts features from the observation point coordinate data, including the following steps:
[0114] First, the measurement point coordinate data is read through the input layer, the data format is converted into a tensor format, the data is encoded in time and position, and the feature extraction of the 100 spatial position measurement point coordinate data of the coal rock mass is performed through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows:
[0115]
[0116] Among them, SA stands for Self-Attention mechanism; Q stands for query module, which is responsible for querying the relationship between it and the queried features; K stands for the queried module, which is responsible for accepting the query of Q module; V module represents the actual feature information calculated; x, y, z represent the spatial position coordinates of the measurement point; Z X , Z Y , Z Z represents the spatial position coordinate features extracted by the self-attention mechanism; softmax represents the activation function;
[0117] Then, multiple self-attention mechanism layers are connected in a residual manner so that the spatial position features extracted by the self-attention mechanism of the x+1 layer contain the features extracted by the x and x+1 layers at the same time. The formula is as follows:
[0118] O(x)=F(x)+x
[0119] Among them, x represents the spatial position of the input neural network; F(x) represents the spatial position feature extracted by the neural network through the input x; O(x) represents the spatial position feature obtained through the residual connection;
[0120] Finally, the processed features are passed into the forward feedback network (FNN), and linear transformation is performed through the FNN layer to map the coordinate features of the measuring points from the low-dimensional space to the high-dimensional space, and the spatial position modeling of the limited measuring points in the coal rock mass 100 is performed. The formula is as follows:
[0121] FNN(Z X )=max(0,Z X W1+b1)W2+b2
[0122] FNN(Z Y )=max(0,Z Y W1+b1)W2+b2
[0123] FNN(Z Z )=max(0,Z Z W1+b1)W2+b2
[0124] Among them, Z X , Z Y , Z Z represents the spatial position feature of the measurement point input to FNN; FNN() is the extracted spatial position coordinate feature of the measurement point, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters.
[0125] In one example of the present invention, in step S40, the stress feature extraction part in the stress field inversion neural network model extracts features from the stress value data of the observation point, including the following steps:
[0126] First, the stress value data is read through the input layer, the data format is converted into a tensor format, the data is encoded in time and position, and the stress value data at 100 measuring points of the coal rock mass are feature extracted through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows:
[0127]
[0128] in represents the stress features extracted by the self-attention mechanism, σ X , σ Y , σ Z Represents the stress values in the X, Y, and Z directions of the measuring point; Avoid when the feature gap between Q and K is too large, and the calculation result of softmax is close to 1;
[0129] Then, multiple self-attention mechanism layers are connected in a residual manner so that the stress features extracted by the self-attention mechanism of the x+1 layer contain the features extracted by the x and x+1 layers at the same time. The formula is as follows:
[0130] O(x)=F(x)+x
[0131] Where x represents the stress value input into the neural network; F(x) represents the stress feature extracted by the neural network through input x; O(x) represents the stress feature obtained through residual connection;
[0132] Finally, the processed features are passed into the Feed Forward Neural Network (FNN), and linear transformation is performed through the FNN layer to map the stress features at the measuring point from the low-dimensional space to the high-dimensional space. The formula is as follows:
[0133]
[0134] Among them, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters; FNN() is the extracted stress feature.
[0135] In one example of the present invention, in step S40, the stress field construction part in the stress field inversion neural network model predicts the boundary conditions of the coal rock mass 100 during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary conditions, including the following steps:
[0136] S41: Input the features obtained from the spatial feature and stress feature extraction parts into the first feature splicing layer of the stress field construction part. The first feature splicing layer splices the features extracted from the two parts, extracts the similarity between the stress value and the coordinate position feature of the coal rock mass 100, and learns to predict the stress value size at different positions of the coal rock mass 100. The formula is as follows:
[0137]
[0138] Among them, Conf represents the concatenation result of Con-features, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters; (FNN(σ X )+FNN(σ Y )+FNN(σ Z )) is the stress feature extracted by the stress feature extraction part; (FNN(x)+FNN(y)+FNN(z)) is the spatial position coordinate feature of the measuring point extracted by the spatial feature extraction part; is obtained by (FNN(σ X )+FNN(σ Y )+FNN(σ Z )) and (FNN(x)+FNN(y)+FNN(z)) to obtain the feature concatenation result;
[0139] S42: During the training process of the stress field inversion neural network model, the first feature concatenation layer of the stress field construction part extracts features of the boundary conditions through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows:
[0140]
[0141] Among them, Z Brepresents the boundary condition features extracted by the self-attention mechanism; W Q , W K and W V represents the feature extraction weights of the auxiliary matrices Q, K, and V; Q B , K B and V B Represents the feature extraction result of the auxiliary matrix;
[0142] S42: The second feature splicing layer of the stress field construction part has two feature input terminals, including boundary conditions and splicing feature inputs; the boundary condition features extracted by the self-attention mechanism are combined with the splicing feature results. Feature fusion is performed to obtain the stress field distribution characteristics of the coal rock mass 100, and finally the stress field distribution of the coal rock mass 100 is output through the fully connected layer. The formula is as follows:
[0143]
[0144] σ field =(Conf σ_field ·W1+b1)·W2+b2
[0145] Boundary=(Conf σ_field ·W1+b1)·W2+b2
[0146] in, is the stress field distribution characteristic; σ field represents the final predicted stress field distribution; Boundary represents the final predicted boundary conditions; W1 and W2 represent the weights of the fully connected layer; b1 and b2 represent bias parameters.
[0147] In one example of the present invention, in step S40, the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and validation set data, and further includes: calculating the deviation of the predicted stress value and boundary condition through the MSE mean square error function, and the formula is as follows:
[0148]
[0149] Where N is the length of the prediction sequence; y σp and Bp Represent the predicted stress value and boundary conditions respectively; y σt and Bt represent the true stress value and boundary conditions respectively.
[0150] In one example of the present invention, in step S50, the accuracy of the inverted stress field of the coal rock mass 100 and the predicted boundary conditions is verified by the stress values and boundary conditions measured by the sensors in the test set, and the model parameters are adjusted according to the verification results until the accuracy of the inverted stress field and boundary conditions of the coal rock mass 100 meets the requirements, which includes the following steps:
[0151] The error between the true value monitored by the stress sensor and the stress value obtained by model inversion is calculated by RMSE; if the calculated error is large, the hyperparameters of the stress field inversion neural network are adjusted, including: initialization weight, learning rate, training batch size and number of training times; the calculation formula for the error between the true value monitored by the stress sensor and the stress value obtained by model inversion by RMSE is as follows:
[0152]
[0153] Where N is the length of the prediction sequence; y obs,i and model,i They represent the true stress value monitored by the stress sensor and the stress value obtained by model inversion respectively.
[0154] According to the second aspect of the present invention, a device for inverting stress field of loaded coal and rock based on detection and monitoring information comprises:
[0155] An information acquisition unit is configured to arrange a detection and monitoring sensor in the coal-rock body 100, and place the coal-rock body 100 in a testing machine, and the testing machine performs a load fracture test on the coal-rock body 100, and records the collected detection and monitoring information and loading boundary condition information during the test;
[0156] A stress calculation unit is configured to convert the detection and monitoring information by establishing a coupling relationship between the velocity field, the crack field, the internal strain and the stress value to obtain the stress value at the detection and monitoring position;
[0157] A data division unit is configured to divide the stress values, detection and monitoring position coordinates and boundary condition data obtained after conversion during the test into a training set, a verification set and a test set;
[0158] The model building unit is configured to build a stress field inversion neural network model composed of a spatial feature extraction part, a stress feature extraction part and a stress field construction part, and the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and verification set data; wherein the spatial feature extraction part is configured to extract features from the observation point coordinate data; the stress feature extraction part is configured to extract features from the observation point stress value data; the stress field construction part is configured to predict the boundary conditions of the coal rock mass 100 during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary condition;
[0159] The inversion calculation unit is configured to input the stress value at the detection and monitoring position obtained through the coupling relationship in the test set into the trained stress field inversion neural network model to obtain the inverted stress field of the coal rock mass 100, and predict the boundary conditions during the test; the accuracy of the inverted stress field of the coal rock mass 100 and the predicted boundary conditions is verified through the stress value and boundary conditions measured by the sensor in the test set, and the model parameters are adjusted according to the verification results until the accuracy of the inverted stress field of the coal rock mass 100 and the boundary conditions meets the requirements.
[0160] The present invention focuses on intelligent inversion of the stress field of the loaded coal rock mass 100 based on laboratory detection and monitoring information, combines the self-attention mechanism with the feedforward neural network method, proposes a feature extraction method combining multiple neural network modules of "spatial feature extraction + stress feature extraction + stress field construction", and sets a mean square error function for the neural network, so that the neural network can effectively learn the method of constructing stress fields and predicting boundary conditions during the training process, improve the accuracy of stress field inversion and boundary condition prediction, and can reveal the black box process of stress field inversion of the coal rock mass 100 during loading, and realize the prediction of boundary conditions.
[0161] The laboratory detection and monitoring information in the present invention adopts the traditional sensor arrangement scheme, realizes the collection and monitoring of detection and monitoring information through ultrasonic phased array, multi-frequency sound wave, optical fiber micro-nano and stress sensor, establishes the coupling relationship between detection and monitoring information and stress value, and realizes the detection and monitoring of stress value of coal rock mass 100. Combining the stress value obtained by the coupling relationship with the monitoring result of the stress sensor helps to improve the training effect of the neural network and further improve the accuracy of the model for stress field inversion and boundary condition prediction.
[0162] The present invention can not only perform stress field inversion through detection and monitoring information, but also predict the boundary conditions of the coal rock mass 100 during loading. The trained neural network model can model the three-dimensional spatial position of the coal rock mass 100, and perform stress field inversion on the coal rock mass 100 in the entire space through the stress values of the finite measuring point positions obtained through the coupling relationship, with high resolution and accuracy. After training, the model can extract features from the detection and monitoring information, learn the characteristic relationship between the boundary conditions and the detection and monitoring information, and realize the full process prediction of the boundary conditions of the coal rock mass 100 during loading.
[0163] The exemplary implementation scheme of the method and device for inversion of stress field of loaded coal rock based on detection and monitoring information proposed in the present invention is described in detail above with reference to the preferred embodiments. However, those skilled in the art will appreciate that, without departing from the concept of the present invention, various modifications and variations can be made to the above-mentioned specific embodiments, and various technical features and structures proposed in the present invention can be combined in various ways without exceeding the protection scope of the present invention, which is determined by the attached claims.
Claims
1. A method for inversion of stress field of loaded coal and rock based on detection and monitoring information, characterized in that: The steps include: S10: arranging a detection device in the coal-rock mass, and placing the coal-rock mass in a testing machine, and using the testing machine to perform a load fracture test on the coal-rock mass, and recording the collected detection and monitoring information and loading boundary condition information during the test; S20: converting the detection and monitoring information by establishing a coupling relationship among the velocity field, the crack field, the internal strain and the stress value, and obtaining the stress value at the detection and monitoring position; S30: dividing the stress values, detection and monitoring position coordinates and boundary condition data obtained during the test into a training set, a validation set and a test set; S40: constructing a stress field inversion neural network model consisting of a spatial feature extraction part, a stress feature extraction part and a stress field construction part, and the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition features through training set and validation set data; wherein the spatial feature extraction part is configured to extract features from the observation point coordinate data; the stress feature extraction part is configured to extract features from the observation point stress value data; and the stress field construction part is configured to predict the boundary conditions of the coal rock mass during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary condition; S50: input the stress value at the detection and monitoring position obtained through the coupling relationship in the test set into the trained stress field inversion neural network model to obtain the inverted coal rock stress field, and predict the boundary conditions during the test; verify the accuracy of the inverted coal rock stress field and the predicted boundary conditions through the stress values and boundary conditions measured by the sensors in the test set, and adjust the model parameters according to the verification results until the accuracy of the inverted coal rock stress field and boundary conditions meets the requirements.
2. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 1 is characterized in that: In step S10, the detection device includes: an ultrasonic phased array sensor and a multi-frequency acoustic wave detection sensor, an optical fiber micro-nano sensor and a stress monitoring sensor, wherein the ultrasonic phased array sensor is arranged on the top of the coal rock mass; the multi-frequency acoustic wave detection sensor is arranged on the side of the coal rock mass; the optical fiber micro-nano sensor and the stress sensor are arranged inside the coal rock mass.
3. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 2 is characterized in that: In the step S10, before the testing machine performs a load fracture test on the coal rock mass, the following steps are also included: Set the working frequency of the ultrasonic phased array sensor and the ultrasonic shear wave velocity; set the working frequency of the multi-frequency acoustic wave detection sensor according to the corresponding waveform channel; the optical fiber micro-nano sensor has multiple channels, connect multiple sensors in parallel to a channel, and set its scanning frequency; set the sampling frequency and monitoring position of the stress sensor; Set the loading method of the testing machine and the data to be collected.
4. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 2 is characterized in that: In the step S20, the following steps are included: The wave velocity field and crack field information obtained by the ultrasonic phased array sensor establish the coupling relationship between them and the stress field; The fracture position is obtained by multi-frequency acoustic wave detection sensor, and the fracture scale is calculated by mechanism solution inversion method to infer the stress direction and magnitude at the fracture point; The fiber optic micro-nano sensor is used to monitor the changing trend of the internal strain of the coal rock mass, and the stress value at the point or line monitoring position is calculated in combination with Hooke's law.
5. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 1 is characterized in that: In step S40, the spatial feature extraction part in the stress field inversion neural network model extracts features from the observation point coordinate data, including the following steps: First, the measurement point coordinate data is read through the input layer, the data format is converted into a tensor format, the data is encoded in time and position, and the feature extraction of the spatial position measurement point coordinate data of the coal rock mass is performed through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows: Among them, SA stands for Self-Attention mechanism; Q stands for query module, which is responsible for querying the relationship between it and the queried features; K stands for the queried module, which is responsible for accepting the query of Q module; V module represents the actual feature information calculated; x, y, z represent the spatial position coordinates of the measurement point; Z X , Z Y , Z Z represents the spatial position coordinate features extracted by the self-attention mechanism; softmax represents the activation function; Then, multiple self-attention mechanism layers are connected in a residual manner so that the spatial position features extracted by the self-attention mechanism of the x+1 layer contain the features extracted by the x and x+1 layers at the same time. The formula is as follows: O(x)=F(x)+x Among them, x represents the spatial position of the input neural network; F(x) represents the spatial position feature extracted by the neural network through the input x; O(x) represents the spatial position feature obtained through the residual connection; Finally, the processed features are passed into the forward feedback network FNN, and linear transformation is performed through the FNN layer to map the coordinate features of the measuring points from the low-dimensional space to the high-dimensional space, and the spatial position modeling of the limited measuring points in the coal rock body is performed. The formula is as follows: <h2 style=";text-align:left;direction:ltr">FNN(Z<h2 style=";text-align:left;direction:ltr"> X <h2 style=";text-align:left;direction:ltr"> )=max(0,Z<h2 style=";text-align:left;direction:ltr"> X <h2 style=";text-align:left;direction:ltr"> W1+b1)W2+b2 <h2 style=";text-align:left;direction:ltr">FNN(Z<h2 style=";text-align:left;direction:ltr"> Y <h2 style=";text-align:left;direction:ltr"> )=max(0,Z<h2 style=";text-align:left;direction:ltr"> Y <h2 style=";text-align:left;direction:ltr"> W1+b1)W2+b2 <h2 style=";text-align:left;direction:ltr">FNN(Z<h2 style=";text-align:left;direction:ltr"> Z <h2 style=";text-align:left;direction:ltr"> )=max(0,Z<h2 style=";text-align:left;direction:ltr"> Z <h2 style=";text-align:left;direction:ltr"> W1+b1)W2+b2 Among them, Z X , Z Y , Z Z represents the spatial position feature of the measurement point input to FNN; FNN() is the extracted spatial position coordinate feature of the measurement point, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters.
6. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 1 is characterized in that: In step S40, the stress feature extraction part in the stress field inversion neural network model extracts features from the stress value data of the observation point, including the following steps: First, the stress value data is read through the input layer, the data format is converted into a tensor format, the data is encoded in time and position, and the stress value data at the coal rock mass measuring point is feature extracted through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows: in represents the stress features extracted by the self-attention mechanism, σ X , σ Y , σ Z Represents the stress values in the X, Y, and Z directions of the measuring point; Then, multiple self-attention mechanism layers are connected in a residual manner so that the stress features extracted by the self-attention mechanism of the x+1 layer contain the features extracted by the x and x+1 layers at the same time. The formula is as follows: O(x)=F(x)+x Where x represents the stress value input into the neural network; F(x) represents the stress feature extracted by the neural network through input x; O(x) represents the stress feature obtained through residual connection; Finally, the processed features are passed into the Feed Forward Neural Network, and linear transformation is performed through the FNN layer to map the stress features at the measuring point from the low-dimensional space to the high-dimensional space. The formula is as follows: Among them, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters; FNN() is the extracted stress feature.
7. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 1 is characterized in that: In step S40, the stress field construction part in the stress field inversion neural network model predicts the boundary conditions of the coal rock mass during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary conditions, including the following steps: S41: Input the features obtained from the spatial feature and stress feature extraction parts into the first feature splicing layer of the stress field construction part. The first feature splicing layer splices the features extracted from the two parts, extracts the similarity between the stress value and the coal rock coordinate position feature, and learns to predict the stress value size at different positions of the coal rock. The formula is as follows: Among them, Conf represents the concatenation result of Con-features, W1 and W2 represent weight parameters; b1 and b2 represent bias parameters; (FNN(σ X )+FNN(σ Y )+FNN(σ Z )) is the stress feature extracted by the stress feature extraction part; (FNN(x)+FNN(y)+FNN(z)) is the spatial position coordinate feature of the measuring point extracted by the spatial feature extraction part; is through (FNN(σ X )+FNN(σ Y )+FNN(σ Z )) and (FNN(x)+FNN(y)+FNN(z)) to obtain the feature concatenation result; S42: During the training process of the stress field inversion neural network model, the first feature concatenation layer of the stress field construction part extracts features of the boundary conditions through the Q, K, and V auxiliary matrices of the self-attention mechanism. The formula is as follows: Among them, Z B represents the boundary condition features extracted by the self-attention mechanism; W Q , W K and W V represents the feature extraction weights of the auxiliary matrices Q, K, and V; Q B , K B and V B Represents the feature extraction result of the auxiliary matrix; S42: The second feature splicing layer of the stress field construction part has two feature input terminals, including boundary conditions and splicing feature inputs; the boundary condition features extracted by the self-attention mechanism are combined with the splicing feature results. Feature fusion is performed to obtain the stress field distribution characteristics of the coal rock mass, and finally the stress field distribution of the coal rock mass is output through the fully connected layer. The formula is as follows: σ field =(Conf σ_field ·W1+b1)·W2+b2 Boundary=(Conf σ_field ·W1+b1)·W2+b2 in, is the stress field distribution characteristic; σ field represents the final predicted stress field distribution; Boundary represents the final predicted boundary conditions; W1 and W2 represent the weights of the fully connected layer; b1 and b2 represent bias parameters.
8. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 1 is characterized in that: In the step S40, the inversion neural network model acquires stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and validation set data learning, and further includes: calculating deviations of the predicted stress values and boundary conditions through the MSE mean square error function, and the formula is as follows: Where N is the length of the prediction sequence; y σp and Bp Represent the predicted stress value and boundary conditions respectively; y σt and Bt represent the true stress value and boundary conditions respectively.
9. The method for inversion of stress field of loaded coal and rock based on detection and monitoring information according to claim 1 is characterized in that: In step S50, the accuracy of the inverted coal rock stress field and the predicted boundary conditions is verified by testing the stress values and boundary conditions measured by the sensors in the centralized test, and the model parameters are adjusted according to the verification results until the accuracy of the inverted coal rock stress field and boundary conditions meets the requirements, which includes the following steps: The error between the true value monitored by the stress sensor and the stress value obtained by model inversion is calculated by RMSE; if the calculated error is large, the hyperparameters of the stress field inversion neural network are adjusted, including: initialization weight, learning rate, training batch size and number of training times; the calculation formula for the error between the true value monitored by the stress sensor and the stress value obtained by model inversion by RMSE is as follows: Where N is the length of the prediction sequence; y obs,i and model,i They represent the true stress value monitored by the stress sensor and the stress value obtained by model inversion respectively.
10. A device for inverting stress field of loaded coal and rock based on detection and monitoring information as claimed in any one of claims 1 to 9, characterized in that: include: An information acquisition unit is configured to arrange detection and monitoring sensors in the coal-rock mass, and place the coal-rock mass in a testing machine, and the testing machine performs a load fracture test on the coal-rock mass, and records the collected detection and monitoring information and loading boundary condition information during the test; A stress calculation unit is configured to convert the detection and monitoring information by establishing a coupling relationship between the velocity field, the crack field, the internal strain and the stress value to obtain the stress value at the detection and monitoring position; A data division unit is configured to divide the stress values, detection and monitoring position coordinates and boundary condition data obtained after conversion during the test into a training set, a validation set and a test set; The model building unit is configured to build a stress field inversion neural network model composed of a spatial feature extraction part, a stress feature extraction part and a stress field construction part, and the inversion neural network model learns to obtain stress values, detection and monitoring position coordinates and boundary condition characteristics through training set and verification set data; wherein the spatial feature extraction part is configured to extract features from the observation point coordinate data; the stress feature extraction part is configured to extract features from the observation point stress value data; the stress field construction part is configured to predict the boundary conditions of the coal rock mass during the loading process according to the mapping relationship between the spatial position of the observation point, the stress value and the boundary condition; The inversion calculation unit is configured to input the stress value at the detection and monitoring position obtained through the coupling relationship in the test set into the trained stress field inversion neural network model to obtain the inverted coal rock stress field and predict the boundary conditions during the test; the accuracy of the inverted coal rock stress field and the predicted boundary conditions is verified by the stress value and boundary conditions measured by the sensor in the test set, and the model parameters are adjusted according to the verification results until the accuracy of the inverted coal rock stress field and boundary conditions meets the requirements.
