Method and device for predicting slope deformation, storage medium and processor
By using the empirical mode decomposition algorithm and sample entropy screening plus noise decomposition technology in slope displacement prediction, the problem of modal aliasing in traditional algorithms in landslide displacement prediction is solved and the accuracy of prediction is improved.
Patent Information
- Application Number
- CN202410862176.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-15
AI Technical Summary
The traditional empirical mode decomposition algorithm has a mode mixing problem in landslide displacement prediction, resulting in inaccurate slope displacement prediction.
By obtaining the displacement data and meteorological data of the slope, the empirical mode decomposition algorithm is used to decompose the displacement time series data, calculate the sample entropy of each modal component, filter out the component with the largest sample entropy and add noise for further decomposition, and construct characteristic data Set, input into the prediction model for prediction.
It effectively alleviates the mode mixing problem and improves the accuracy of slope displacement and deformation prediction.
Smart Images

Figure CN118779608A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mining technology, and in particular to a method, device, system, storage medium and processor for predicting slope deformation. Background Art
[0002] The most important external feature of slope movement is the constant change of displacement in the key deformation area. It is very important to carry out real-time dynamic monitoring and deformation prediction of slope displacement and deformation. There are many types of slope damage, such as collapse, spalling, and landslide. Among them, landslide disaster is the most common and most harmful disaster. Once a landslide disaster occurs on the slope of an open-pit mine, it will pose a serious threat to production safety.
[0003] In the past few decades, researchers have used various methods to predict the distribution of landslide displacement. Among them, the commonly used landslide displacement decomposition methods include time series analysis and empirical mode decomposition (EMD). The principle of time series analysis is simple, but the displacement decomposition is not thorough. Traditional EMD decomposes the displacement thoroughly, but the number of decompositions is random, and the decomposition signal has the problem of modal aliasing, which leads to the technical defect of being unable to accurately predict landslide displacement. Therefore, there is an urgent need for a method that can solve the modal aliasing problem caused by the traditional EMD algorithm to achieve accurate prediction of landslide displacement. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method for predicting slope deformation, so as to solve the technical defect in the prior art that the EMD completely decomposes the displacement, resulting in inaccurate prediction of slope displacement.
[0005] In order to achieve the above-mentioned object, the present application provides a method for predicting slope deformation in a first aspect, comprising:
[0006] Obtain the displacement data and meteorological data of the slope within a preset historical time period;
[0007] Determine the displacement time series data of the slope within a preset historical time period based on the displacement data, and determine the meteorological time series data of the slope within a preset historical time period based on the meteorological data;
[0008] Decomposing the displacement time series data based on an empirical mode decomposition algorithm to obtain a plurality of first mode components;
[0009] determining the sample entropy of each first modal component;
[0010] Adding a preset noise to the first modal component with the largest sample entropy, and further decomposing the modal component after adding the preset noise to obtain a plurality of first modal components;
[0011] Based on the first modal component obtained by decomposition and the meteorological time series, a characteristic data set of the slope within a preset time period is constructed;
[0012] The feature data set is input into the prediction model to output the predicted deformation of the slope within the prediction time period based on the prediction model, wherein the prediction model is trained based on historical displacement time series data and historical meteorological time series data.
[0013] In an embodiment of the present application, the method also includes a training step of the prediction model, and the training step includes: determining a training data set for the prediction model to be trained, wherein the training data set is constructed based on historical displacement time series data and historical meteorological time series data; dividing the data set into a training set and a test set according to a preset ratio; initializing the prediction model to be trained to determine the initial parameters of the prediction model to be trained, wherein the prediction model to be trained includes at least an input layer, a convolutional layer, a pooling layer, an LSTM layer, an attention mechanism layer, a fully connected layer, an output layer, and a residual connection layer connected to the convolutional layer, the residual connection layer is used to retain the time series residual data extracted by the convolutional layer to prevent the gradient from disappearing, the LSTM layer is used to capture the long-term dependencies in the time series data, and the attention mechanism layer is used to calculate the weight of each time step; the training set and the test set are input into the prediction model to be trained in turn to train and verify the prediction model to be trained, respectively, and when the error between the predicted value output by the prediction model to be trained and the historical true value meets the preset conditions, it is determined that a trained prediction model is obtained.
[0014] In an embodiment of the present application, determining a training data set for a prediction model to be trained includes: determining historical displacement time series data and historical meteorological time series data of a slope within a historical time period; decomposing the historical displacement time series data based on an empirical mode decomposition algorithm to obtain a first number of second modal components; determining the sample entropy of each second modal component, and screening out the second modal component with the largest sample entropy; adding a preset noise to the second modal component with the largest sample entropy, and further decomposing the second modal component after adding the preset noise to obtain a second number of second modal components; concatenating the first number of second modal components and the second number of second modal components to obtain a third number of second modal components; defining a time interval, a label, and a characteristic shape for each sample data used for training; determining a third number of sub-second modal components and sub-historical meteorological time series included in each sample data based on the time interval of each sample data; constructing each sample data based on the time interval, the label, the characteristic shape, the sub-second modal component, and the sub-historical meteorological time series, and determining a training data set for the prediction model to be trained based on multiple sample data.
[0015] In an embodiment of the present application, the method further includes: for each sample data, determining the sub-second modal component of the sample data as a displacement feature sequence, and determining the sub-meteorological data of the sample data as an external influencing factor feature sequence.
[0016] In an embodiment of the present application, the meteorological data includes at least the average daily precipitation, the average daily temperature and the average daily wind force level of the slope within a preset historical time period.
[0017] In an embodiment of the present application, a preset noise is added to the first modal component with the largest sample entropy, and the modal component after adding the preset noise is further decomposed to obtain multiple first modal components, including: determining the first modal component with the largest sample entropy as the target modal component, and copying the target modal component multiple times; for multiple target modal components, adding different preset noises to each target modal component; decomposing the target modal component with the preset noise added based on the empirical mode decomposition algorithm to obtain corresponding multiple modal components; determining the residual component of each target modal component; for multiple residual components, adding different preset noises to each residual component, and continuing to decompose to obtain corresponding multiple modal components until the number of decompositions reaches the preset number of decompositions.
[0018] A second aspect of the present application provides a device for predicting slope deformation, comprising:
[0019] a memory configured to store instructions; and
[0020] The processor is configured to call the instructions from the memory and implement the above-mentioned method for predicting slope deformation when executing the instructions.
[0021] A third aspect of the present application provides a system for predicting slope deformation, comprising the above-mentioned device for predicting slope deformation.
[0022] In an embodiment of the present application, the prediction system for slope deformation further includes:
[0023] A radar detection device for collecting displacement data of the slope within a preset historical time period;
[0024] The meteorological data collection device is used to collect meteorological data of the slope within a preset time period, and the meteorological data at least includes the average daily precipitation, average daily temperature and average daily wind force level of the slope within the preset historical time period.
[0025] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned method for predicting slope deformation.
[0026] The above technical scheme obtains displacement data and meteorological data of the slope within a preset historical time period; determines the displacement time series data of the slope within the preset historical time period based on the displacement data, and determines the meteorological time series data of the slope within the preset historical time period based on the meteorological data; decomposes the displacement time series data based on the empirical mode decomposition algorithm to obtain multiple first modal components; determines the sample entropy of each first modal component; adds preset noise to the first modal component with the largest sample entropy, and further decomposes the modal component after adding the preset noise to obtain multiple first modal components; constructs a feature data set of the slope within the preset time period based on the decomposed first modal components and meteorological time series; inputs the feature data set into a prediction model to output a predicted deformation variable of the slope within the prediction time period based on the prediction model, wherein the prediction model is trained based on historical displacement time series data and historical meteorological time series data. This method proposes a technology for improving empirical mode decomposition. After decomposing the original displacement time series data based on the empirical mode decomposition algorithm, the sample entropy of each component is calculated, and the complexity of each component is evaluated based on the sample entropy of each component. The component with the largest sample entropy is screened out as the component with the most complex time series. By adding noise to the component and using the empirical mode decomposition algorithm for further in-depth decomposition, the modal aliasing problem existing in the traditional empirical mode decomposition algorithm is effectively alleviated, thereby effectively improving the accuracy of slope displacement deformation prediction.
[0027] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0029] Figure 1 A schematic diagram of a process for predicting slope deformation according to an embodiment of the present application is shown;
[0030] Figure 2 A schematic diagram of a process of EMD decomposition of a displacement time series according to an embodiment of the present application is shown;
[0031] Figure 3 The schematic diagram of the structure of the prediction model according to the embodiment of the present application is shown;
[0032] Figure 4 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0034] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0035] Figure 1 The following schematically shows a flow chart of a method for predicting slope deformation according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a method for predicting slope deformation, which may include the following steps.
[0036] Step 101, obtaining the displacement data and meteorological data of the slope within a preset historical time period.
[0037] In the embodiment of the present application, it should be noted that the slope can refer to the free-air surface of a rock mass or soil mass with a certain inclination formed by natural gravity or human action. For example, the mine slope refers to the slope with a certain slope made on both sides of the roadbed to ensure the stability of the roadbed. In the present technical scheme, the slope can refer to the mine slope, which refers to a hillside rich in mineral resources, usually in a stepped shape, so that engineering machinery can carry out mineral mining. Slope stability monitoring is one of the key tasks during mining. Once a landslide disaster occurs on the slope, it will pose a serious threat to safe production. The deformation of the slope can intuitively reflect the state of the slope. Therefore, it is very important to carry out real-time dynamic monitoring and deformation prediction of the slope displacement deformation. It should be noted that the evolution process of slope deformation is a complex nonlinear process with multiple influencing factors superimposed. Therefore, by collecting long-term daily displacement monitoring data of the slope surface, the dynamic characteristics of the nonlinear displacement that occurs are reflected. Therefore, the preset historical time period can be set according to actual needs, including but not limited to one month, one week, etc. Since the deformation of the slope surface is also related to a series of factors such as external precipitation, temperature, humidity, wind speed, vegetation coverage, surface height difference, etc., when predicting the deformation of the slope in the future, it is necessary to obtain the slope displacement data and meteorological data for prediction.
[0038] In an embodiment of the present application, the meteorological data includes at least the average daily precipitation, the average daily temperature and the average daily wind force level of the slope within a preset historical time period.
[0039] In this embodiment, it should be noted that the displacement data and meteorological data of the slope collected are in units of days. According to historical experience, the meteorological data that most affect the deformation of the slope in this technical solution are precipitation, temperature and wind force level. Therefore, the meteorological data obtained in this technical solution at least include the average daily precipitation, average daily temperature and average daily wind force level of the slope in a preset historical time period. At the same time, the displacement data obtained in this technical solution includes the average daily displacement data of the slope in a preset historical time period. For example, taking the current day as the 20th of a certain month as an example, the preset historical time period can be set to a total of 20 days from the 1st to the 20th of the month, and the meteorological data includes the average daily precipitation, average daily temperature, average daily wind force level and average daily displacement data of each day from the 1st to the 20th of the month.
[0040] Step 102: Determine displacement time series data of the slope within a preset historical time period based on the displacement data, and determine meteorological time series data of the slope within a preset historical time period based on the meteorological data.
[0041] In the embodiments of the present application, it should be noted that time series data may refer to a series of data obtained in different time periods or time points in chronological order, describing the changes of the observed object over time. The displacement data and meteorological data obtained in the present technical solution are in units of days. Therefore, after obtaining the daily displacement data and meteorological data of the slope, it can be obtained that the displacement data and meteorological data of the slope change over time in the historical time period, that is, the displacement time series data and meteorological time series data of the slope in the preset historical time period. Among them, the meteorological time series data at least includes precipitation time series data, temperature time series data and wind force level time series data.
[0042] Step 103: decompose the displacement time series data based on an empirical mode decomposition algorithm to obtain a plurality of first modal components.
[0043] In the embodiments of the present application, it should be noted that the empirical mode decomposition algorithm may refer to EMD, which is an algorithm for signal decomposition, particularly suitable for processing nonlinear and non-stationary signals. It can decompose complex signals into a series of intrinsic mode components IMF, each IMF representing a different frequency component in the signal. The basic idea of the EMD algorithm is to gradually extract the IMF from the original signal in an iterative manner until it can no longer be decomposed. For an unknown signal, EMD does not require prior analysis and research, and can directly and automatically start decomposing it hierarchically according to some patterns without the need for manual settings and intervention. In the present technical solution, the displacement time series is used as the original data. After being decomposed by the empirical mode decomposition algorithm EMD, multiple first modal component IMFs can be obtained, for example, M first modal component IMFs can be obtained.
[0044] Step 104: determine the sample entropy of each first modal component.
[0045] In the embodiment of the present application, it should be noted that the traditional empirical mode decomposition algorithm has a modal aliasing problem. Among the multiple components decomposed by the empirical mode decomposition algorithm, there may be components containing too much information, that is, complex time series. In order to alleviate the modal aliasing problem existing in the traditional EMD algorithm, the technical scheme adopts a fully adaptive noise set empirical mode decomposition algorithm for the most complex component after EMD decomposition, and continues to decompose it to achieve the fusion of the advantages of the two algorithms. Therefore, after decomposing the displacement time series data based on EMD to obtain multiple first modal components IMF, it is necessary to determine which modal component in the multiple first modal components IMF is the most complex in the time series. Specifically, the sample entropy of each first modal component IMF can be calculated to judge. Sample entropy is an improvement on the approximate entropy algorithm, and it is also a method for calculating entropy eigenvalues that is currently widely used. Sample entropy is also a measure of the complexity of the time series. The smaller the sample entropy, the smaller the complexity of the time series, and the higher the self-similarity.
[0046] Step 105 , adding a preset noise to the first modal component with the largest sample entropy, and further decomposing the modal component after adding the preset noise to obtain a plurality of first modal components.
[0047] In the embodiment of the present application, it should be noted that the preset noise may refer to Gaussian white noise. If a noise has an amplitude distribution that obeys a Gaussian distribution and a power spectrum density that is uniformly distributed, then the noise may be referred to as Gaussian white noise. After determining the sample entropy of each first modal component IMF, the first modal component with the largest sample entropy may be determined as the first modal component with the most complex time series, for example, IMF-i, where i is a positive integer. Gaussian white noise is added to the first modal component IMF-i, and the IMF-i to which the Gaussian white noise is added is further decomposed by EMD to obtain multiple first modal components IMF.
[0048] In an embodiment of the present application, a preset noise is added to the first modal component with the largest sample entropy, and the modal component after the preset noise is added is further decomposed to obtain multiple first modal components, including: determining the first modal component with the largest sample entropy as the target modal component, and copying the target modal component multiple times; for multiple target modal components, adding different preset noises to each target modal component; decomposing the target modal component with the preset noise added based on the empirical mode decomposition algorithm to obtain corresponding multiple modal components; determining the residual component of each target modal component; for multiple residual components, adding different preset noises to each residual component, and continuing to decompose to obtain corresponding multiple modal components until the number of decompositions reaches the preset number of decompositions.
[0049] In this embodiment, if Figure 2As shown in Figure 1, a schematic diagram of the process of EMD decomposition of displacement time series is provided. Figure 2 As shown, the displacement time series is decomposed based on EMD to obtain M first modal components IMF, including IMF-1, IMF-2, ..., IMF-m. The sample entropy of each first modal component IMF is calculated to screen out the first modal component with the largest sample entropy, such as IMF-i, where i is a positive integer. IMF-i is determined as the target modal component, and IMF-i is copied into multiple copies, such as p copies. Different Gaussian white noises are added to each IMF-i, and each IMF-i is decomposed by EMD respectively, and the corresponding IMF components of this order are obtained by weighted average. The undecomposed residual components in each IMF-i are determined, and then the above operation is repeated on the residual part to obtain the second-order, third-order, ..., P-order IMF components in turn to avoid the transfer of white noise from high frequency to low frequency.
[0050] Step 106: construct a characteristic data set of the slope within a preset time period based on the decomposed first modal component and the meteorological time series.
[0051] In the embodiment of the present application, it should be noted that the multiple first modal component IMFs, for example, M, obtained by decomposing the original signal, i.e., the displacement time series data, and the multiple first modal component IMFs, for example, p, obtained by further decomposing the first modal component IMF-i with the largest sample entropy of the EMD decomposition are spliced, that is, the M first modal component IMFs are spliced with the p first modal component IMFs to obtain N first modal component IMFs, where N=M-1+P. Based on the N first modal component IMFs and the meteorological time series, a characteristic data set of the slope in a preset time period can be constructed. Specifically, the N first modal component IMFs can be used as the displacement characteristic sequence, and the meteorological time series can be used as the characteristic sequence of the external influencing factor of the slope deformation, thereby constructing a characteristic data set. Among them, a label is also set in the characteristic data set, and the label corresponds to the prediction time period. For example, taking the current day of the 20th of a certain month as an example, the preset historical time period can be set to a total of 20 days from the 1st to the 20th of the month, and the label of the characteristic data set can be set to the 21st, that is, the slope deformation variable on the 21st is predicted by the data from the 1st to the 20th.
[0052] Step 107, inputting the feature data set into the prediction model to output the predicted deformation of the slope within the prediction time period based on the prediction model, wherein the prediction model is trained based on the historical displacement time series data and the historical meteorological time series data.
[0053] In the embodiment of the present application, it should be noted that the prediction model may refer to a network structure connected by CNN+LSTM+Attention+residual, and the prediction model may be trained based on historical displacement time series data and historical meteorological time series data. After constructing a feature data set of the slope in a preset historical time period, the feature data set is input into the prediction model, and the predicted deformation of the slope in the prediction time period can be output by the prediction model. Among them, the prediction time period can be set according to actual needs, including but not limited to one day, one week, etc.
[0054] In an embodiment of the present application, the method also includes a training step of the prediction model, and the training step includes: determining a training data set for the prediction model to be trained, wherein the training data set is constructed based on historical displacement time series data and historical meteorological time series data; dividing the data set into a training set and a test set according to a preset ratio; initializing the prediction model to be trained to determine the initial parameters of the prediction model to be trained, wherein the prediction model to be trained includes at least an input layer, a convolution layer, a pooling layer, an LSTM layer, an attention mechanism layer, an output layer, and a residual connection layer connected to the convolution layer, the residual connection layer is used to retain the time series residual data extracted by the convolution layer to prevent data loss, the LSTM layer is used to capture long-term dependencies in the time series data, and the attention mechanism layer is used to calculate the weight of each time step; the training set and the test set are input into the prediction model to be trained in turn to train and verify the prediction model to be trained, respectively, and when the error between the predicted value output by the prediction model to be trained and the historical true value meets the preset conditions, it is determined that a trained prediction model is obtained.
[0055] In this embodiment, historical displacement data and historical meteorological data within any historical time period can be selected as training data to train the prediction model according to actual needs. For example, it can include but is not limited to time periods such as half a year ago and a year ago, and collect daily displacement data and meteorological data within the historical time period in units of days to obtain historical displacement time series data and historical meteorological time series data within the historical time period, and construct a training data set for the prediction model to be trained based on the historical displacement time series data and historical meteorological time series data. It should be noted that the preset ratio can refer to a ratio of 7:3 between the training set and the test set. Therefore, 70% of the training data set can be divided into a training set to train the prediction model to be trained, and the remaining 30% can be divided into a test set to verify the prediction model to be trained.
[0056] like Figure 3 As shown in Figure , a schematic diagram of the structure of a prediction model is provided. Figure 3As shown, the prediction model to be trained includes at least an input layer, a convolution layer, a pooling layer, an LSTM layer, an attention mechanism layer, a fully connected layer, an output layer, and a residual connection layer connected to the convolution layer. Specifically, the input layer input receives two-dimensional input data, and the convolution layer uses three two-dimensional convolution layers Conv2D to extract the spatial features of the input data. The output channels of each convolution layer are 32, 64, and 128, respectively, and the activation function uses the rectified linear unit ReLU. After each convolution layer, a maximum pooling layer is used to reduce the feature size, and the pooling size is (2,2). A residual connection layer is added after each convolution layer to retain the time series residual data extracted by the convolution layer to prevent the gradient from disappearing. An LSTM layer is used to capture the long-term dependencies in the time series data, and the output of the LSTM layer is passed to the attention mechanism layer Multi Attention. Multi Attention can use a multi-head attention mechanism to calculate the weight of each time step, that is, each day, and use the weighted output as the output of the attention mechanism layer. Finally, a fully connected layer is connected to perform weighted operations. At the same time, a Concat function is connected before the fully connected layer to merge the outputs of the convolution layer and the attention mechanism layer to obtain a feature vector of four times the length to the fully connected layer. The output layer output is the output of the fully connected layer, which is used to predict the shape of the slope within the prediction time period.
[0057] In this embodiment, in order to evaluate the prediction ability of the model, mean absolute error MAE, root mean square error RMSE, mean absolute percentage error MAPE, etc. can be used to analyze the performance of the prediction model. For example, taking mean absolute error MAE as an example, the mean absolute error value interval is set based on historical experience. When the error between the predicted value and the historical true value is within the value interval, it can be considered that the error between the predicted value output by the prediction model to be trained and the historical true value meets the preset conditions, and it is determined that the trained prediction model is obtained. When the error between the predicted value and the historical true value is outside the value interval, the prediction model continues to be trained.
[0058] In an embodiment of the present application, determining a training data set for a prediction model to be trained includes: determining historical displacement time series data and historical meteorological time series data of a slope within a historical time period; decomposing the historical displacement time series data based on an empirical mode decomposition algorithm to obtain a first number of second modal components; determining the sample entropy of each second modal component, and screening out the second modal component with the largest sample entropy; adding a preset noise to the second modal component with the largest sample entropy, and further decomposing the second modal component after adding the preset noise to obtain a second number of second modal components; concatenating the first number of second modal components and the second number of second modal components to obtain a third number of second modal components; defining a time interval, a label, and a characteristic shape for each sample data used for training; determining a third number of sub-second modal components and sub-historical meteorological time series included in each sample data based on the time interval of each sample data; constructing each sample data based on the time interval, label, characteristic shape, sub-second modal component, and sub-historical meteorological time series, and determining a training data set for the prediction model to be trained based on multiple sample data.
[0059] In this embodiment, historical displacement data and historical meteorological data within any historical time period can be selected as training data to train the prediction model according to actual needs. For example, it can include but not be limited to time periods such as half a year ago and a year ago. The daily displacement data and meteorological data within the historical time period are collected in units of days to obtain the historical displacement time series data and historical meteorological time series data within the historical time period. For example, with the start time day as T and the end time day as Z, the selected historical time period is the T+Z time period, and the historical displacement time series data and historical meteorological time series data within the T+Z time period are obtained. The historical displacement time series is decomposed based on the empirical mode decomposition algorithm EMD to obtain M IMF components, and the sample entropy of the M IMF components is calculated. The larger the sample entropy value, the higher the complexity of the time series, the more information it contains, and it needs to be decomposed again. Take out the i-th IMF component corresponding to the maximum sample entropy, add Gaussian white noise and decompose it. After obtaining i first-order IMF components, the first-order IMF components are obtained by weighted average, and then the above operation is repeated on the residual part to obtain the second-order, third-order, ..., P-order IMF components in turn to avoid the transfer of white noise from high frequency to low frequency. The M IMF components obtained are concatenated with the P IMF components to finally obtain N IMF components, where N = M-1 + P. It should be noted that the M and P here are not the same as the M and P in the previous text. M and P are just a numerical example and can be any value. Define the time interval, label and feature shape of each sample data used for training. Take the start time day of the historical time period as T as an example. Assuming that the time interval is W, the end time day of the first sample is T+W, and the label corresponds to the forecast day. The label of the first sample is the shape variable of T+W+1, and the feature shape is set to [W, N+3]. By analogy, the start time of the second sample is T+1, the end time of the second sample is W+1, and the corresponding label of the second sample is (T+1)+(W+1)+1. Thus, a known number of multiple samples can be constructed based on the historical time period T+Z and the time interval corresponding to each sample. At the same time, the historical meteorological time series data includes the historical average daily precipitation time series data, the historical average daily temperature time series data and the historical average daily wind force level time series data. Taking the first sample as an example, the historical meteorological time series data of each day in the historical time period T+W corresponding to the first sample is used as the external feature of the first sample. And the fragment corresponding to the time interval T+W is determined from the N IMF components to split the N IMF sub-components corresponding to the first sample. Similarly, the fragment corresponding to the time interval T+W is determined from the historical meteorological time series to split the sub-historical meteorological time series corresponding to the first sample. The first sample data is constructed based on the time interval, label, feature shape, IMF sub-component and sub-historical meteorological time series, and the remaining samples are constructed by analogy to obtain the training data set for the prediction model to be trained.
[0060] The above technical scheme proposes a technology for improving empirical mode decomposition. After decomposing the original displacement time series data based on the empirical mode decomposition algorithm, the sample entropy of each component is calculated, and the complexity of each component is evaluated based on the sample entropy of each component. The component with the largest sample entropy is screened out as the component with the most complex time series. By adding noise to the component and using the empirical mode decomposition algorithm for further in-depth decomposition, the modal aliasing problem existing in the traditional empirical mode decomposition algorithm is effectively alleviated, thereby effectively improving the accuracy of slope displacement deformation prediction.
[0061] The above technical solution adds data such as precipitation, temperature, and wind speed to enrich the external information that affects slope deformation. It also builds a network structure based on CNN+LSTM+Attention+residual connection, which combines the feature extraction capability of CNN, the temporal dependency capture capability of LSTM and Attention, and uses residual connection to alleviate the gradient disappearance of the neural network.
[0062] The present application embodiment provides a device for predicting slope deformation, comprising:
[0063] a memory configured to store instructions; and
[0064] A processor is configured to call the instructions from the memory and implement a method for predicting slope deformation when executing the instructions.
[0065] An embodiment of the present application provides a system for predicting slope deformation, including a device for predicting slope deformation.
[0066] In the embodiment of the present application, the system for predicting slope deformation further includes:
[0067] A radar detection device for collecting displacement data of the slope within a preset historical time period;
[0068] The meteorological data collection device is used to collect meteorological data of the slope within a preset time period, and the meteorological data at least includes the average daily precipitation, average daily temperature and average daily wind force level of the slope within the preset historical time period.
[0069] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned method for predicting slope deformation is implemented.
[0070] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store method data for predicting slope deformation. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a method for predicting slope deformation is implemented.
[0071] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0072] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the method steps for predicting slope deformation are implemented.
[0073] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing the steps of the method for predicting slope deformation.
[0074] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0075] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0076] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0077] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0078] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0079] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0080] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0081] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0082] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for predicting slope deformation, It is characterized in that The method comprises: Obtain the displacement data and meteorological data of the slope within a preset historical time period; Determine the displacement time series data of the slope within the preset historical time period based on the displacement data, and determine the meteorological time series data of the slope within the preset historical time period based on the meteorological data; Decomposing the displacement time series data based on an empirical mode decomposition algorithm to obtain a plurality of first modal components; determining the sample entropy of each first modal component; Adding a preset noise to the first modal component with the largest sample entropy, and further decomposing the modal component after adding the preset noise to obtain a plurality of first modal components; Constructing a characteristic data set of the slope within the preset time period based on the first modal component obtained by decomposition and the meteorological time series; The feature data set is input into a prediction model to output a predicted deformation amount of the slope within a prediction time period based on the prediction model, wherein the prediction model is trained based on historical displacement time series data and historical meteorological time series data.
2. The method for predicting slope deformation according to claim 1, It is characterized in that The method further comprises a step of training the prediction model, wherein the training step comprises: Determining a training data set for a prediction model to be trained, wherein the training data set is constructed based on historical displacement time series data and historical meteorological time series data; Dividing the data set into a training set and a test set according to a preset ratio; Initializing the prediction model to be trained to determine the initial parameters of the prediction model to be trained, wherein the prediction model to be trained at least includes an input layer, a convolution layer, a pooling layer, an LSTM layer, an attention mechanism layer, a fully connected layer, an output layer, and a residual connection layer connected to the convolution layer, the residual connection layer is used to retain the time series residual data extracted by the convolution layer to prevent the gradient from disappearing, the LSTM layer is used to capture the long-term dependency in the time series data, and the attention mechanism layer is used to calculate the weight of each time step; The training set and the test set are sequentially input into the prediction model to be trained to respectively train and verify the prediction model to be trained. When the error between the predicted value output by the prediction model to be trained and the historical true value meets a preset condition, a trained prediction model is determined to be obtained.
3. The method for predicting slope deformation according to claim 2, It is characterized in that The training data set for the prediction model to be trained includes: Determine the historical displacement time series data and the historical meteorological time series data of the slope within the historical time period; Decomposing the historical displacement time series data based on the empirical mode decomposition algorithm to obtain a first number of second modal components; Determine the sample entropy of each second modal component, and select the second modal component with the largest sample entropy; Adding the preset noise to the second modal component with the largest sample entropy, and further decomposing the second modal component after adding the preset noise to obtain a second number of second modal components; concatenating the first number of second modal components and the second number of second modal components to obtain a third number of second modal components; Define the time interval, label, and feature shape of each sample data used for training; Determine, based on a time interval of each sample data, a third number of sub-second modal components and sub-historical meteorological time series included in each sample data; Each sample data is constructed based on the time interval, label, characteristic shape, sub-second modal component and sub-historical meteorological time series, and a training data set for the prediction model to be trained is determined based on the multiple sample data.
4. The method for predicting slope deformation according to claim 3, It is characterized in that The method further comprises: For each sample data, the sub-second modal component of the sample data is determined as a displacement feature sequence, and the sub-meteorological data of the sample data is determined as an external influencing factor feature sequence.
5. The method for predicting slope deformation according to claim 1, It is characterized in that The meteorological data includes at least the average daily precipitation, the average daily temperature and the average daily wind force level of the slope within the preset historical time period.
6. The method for predicting slope deformation according to claim 1, It is characterized in that The adding of the preset noise to the first modal component with the largest sample entropy, and further decomposing the modal component after adding the preset noise to obtain a plurality of first modal components includes: Determine the first modal component with the largest sample entropy as the target modal component, and replicate the target modal component multiple times; For multiple target modal components, different preset noises are added to each target modal component; Decomposing the target modal component with preset noise added based on the empirical mode decomposition algorithm to obtain corresponding multiple modal components; Determine the residual component of each target modal component; For multiple residual components, different preset noises are added to each residual component, and decomposition is continued to obtain corresponding multiple modal components until the number of decompositions reaches a preset number of decompositions.
7. A device for predicting slope deformation, It is characterized in that include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the method for predicting slope deformation according to any one of claims 1 to 6 when executing the instructions.
8. A prediction system for slope deformation, It is characterized in that It comprises the device for predicting slope deformation according to claim 7.
9. The system for predicting slope deformation according to claim 8, It is characterized in that Also includes: A radar detection device for collecting displacement data of the slope within a preset historical time period; The meteorological data collection device is used to collect the meteorological data of the slope within the preset time period, and the meteorological data at least includes the average daily precipitation, average daily temperature and average daily wind force level of the slope within the preset historical time period.
10. A machine-readable storage medium having instructions stored thereon, It is characterized in that When the instruction is executed by a processor, the processor is configured to execute the method for predicting slope deformation according to any one of claims 1 to 6.
Citation Information
Cited By
Method and system for detecting wind resistance of steel structure
CN119167462A
Steel Structure Wind Resistance Performance Detection Method and System
CN119167462B
Filling slope stability evaluation method and system
CN119378401A
Device and system for monitoring and predicting deformation of expressway tunnel
CN120489053A
A highway tunnel deformation monitoring and forecasting device and system
CN120489053B
