River source stream water level monitoring method based on Gramer angle field multi-modal time series data fusion
Through the multimodal timing data fusion method based on Gram angle field, combined with convolutional neural network and recurrent neural network, the shortcomings of Heyuan Stream Water Level Monitoring in the existing technology in the wild environment are solved, and the water level with high spatiotemporal resolution is achieved Monitoring reduces manual intervention and labeling work and improves monitoring accuracy.
Patent Information
- Application Number
- CN202410976612.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-20
- Publication Date
- 2024-11-29
AI Technical Summary
The existing image-based water level monitoring methods have problems in the monitoring of river source streams that are not suitable for extremely small rivers in the wild environment, require a lot of manual intervention and pixel-level image data annotation, and lack of night monitoring capabilities.
Using a multimodal time series data fusion method based on Gram angle field, multimodal time series data of river source streams is collected through field cameras with infrared night vision function, and using Gram angle field technology to encode meteorological mode data and image data, combined with The convolutional neural network and the recurrent neural network perform spatial and temporal characteristics fusion to output the water level monitoring results of Heyuan River.
Long-term, continuous and day-night water level monitoring of outdoor river source streams has been achieved, manual intervention and data labeling have been reduced, and the accuracy and spatial and temporal resolution of water level monitoring have been improved.
Smart Images

Figure CN119048899A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the fields of hydrological environment monitoring and multimodal information fusion, and in particular to a river source stream water level monitoring method based on Gram angle field multimodal time series data fusion. Background Art
[0002] In the field of hydrological environmental monitoring research, an automated river source stream water level monitoring network with high temporal and spatial resolution plays a vital role in the understanding and analysis of hydrological processes in the entire basin, modeling and prediction of natural disasters, management and decision-making of water resources, and mitigation of eutrophication of aquatic ecosystems. As a rich and unique important component of the river network, river source streams are widely distributed in the source areas of rivers, providing an independent ecosystem for local flora and fauna, with relatively constant physical conditions, living space without natural enemies, and unique organic resources in the river source stream area. In addition, river source streams have an important impact on the hydrological characteristics of the downstream river network in terms of water quality, sediment migration, and organic matter supply, and their length accounts for about 80% of the total length of the river network. However, due to the difficulty of equipment deployment and high maintenance costs of traditional hydrological monitoring stations, most river source streams located in mountainous areas or forests are still not fully monitored. The extremely sparse or even missing temporal and spatial resolution of river headwater stream water level monitoring data will bring great difficulties and challenges to the understanding and analysis of the hydrological processes of the entire basin and the modeling and prediction of extreme hydrological events.
[0003] In recent years, with the rapid development of digital image processing, machine learning and information fusion technology, image-based river monitoring methods have attracted widespread attention in the field of hydrology. This type of method can realize the automatic, non-invasive and continuous qualitative or quantitative measurement of river water level without interfering with the hydrological and ecological processes of the river, provide real-time on-site images for decision makers, and provide potential possibilities for further monitoring of other hydrological parameters such as flow velocity, flow, and sediment. This type of image-based river monitoring method can be divided into five categories according to the way the image data is obtained: remote sensing satellite-based, helicopter-based, drone-based, monitoring system-based and ground camera-based monitoring methods. Remote sensing satellite-based monitoring methods have been widely used in flood monitoring tasks in large river basins. However, this type of method has great difficulties in extracting specific information in a small area, and is easily affected by clouds and vegetation occlusion. It is not suitable for monitoring tasks of river source streams distributed in mountainous areas or forests. Helicopter-based or drone-based monitoring methods are emerging telemetry technologies that can realize observations of specific small areas and are increasingly used in monitoring tasks of river source streams. However, the deployment and use of these two types of methods are restricted by civil aviation regulations and are not suitable for long-term observation missions. The accuracy and resolution of the data will also be affected by bad weather. At the same time, some methods use urban monitoring systems to obtain image data, thereby achieving qualitative or quantitative monitoring of urban floods. However, this type of method is not suitable for monitoring river headwaters and streams distributed in field scenes. Therefore, hydrologists began to use flexible and low-cost ground cameras to regularly collect river image data in order to monitor key river water level information. However, one type of ground camera-based monitoring method requires capturing river image data containing reference objects with known structural heights such as water level scales, which brings a lot of manual intervention to the deployment and calibration of cameras and reference objects. Another type of method that does not require reference objects uses deep learning image segmentation technology to identify and divide water areas in images, which brings a lot of manual pixel-level image data annotation work. In summary, the problems of existing image-based water level monitoring methods can be summarized as follows: 1) They are not suitable for long-term, continuous monitoring of extremely small river source streams distributed in wild environments; 2) They require a lot of manual intervention, including regular and complex position calibration of reference objects such as camera equipment and water level scales; 3) They require a lot of pixel-level image data annotation work and lack the ability to monitor water levels at night. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the existing image-based water level monitoring method in the river source stream monitoring task, and propose a river source stream water level monitoring method based on Gram's angle field multimodal time series data fusion, that is, using field cameras with infrared night vision function and other telemetry equipment to collect multimodal time series data of river source streams, and using Gram's angle field technology to encode multiple one-dimensional meteorological modal time series data into two-dimensional feature representations, and stack the two-dimensional meteorological modal feature representations with river image data at the channel level, so as to realize the input-level information fusion of multimodal data, and then the fused multimodal information time series is successively subjected to convolutional neural networks and recurrent neural networks for full fusion and extraction of spatiotemporal features, and finally the final river source stream water level monitoring result is output through a linear layer.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is a river source stream water level monitoring method based on Gram angle field multimodal time series data fusion, comprising the following steps:
[0006] 1) Collect multimodal time series data of river headwaters and streams. Use a field camera with infrared night vision function to collect high-resolution images of the river surface day and night at a sampling frequency of once per hour to obtain the original image time series of the river. in, The original meteorological time series of the area corresponding to the river source stream monitoring point is obtained through the public DayMet meteorological dataset. in, Represents the 8-dimensional meteorological data vector collected at the mth moment, including: sunshine duration, precipitation, shortwave radiation value, snow water equivalent, maximum temperature, minimum temperature, steam pressure and date sequence number. The original water level label time series of the river is collected using a water pressure sensor anchored on the riverbed in, It represents the true value of the river source stream water level collected at the mth sampling moment.
[0007] 2) Preprocess the original multimodal time series data collected in step 1) to construct a training data set. Specifically:
[0008] a) The maximum and minimum normalization operations are performed on the original meteorological modal data to eliminate the impact of the dimensional differences in different dimensions on model training. The original meteorological time series data can be regarded as M observation samples with 8 attributes, which can be further expressed as:
[0009]
[0010] Then, perform global maximum and minimum normalization operations on each dimension:
[0011]
[0012] in, represents the normalized value of the i-th dimension at the m-th moment, min(c i ) and max(c i ) represent the global minimum and maximum of the i-th dimension respectively. Finally, the normalized meteorological time series data is obtained. in
[0013] b) The original image data is adjusted to a resolution of 480×360×3 using bilinear interpolation, and the pixel value range is normalized from [0,255] to [0,1] to ensure the acceptability of the computational cost and the stability of the model training. Finally, the image time series data after preprocessing is obtained. in
[0014] c) From multimodal time series and Y raw Generate N small sample time series of length 30 and construct them as training data sets
[0015]
[0016] Among them, N represents the total number of small samples generated, and the true value of the water level at the last moment of each small sample time series is selected as the corresponding label.
[0017] 3) Training data set The N multimodal small sample time series data in the , respectively, perform multimodal time series data input level fusion operations based on the Gram angular field. Specifically:
[0018] a) 8-dimensional multimodal meteorological time series data C n Convert to a one-dimensional time series and scale the value range from [0,1] to [-1,1]: b) Convert the one-dimensional multimodal meteorological time series of length 240 Mapped to the polar coordinate system, the amplitude Encode the cosine angle in polar coordinates and encode the time point t(n-1)+i as the radius: in, It indicates the cosine angle corresponding to the i-th moment of the n-th meteorological small sample time series. The subscript <1:8> indicates the dimension number of the meteorological data. c) The temporal correlation between different time points is expressed as the feature representation matrix of the Gram angle field using the triangular sum function: Among them, the feature representation matrix size of the Gram angle field is 240×240. In other words, the one-dimensional multimodal meteorological time series The length of determines the size of the final encoded feature representation matrix. d) The Gram angular field feature representation matrix obtained in step c) is The resolution is adjusted to 480×360×1 using bilinear interpolation to match the resolution of the image data, and then sequentially combined with the image time series data. The image data in the image data are stacked at the channel level to achieve the input level information fusion of multimodal time series data and obtain the fused multimodal information time series. 4) Use step 3) to generate a fused multimodal information time series dataset To train the spatiotemporal feature fusion model, specifically: a) Use convolutional neural network to sequentially fused multimodal information time series The spatial features are further extracted from the data at each moment in the space to obtain the spatial feature representation sequence
[0019] b) Use a recurrent neural network to represent the sequence of spatial features obtained in step a) Further extract the time dependency information within the entire sequence to obtain the time series feature representation sequence
[0020] c) Selecting time series features to represent the sequence The last moment feature representation It is linearly transformed and mapped through the linear layer to obtain the river source stream water level monitoring value corresponding to the nth multimodal small sample sequence
[0021] d) Water level monitoring values corresponding to N multimodal small sample training sequences predicted by the model and the true value of the water level in the training set Calculate the mean square loss function, denoted as And perform end-to-end model training, the calculation formula is:
[0023]
[0024] Among them, θ is the weight parameter set of the entire spatiotemporal feature fusion model, and N represents the total number of small sample training sequences.
[0025] 5) Collect multimodal time series data of river headwaters and streams during the monitoring period and After performing the corresponding preprocessing operation in step 2), and then performing the multimodal time series data input-level fusion based on the Gram angle field in step 3), the fused multimodal information time series is input into the spatiotemporal feature fusion model trained in step 4 to obtain the river water level monitoring data for the monitoring period. At this point, the process of river source stream water level monitoring based on the multimodal time series data fusion of the Gram Cape field has been completed.
[0026] Compared with the prior art, the advantages of the present invention are: first, on the basis of extracting the spatiotemporal feature representation of image time series data by convolutional neural networks and recurrent neural networks, the multimodal time series data fusion technology based on the Gram angle field can realize the global multimodal information fusion of meteorological time series data of any length, which greatly improves the accuracy of water level monitoring; second, the multimodal images and meteorological time series data of specific river source streams are considered and fused at the same time, and there is no need to capture the information provided by other structural height known reference objects such as water level scales, which greatly reduces the equipment maintenance calibration and image pixel-level annotation work that requires manual intervention; finally, the telemetry equipment such as field cameras with infrared night vision function is adopted, which is simple to deploy and has low maintenance cost. It can realize the long-term, continuous, and day and night water level monitoring tasks of extremely small river source streams in the field environment without intrusion, ensuring the high spatiotemporal resolution requirements of water level monitoring data and providing real-time on-site image pictures for decision makers. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0028] Figure 1 It is a flow chart of a water level monitoring method based on Gram angle field multi-modal time series data fusion of the present invention.
[0029] Figure 2 It is the overall framework diagram of the spatiotemporal feature fusion model based on the Gram angular field multimodal time series data fusion.
[0030] Figure 3 It is a schematic diagram of the input-level fusion process of multi-modal time series data based on the Gram angular field. DETAILED DESCRIPTION
[0031] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments:
[0032] Figure 1 This is a flow chart of the water level monitoring method based on the fusion of multi-modal time series data of Gram angle field. Figure 2 This is the overall framework of the spatiotemporal feature fusion model based on the Gram angular field multimodal time series data fusion. The specific steps include:
[0033] Step 1: Collect multimodal time series data of river source streams. Use a field camera with infrared night vision function to collect high-resolution images of the river surface day and night at a sampling frequency of once per hour to obtain the original image time series of the river. in, The original meteorological time series of the area corresponding to the river source stream monitoring point is obtained through the public DayMet meteorological dataset. in, Represents the 8-dimensional meteorological data vector collected at the mth moment, including: sunshine duration, precipitation, shortwave radiation value, snow water equivalent, maximum temperature, minimum temperature, steam pressure and date sequence number. The original water level label time series of the river is collected using a water pressure sensor anchored on the riverbed in, It represents the true value of the river source stream water level collected at the mth sampling moment.
[0034] Step 2: Preprocess the original multimodal time series data collected in step 1 to construct a training data set. Specifically:
[0035] Step 2-1: Use the maximum and minimum normalization operation on the original meteorological modal data to eliminate the impact of dimensional differences in different dimensions on model training. The original meteorological time series data can be regarded as M observation samples with 8 attributes, which can be further expressed as:
[0036]
[0037] Then, perform global maximum and minimum normalization operations on each dimension:
[0038]
[0039] in, represents the normalized value of the i-th attribute at the m-th moment, min(c i ) and max(c i) represent the global minimum and maximum of the i-th dimension respectively. Finally, the normalized meteorological time series data is obtained. in
[0040] Step 2-2: Use bilinear interpolation to adjust the original image data to a resolution of 480×360×3, and normalize the pixel value range from [0,255] to [0,1] to ensure the acceptability of the computational cost and the stability of the model training. Finally, the image time series data after preprocessing is obtained. in
[0041] Step 2-3: From multimodal time series and Y raw Generate N small sample time series of length 30 and construct them as training data sets
[0042]
[0043] Among them, N represents the total number of small samples generated, and the true value of the water level at the last moment of each small sample time series is selected as the corresponding label.
[0044] Step 3 Figure 3 This is a schematic diagram of the input-level fusion process of multimodal time series data based on the Gram angular field, taking n = 1 as an example. For the N multimodal small sample time series in the , multimodal time series data input level fusion operation based on the Gram angular field is performed respectively. Specifically:
[0045] Step 3-1: 8-dimensional multimodal meteorological time series data C n Convert to a one-dimensional time series and scale the value range from [0,1] to [-1,1]:
[0046]
[0047] Among them, C n It represents the meteorological time series in the nth multimodal small sample sequence with a length of 30. The multimodal time series data input-level fusion operation based on the Gram angle field of other multimodal small sample sequences in the data set is the same as that of this small sample sequence, and finally a one-dimensional time series after transformation and scaling is obtained. Its length is 240.
[0048] Step 3-2: Convert the one-dimensional multimodal meteorological time series with a length of 240 Mapped to the polar coordinate system, the amplitude Encoded as the cosine angle of polar coordinates, the time point t(n-1)+i Encoded as radius size:
[0049]
[0050] in, It represents the cosine angle corresponding to the i-th moment of the n-th multimodal small sample meteorological time series. The subscript <1:8> represents the dimension number of the 8-dimensional meteorological data. The calculation method is the same, and the corresponding cosine angle and radius are calculated respectively.
[0051] Step 3-3, use the triangular sum function to express the temporal correlation between different time points as the characteristic representation matrix of the Gram angle field:
[0052]
[0053] Among them, the characteristic representation matrix of the Gram angle field The two-dimensional feature encoding of the meteorological sequence corresponding to the nth multimodal small sample sequence is 240×240. In other words, the one-dimensional multimodal meteorological time series The length of determines the size of the final encoded feature representation matrix. At the same time, the feature representation matrix of the Gram angle field can encode the one-dimensional meteorological sequence information with a longer time span into a two-dimensional matrix, thereby making the fused meteorological modal information richer and the information fusion method very flexible.
[0054] Step 3-4: The Gram angular field feature matrix obtained in step 3-3 The resolution is adjusted to 480×360×1 using bilinear interpolation to match the resolution of the image data, and then sequentially combined with the image time series data. The image data in the channel level is stacked to achieve the input level information fusion of multimodal time series data. Taking the i-th moment image data of the n-th multimodal small sample sequence as an example, the multimodal information fusion calculation formula is:
[0055]
[0056] in, Represents the channel-level splicing operation. It is worth noting that the image data at each moment in the small sample sequence is spliced with the same Gram angular field feature matrix Finally, we get the fused multimodal information time series
[0057] Step 4 Figure 2 This is the overall framework diagram of the spatiotemporal feature fusion model based on the Gram angular field multimodal time series data fusion. Use step 3 to generate a fused multimodal information time series dataset To train the spatiotemporal feature fusion model, specifically:
[0058] Step 4-1: Use convolutional neural network to sequentially fused multimodal information time series The spatial features are further extracted from the data at each moment to obtain the spatial feature representation sequence Taking the i-th moment data of the n-th fused multimodal information time series as an example, its spatial feature extraction process is expressed as:
[0059]
[0060] in, Represents the spatial feature representation vector extracted from the multimodal information data fused at the i-th moment through multiple convolutional layers, pooling layers, and activation function layers. Represents all weight parameters and biases to be optimized for the jth convolutional layer, ReLU(·) represents the ReLU activation function, Maxpool(·) represents the maximum pooling layer operation, and Flatten(·) represents the process of converting a multi-dimensional spatial feature map into a one-dimensional feature vector. After extracting spatial features from all the time data of the multimodal information time series, we finally get the spatial feature representation sequence
[0061] Step 4-2: Use a recurrent neural network to represent the sequence of all spatial features obtained in step 4-1 Further extract the time dependency feature information in each sequence one by one to obtain the time series feature representation sequence Taking the nth spatial feature representation sequence as an example, the process of extracting the temporal dependency feature information is expressed as:
[0062]
[0063] in, represents the temporal feature representation vector containing time-dependent feature information extracted by a layer of recurrent neural network at the first i moments of the spatial feature representation sequence, θ rnn Represents all weight parameters and biases to be optimized in the recurrent neural network. The same time series information feature extraction is performed on each moment of the sequence, and finally the time series feature representation sequence is obtained
[0064] Step 4-3: Select the last moment feature representation vector of all time series feature representation sequences, and transform and map it linearly through the linear layer to obtain the river source stream water level monitoring value corresponding to the multimodal small sample sequence. The last moment feature representation vector of the sequence represented by the nth time series feature For example, the calculation formula of its linear transformation and mapping is:
[0065]
[0066] in, represents the water level monitoring value of the river source stream corresponding to the nth multimodal small sample sequence, W represents the weight parameter to be optimized in the linear transformation layer, b represents the bias to be optimized in the linear transformation layer, Dropout(·) represents the dropout layer, r d Indicates the hyperparameter discard ratio of the dropout layer.
[0067] Step 4-4: Water level monitoring values corresponding to all multimodal small sample training sequences predicted by the model and the true value of the water level in the training set Calculate the mean square loss function, denoted as And perform end-to-end model training, the calculation formula is:
[0068]
[0069] Among them, θ is the weight parameter set of the entire spatiotemporal feature fusion model, including: θ rnn , W and b, N represent the total number of small sample training sequences.
[0070] Step 5: Collect multimodal time series data of river headwaters and streams during the monitoring period and After performing the corresponding preprocessing operation in step 2 and then performing the multimodal time series data input-level fusion based on the Gram angle field in step 3, the fused multimodal information time series is input into the spatiotemporal feature fusion model trained in step 4 to obtain the river water level monitoring data for the monitoring period. So far, the process of river headwater stream water level monitoring based on multimodal time series data fusion of Gram's corner field has been completed. According to the test, the above method can achieve an average absolute error of 6.0 cm and a determination coefficient of 0.668 for water level monitoring on the OBU of river headwater streams with an average water depth of 0.89 meters in the real-world data set; the average absolute error can reach 14.8 cm and a determination coefficient of 0.409 for the WBL of river headwater streams with an average water depth of 3.95 meters, which has more dramatic changes. Compared with the currently popular CNN-LSTM model (OBU: mean absolute error 11.0 cm, determination coefficient 0.098; WBL: mean absolute error 16.1 cm, determination coefficient 0.305), ConvLSTM model (OBU: mean absolute error 9.2 cm, determination coefficient 0.356; WBL: mean absolute error 20.2 cm, determination coefficient 0.310) and CNN-Temp model (OBU: mean absolute error 8.7 cm, determination coefficient 0.113; WBL: mean absolute error 13.6 cm, determination coefficient 0.425), the above method has better performance.
[0071] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, corrections, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for monitoring river headwater stream water level based on multimodal time series data fusion of Gram angle field, characterized in that The following steps are involved: 1) Collect multimodal time series data of river headwaters and streams; use a field camera with infrared night vision function to collect high-resolution images of the river surface day and night at a sampling frequency of once per hour to obtain the original image time series of the river. in, represents the three-channel high-resolution image collected at the mth sampling time, and M represents the total number of observations. The original meteorological time series of the area corresponding to the river source stream monitoring point is obtained through the public DayMet meteorological dataset. in, Represents the 8-dimensional meteorological data vector collected at the mth moment, including: sunshine duration, precipitation, shortwave radiation value, snow water equivalent, maximum temperature, minimum temperature, steam pressure and date sequence number; the original water level label time series of the river is collected using a water pressure sensor anchored on the riverbed in, It represents the true value of the river source stream water level collected at the mth sampling moment; 2) Preprocessing the original multimodal time series data collected in step 1) to construct a training data set; specifically: a) The maximum and minimum normalization operation is performed on the original meteorological modal data to eliminate the impact of dimensional differences in different dimensions on model training; the original meteorological time series data is regarded as M observation samples with 8 attributes, expressed as: Then, perform global maximum and minimum normalization operations on each dimension: in, represents the normalized value of the i-th dimension at the m-th moment, min(c i ) and max(c i ) represent the global minimum and maximum of the i-th dimension respectively; finally, the normalized meteorological time series data is obtained in b) The original image data is adjusted to a resolution of 480×360×3 using bilinear interpolation, and the pixel value range is normalized from [0,255] to [0,1] to obtain the image time series data after preprocessing operations in c) From multimodal time series and Y raw Generate N small sample time series of length 30 and construct them as training data sets Among them, N represents the total number of small samples generated, and the true value of the water level at the last moment of each small sample time series is selected as the corresponding label; 3) For the training data set The N multimodal small sample time series data in the , respectively, perform multimodal time series data input level fusion operations based on the Gram angular field; specifically: a) 8-dimensional multimodal meteorological time series data C n Convert to a one-dimensional time series and scale the value range from [0,1] to [-1,1]: b) Convert the one-dimensional multimodal meteorological time series with a length of 240 Mapped to the polar coordinate system, the amplitude Encoded as the cosine angle of polar coordinates, the time point t (n-1)+i Encoded as radius size: in, It indicates the cosine angle corresponding to the i-th moment of the n-th meteorological small sample time series. The subscript <1:8> indicates the dimension number of the meteorological data. c) The temporal correlation between different time points is expressed as the characteristic representation matrix of the Gram angle field using the triangular sum function: Among them, the feature representation matrix size of the Gram angle field is 240×240; in other words, the one-dimensional multimodal meteorological time series The length of determines the size of the final encoded feature representation matrix; d) Represent the Gram angular field feature matrix obtained in step c) The resolution is adjusted to 480×360×1 using bilinear interpolation to match the resolution of the image data, and then sequentially combined with the image time series data. The image data in the channel are stacked at the channel level to achieve the input level information fusion of multimodal time series data and obtain the fused multimodal information time series 4) Use step 3) to generate a fused multimodal information time series dataset To train the spatiotemporal feature fusion model, specifically: a) Use convolutional neural network to sequentially fused multimodal information time series The spatial features are further extracted from the data at each moment to obtain the spatial feature representation sequence b) Use a recurrent neural network to represent the sequence of spatial features obtained in step a) Further extract the time dependency information within the entire sequence to obtain the time series feature representation sequence c) Selecting time series features to represent the sequence The last moment feature representation It is linearly transformed and mapped through the linear layer to obtain the river source stream water level monitoring value corresponding to the nth multimodal small sample sequence d) Water level monitoring values corresponding to N multimodal small sample training sequences predicted by the model and the true value of the water level in the training set Calculate the mean square loss function, denoted as And perform end-to-end model training, the calculation formula is: Among them, θ is the weight parameter set of the entire spatiotemporal feature fusion model, and N represents the total number of small sample training sequences; 5) Collect multimodal time series data of river headwaters and streams during the monitoring period and After performing the corresponding preprocessing operation in step 2), and then performing the multimodal time series data input-level fusion based on the Gram angle field in step 3), the fused multimodal information time series is input into the spatiotemporal feature fusion model trained in step 4 to obtain the river water level monitoring data for the monitoring period. At this point, the process of river source stream water level monitoring based on the multimodal time series data fusion of the Gram Cape field has been completed.
2. The method for monitoring river source stream water level based on Gram angle field multimodal time series data fusion according to claim 1, characterized in that: In step 3), for the training data set The N multimodal small sample time series data in the , respectively, perform multimodal time series data input level fusion operations based on the Gram angular field; specifically include: 1) 8-dimensional multimodal meteorological time series data C n Convert to a one-dimensional time series and scale the value range from [0,1] to [-1,1]: Among them, C n It represents the meteorological time series in the nth multimodal small sample sequence with a length of 30. The multimodal time series data input-level fusion operation based on the Gram angle field of other multimodal small sample sequences in the data set is the same as that of this small sample sequence, and finally a one-dimensional time series after transformation and scaling is obtained. Its length is 240; 2) The one-dimensional multimodal meteorological time series with a length of 240 Mapped to the polar coordinate system, the amplitude Encoded as the cosine angle of polar coordinates, the time point t (n-1)+i Encoded as radius size: in, It indicates the cosine angle corresponding to the i-th moment of the n-th multimodal small sample meteorological time series. The subscript <1:8> indicates the dimension number of the 8-dimensional meteorological data. The calculation method is the same, and the corresponding cosine angle and radius are calculated respectively. 3) The temporal correlation between different time points is expressed as the characteristic representation matrix of the Gram angle field using the triangular sum function: Among them, the characteristic representation matrix of the Gram angle field The two-dimensional feature encoding of the meteorological sequence corresponding to the nth multimodal small sample sequence is 240×240; in other words, the one-dimensional multimodal meteorological time series The length of determines the size of the feature representation matrix of the final encoding; at the same time, the feature representation matrix of the Gram angle field encodes the one-dimensional meteorological sequence information of a longer time span into a two-dimensional matrix; 4) The Gram angular field feature matrix obtained in step 3) The resolution is adjusted to 480×360×1 using bilinear interpolation to match the resolution of the image data, and then sequentially combined with the image time series data. The image data in the channel level is stacked to achieve the input level information fusion of multimodal time series data; taking the i-th moment image data of the n-th multimodal small sample sequence as an example, the multimodal information fusion calculation formula is: in, Represents the channel-level splicing operation; it is worth noting that the image data at each moment in the small sample sequence is spliced with the same Gram angular field feature matrix Finally, we get the fused multimodal information time series 3. The method for monitoring river source stream water level based on Gram angle field multimodal time series data fusion according to claim 1, characterized in that: In step 4), the fused multimodal information time series dataset generated in step 3) is used To train the spatiotemporal feature fusion model, specifically including: 1) Use convolutional neural network to sequentially fused multimodal information time series The spatial features are further extracted from the data at each moment to obtain the spatial feature representation sequence Taking the i-th moment data of the n-th fused multimodal information time series as an example, its spatial feature extraction process is expressed as: in, Represents the spatial feature representation vector extracted from the multimodal information data fused at the i-th moment through multiple convolutional layers, pooling layers, and activation function layers. represents all weight parameters and biases to be optimized in the jth convolutional layer, ReLU(·) represents the ReLU activation function, Maxpool(·) represents the maximum pooling layer operation, and Flatten(·) represents the process of converting a multi-dimensional spatial feature map into a one-dimensional feature vector. After extracting spatial features from all the time data of the multimodal information time series, we finally get the spatial feature representation sequence 2) Use a recurrent neural network to represent the sequence of all spatial features obtained in step 1) Further extract the time dependency feature information in each sequence one by one to obtain the time series feature representation sequence Taking the nth spatial feature representation sequence as an example, the process of extracting the temporal dependency feature information is expressed as: in, represents the temporal feature representation vector containing time-dependent feature information extracted by a layer of recurrent neural network at the first i moments of the spatial feature representation sequence, θ rnn Represents all weight parameters and biases to be optimized in the recurrent neural network; the same time series information feature extraction is performed on each moment of the sequence, and finally the time series feature representation sequence is obtained 3) Select the last moment feature representation vector of all time series feature representation sequences, and transform and map them linearly through the linear layer to obtain the river source stream water level monitoring value corresponding to the multimodal small sample sequence The last moment feature representation vector of the sequence represented by the nth time series feature For example, the calculation formula of its linear transformation and mapping is: in, represents the water level monitoring value of the river source stream corresponding to the nth multimodal small sample sequence, W represents the weight parameter to be optimized in the linear transformation layer, b represents the bias to be optimized in the linear transformation layer, Dropout(·) represents the dropout layer, r d Indicates the hyperparameter discard ratio of the dropout layer; 4) Water level monitoring values corresponding to all multimodal small sample training sequences predicted by the model and the true value of the water level in the training set Calculate the mean square loss function, denoted as And perform end-to-end model training, the calculation formula is: Among them, θ is the weight parameter set of the entire spatiotemporal feature fusion model, including: θ rnn , W and b, N represent the total number of small sample training sequences.
Citation Information
Cited By
System and method for monitoring state of large fan component of wind power plant
CN115456012A
Wind farm fan major component status monitoring system and method thereof
CN115456012B
Pipeline safety feature extraction method of Gramer angle field
CN119293700A
A pipeline safety feature extraction method based on Gram angle field
CN119293700B
Self-adaptive control system and method for fly ash washing
CN119356424A
