CN106156499A - 一种基于Fourier级数模型的时序数据预测方法 - Google Patents

一种基于Fourier级数模型的时序数据预测方法 Download PDF

Info

Publication number
CN106156499A
CN106156499A CN201610514261.4A CN201610514261A CN106156499A CN 106156499 A CN106156499 A CN 106156499A CN 201610514261 A CN201610514261 A CN 201610514261A CN 106156499 A CN106156499 A CN 106156499A
Authority
CN
China
Prior art keywords
omega
cos
sin
fourier series
series 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.)
Pending
Application number
CN201610514261.4A
Other languages
English (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.)
Shandong Institute of Space Electronic Technology
Original Assignee
Shandong Institute of Space Electronic Technology
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 Shandong Institute of Space Electronic Technology filed Critical Shandong Institute of Space Electronic Technology
Priority to CN201610514261.4A priority Critical patent/CN106156499A/zh
Publication of CN106156499A publication Critical patent/CN106156499A/zh
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Algebra (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

本发明公开了一种基于Fourier级数模型的时序数据预测方法。使用本发明能够对在轨卫星的遥测数据进行有效预测,且预测精度较高。本发明首先对遥测采样数据进行预处理,剔除粗大误差、剔野,然后建立Fourier级数模型,并针对遥测采样数据特点,综合应用了快速傅里叶变换、矩阵的QR分解算法以及最小二乘法,确定Fourier级数模型的各个参数,最后利用Fourier级数模型对卫星遥测数据进行预测,获得较好的预测结果,与实际的遥测数据误差小,预测精度高。

Description

一种基于Fourier级数模型的时序数据预测方法
技术领域
本发明涉及卫星遥测数据处理技术领域,具体涉及一种基于Fourier级数模型的时序数据预测方法。
背景技术
卫星在轨工作后,长期运行在空间环境中,其性能与功能随着时间、测控事件及故障等因素发生变化,这些变化能够在遥测数据上体现出来,因此分析在轨卫星的遥测数据(时序数据)变化规律,对遥测数据未来变化趋势进行预测,在此基础上进行提前预警,可以在早期及时发现卫星性能的异常变化,并采取有效措施,避免可能发生的重大故障,降低卫星在轨运行的风险。
在航天领域,由于卫星设备结构、运行环境复杂、设备不可维修和回收分析等众多因素,造成对卫星在轨运行状态的预测,尤其是卫星长期状态的预测较为困难。现阶段,基于历史数据的卫星在轨运行状态的预测一般都是短期的,而且对于变化比较复杂的情况预测准确性较低。
发明内容
有鉴于此,本发明提供了一种基于Fourier级数模型的时序数据预测方法,能够对在轨卫星的遥测数据进行有效预测,且预测精度较高。
本发明的基于Fourier级数模型的时序数据预测方法,包括如下步骤:
步骤1,对遥测采样数据进行预处理,剔除粗大误差、剔野;
步骤2,建立Fourier级数模型;
其中,Fourier级数模型为:
y=Φ(x,t)=a0+a1cos(ωt)+b1sin(ωt)+a2cos(2ωt)+b2sin(2ωt)+a3cos(3ωt)+b3sin(3ωt)+a4cos(4ωt)+b4sin(4ωt)+…+aKcos(Kωt)+bKsin(Kωt)
其中,x=(a0,a1,b1,a2,b2,a3,b3,a4,b4,…,aK,bK,ω),为待求模型参数;ω为基频,(a0,a1,b1,a2,b2,a3,b3,a4,b4,…,aK,bK)为模型系数;t为采样时间;y为采样时间对应的遥测采样数据;K为Fourier级数模型的阶数;
步骤3,求取Fourier级数模型的参数x;
步骤3.1,利用FFT变换求取步骤1预处理后的采样数据的最大频率ωpeak
FY=FFT(Y)
ω p e a k = 2 π m a x ( 0.5 , max _ l o c - 1 ) t m - t 1
其中,Y=[y1,y2,…,ym]T,y1,y2,…,ym为采样时刻t1,t2,…,tm对应的遥测数据采样值;max_loc为FFT变换序列FY前一半的最大值索引号;
步骤3.2,令ω=ωpeak/k,k=1,2,…,K;针对K个ω,均进行如下处理:
(1)构造矩阵A:
A = 1 cos ( t 1 ω ) sin ( t 1 ω ) cos ( 2 t 1 ω ) sin ( 2 t 1 ω ) ... cos ( 4 t 1 ω ) sin ( 4 t 1 ω ) 1 cos ( t 2 ω ) sin ( t 2 ω ) cos ( 2 t 2 ω ) sin ( 2 t 2 ω ) ... cos ( 4 t 2 ω ) sin ( 4 t 2 ω ) . . . 1 cos ( t m ω ) sin ( t m ω ) cos ( 2 t m ω ) sin ( 2 t m ω ) ... cos ( 4 t m ω ) sin ( 4 t m ω ) m × 9
(2)对矩阵A进行QR分解:
[Q,R,E]=qr(A,0)
(3)求取矩阵R的秩rand(R),令p=rand(R),取矩阵Q的前p列,即
Q′=Q(:,1:p)
(4)求取拟合序列Yfit=Q′×(Q′T×Y);
(5)计算||Y-Yfit||;
步骤3.3,针对步骤3.2获得的K个||Y-Yfit||值,选取其中最小值||Y-Yfit||min对应的频率为最佳基频ωbset
步骤3.4,根据步骤3.3获得的最佳基频ωbset,利用最小二乘求取其他模型系数:[a0 a1 b1…a4 b4]T=(AT A)-1ATY,其中,
A = 1 cos ( t 1 ω b e s t ) sin ( t 1 ω b e s t ) ... cos ( 4 t 1 ω b e s t ) sin ( 4 t 1 ω b e s t ) 1 cos ( t 2 ω b e s t ) sin ( t 2 ω b e s t ) ... cos ( 4 t 2 ω b e s t ) sin ( 4 t 2 ω b e s t ) . . . 1 cos ( t m ω b e s t ) sin ( t m ω b e s t ) ... cos ( 4 t m ω b e s t ) sin ( 4 t m ω b e s t ) m × 9
从而获得确定的Fourier级数模型;
步骤4,利用步骤3确定的Fourier级数模型对遥测数据进行预测。
较优的,Fourier级数模型的阶数为4。
有益效果:
本发明采用Fourier级数模型,对具有一定规则周期的遥测数据进行建模,并结合遥测数据特点,结合QR算法和最小二乘法确定模型的参数,最后利用确定的Fourier级数模型对遥测数据进行预测,获得较好的预测结果,与实际的遥测数据误差小,预测精度高。
附图说明
图1为本发明流程图。
图2为采用本发明方法的预测效果图。其中,图2(a)为预测信息显示,图2(b)为误差信息显示。
具体实施方式
下面结合附图并举实施例,对本发明进行详细描述。
本发明提供了一种基于Fourier级数模型的时序数据预测方法,采用Fourier级数模型,对具有一定规则周期的遥测数据进行建模并确定模型的参数,进而采用该模型对遥测数据进行预测。
具体包括如下步骤:
步骤1,对遥测采样数据进行预处理,剔除粗大误差、剔野,获得能真正反映卫星在轨运行状态的数据集合。
步骤2,建立Fourier级数模型。
Fourier级数模型能够较好地建模拟合各种有周期规律的数据类型,也是一种基于谐波频率的数据模型。本具体实施方式以4阶Fourier级数模型为例进行说明。该4阶Fourier级数模型如下:
y=Φ(x,t)=a0+a1cos(ωt)+b1sin(ωt)+a2cos(2ωt)+b2sin(2ωt)+a3cos(3ωt)+b3sin(3ωt)+a4cos(4ωt)+b4sin(4ωt)
其中,x=(a0,a1,b1,a2,b2,a3,b3,a4,b4,ω)为待求模型参数,ω为基频,模型参数个数n=10,t为采样时间,y为采样时间对应的遥测采样数据。
步骤3,求取Fourier级数模型的参数。
以4阶Fourier级数模型为例,说明模型参数x的求取思路:先利用FFT变换求取步骤1预处理后的采用数据的最大主频,将最大主频为最大基频,以最大基频依次倍除1,2,3,…,k,其中k为Fourier级数模型的阶数,获得的频率作为基频;然后利用QR分解测试出最佳基频;最后结合最佳基频,通过最小二乘求取其他模型系数,从而获得模型参数的初始值。具体包括如下子步骤。
步骤3.1,利用FFT变换求取步骤1预处理后的采样数据的最大频率ωpeak
FY=FFT(Y)
ω p e a k = 2 π m a x ( 0.5 , max _ l o c - 1 ) t m - t 1
其中,Y=[y1,y2,…,ym]T,y1,y2,…,ym为采样时刻t1,t2,…,tm对应的遥测数据采样值;max_loc为FFT变换序列FY前一半的最大值索引号,记最佳基频ωbest为ωbest=ωpeak
步骤3.2,令k=1,2,…,4,ω=ωpeak/k,初始状态normr=Inf,Inf为无穷大;循环完成以下测试:
(1)构造如下矩阵
A = 1 cos ( t 1 ω ) sin ( t 1 ω ) cos ( 2 t 1 ω ) sin ( 2 t 1 ω ) ... cos ( 4 t 1 ω ) sin ( 4 t 1 ω ) 1 cos ( t 2 ω ) sin ( t 2 ω ) cos ( 2 t 2 ω ) sin ( 2 t 2 ω ) ... cos ( 4 t 2 ω ) sin ( 4 t 2 ω ) . . . 1 cos ( t m ω ) sin ( t m ω ) cos ( 2 t m ω ) sin ( 2 t m ω ) ... cos ( 4 t m ω ) sin ( 4 t m ω ) m × 9
其中,{t1,t2,…,tm}为采样时刻序列。
(2)对A矩阵进行QR分解
[Q,R,E]=qr(A,0)
(3)求取矩阵R的秩rand(R),令p=rand(R),取矩阵Q的前p列,即
Q=Q(:,1:p)
(4)求取拟合序列yfit=Q×(QT×y);
(5)如果||y-yfit||<normr,则normr=||y-yfit||,且最佳基频ωbset=ω。
步骤3.3,根据最佳基频ωbset再次利用最小二乘求取其他模型系数:
A = 1 cos ( t 1 ω b e s t ) sin ( t 1 ω b e s t ) ... cos ( 4 t 1 ω b e s t ) sin ( 4 t 1 ω b e s t ) 1 cos ( t 2 ω b e s t ) sin ( t 2 ω b e s t ) ... cos ( 4 t 2 ω b e s t ) sin ( 4 t 2 ω b e s t ) . . . 1 cos ( t m ω b e s t ) sin ( t m ω b e s t ) ... cos ( 4 t m ω b e s t ) sin ( 4 t m ω b e s t ) m × 9
A×[a0 a1 b1…a4 b4]T=Y
则[a0 a1 b1…a4 b4]T=(AT A)-1ATY
步骤4,利用确定的Fourier级数模型对遥测数据进行预测。
其中,采用Fourier基数模型能够较好地对具有一定周期性规律和趋势性的数据进行建模,能够反应出数据的周期与趋势。
本发明的Fourier模型初始化算法综合应用了快速傅里叶变换与矩阵的QR分解算法,由于QR分解需要的矩阵空间非常大,因此考虑到实用效果,处理的速度受数据量大小的影响,步骤1中的遥测采样数据的数据量不要超过50000为宜。
下面结合具体数据进行说明。
根据用户选择的模型阶数,调用对应的数据预测方法对历史数据进行预测,并统计误差信息。
输入项
本方法软件实现后需要的输入数据如表1所示:
表1输入项
输出项
本方法用软件计算后的输出数据如下:
表2输出项
预测效果图如图2所示。其中,图2(a)为预测信息显示,其中,深灰色为历史的遥测采样数据;浅灰色为采用本发明方法预测得到的数据;图2(b)为误差信息显示,其中,浅灰色为本发明预测得到的数据相对于历史遥测数据的相对误差,深灰色为本发明预测得到的数据的绝对误差。
针对周期性遥测数据和周期性不明显的平稳遥测数据,采用本发明预测方法进行预测,结果如表3所示,可以看出,本发明预测方法的预测精度较高。
表3预测信息误差分析表
预测数据类型 平稳遥测数据 周期性遥测数据
预测数据长度 10000 10000
最大绝对误差 7.99361XE-15 0.455594
平均绝对误差 7.99361XE-15 0.145056
均方差 7.99361XE-15 0.099329
平均误差 7.99361XE-15 0.178464
平均相对误差 1.70077XE-13% 2.31%
综上所述,以上仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (2)

1.一种基于Fourier级数模型的时序数据预测方法,其特征在于,包括如下步骤:
步骤1,对遥测采样数据进行预处理,剔除粗大误差、剔野;
步骤2,建立Fourier级数模型;
其中,Fourier级数模型为:
y=Φ(x,t)=a0+a1cos(ωt)+b1sin(ωt)+a2cos(2ωt)+b2sin(2ωt)+a3cos(3ωt)+b3sin(3ωt)
+a4cos(4ωt)+b4sin(4ωt)+…+aKcos(Kωt)+bKsin(Kωt)
其中,x=(a0,a1,b1,a2,b2,a3,b3,a4,b4,…,aK,bK,ω),为待求模型参数;ω为基频,(a0,a1,b1,a2,b2,a3,b3,a4,b4,…,aK,bK)为模型系数;t为采样时间;y为采样时间对应的遥测采样数据;K为Fourier级数模型的阶数;
步骤3,求取Fourier级数模型的参数x;
步骤3.1,利用FFT变换求取步骤1预处理后的采样数据的最大频率ωpeak
FY=FFT(Y)
ω p e a k = 2 π m a x ( 0.5 , max _ l o c - 1 ) t m - t 1
其中,Y=[y1,y2,…,ym]T,y1,y2,…,ym为采样时刻t1,t2,…,tm对应的遥测数据采样值;max_loc为FFT变换序列FY前一半的最大值索引号;
步骤3.2,令ω=ωpeak/k,k=1,2,…,K;针对K个ω,均进行如下处理:
(1)构造矩阵A:
A = 1 cos ( t 1 ω ) sin ( t 1 ω ) cos ( 2 t 1 ω ) sin ( 2 t 1 ω ) ... cos ( 4 t 1 ω ) sin ( 4 t 1 ω ) 1 cos ( t 2 ω ) sin ( t 2 ω ) cos ( 2 t 2 ω ) sin ( 2 t 2 ω ) ... cos ( 4 t 2 ω ) sin ( 4 t 2 ω ) . . . 1 cos ( t m ω ) sin ( t m ω ) cos ( 2 t m ω ) sin ( 2 t m ω ) ... cos ( 4 t m ω ) sin ( 4 t m ω ) m × 9
(2)对矩阵A进行QR分解:
[Q,R,E]=qr(A,0)
(3)求取矩阵R的秩rand(R),令p=rand(R),取矩阵Q的前p列,即
Q′=Q(:,1:p)
(4)求取拟合序列Yfit=Q′×(Q′T×Y);
(5)计算||Y-Yfit||;
步骤3.3,针对步骤3.2获得的K个||Y-Yfit||值,选取其中最小值||Y-Yfit||min对应的频率为最佳基频ωbset
步骤3.4,根据步骤3.3获得的最佳基频ωbset,利用最小二乘求取其他模型系数:[a0 a1b1 … a4 b4]T=(ATA)-1ATY,其中,
A = 1 cos ( t 1 ω b e s t ) sin ( t 1 ω b e s t ) ... cos ( 4 t 1 ω b e s t ) sin ( 4 t 1 ω b e s t ) 1 cos ( t 2 ω b e s t ) sin ( t 2 ω b e s t ) ... cos ( 4 t 2 ω b e s t ) sin ( 4 t 2 ω b e s t ) . . . 1 cos ( t m ω b e s t ) sin ( t m ω b e s t ) ... cos ( 4 t m ω b e s t ) sin ( 4 t m ω b e s t ) m × 9
从而获得确定的Fourier级数模型;
步骤4,利用步骤3确定的Fourier级数模型对遥测数据进行预测。
2.如权利要求1所述的基于Fourier级数模型的时序数据预测方法,其特征在于,Fourier级数模型的阶数为4。
CN201610514261.4A 2016-07-04 2016-07-04 一种基于Fourier级数模型的时序数据预测方法 Pending CN106156499A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610514261.4A CN106156499A (zh) 2016-07-04 2016-07-04 一种基于Fourier级数模型的时序数据预测方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610514261.4A CN106156499A (zh) 2016-07-04 2016-07-04 一种基于Fourier级数模型的时序数据预测方法

Publications (1)

Publication Number Publication Date
CN106156499A true CN106156499A (zh) 2016-11-23

Family

ID=57351072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610514261.4A Pending CN106156499A (zh) 2016-07-04 2016-07-04 一种基于Fourier级数模型的时序数据预测方法

Country Status (1)

Country Link
CN (1) CN106156499A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395381A (zh) * 2023-12-12 2024-01-12 上海卫星互联网研究院有限公司 一种遥测数据的压缩方法、装置及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184335A (zh) * 2011-05-20 2011-09-14 公安部上海消防研究所 一种基于集合经验模式分解和相空间重构的火灾时间序列预测方法
CN104899405A (zh) * 2014-03-04 2015-09-09 携程计算机技术(上海)有限公司 数据预测方法和***以及报警方法和***
CN104899457A (zh) * 2015-06-15 2015-09-09 西北工业大学 基于改进无偏gm(1,1)模型的卫星数据预测方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184335A (zh) * 2011-05-20 2011-09-14 公安部上海消防研究所 一种基于集合经验模式分解和相空间重构的火灾时间序列预测方法
CN102184335B (zh) * 2011-05-20 2013-04-10 公安部上海消防研究所 一种基于集合经验模式分解和相空间重构的火灾时间序列预测方法
CN104899405A (zh) * 2014-03-04 2015-09-09 携程计算机技术(上海)有限公司 数据预测方法和***以及报警方法和***
CN104899457A (zh) * 2015-06-15 2015-09-09 西北工业大学 基于改进无偏gm(1,1)模型的卫星数据预测方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王永生等: "两种周期型遥测数据建模模型及其初始化算法", 《计算技术与自动化》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395381A (zh) * 2023-12-12 2024-01-12 上海卫星互联网研究院有限公司 一种遥测数据的压缩方法、装置及设备
CN117395381B (zh) * 2023-12-12 2024-03-12 上海卫星互联网研究院有限公司 一种遥测数据的压缩方法、装置及设备

Similar Documents

Publication Publication Date Title
Han et al. Multi‐step wind power forecast based on VMD‐LSTM
Pan et al. Recursive coupled projection algorithms for multivariable output‐error‐like systems with coloured noises
Xu et al. Parameter estimation algorithms for dynamical response signals based on the multi‐innovation theory and the hierarchical principle<? show [AQ ID= Q1]?>
Grishagin et al. Convergence conditions and numerical comparison of global optimization methods based on dimensionality reduction schemes
CN109657982B (zh) 一种故障预警方法及装置
US20070061144A1 (en) Batch statistics process model method and system
CN111310589B (zh) 一种机械***的故障诊断方法、故障诊断装置及终端
CN111461445B (zh) 短期风速预测方法、装置、计算机设备及存储介质
Karabulut et al. Long term energy consumption forecasting using genetic programming
Chantry et al. Scale-selective precision for weather and climate forecasting
Grzesica et al. Advanced forecasting methods based on spectral analysis
Sehgal et al. Structural dynamic finite element model updating using Derringer’s function: a novel technique
JP2015148934A (ja) 発電量予測装置および発電量予測方法
Sun et al. Probabilistic available transfer capability assessment in power systems with wind power integration
Chen et al. Inference for a change-point problem under a generalised Ornstein–Uhlenbeck setting
CN116707331A (zh) 基于模型预测的逆变器输出电压高精度调节方法及***
CN106156499A (zh) 一种基于Fourier级数模型的时序数据预测方法
Wu Using fractional GM (1, 1) model to predict the life of complex equipment
CN113984175A (zh) 基于人工神经网络的车载重标定方法及云服务***
RU2718152C1 (ru) Способ определения оптимальной периодичности контроля состояния сложного объекта
CN113722308B (zh) 基于EEMD-MultiCNN-LSTM的加速度响应数据补全方法及装置
Sehgal et al. Development of benchmark objective-function-formulation for Derringer’s function based model updating method
CN113688351A (zh) 用于检测物品重量的方法、装置、电子设备和可读介质
Kim et al. Predicting IGS RTS corrections using ARMA neural networks
CN113627670A (zh) 基于深度傅里叶网络的超短期光伏功率预测***

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161123