CN118277959A - Pig house temperature prediction method based on resonance sparse Transformer network - Google Patents

Pig house temperature prediction method based on resonance sparse Transformer network Download PDF

Info

Publication number
CN118277959A
CN118277959A CN202410644882.9A CN202410644882A CN118277959A CN 118277959 A CN118277959 A CN 118277959A CN 202410644882 A CN202410644882 A CN 202410644882A CN 118277959 A CN118277959 A CN 118277959A
Authority
CN
China
Prior art keywords
sequence
temperature
frequency
prediction
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410644882.9A
Other languages
Chinese (zh)
Other versions
CN118277959B (en
Inventor
李庆
唐千升
张勇勇
孟志
方梁菲
江庆
许良元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Agricultural University AHAU
Original Assignee
Anhui Agricultural University AHAU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Agricultural University AHAU filed Critical Anhui Agricultural University AHAU
Priority to CN202410644882.9A priority Critical patent/CN118277959B/en
Publication of CN118277959A publication Critical patent/CN118277959A/en
Application granted granted Critical
Publication of CN118277959B publication Critical patent/CN118277959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • G06N3/0442Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • G06N3/0455Auto-encoder networks; Encoder-decoder networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0463Neocognitrons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2123/00Data types
    • G06F2123/02Data types in the time domain, e.g. time-series data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the field of agricultural information processing, in particular to a pig house temperature prediction method fused with a resonance sparse transform network, which utilizes a resonance sparse decomposition method to decompose temperature sequence data of each temperature acquisition measuring point to obtain a low-frequency temperature trend sequence and a high-frequency fluctuation sequence of each temperature acquisition measuring point; predicting each low-frequency temperature trend sequence to obtain a low-frequency temperature prediction sequence of each temperature acquisition measuring point; predicting each high-frequency fluctuation sequence to obtain a high-frequency temperature prediction sequence of each temperature acquisition measuring point; and summing and calculating the low-frequency temperature prediction sequence and the high-frequency temperature prediction sequence to obtain the temperature prediction data of each final temperature acquisition measuring point, and further regulating and controlling the pigsty environment. The method considers the characteristics of low-frequency trend and high-frequency oscillation of the intensive pig house temperature sequence data, can effectively capture the long-term dependency relationship in the time sequence data, and has low calculation complexity and high prediction precision.

Description

融合共振稀疏Transformer网络的猪舍温度预测方法Pig house temperature prediction method based on resonance sparse Transformer network

技术领域Technical Field

本发明属于农业工程与信息处理技术领域,尤其涉及融合共振稀疏Transformer网络的猪舍温度预测方法。The invention belongs to the technical field of agricultural engineering and information processing, and in particular relates to a pig house temperature prediction method integrating a resonance sparse Transformer network.

背景技术Background technique

在集约化、规模化与物联网系统监控的生猪养殖过程中,猪舍温度对生猪养殖存活率、猪肉生长代谢、疾病传播(如腹泻、呼吸道疾病、肺炎、真菌繁殖等)等有重要影响。因此,精准预测猪舍温度,根据温度波动趋势及时调控猪舍环境,制定预警与防疫方案,对集约化养猪降低能耗、减少饲料消耗、提高养殖存活率与疾病防控等具有重要意义。In the intensive, large-scale and IoT-monitored pig farming process, the temperature of the pig house has an important impact on the survival rate of pig farming, pork growth and metabolism, disease transmission (such as diarrhea, respiratory diseases, pneumonia, fungal reproduction, etc.). Therefore, accurately predicting the temperature of the pig house, timely regulating the pig house environment according to the temperature fluctuation trend, and formulating early warning and epidemic prevention plans are of great significance for reducing energy consumption, reducing feed consumption, improving breeding survival rate and disease prevention in intensive pig farming.

目前,集约化猪舍作为密闭小气候环境,受猪舍内、外环境的影响,猪舍内部温度具有全天小范围波动,数据分布尖峰厚尾、多耦合等特征,传统的模型驱动预测方法与数据驱动预测方法,如时间序列预测方法与神经网络预测方法等受应用气候场景、数据样本规模与模型参数的影响,模型稳定性与预测精度不满足工程实际应用。At present, intensive pig houses are closed microclimate environments. Affected by the internal and external environments, the internal temperature of the pig houses fluctuates in a small range throughout the day, and the data distribution has characteristics such as sharp peaks, thick tails, and multiple coupling. Traditional model-driven prediction methods and data-driven prediction methods, such as time series prediction methods and neural network prediction methods, are affected by the application climate scenarios, data sample size, and model parameters. The model stability and prediction accuracy do not meet the actual engineering application requirements.

发明内容Summary of the invention

本发明实施例的目的在于提供融合共振稀疏Transformer网络的猪舍温度预测方法,旨在解决传统预测方法受应用气候场景、数据样本规模与模型参数的影响,模型稳定性与预测精度不满足工程实际应用的问题。The purpose of an embodiment of the present invention is to provide a pig house temperature prediction method integrating a resonant sparse Transformer network, aiming to solve the problem that traditional prediction methods are affected by application climate scenarios, data sample size and model parameters, and the model stability and prediction accuracy do not meet the requirements of practical engineering applications.

为实现上述目的,本发明提供了如下的技术方案。To achieve the above object, the present invention provides the following technical solutions.

具体的,本发明提供了融合共振稀疏Transformer网络的猪舍温度预测方法,该方法包括以下步骤:Specifically, the present invention provides a method for predicting pig house temperature by integrating a resonance sparse Transformer network, the method comprising the following steps:

步骤S1:在猪舍内设置多个温度采集测点,拾取各个温度采集测点的温度序列数据;Step S1: setting a plurality of temperature collection points in the pig house, and picking up the temperature sequence data of each temperature collection point;

步骤S2:利用共振稀疏分解方法对各个温度采集测点的温度序列数据进行分解,得到各个温度采集测点的低频温度趋势序列与高频波动序列;Step S2: Decomposing the temperature series data of each temperature collection point by using the resonance sparse decomposition method to obtain a low-frequency temperature trend series and a high-frequency fluctuation series of each temperature collection point;

步骤S3:利用Transformer网络模型方法对各个低频温度趋势序列进行预测,得到各个温度采集测点的低频温度预测序列;Step S3: using the Transformer network model method to predict each low-frequency temperature trend sequence, and obtain a low-frequency temperature prediction sequence for each temperature collection point;

步骤S4:利用卷积神经网络的双向长短时记忆网络CNN-BiLSTM模型对各个高频波动序列进行预测,得到各个温度采集测点的高频温度预测序列;Step S4: using a convolutional neural network bidirectional long short-term memory network CNN-BiLSTM model to predict each high-frequency fluctuation sequence, and obtain a high-frequency temperature prediction sequence for each temperature collection point;

步骤S5:将低频温度预测序列与高频温度预测序列求和计算,得到最终各个温度采集测点的温度预测数据,同时计算预测时间序列与实际时间序列的误差,对预测模型的超参数进行实时调整;Step S5: The low-frequency temperature prediction sequence and the high-frequency temperature prediction sequence are summed and calculated to obtain the final temperature prediction data of each temperature collection point, and the error between the predicted time series and the actual time series is calculated at the same time, and the hyperparameters of the prediction model are adjusted in real time;

步骤S6:根据各个温度预测数据,对猪舍环境进行调控。Step S6: According to the temperature prediction data, the pig house environment is regulated.

进一步的,步骤S2具体包括:Furthermore, step S2 specifically includes:

步骤S21:利用温度传感器采集的猪舍各个测点的温度序列数据表达为:Step S21: The temperature series data of each measuring point in the pig house collected by the temperature sensor is expressed as:

(1); (1);

式(1)中,为观测数据,为待估计低频振荡特性的趋势序列分量与高频振荡特性的谐波分量;In formula (1), is the observed data, ; , are the trend sequence component of the low-frequency oscillation characteristic to be estimated and the harmonic component of the high-frequency oscillation characteristic;

步骤S22:信号分量利用过完备小波基与过完备小波基匹配表征为: (2);Step S22: Signal Components , Using overcomplete wavelet basis Overcomplete wavelet basis The matching is characterized by: , (2);

式(2)中,分别为分量的小波变换系数;In formula (2), and Respectively The wavelet transform coefficients of

步骤S23:构建的共振稀疏分解目标函数表达为:Step S23: The constructed resonance sparse decomposition objective function is expressed as:

(3); (3);

式(3)中,为正则化参数;In formula (3), and is the regularization parameter;

步骤S24:应用分裂增广拉格朗日收缩算法求解构建的共振稀疏分解目标函数的最小值,多次迭代更新,得到更新后的小波变换系数,待估计低频振荡特性的趋势序列分量与高频振荡特性的谐波分量分别为:Step S24: Apply the split augmented Lagrangian shrinkage algorithm to solve the minimum value of the constructed resonance sparse decomposition objective function, and iterate and update multiple times and , get the updated wavelet transform coefficients and , the trend sequence component of the low-frequency oscillation characteristics to be estimated and the harmonic component of the high-frequency oscillation characteristics are:

(4)。 (4).

进一步的,步骤S3具体包括:Furthermore, step S3 specifically includes:

步骤S31:Transformer 模型由模型编码器Encoder和模型解码器Decoder组成;其中,模型编码器Encoder包括向量位置编码、多头自注意力机制、残差连接与网络层归一化处理与前馈神经网络;模型解码器Decoder包括掩码多头自注意力机制、前馈神经网络、全连接层;Step S31: The Transformer model is composed of a model encoder and a model decoder; wherein the model encoder includes vector position encoding, multi-head self-attention mechanism, residual connection and network layer normalization processing and feedforward neural network; the model decoder includes mask multi-head self-attention mechanism, feedforward neural network, and fully connected layer;

步骤S32:在模型编码器Encoder中,向量位置编码用来对输入序列X中的每个位置添加标记信息,区分输入序列的不同位置与顺序;Step S32: In the model encoder, vector position encoding is used to add label information to each position in the input sequence X to distinguish different positions and orders of the input sequence;

步骤S33:在模型解码器Decoder中,为预测某一步数据不与未来数据产生联系,使用通过创建掩码矩阵将未来位置构造掩码多头自注意力机制,使得未来位置的注意力得分置为无穷小,使当前元素只与历史元素产生联系,确保模型只能依赖历史元素来预测未来元素的值。Step S33: In the model decoder, in order to predict that the data of a certain step will not be connected with the future data, a mask multi-head self-attention mechanism is constructed by creating a mask matrix to construct the future position, so that the attention score of the future position is set to infinitesimal, so that the current element is only connected with the historical elements, ensuring that the model can only rely on historical elements to predict the value of future elements.

进一步的,在步骤S32中:Further, in step S32:

步骤S321:使用sin和cos函数的线性变换提供模型位置信息,具体操作为:Step S321: Use the linear transformation of sin and cos functions to provide model position information. The specific operation is:

(5); (5);

式(5)中,为输入序列的位置,如=0,1,2,…,N;为序列维度;表示序列维度的奇偶性;为嵌入空间维度的大小;In formula (5), is the position of the input sequence, such as =0, 1, 2, ..., N; is the sequence dimension; and Indicates the parity of the sequence dimension; is the size of the embedding space dimension;

步骤S322:在模型编码器Encoder中,多头自注意力机制使用多个并行的自注意力机制,单个自注意力机制通过学习不同的权重,捕获子空间的信息,具体操作为:Step S322: In the model encoder, the multi-head self-attention mechanism uses multiple parallel self-attention mechanisms. A single self-attention mechanism captures the information of the subspace by learning different weights. The specific operations are:

根据向量位置编码添加位置编码后的向量,通过三个权重矩阵:查询矩阵,键矩阵和值矩阵,转变为自注意力机制所需的向量Q、向量K与向量V:,其中,为添加过位置编码之后的输入向量;According to the vector position encoding, add the position encoded vector through three weight matrices: query matrix , the bond matrix Sum Matrix , transformed into the vector Q, vector K and vector V required by the self-attention mechanism: , , ,in, is the input vector after adding the position encoding;

步骤S323:使用点积法计算输入序列中每个元素间的相关性得分:Score=Q*KT;Step S323: Use the dot product method to calculate the correlation score between each element in the input sequence: Score=Q*KT;

为使模型训练时梯度能够稳定, 将每个元素间的相关性得分进行归一化处理:,其中,为向量K的维度;通过Softmax函数,将位置编码后的向量中的每个元素间的得分向量转换成[0,1]之间的概率分布,计算公式为:In order to stabilize the gradient during model training, the correlation scores between each element are normalized: ,in, is the dimension of vector K; through the Softmax function, the score vector between each element in the position-encoded vector is converted into a probability distribution between [0,1], and the calculation formula is:

(6); (6);

步骤S324:多头注意力机制使用多组权重矩阵(,,),得到多组所需的向量Q,向量K与向量V,得到多个头的输出被连接在一起进行线性变换矩阵Z:Step S324: The multi-head attention mechanism uses multiple sets of weight matrices ( , , ), get multiple sets of required vectors Q, vectors K and vectors V, and get the outputs of multiple heads connected together to perform linear transformation matrix Z:

(7); (7);

式(7)中,,,为第i个向量Q,K与V;为注意力头权重矩阵;In formula (7), , , is the i-th vector Q, K and V; is the attention head weight matrix;

步骤S325:残差连接与网络层归一化处理为:Step S325: residual connection and network layer normalization processing are as follows:

在上一步经过多头注意力机制输出后,进行残差连接操作与网络层归一化操作After the multi-head attention mechanism output in the previous step, the residual connection operation is performed Normalization operation with network layer ;

步骤S326:前馈神经网络为一个两层的神经网络,先进行线性变换,然后进行ReLU非线性变换,再进行线性变换,具体为:Step S326: The feedforward neural network is a two-layer neural network, which first performs a linear transformation, then a ReLU nonlinear transformation, and then a linear transformation, specifically:

(8); (8);

式(8)中,为前一层的输出为前馈神经网络的权重系数,为前馈神经网络的偏置,最后利用残差连接方式连接各层In formula (8), The output of the previous layer , and is the weight coefficient of the feedforward neural network, and It is the bias of the feedforward neural network, and finally the residual connection method is used to connect each layer .

进一步的,在步骤S33中:Further, in step S33:

掩码多头自注意力机制具体为: (9);The specific masked multi-head self-attention mechanism is: (9);

式(9)中,Mmask为掩码矩阵,附带掩码的注意力权重矩阵;In formula (9), Mmask is the mask matrix, Attention weight matrix with mask;

模型解码器Decoder中的前馈神经网络与全连接层,其中,前馈神经网络对上层结果进行非线性转换,使得网络能够捕捉表征复杂的非线性关系,全连接层使用ReLU函数作为激活函数。The feedforward neural network and fully connected layer in the model decoder Decoder. The feedforward neural network performs nonlinear transformation on the upper layer results, allowing the network to capture and represent complex nonlinear relationships. The fully connected layer uses the ReLU function as the activation function.

与现有技术相比,本发明融合共振稀疏Transformer网络的猪舍温度预测方法的有益效果是:Compared with the prior art, the pig house temperature prediction method integrating the resonance sparse Transformer network of the present invention has the following beneficial effects:

第一,本发明提出的猪舍温度预测方法考虑了集约化猪舍温度序列数据的低频走势与高频振荡特性,可以准确提取猪舍温度波动趋势,防止预测趋势失真;First, the pig house temperature prediction method proposed in the present invention takes into account the low-frequency trend and high-frequency oscillation characteristics of the intensive pig house temperature series data, and can accurately extract the pig house temperature fluctuation trend to prevent the prediction trend from being distorted;

第二,相比时间序列预测方法与数据驱动预测方法,本发明提出的方法可有效捕捉时间序列数据中的长期依赖关系,计算复杂度低,预测精度高,算法运行速度快。Second, compared with the time series prediction method and the data-driven prediction method, the method proposed in the present invention can effectively capture the long-term dependencies in the time series data, with low computational complexity, high prediction accuracy, and fast algorithm operation speed.

综上所述,本发明克服了传统预测方法不准确的问题,尤其针对数据小范围波动,数据分布尖峰厚尾、多耦合等特征下的预测问题,本发明的猪舍温度预测方法,可实现集约化猪舍温度精准预测,为猪舍环境的精细调控与疾病防控提供理论依据。In summary, the present invention overcomes the problem of inaccuracy of traditional prediction methods, especially for prediction problems under characteristics such as small-range data fluctuations, data distribution peaks and thick tails, and multiple coupling. The pig house temperature prediction method of the present invention can realize accurate prediction of intensive pig house temperature and provide a theoretical basis for fine control of pig house environment and disease prevention and control.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.

图1为本发明融合共振稀疏Transformer网络的猪舍温度预测方法的原理框架图;FIG1 is a principle framework diagram of a pig house temperature prediction method integrating a resonance sparse Transformer network according to the present invention;

图2为本发明实施例的采集的猪舍某测点温度变化波形示意图;FIG2 is a schematic diagram of a temperature change waveform of a certain measuring point in a pig house collected according to an embodiment of the present invention;

图3为本发明实施例的共振稀疏分解得到的低频分量图;FIG3 is a low-frequency component diagram obtained by resonant sparse decomposition according to an embodiment of the present invention;

图4本发明实施例的共振稀疏分解得到的高频分量图;FIG4 is a diagram of high frequency components obtained by resonant sparse decomposition according to an embodiment of the present invention;

图5为本发明实施例基于Transformer网络模型预测的集约化猪舍某测点的低频温湿度预测结果示意图;5 is a schematic diagram of the low-frequency temperature and humidity prediction results of a certain measuring point in an intensive piggery predicted based on the Transformer network model according to an embodiment of the present invention;

图6为本发明实施例基于卷积神经网络的双向长短时记忆网络CNN-BiLSTM模型预测的集约化猪舍某测点的高频温度预测结果示意图;6 is a schematic diagram of the high-frequency temperature prediction results of a certain measuring point in an intensive piggery predicted by a bidirectional long short-term memory network CNN-BiLSTM model based on a convolutional neural network according to an embodiment of the present invention;

图7为基于本发明猪舍温度预测方法预测的猪舍某测点的温度预测结果;FIG7 is a temperature prediction result of a certain measuring point in a pig house predicted by the pig house temperature prediction method of the present invention;

图8为基于本发明猪舍温度预测方法的温度预测误差;FIG8 is a temperature prediction error based on the pig house temperature prediction method of the present invention;

图9为本发明融合共振稀疏Transformer网络的猪舍温度预测方法的流程图。FIG9 is a flow chart of a method for predicting pig house temperature by integrating a resonant sparse Transformer network according to the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

目前,集约化猪舍作为密闭小气候环境,受猪舍内、外环境的影响,猪舍内部温度具有全天小范围波动,数据分布尖峰厚尾、多耦合等特征,传统的模型驱动预测方法与数据驱动预测方法,如时间序列预测方法与神经网络预测方法等受应用气候场景、数据样本规模与模型参数的影响,模型稳定性与预测精度不满足工程实际应用。At present, intensive pig houses are closed microclimate environments. Affected by the internal and external environments, the internal temperature of the pig houses fluctuates in a small range throughout the day, and the data distribution has characteristics such as sharp peaks, thick tails, and multiple coupling. Traditional model-driven prediction methods and data-driven prediction methods, such as time series prediction methods and neural network prediction methods, are affected by the application climate scenarios, data sample size, and model parameters. The model stability and prediction accuracy do not meet the actual engineering application requirements.

为解决上述问题,本发明提出了一种融合共振稀疏Transformer网络的猪舍温度预测方法,该方法考虑了集约化猪舍温度序列数据的低频走势与高频振荡特性,可以准确提取猪舍温度波动趋势,防止预测趋势失真;相比时间序列预测方法与数据驱动预测方法,本发明提出的方法可有效捕捉时间序列数据中的长期依赖关系,计算复杂度低,预测精度高,算法运行速度快。To solve the above problems, the present invention proposes a pig house temperature prediction method that integrates a resonant sparse Transformer network. The method takes into account the low-frequency trend and high-frequency oscillation characteristics of intensive pig house temperature series data, and can accurately extract the temperature fluctuation trend of the pig house to prevent the prediction trend from being distorted. Compared with the time series prediction method and the data-driven prediction method, the method proposed in the present invention can effectively capture the long-term dependencies in the time series data, with low computational complexity, high prediction accuracy, and fast algorithm running speed.

以下结合具体实施例对本发明的具体实现进行详细描述。The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.

如图1和图9所示,本发明提供的融合共振稀疏Transformer网络的猪舍温度预测方法包括以下步骤:As shown in FIG. 1 and FIG. 9 , the pig house temperature prediction method provided by the present invention by integrating the resonance sparse Transformer network comprises the following steps:

步骤S1:在猪舍内设置多个温度采集测点,拾取各个温度采集测点的温度序列数据;Step S1: setting a plurality of temperature collection points in the pig house, and picking up the temperature sequence data of each temperature collection point;

步骤S2:利用共振稀疏分解方法对各个温度采集测点的温度序列数据进行分解,得到各个温度采集测点的低频温度趋势序列与高频波动序列;Step S2: Decomposing the temperature series data of each temperature collection point by using the resonance sparse decomposition method to obtain a low-frequency temperature trend series and a high-frequency fluctuation series of each temperature collection point;

步骤S3:利用Transformer网络模型方法对各个低频温度趋势序列进行预测,得到各个温度采集测点的低频温度预测序列;Step S3: using the Transformer network model method to predict each low-frequency temperature trend sequence, and obtain a low-frequency temperature prediction sequence for each temperature collection point;

步骤S4:利用卷积神经网络的双向长短时记忆网络CNN-BiLSTM模型对各个高频波动序列进行预测,得到各个温度采集测点的高频温度预测序列;Step S4: using a convolutional neural network bidirectional long short-term memory network CNN-BiLSTM model to predict each high-frequency fluctuation sequence, and obtain a high-frequency temperature prediction sequence for each temperature collection point;

步骤S5:将低频温度预测序列与高频温度预测序列求和计算,得到最终各个温度采集测点的温度预测数据,同时计算预测时间序列与实际时间序列的误差,对预测模型的超参数进行实时调整;Step S5: The low-frequency temperature prediction sequence and the high-frequency temperature prediction sequence are summed and calculated to obtain the final temperature prediction data of each temperature collection point, and the error between the predicted time series and the actual time series is calculated at the same time, and the hyperparameters of the prediction model are adjusted in real time;

步骤S6:根据各个温度预测数据,对猪舍环境进行调控。Step S6: According to the temperature prediction data, the pig house environment is regulated.

进一步的,步骤S2具体包括:Furthermore, step S2 specifically includes:

步骤S21:利用温度传感器采集的猪舍各个测点的温度序列数据表达为:Step S21: The temperature series data of each measuring point in the pig house collected by the temperature sensor is expressed as:

(1); (1);

式(1)中,为观测数据,为待估计低频振荡特性的趋势序列分量与高频振荡特性的谐波分量;In formula (1), is the observed data, ; , are the trend sequence component of the low-frequency oscillation characteristic to be estimated and the harmonic component of the high-frequency oscillation characteristic;

步骤S22:信号分量利用过完备小波基与过完备小波基匹配表征为:Step S22: Signal Components , Using overcomplete wavelet basis Overcomplete wavelet basis The matching is characterized by:

(2); , (2);

式(2)中,分别为分量的小波变换系数;In formula (2), and Respectively The wavelet transform coefficients of

步骤S23:构建的共振稀疏分解目标函数表达为:Step S23: The constructed resonance sparse decomposition objective function is expressed as:

(3); (3);

式(3)中,为正则化参数;In formula (3), and is the regularization parameter;

步骤S24:应用分裂增广拉格朗日收缩算法求解构建的共振稀疏分解目标函数的最小值,多次迭代更新,得到更新后的小波变换系数,待估计低频振荡特性的趋势序列分量与高频振荡特性的谐波分量分别为:Step S24: Apply the split augmented Lagrangian shrinkage algorithm to solve the minimum value of the constructed resonance sparse decomposition objective function, and iterate and update multiple times and , get the updated wavelet transform coefficients and , the trend sequence component of the low-frequency oscillation characteristics to be estimated and the harmonic component of the high-frequency oscillation characteristics are:

(4); (4);

进一步的,步骤S3具体包括:Furthermore, step S3 specifically includes:

步骤S31:Transformer模型由模型编码器Encoder和模型解码器Decoder组成;其中,模型编码器Encoder包括向量位置编码、多头自注意力机制、残差连接与网络层归一化处理与前馈神经网络;模型解码器Decoder包括掩码多头自注意力机制、前馈神经网络、全连接层;Step S31: The Transformer model is composed of a model encoder Encoder and a model decoder Decoder; wherein the model encoder Encoder includes vector position encoding, multi-head self-attention mechanism, residual connection and network layer normalization processing and feedforward neural network; the model decoder Decoder includes a masked multi-head self-attention mechanism, a feedforward neural network, and a fully connected layer;

步骤S32:在模型编码器Encoder中,向量位置编码用来对输入序列X中的每个位置添加标记信息,区分输入序列的不同位置与顺序;Step S32: In the model encoder, vector position encoding is used to add label information to each position in the input sequence X to distinguish different positions and orders of the input sequence;

步骤S33:在模型解码器Decoder中,为预测某一步数据不与未来数据产生联系,使用通过创建掩码矩阵将未来位置构造掩码多头自注意力机制,使得未来位置的注意力得分置为无穷小,使当前元素只与历史元素产生联系,确保模型只能依赖历史元素来预测未来元素的值。Step S33: In the model decoder, in order to predict that the data of a certain step will not be connected with the future data, a mask multi-head self-attention mechanism is constructed by creating a mask matrix to construct the future position, so that the attention score of the future position is set to infinitesimal, so that the current element is only connected with the historical elements, ensuring that the model can only rely on historical elements to predict the value of future elements.

进一步的,步骤S32包括:Further, step S32 includes:

步骤S321:使用sin和cos函数的线性变换提供模型位置信息,具体操作为:Step S321: Use the linear transformation of sin and cos functions to provide model position information. The specific operation is:

(5); (5);

式(5)中,为输入序列的位置,如=0,1,2,…,N;为序列维度;表示序列维度的奇偶性;为嵌入空间维度的大小;In formula (5), is the position of the input sequence, such as =0, 1, 2, ..., N; is the sequence dimension; and Indicates the parity of the sequence dimension; is the size of the embedding space dimension;

步骤S322:在模型编码器Encoder中,多头自注意力机制使用多个并行的自注意力机制,单个自注意力机制通过学习不同的权重,捕获子空间的信息,具体操作为:Step S322: In the model encoder, the multi-head self-attention mechanism uses multiple parallel self-attention mechanisms. A single self-attention mechanism captures the information of the subspace by learning different weights. The specific operations are:

根据向量位置编码添加位置编码后的向量,通过三个权重矩阵(,,),即查询矩阵,键矩阵,值矩阵转变为自注意力机制所需的向量Q、向量K与向量V,即为添加过位置编码之后的输入向量;According to the vector position encoding, the position-encoded vector is added through three weight matrices ( , , ), that is, the query matrix , the bond matrix , value matrix Transformed into the vector Q, vector K and vector V required by the self-attention mechanism, that is , , , is the input vector after adding the position encoding;

步骤S323:使用点积法计算输入序列中每个元素间的相关性得分:Score=Q*KT;Step S323: Use the dot product method to calculate the correlation score between each element in the input sequence: Score=Q*KT;

为使模型训练时梯度能够稳定, 将每个元素间的相关性得分进行归一化处理:,其中,为向量K的维度;通过Softmax函数,将位置编码后的向量中的每个元素间的得分向量转换成[0,1]之间的概率分布,计算公式为:In order to stabilize the gradient during model training, the correlation scores between each element are normalized: ,in, is the dimension of vector K; through the Softmax function, the score vector between each element in the position-encoded vector is converted into a probability distribution between [0,1], and the calculation formula is:

(6); (6);

步骤S324:多头注意力机制使用多组权重矩阵(,,),得到多组所需的向量Q,向量K与向量V,得到多个头的输出被连接在一起进行线性变换矩阵Z:Step S324: The multi-head attention mechanism uses multiple sets of weight matrices ( , , ), get multiple sets of required vectors Q, vectors K and vectors V, and get the outputs of multiple heads connected together to perform linear transformation matrix Z:

(7); (7);

式(7)中,,,为第i个向量Q,K与V;为注意力头权重矩阵;In formula (7), , , is the i-th vector Q, K and V; is the attention head weight matrix;

步骤S325:残差连接与网络层归一化处理为:Step S325: residual connection and network layer normalization processing are as follows:

在上一步经过多头注意力机制输出后,进行残差连接操作与网络层归一化操作After the multi-head attention mechanism output in the previous step, the residual connection operation is performed Normalization operation with network layer ;

步骤S326:前馈神经网络为一个两层的神经网络,先进行线性变换,然后进行ReLU非线性变换,再进行线性变换,具体为:Step S326: The feedforward neural network is a two-layer neural network, which first performs a linear transformation, then a ReLU nonlinear transformation, and then a linear transformation, specifically:

(8); (8);

式(8)中,为前一层的输出为前馈神经网络的权重系数,为前馈神经网络的偏置,最后利用残差连接方式连接各层In formula (8), The output of the previous layer , and is the weight coefficient of the feedforward neural network, and It is the bias of the feedforward neural network, and finally the residual connection method is used to connect each layer .

进一步的,在步骤S33中:Further, in step S33:

掩码多头自注意力机制具体为: (9);The specific masked multi-head self-attention mechanism is: (9);

式(9)中,Mmask为掩码矩阵,附带掩码的注意力权重矩阵;In formula (9), Mmask is the mask matrix, Attention weight matrix with mask;

模型解码器Decoder中的前馈神经网络与全连接层,其中,前馈神经网络对上层结果进行非线性转换,使得网络能够捕捉表征复杂的非线性关系,全连接层使用ReLU函数作为激活函数,计算过程与模型编码器Encoder类似。The feedforward neural network and fully connected layer in the model decoder Decoder. The feedforward neural network performs nonlinear transformation on the upper layer results, so that the network can capture and represent complex nonlinear relationships. The fully connected layer uses the ReLU function as the activation function, and the calculation process is similar to that of the model encoder Encoder.

本发明提出的猪舍温度预测方法考虑了集约化猪舍温度序列数据的低频走势与高频振荡特性,可以准确提取猪舍温度波动趋势,防止预测趋势失真;The pig house temperature prediction method proposed in the present invention takes into account the low-frequency trend and high-frequency oscillation characteristics of the intensive pig house temperature series data, and can accurately extract the pig house temperature fluctuation trend to prevent the prediction trend from being distorted;

相比时间序列预测方法与数据驱动预测方法,本发明提出的方法可有效捕捉时间序列数据中的长期依赖关系,计算复杂度低,预测精度高,算法运行速度快。Compared with the time series prediction method and the data-driven prediction method, the method proposed in the present invention can effectively capture the long-term dependencies in the time series data, has low computational complexity, high prediction accuracy, and fast algorithm operation speed.

综上所述,本发明克服了传统预测方法不准确的问题,尤其针对数据小范围波动,数据分布尖峰厚尾、多耦合等特征下的预测问题,本发明的猪舍温度预测方法,可实现集约化猪舍温度精准预测,为猪舍环境的精细调控与疾病防控提供理论依据。In summary, the present invention overcomes the problem of inaccuracy of traditional prediction methods, especially for prediction problems under characteristics such as small-range data fluctuations, data distribution peaks and thick tails, and multiple coupling. The pig house temperature prediction method of the present invention can realize accurate prediction of intensive pig house temperature and provide a theoretical basis for fine control of pig house environment and disease prevention and control.

本发明采用芜湖某集约化生猪养殖企业基于以太网与传感器融合网络技术拾取某测点的温度序列数据,某测点的约11个月温度变化序列如图2所示,每天采集1个温度点,数据共计333点。The present invention adopts a certain intensive pig breeding enterprise in Wuhu to pick up the temperature series data of a certain measuring point based on Ethernet and sensor fusion network technology. The temperature change sequence of a certain measuring point for about 11 months is shown in Figure 2. One temperature point is collected every day, and the data totals 333 points.

利用共振稀疏分解方法{参考I. W. Selesnick, Resonance-based signaldecomposition: a new sparsity-enabled signal analysis method,SignalProcessing, 2011, 91(12) :2793-2809.}对某测点的温度时间序列进行分解,得到该测点的低频温度趋势序列与高频波动序列,图3为本发明实施例的共振稀疏分解得到的低频分量图,图4本发明实施例的共振稀疏分解得到的高频分量图,可看出低频分量信号反映了猪舍温度波动趋势,高频分量信号反映了外界干扰因素对环境温度的波动影响。The temperature time series of a certain measuring point is decomposed by using the resonance sparse decomposition method {refer to I. W. Selesnick, Resonance-based signal decomposition: a new sparsity-enabled signal analysis method, Signal Processing, 2011, 91(12): 2793-2809.} to obtain a low-frequency temperature trend sequence and a high-frequency fluctuation sequence of the measuring point. FIG3 is a low-frequency component diagram obtained by the resonance sparse decomposition of an embodiment of the present invention, and FIG4 is a high-frequency component diagram obtained by the resonance sparse decomposition of an embodiment of the present invention. It can be seen that the low-frequency component signal reflects the temperature fluctuation trend of the pig house, and the high-frequency component signal reflects the influence of external interference factors on the fluctuation of the ambient temperature.

利用Transformer网络模型{参考 A. Vaswani, N. Shazeer, N. Parmar, J.Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser,I. Polosukhin, Attention is allyou need [J]. Advances in neural informationprocessing systems, 2017, 30, 1-15. }方法对某测点的低.频温度趋势序列进行预测,得到某测点的低频温度预测序列,结果如图5所示,可看出Transformer网络模型方法可准确跟踪猪舍温度波动趋势。The Transformer network model {reference A. Vaswani, N. Shazeer, N. Parmar, J.Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, I. Polosukhin, Attention is all you need [J]. Advances in neural informationprocessing systems, 2017, 30, 1-15. } is used to predict the low-frequency temperature trend sequence of a certain measuring point, and the low-frequency temperature prediction sequence of a certain measuring point is obtained. The result is shown in Figure 5. It can be seen that the Transformer network model method can accurately track the temperature fluctuation trend of the pig house.

利用卷积神经网络的双向长短时记忆网络 (CNN-BiLSTM) 模型{参考A. Graves,J. Schmidhuber, Framewise phoneme classification with bidirectional LSTM andother neural network architectures,Neural Networks, 2005, 18(5-6), 602-610.}对某测点的高频波动序列进行预测,得到某测点的高频温度预测序列,结果如图6所示,可看出CNN-BiLSTM模型可准确跟踪高频温度分量的振荡过程;最后将低频温度预测序列与高频温度预测序列求和计算,得到某测点温度预测数据,如图7所示;而图8为本发明实施例的基于本发明方法的温度预测误差,可看出本发明提出的方法预测误差范围波动小,预测精度高,具有良好的工业应用价值。The bidirectional long short-term memory network (CNN-BiLSTM) model of a convolutional neural network is used to predict the high-frequency fluctuation sequence of a certain measuring point, and the high-frequency temperature prediction sequence of a certain measuring point is obtained. The result is shown in FIG6 . It can be seen that the CNN-BiLSTM model can accurately track the oscillation process of the high-frequency temperature component. Finally, the low-frequency temperature prediction sequence and the high-frequency temperature prediction sequence are summed and calculated to obtain the temperature prediction data of a certain measuring point, as shown in FIG7 . FIG8 is a temperature prediction error based on the method of the present invention according to an embodiment of the present invention. It can be seen that the prediction error range of the method proposed by the present invention fluctuates slightly, the prediction accuracy is high, and the method has good industrial application value.

尽管本发明的实施方案已公开如上,但其并不仅仅限于说明书和实施方式中所列运用。它完全可以被适用于各种适合本发明的领域。对于熟悉本领域的人员而言,可容易地实现另外的修改。因此在不背离权利要求及等同范围所限定的一般概念下,本发明并不限于特定的细节和这里示出与描述的图例。Although the embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and the embodiments. It can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily realized. Therefore, without departing from the general concept defined by the claims and equivalent scope, the present invention is not limited to the specific details and the illustrations shown and described here.

Claims (5)

1. The pig house temperature prediction method fused with the resonance sparse transducer network is characterized by comprising the following steps of:
step S1: setting a plurality of temperature acquisition measuring points in a pig house, and picking up temperature sequence data of each temperature acquisition measuring point;
Step S2: decomposing the temperature sequence data of each temperature acquisition measuring point by using a resonance sparse decomposition method to obtain a low-frequency temperature trend sequence and a high-frequency fluctuation sequence of each temperature acquisition measuring point;
Step S3: predicting each low-frequency temperature trend sequence by using a transducer network model method to obtain a low-frequency temperature prediction sequence of each temperature acquisition measuring point;
Step S4: predicting each high-frequency fluctuation sequence by using a bidirectional long-short-time memory network CNN-BiLSTM model of the convolutional neural network to obtain a high-frequency temperature prediction sequence of each temperature acquisition measuring point;
Step S5: summing and calculating the low-frequency temperature prediction sequence and the high-frequency temperature prediction sequence to obtain temperature prediction data of each final temperature acquisition measuring point, calculating errors of a prediction time sequence and an actual time sequence, and adjusting super parameters of a prediction model in real time;
Step S6: and regulating and controlling the pigsty environment according to the temperature prediction data.
2. The pig house temperature prediction method of the fused resonance sparse fransformer network according to claim 1, wherein the step S2 specifically comprises:
step S21: the temperature sequence data of each measuring point of the pigsty collected by the temperature sensor is expressed as follows:
(1);
In the formula (1), the components are as follows, In order to observe the data of the object,The trend sequence component of the low-frequency oscillation characteristic to be estimated and the harmonic component of the high-frequency oscillation characteristic are adopted;
Step S22: signal component Using overcomplete wavelet basisAnd overcomplete wavelet basisThe matching is characterized by:
(2);
In the formula (2), the amino acid sequence of the compound, And (3) withRespectively as componentsWavelet transform coefficients of (a);
Step S23: the constructed resonance sparse decomposition objective function is expressed as:
(3);
In the formula (3), the amino acid sequence of the compound, And (3) withIs a regularization parameter;
Step S24: solving and constructing minimum value of resonance sparse decomposition objective function by using split augmentation Lagrangian contraction algorithm, and repeatedly updating And (3) withObtaining updated wavelet transform coefficientsAnd (3) withThe trend sequence component of the low-frequency oscillation characteristic to be estimated and the harmonic component of the high-frequency oscillation characteristic are respectively:
(4)。
3. The pig house temperature prediction method of the fused resonance sparse fransformer network according to claim 2, wherein the step S3 specifically comprises:
Step S31: the transducer model consists of a model encoder Encoder and a model Decoder; the model encoder Encoder comprises vector position coding, a multi-head self-attention mechanism, residual connection, network layer normalization processing and a feedforward neural network; the model Decoder comprises a mask multi-head self-attention mechanism, a feedforward neural network and a full-connection layer;
Step S32: in the model encoder Encoder, vector position coding is used to add marker information to each position in the input sequence X, distinguishing between different positions and order of the input sequence;
step S33: in the model Decoder, a masking multi-headed self-attention mechanism is used to construct future locations by creating a masking matrix such that the attention score for the future locations is infinitely small, causing the current element to be tied only to historical elements.
4. The pig house temperature prediction method fused with the resonance sparse fransformer network according to claim 3, wherein in step S32:
Step S321: linear transformation using sin and cos functions provides model position information, specifically operating as:
(5);
In the formula (5), the amino acid sequence of the compound, For inputting the position of a sequence, e.g.=0,1,2,…,N;Is the sequence dimension; And Representing parity of sequence dimensions; The size of the embedded space dimension;
Step S322: in model encoder Encoder, the multi-headed self-attention mechanism uses multiple parallel self-attention mechanisms, a single self-attention mechanism captures subspace information by learning different weights, specifically operating as:
adding the vector after the position coding according to the vector position coding, and passing through three weight matrixes: query matrix Key matrixSum matrixThe transformation is to the vector Q, the vector K and the vector V required by the self-attention mechanism respectively:
Wherein, the method comprises the steps of, wherein, For adding the input vector after the position coding;
Step S323: a dot product method is used to calculate a correlation score between each element in the input sequence: score=q×kt;
Normalizing the relevance scores among the elements: Wherein, the method comprises the steps of, wherein, Is the dimension of vector K;
Converting the score vector between each element in the position coded vector into probability distribution between [0,1] through a Softmax function, wherein the calculation formula is as follows:
(6);
Step S324: multi-head attention mechanism uses multiple sets of weight matrices ,,Obtaining a plurality of groups of required vectors Q, vectors K and vectors V, and connecting the outputs of the plurality of heads to perform linear transformation matrix Z:
(7);
In the formula (7), the amino acid sequence of the compound, ,,Is the ith vector Q, K and V; a weight matrix for the attention head;
Step S325: the residual connection and network layer normalization process is as follows:
after the multi-head attention mechanism is output in the last step, residual connection operation is carried out Normalizing operation with network layer
Step S326: the feedforward neural network is a two-layer neural network, which is transformed first, then is subjected to non-linear transformation of ReLU, and then is subjected to linear transformation, specifically:
(8);
In the formula (8), the amino acid sequence of the compound, For the output of the previous layerAnd (3) withAs the weighting coefficients of the feed-forward neural network,And (3) withFor biasing the feedforward neural network, connecting all layers by residual connection mode
5. The method for pig house temperature prediction by fusing a resonance sparse fransformer network according to claim 4, wherein in step S33:
the mask multi-head self-attention mechanism is specifically: (9);
In equation (9), mmask is a mask matrix, Attention weight matrix with mask;
And the feedforward neural network in the model Decoder performs nonlinear conversion on the upper layer result, so that the network can capture the nonlinear relation representing the complexity, and the full connection layer uses a ReLU function as an activation function.
CN202410644882.9A 2024-05-23 2024-05-23 Pig house temperature prediction method fused with resonance sparse transducer network Active CN118277959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410644882.9A CN118277959B (en) 2024-05-23 2024-05-23 Pig house temperature prediction method fused with resonance sparse transducer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410644882.9A CN118277959B (en) 2024-05-23 2024-05-23 Pig house temperature prediction method fused with resonance sparse transducer network

Publications (2)

Publication Number Publication Date
CN118277959A true CN118277959A (en) 2024-07-02
CN118277959B CN118277959B (en) 2024-08-23

Family

ID=91640157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410644882.9A Active CN118277959B (en) 2024-05-23 2024-05-23 Pig house temperature prediction method fused with resonance sparse transducer network

Country Status (1)

Country Link
CN (1) CN118277959B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119105580A (en) * 2024-09-14 2024-12-10 山东省地质矿产勘查开发局第八地质大队(山东省第八地质矿产勘查院) Precision control system and method for intelligent heating digestion furnace

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119767A (en) * 2019-04-19 2019-08-13 淮阴工学院 A kind of cucumber green house temperature intelligent detection device based on LVQ neural network
US20210190362A1 (en) * 2019-06-04 2021-06-24 Lg Electronics Inc. Apparatus for generating temperature prediction model and method for providing simulation environment
CN115890340A (en) * 2022-12-15 2023-04-04 安徽农业大学 A Tool Wear Prediction Method Based on Compressive Learning Adaptive Network under Sparse Framework
CN116029435A (en) * 2023-01-10 2023-04-28 盐城工学院 An early warning system for the comfort of pig facility breeding environment
CN117132132A (en) * 2023-09-06 2023-11-28 大连民族大学 Photovoltaic power generation power prediction method based on meteorological data
CN117436562A (en) * 2023-04-14 2024-01-23 青岛海洋科技中心 Long-term ocean temperature prediction method and device based on improved Transformer model
WO2024077969A1 (en) * 2022-10-14 2024-04-18 南京国电南自轨道交通工程有限公司 Lstm-svr subway station temperature prediction method based on characteristic of multiple periods
CN117973440A (en) * 2024-04-02 2024-05-03 长江三峡集团实业发展(北京)有限公司 Regional ionosphere delay prediction method based on LSTM-transducer model

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119767A (en) * 2019-04-19 2019-08-13 淮阴工学院 A kind of cucumber green house temperature intelligent detection device based on LVQ neural network
US20210190362A1 (en) * 2019-06-04 2021-06-24 Lg Electronics Inc. Apparatus for generating temperature prediction model and method for providing simulation environment
WO2024077969A1 (en) * 2022-10-14 2024-04-18 南京国电南自轨道交通工程有限公司 Lstm-svr subway station temperature prediction method based on characteristic of multiple periods
CN115890340A (en) * 2022-12-15 2023-04-04 安徽农业大学 A Tool Wear Prediction Method Based on Compressive Learning Adaptive Network under Sparse Framework
CN116029435A (en) * 2023-01-10 2023-04-28 盐城工学院 An early warning system for the comfort of pig facility breeding environment
CN117436562A (en) * 2023-04-14 2024-01-23 青岛海洋科技中心 Long-term ocean temperature prediction method and device based on improved Transformer model
CN117132132A (en) * 2023-09-06 2023-11-28 大连民族大学 Photovoltaic power generation power prediction method based on meteorological data
CN117973440A (en) * 2024-04-02 2024-05-03 长江三峡集团实业发展(北京)有限公司 Regional ionosphere delay prediction method based on LSTM-transducer model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIANQI ZHANG ET AL: "A monthly temperature prediction based on the CEEMDAN–BO–BiLSTM coupled model", NATURE, 8 January 2024 (2024-01-08) *
曾志雄等: "基于时间序列和多元模型的集约化猪舍温度预测", 华南农业大学学报, 3 March 2021 (2021-03-03) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119105580A (en) * 2024-09-14 2024-12-10 山东省地质矿产勘查开发局第八地质大队(山东省第八地质矿产勘查院) Precision control system and method for intelligent heating digestion furnace

Also Published As

Publication number Publication date
CN118277959B (en) 2024-08-23

Similar Documents

Publication Publication Date Title
CN118277959B (en) Pig house temperature prediction method fused with resonance sparse transducer network
CN107590567A (en) Recurrent neural network short-term load prediction method based on information entropy clustering and attention mechanism
CN114529051A (en) Long-term power load prediction method based on hierarchical residual self-attention neural network
CN111027772A (en) Multi-factor short-term load forecasting method based on PCA-DBILSTM
CN114154401B (en) Soil erosion modulus calculation method and system based on machine learning and observation data
CN114662389B (en) Air pollutant-oriented self-correlation error Informer model long time sequence prediction method and system
CN113988449A (en) Wind power prediction method based on Transformer model
CN113610328B (en) A method for predicting power generation load
CN115759321A (en) Intelligent reactive power compensation method taking minimum line loss as optimization target
CN116050621A (en) A multi-head self-attention offshore wind power ultra-short-term power prediction method with integrated lifting mode
CN117251705A (en) Daily natural gas load prediction method
CN116643949A (en) Multi-model edge cloud load prediction method and device based on VaDE clustering
CN116629126A (en) A Soft Sensor Modeling Method Based on Dynamic Multi-Head Attention Mechanism
CN117424229A (en) Ultra-short-term wind power prediction method and system based on low wind speed power correction
CN117691997A (en) SAR ADC calibration method based on deep learning
CN110738363B (en) Photovoltaic power generation power prediction method
CN115409563A (en) A Method for Forecasting Agricultural Equipment Inventory Demand Influenced by Multiple Factors
CN116050478A (en) Time sequence filling method based on attention mechanism
CN118780442A (en) Warehouse cargo volume prediction method and system based on LSTM encoder-decoder
CN116483036B (en) Transformer-based self-encoder soft measurement modeling method
CN118966408A (en) A method for predicting the queuing time of charging piles during peak hours based on big data analysis
CN118426312A (en) Livestock and poultry breeding environment control method and device and Internet of things system
CN117852714A (en) Short-term temperature prediction method for non-constant temperature CNC workshop based on AFSA optimized Transformer-GRU
CN117221352A (en) Internet of things data acquisition and intelligent big data processing method and cloud platform system
CN116859140A (en) Cloud edge cooperation-based non-invasive load monitoring data online compressed sensing method

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant