一种基于统计观测局地化均权重粒子滤波数据同化方法A Data Assimilation Method Based on Statistical Observation Localized Average Weight Particle Filter
技术领域technical field
本发明涉及一种基于统计观测局地化均权重粒子滤波数据同化方法,属于大气与海洋数据同化领域。The invention relates to a data assimilation method based on statistical observation and localized equalization weight particle filtering, belonging to the field of atmospheric and ocean data assimilation.
背景技术Background technique
海洋动力学研究有两种方式,一种是使用数值模型进行研究,另一种是对大气与海洋进行直接观测。数值模式模拟主要用来反映海区特性,卫星等直接观测真实反映海洋观测特点。由于卫星遥感数据的大量获取,海洋环境的特殊性以及海洋观测在空间分布上存在不足。数据同化是一种能够有机结合数值模式和观测这两种海洋学研究基本手段的研究方法。数据同化是指在考虑数据时空分布以及观测场和背景场误差的基础上,在动力学模型的动态运行过程中不断融入新的观测数据的方法。通过在模型中不断融入新的观测数据,可以逐渐校正模型模拟预测的轨迹,使之更加接近真实的轨迹,提高模型模拟预测精度。数据同化的主要目的是将观测数据与理论模型结果相结合,吸收两者的优点,以期得到更接近实际的结果;目前数据同化方法已被广泛应用于大气、海洋和陆面等领域,为海洋模式状态的预报提供更加准确的初始场并优化海洋模式参数,以提高海洋模式的气候预报能力。There are two ways to study ocean dynamics, one is to use numerical models to study, and the other is to directly observe the atmosphere and ocean. Numerical model simulation is mainly used to reflect the characteristics of sea areas, and direct observations such as satellites truly reflect the characteristics of ocean observations. Due to the massive acquisition of satellite remote sensing data, the particularity of the marine environment and the spatial distribution of ocean observations are insufficient. Data assimilation is a research method that can organically combine numerical models and observations, two basic means of oceanographic research. Data assimilation refers to a method of continuously incorporating new observational data in the dynamic operation of the dynamic model on the basis of considering the spatiotemporal distribution of the data and the errors of the observational field and background field. By continuously integrating new observation data into the model, the trajectory predicted by the model simulation can be gradually corrected to make it closer to the real trajectory, and the accuracy of the model simulation prediction can be improved. The main purpose of data assimilation is to combine observational data with theoretical model results, absorbing the advantages of both, in order to obtain results that are closer to reality. Forecasting of model states provides more accurate initial fields and optimizes ocean model parameters to improve the climate forecasting capabilities of ocean models.
数据同化算法作为数据同化的核心,主要依赖于准确的观测数据和合理的数值模型。按同化算法与模型之间的关联性,数据同化算法分为连续数据同化算法和序贯数据同化算法两大类。例如专利申请号201910038258.3的专利申请基于最优观测时间窗口的耦合数据同化与参数优化方法,该专利使用基于最优观测时间窗口的耦合数据同化与参数优化方法,属于耦合气候模式系统的数据同化、参数优化与数值预报技术领域。最大程度上提取有效的观测信息以拟合耦合模式状态的特征变率并忽略模式内部参数的时变特征并引入时间窗口内的时间平均系数,实现对模式参数的更加精确的估计与优化,强化耦合模式的大气与海洋的数值预报能力。例如专利申请号202010013183.6的专利申请卫星数据同化在垂直方向的适应性局地化方法及集合卡曼滤波天气同化预报方法,该专利使用卫星数据同化在垂直方向的适应性局地化方法及集合卡曼滤波天气同化预报方法。适应性局地化方法根据集合卡曼滤波同化系统中给出的任意观测资料和模式变量,计算出观测资料和模式变量的相关系数;接着利用分组后的相关系数估计该观测资料和模式变量的原始局地化函数;根据相关系数的廓线估计出卫星观测的位置,将所得到的适应性局地化参数用于区域模式中预报台风,预报结果与没有使用本发明的预报结果相比,相对于观测的误差明显减小,同时使用本发明还明显改进了台风快速增强阶段的预报。例如专利申请号201910430413.6的专利申请一种基于多源观测数据的水质模 型粒子滤波同化方法。该专利构建二维水质模型;初始化粒子的状态变量和参数;生成粒子的边界条件;重采样获取新的粒子集合;计算二维水质模型的模拟状态变量和参数的最优估值;将粒子的参数从t时刻递推到t+1时刻;更新时刻,继续生成粒子的边界条件,直至所有时刻运行完成,实现对二维水质模型的粒子滤波同化。利用粒子滤波算法将水质多源观测数据合理地融入二维水质模型,动态更新二维水质模型参数,提高了二维水质模型的模拟精度和预测能力。As the core of data assimilation, data assimilation algorithm mainly relies on accurate observation data and reasonable numerical model. According to the correlation between the assimilation algorithm and the model, the data assimilation algorithm is divided into two categories: continuous data assimilation algorithm and sequential data assimilation algorithm. For example, the patent application of Patent Application No. 201910038258.3 uses the coupled data assimilation and parameter optimization method based on the optimal observation time window. This patent uses the coupled data assimilation and parameter optimization method based on the optimal observation time window. Technical field of parameter optimization and numerical prediction. Extract the effective observation information to the greatest extent to fit the characteristic variability of the coupled model state, ignore the time-varying characteristics of the internal parameters of the model, and introduce the time-averaged coefficients within the time window to achieve more accurate estimation and optimization of model parameters. Atmospheric and ocean numerical prediction capabilities of coupled models. For example, the patent application No. 202010013183.6 of the patent application satellite data assimilation in the vertical direction of the adaptive localization method and ensemble Kalman filter weather assimilation forecast method, the patent uses the satellite data assimilation in the vertical direction of the adaptive localization method and ensemble card Mann filter weather assimilation forecasting method. The adaptive localization method calculates the correlation coefficient between the observation data and the model variable according to any observation data and model variables given in the ensemble Kalman filter assimilation system; and then uses the grouped correlation coefficient to estimate the relationship between the observation data and the model variable. The original localization function; according to the profile of the correlation coefficient, the position of the satellite observation is estimated, and the obtained adaptive localization parameter is used to predict the typhoon in the regional model. The prediction result is compared with the prediction result without using the present invention, The error relative to the observation is obviously reduced, and at the same time, the use of the present invention also significantly improves the forecast of the typhoon in the stage of rapid intensification. For example, the patent application No. 201910430413.6 is a water quality model particle filter assimilation method based on multi-source observation data. The patent constructs a two-dimensional water quality model; initializes the state variables and parameters of the particles; generates the boundary conditions of the particles; resamples to obtain a new set of particles; The parameters are recursively pushed from time t to time t+1; at update time, the boundary conditions of particles continue to be generated, until the operation is completed at all times, and the particle filter assimilation of the two-dimensional water quality model is realized. The multi-source observation data of water quality is reasonably integrated into the two-dimensional water quality model by using the particle filter algorithm, and the parameters of the two-dimensional water quality model are dynamically updated, which improves the simulation accuracy and prediction ability of the two-dimensional water quality model.
粒子滤波算法是一种集合数据同化方法,由于粒子滤波算法不受模型状态量和误差高斯分布假设的约束,适用于任意非线性非高斯动态系统。它还采用蒙特卡罗采样方法来近似状态量的后验概率密度分布,能更好地表现非线性系统的变化信息。粒子滤波算法简单且容易实现,同时与当前主流的卡尔曼滤波系列算法相比,粒子滤波算法中没有复杂的矩阵转置和求逆等运算,因此计算效率更高。相比卡尔曼滤波系列算法直接对粒子的状态值进行更新,粒子滤波算法在对粒子进行更新时,只更新了粒子的权重,粒子实际表示的状态值保持不变,这样能避免在更新过程中出现粒子状态值超出其物理取值范围的情况。Particle filter algorithm is an ensemble data assimilation method. Since particle filter algorithm is not constrained by the assumption of model state quantity and error Gaussian distribution, it is suitable for any nonlinear non-Gaussian dynamic system. It also uses the Monte Carlo sampling method to approximate the posterior probability density distribution of the state quantity, which can better represent the change information of the nonlinear system. The particle filter algorithm is simple and easy to implement. At the same time, compared with the current mainstream Kalman filter series algorithms, the particle filter algorithm does not have complex operations such as matrix transposition and inversion, so the calculation efficiency is higher. Compared with the Kalman filter series algorithms, which directly update the state value of particles, the particle filter algorithm only updates the weight of the particle when updating the particle, and the actual state value of the particle remains unchanged, which can avoid the update process. There is a situation where the particle state value is outside its physical value range.
对于粒子滤波的改进,英国教授VanLeeuwen提出的均权重粒子滤波方法,使用提议密度思想有效改善传统粒子滤波中出现的粒子退化和粒子贫化问题,使用较少的集合粒子就可以达到传统方法较多粒子的同化效果。同时基于统计观测的均权重粒子滤波方法有效改善其对于未来观测信息的依赖,使其更好的应用于实时数据同化领域并且有效提升了同化质量。但是均权重粒子滤波方法缺少相应的局地化方案,使该方法很难适应复杂的网格化高纬度模式当中。For the improvement of particle filtering, the equal-weight particle filtering method proposed by British professor Van Leeuwen uses the proposed density idea to effectively improve the particle degradation and particle depletion problems in traditional particle filtering. It can achieve more traditional methods by using fewer aggregated particles. The assimilation effect of particles. At the same time, the weighted particle filter method based on statistical observation can effectively improve its dependence on future observation information, making it better applied to the field of real-time data assimilation and effectively improving the assimilation quality. However, the equal-weight particle filter method lacks a corresponding localization scheme, which makes it difficult to adapt to the complex gridded high-latitude patterns.
发明内容SUMMARY OF THE INVENTION
本发明的目的是为了为均权重粒子滤波提供了了合适的局地化方案,解决了该方法在复杂网格化模式应用的限制,使该方法具有了更好的实际应用的潜力与价值而提供一种基于统计观测局地化均权重粒子滤波数据同化方法。The purpose of the present invention is to provide a suitable localization scheme for the equal-weight particle filter, solve the limitation of the application of the method in the complex grid mode, and make the method have better potential and value of practical application. Provided is a method for data assimilation based on localized weighted particle filtering based on statistical observations.
本发明的目的是这样实现的:The object of the present invention is achieved in this way:
步骤一:获取模式积分初始背景场Step 1: Obtain the initial background field of the mode integral
先将模式初始场引入到模式积分方程中,先积分模式方程,使模式方程达到混沌状态,该方法可以避免模式方程波动问题的出现,将达到混沌状态的模式变量作为初始背景场,以背景场为积分起点,进行后续的模式状态积分First, the initial field of the model is introduced into the model integral equation, and the model equation is integrated first to make the model equation reach a chaotic state. This method can avoid the occurrence of the fluctuation problem of the model equation. The model variable that reaches the chaotic state is used as the initial background field, and the background field As the starting point of the integration, the subsequent mode state integration is carried out
步骤二:判断是否达到统计观测开始时刻,累加观测求取统计观测均值Step 2: Determine whether the start time of statistical observation is reached, and accumulate the observations to obtain the mean value of the statistical observation
根据给定的τ值确定统计观测计算的起始时刻,选择合适的τ可以有效提高统计观测的可靠性,可以更好的引导集合粒子向同化时刻的历史观测靠近。当统计观测开始时,对于同化观测对应位置的历史观测累加求取均值,求解均值可以有效避免对应观测的历史信息出现突然跳变,使用统计均值代替传统方法中的未来观测信息。According to the given τ value, the starting moment of the statistical observation calculation is determined, and selecting the appropriate τ can effectively improve the reliability of the statistical observation, and can better guide the ensemble particles to approach the historical observation at the time of assimilation. When the statistical observation starts, the historical observation at the corresponding position of the assimilation observation is accumulated to obtain the mean value. The calculation of the mean value can effectively avoid the sudden jump in the historical information of the corresponding observation, and the statistical mean value is used to replace the future observation information in the traditional method.
步骤三:根据统计观测均值计算提议密度调整集合粒子在给定同化时刻,使用均权重方法计算粒子权重,调整粒子状态Step 3: Calculate the proposed density according to the mean value of the statistical observations. At a given assimilation time, the particle weight is calculated using the average weight method and the particle state is adjusted.
根据统计同化时刻观测位置的观测历史均值计算观测对应位置集合粒子的提议密度,根据集合中粒子的提议密度选择其中的最优提议密度,确定集合中每个粒子对于统计观测的后验概率密度,同时调整集合粒子靠近统计历史观测均值,同时根据提议密度更新粒子状态。Calculate the proposed density of the set of particles corresponding to the observation position according to the historical mean of the observation position at the moment of statistical assimilation, select the optimal proposed density according to the proposed density of the particles in the set, and determine the posterior probability density of each particle in the set for the statistical observation, At the same time, the ensemble particles are adjusted to be close to the statistical historical observation mean, and the particle state is updated according to the proposed density.
步骤四:在给定同化时刻,使用均权重方法计算粒子权重,调整观测对应位置粒子状态Step 4: At a given assimilation time, use the average weight method to calculate the particle weight, and adjust the observed particle state at the corresponding position
使用观测对应位置的统计历史观测计算提议密度,根据提议密度调整后的集合粒子,将调整后粒子带入到均权重粒子滤波中的权重公式,根据公式重新确定集合中粒子的权重,保证集合中的粒子根据观测可以获得较为接近且最优的权重,进一步调整集合粒子状态。Calculate the proposed density using the statistical historical observation of the corresponding position of the observation. According to the set particles adjusted by the proposed density, the adjusted particles are brought into the weight formula in the equal-weight particle filter, and the weight of the particles in the set is re-determined according to the formula to ensure that the set is in the set. According to the observation, the particles of , can obtain a relatively close and optimal weight, and further adjust the state of the aggregated particles.
步骤五:使用重采样方法,调整集合粒子维持粒子数稳定,更新观测对应位置粒子状态Step 5: Use the resampling method to adjust the aggregated particles to keep the number of particles stable, and update the state of the particles at the corresponding position of the observation
使用重采样方法对观测所对应位置的集合粒子进行调整,主要是为了保证对于均权重方法中权重表现较差的集合粒子进行调整,对于权重较小的粒子进行提出,维持集合粒子数的稳定。The resampling method is used to adjust the aggregated particles at the corresponding position of the observation, mainly to ensure that the aggregated particles with poor weight performance in the equal-weight method are adjusted, and the particles with smaller weights are proposed to maintain the stability of the aggregated particle number.
步骤六:使用局地化函数,确定同化观测位置周围的粒子权重Step 6: Use the localization function to determine the particle weights around the assimilated observation location
在对同化时刻观测对应位置集合粒子进行状态更新后,使用局地化函数继续调整该观测影响半径内的集合粒子状态。对于局地化函数的选择,参考局地化粒子滤波方法中的局地化方案,在计算过程中使用局地化函数描述区域内集合粒子权重与给定观测之间的位置关系,根据已有的同化观测,参考局地化参数确定调整的集合粒子的权重。After updating the state of the set of particles at the corresponding position observed at the time of assimilation, the localization function is used to continue to adjust the state of the set of particles within the influence radius of the observation. For the selection of the localization function, refer to the localization scheme in the localized particle filter method, and use the localization function in the calculation process to describe the positional relationship between the weight of the aggregated particles in the area and the given observation. The assimilation observations of , refer to the localization parameters to determine the weights of the adjusted ensemble particles.
步骤七:根据局地化权重更新粒子权重,更新周围粒子状态;Step 7: Update the particle weight according to the localization weight, and update the surrounding particle state;
在根据同化观测确定影响的集合粒子的权重后,需要依靠此权重调整对应集合粒子的状态,在状态调整前需要对集合粒子的权重进行归一化处理,根据归一化权重,配合采样粒子与先验粒子的线性组合,对于实现局地化后的集合粒子状态进行更新,使观测附近集合粒子可以根据非对应点观测进行状态调整。After the weight of the affected aggregate particles is determined according to the assimilation observation, the state of the corresponding aggregate particle needs to be adjusted by this weight. Before the state adjustment, the weight of the aggregate particle needs to be normalized. The linear combination of the prior particles updates the state of the aggregated particles after localization, so that the observed nearby aggregated particles can be adjusted according to the non-corresponding point observations.
步骤八:计算统计观测局地化均权重粒子滤波的状态后验估计值Step 8: Calculate the state posterior estimate of the localized weighted particle filter for statistical observations
在使用局地化方案调整观测周围集合粒子状态后,将全部集合均值重新引入到模式方程中,在同化过程中更新模式积分,得到最终的同化分析结果。After using the localization scheme to adjust the observed state of the surrounding ensemble particles, the overall ensemble mean is reintroduced into the model equation, and the model integral is updated during the assimilation process to obtain the final assimilation analysis result.
步骤二具体为:判断是否达到统计观测开始时刻,累加观测求取统计观测均值;The second step is specifically: judging whether the start time of the statistical observation is reached, and accumulating the observations to obtain the mean value of the statistical observation;
根据给定的τ值确定统计观测计算的起始时刻,τ的计算公式为:According to the given value of τ, the starting moment of the statistical observation calculation is determined. The calculation formula of τ is:
其中t
0为前一个需要同化的观测时刻,t
n为两个观测之间的观测间隔,t
j表示当前时刻;为了保证统计观测结果的可靠性,当需要同化的观测间隔较大时τ一般选择为0.8-0.9,当同化间隔较小时τ一般选择为0.5-0.8;使用统计的方法对于同化时刻开始前的观测进行统计求取均值,使用
表示需要同化的观测位置上观测间隔内的观测信息的时间序列,假设根据τ确定t
j为统计观测开始时刻,则统计观测的均值可以表示为:
where t 0 is the previous observation time to be assimilated, t n is the observation interval between two observations, and t j represents the current time; in order to ensure the reliability of the statistical observation results, when the observation interval to be assimilated is large, τ is generally The selection is 0.8-0.9. When the assimilation interval is small, τ is generally selected as 0.5-0.8; the statistical method is used to calculate the average value of the observations before the assimilation time. represents the time series of the observation information in the observation interval at the observation position to be assimilated. Assuming that tj is the start time of the statistical observation according to τ, the mean value of the statistical observation can be expressed as:
步骤三具体为:根据统计观测均值计算提议密度调整集合粒子在给定同化时刻,使用均权重方法计算粒子权重,调整粒子状态;The third step is specifically: calculating the proposed density adjustment set particle according to the mean value of statistical observation, at a given assimilation moment, using the average weight method to calculate the particle weight, and adjust the particle state;
步骤3.1:根据统计观测均值,计算观测对应位置粒子概率密度;Step 3.1: Calculate the particle probability density at the corresponding position of the observation according to the mean value of the statistical observation;
在贝叶斯理论中,后验概率密度的求解需要依靠先验概率密度分布与似然概率求解,粒子滤波方法基于贝叶斯理论使用条件后验概率密度分布,其中对于统计观测
的后验概率密度分布可以表示为
In Bayesian theory, the solution of the posterior probability density needs to rely on the prior probability density distribution and the likelihood probability solution. The particle filter method uses the conditional posterior probability density distribution based on Bayesian theory. The posterior probability density distribution of , can be expressed as
其中
为提议密度,对于提议密度的求取需要先计算集合粒子的概率密度,使用模式方程,从n-1时刻的粒子状态
进行积分,集合粒子的概率密度表达式为:
in In order to propose the density, for the calculation of the proposed density, it is necessary to first calculate the probability density of the aggregated particles, using the mode equation, from the state of the particle at time n-1 Integrating, the probability density expression of the aggregated particles is:
表示从n-1时刻粒子状态到n时刻的概率密度,
表示n时刻第i个粒子的状态,
表示由n-1时刻模式方程积分结果,Q表示模式误差协方差表达式为:
represents the probability density from the particle state at time n-1 to time n, represents the state of the ith particle at time n, Represents the integral result of the mode equation at time n-1, and Q represents the mode error covariance. The expression is:
M表示集合粒子总数,
表示集合粒子均值;通过该公式计算粒子的概率密度;
M represents the total number of aggregated particles, Represents the mean value of aggregate particles; the probability density of particles is calculated by this formula;
步骤3.3:通过集合粒子的概率密度求取粒子提议密度Step 3.3: Obtain the particle proposal density from the probability density of the aggregated particles
基于模式方程中上一步计算得出的先验密度可以进一步求得均权重粒子中的提议密度,由先验密度求取提议密度表达式为:Based on the prior density calculated in the previous step in the model equation, the proposed density in the uniformly weighted particle can be further obtained. The proposed density obtained from the prior density is expressed as:
公式中
表示以观测y为目标的提议密度,K
n表示松弛胁迫矩阵其表达式为K
n=QH
T(HQH
T+R)
-1,K
n与模式误差协方差Q和观测误差协方差R表达式为:
formula Represents the proposed density targeting observation y, K n represents the relaxation stress matrix whose expression is K n =QH T (HQH T +R) -1 , K n and the model error covariance Q and the observation error covariance R expression for:
表示n时刻第i个粒子的状态,H表示观测算子一般取值为1,y表示观测信息;在基于统计观测均权重粒子滤波中,提议密度的计算不仅只局限于同化时刻的观测信息,提议密度使用同化时刻之前基于统计观测历史均值,目的是在同化时刻之前调整集合粒子位置靠近观测信息;
Indicates the state of the ith particle at time n, H indicates that the observation operator generally takes a value of 1, and y indicates the observation information; in the particle filter based on the statistical observation average weight, the calculation of the proposed density is not limited to the observation information at the time of assimilation, The proposed density is based on the historical mean of statistical observations before the assimilation time, in order to adjust the ensemble particle position close to the observation information before the assimilation time;
步骤3.4:选择最优提议密度,计算粒子权重Step 3.4: Select the optimal proposal density and calculate particle weights
寻找最优的提议密度假设
集合中每个粒子基于统计观测的权重表示为:
Finding the optimal proposal density hypothesis The weight of each particle in the set based on statistical observations is expressed as:
其中ω
i表示集合中第i个粒子的权重,
表示t
j时刻第i个粒子的状态,
表示t
j时刻的统计观测信息,
表示概率密度,
表示提议密度,
表示t
j时刻粒子状态对于统计观测的概率密度,最后得到每个粒子经过提议密度的权重;对于提议密度调整集合粒子向统计观测靠近,集合粒子状态可以表示为:
where ω i represents the weight of the ith particle in the set, represents the state of the ith particle at time t j , represents the statistical observation information at time t j , represents the probability density, represents the proposal density, Represents the probability density of the particle state at time t j for the statistical observation, and finally obtains the weight of each particle passing through the proposed density; for the proposed density to adjust the aggregated particles to approach the statistical observation, the aggregated particle state can be expressed as:
其中
为观测算子,先验松弛系数为B(τ),
确保集合粒子向统计观测靠近,所以松弛系数可以表示为:
in is the observation operator, and the prior relaxation coefficient is B(τ), Make sure that the ensemble particles are close to the statistical observations, so the relaxation coefficient can be expressed as:
B(τ)=bτQH
TR
-1
B(τ)=bτQH T R -1
其中τ为统计观测开始阈值,b表示控制对观测的松弛程度的比例因子;where τ is the statistical observation start threshold, and b is the scaling factor that controls the degree of relaxation to observations;
步骤四具体为:在给定同化时刻,使用均权重方法计算粒子权重,调整观测对应位置粒子状态;Step 4 is specifically as follows: at a given assimilation moment, using the average weight method to calculate the particle weight, and adjust the observed particle state at the corresponding position;
步骤4.1:在提议密度调整的集合粒子基础上,计算粒子的权重;Step 4.1: Calculate the weight of the particle on the basis of the proposed density-adjusted set of particles;
提议密度使集合中每个粒子靠近观测信息,从而使其获得近乎相同的权重;每个粒子的权重表达式为:The proposed density brings each particle in the ensemble close to the observed information, so that it gets approximately the same weight; the weight expression for each particle is:
其中
表示提议密度权重在同化时间间隔中的累乘结果,可以确定粒子的最小权重ω
i表示为:
in Represents the cumulative multiplication result of the proposed density weight in the assimilation time interval, and the minimum weight ω i of the particle can be determined as:
其中
表示的是第i个粒子的先验权重,先验权重即提议密度计算过程中每个粒子权重;y表示观测向量;H表示观测投影算子,投影算子在简单模式中H=1;x表示状态向量;上标T表示矩阵转置;Q表示模式误差协方差矩阵;R表示观测误差协方差矩阵;假设获得集合中粒子目标权重C
i,为保证在粒子集合中80%的粒子可以达到计算得到的权重,避免粒子退化和贫化问题的发生:
in Indicates the prior weight of the i-th particle, which is the weight of each particle in the proposed density calculation process; y denotes the observation vector; H denotes the observation projection operator, which is H=1 in the simple mode; x represents the state vector; the superscript T represents the matrix transposition; Q represents the mode error covariance matrix; R represents the observation error covariance matrix; assuming that the particle target weight C i in the set is obtained, in order to ensure that 80% of the particles in the particle set can reach the Calculated weights to avoid particle degradation and depletion problems:
从而发现对于n时刻状态
集合中多数的粒子都可以保持相同的权重,对于有些没有达到均权重的粒子可以通过重采样方法进行调整;
Thus, it is found that for the state of n time Most of the particles in the set can maintain the same weight, and some particles that do not reach the average weight can be adjusted by resampling;
步骤4.2:根据权重调整粒子状态Step 4.2: Adjust particle state according to weight
在获得集合粒子权重后,根据权重调整粒子状态,则n时刻的状态可以表示为:After obtaining the aggregate particle weight, adjust the particle state according to the weight, then the state at time n can be expressed as:
公式中y表示观测向量;H表示观测投影算子(H=1);x表示状态向量;K=QH
T(HQH
T+R)
-1,Q是模式误差协方差,R是观测误差协方差,在均权重粒子滤波中集合粒子权重近似相等时,对于矢量α
i可以表示为:
In the formula, y represents the observation vector; H represents the observation projection operator (H=1); x represents the state vector; K=QH T (HQH T +R) -1 , Q is the mode error covariance, and R is the observation error covariance , when the weights of the set particles are approximately equal in the equal-weight particle filter, the vector α i can be expressed as:
中
和
在这两个表达式中
表示选择的目标权重,
表示在当前时刻粒子的相对权重;为了保证集合中粒子状态的随机效应加入随机项,得到最终的分析方程:
middle and in these two expressions represents the selected target weight, Represents the relative weight of the particle at the current moment; in order to ensure the random effect of the particle state in the set, a random term is added, and the final analysis equation is obtained:
步骤六具体为:使用局地化函数,确定同化观测对应位置周围的粒子权重;Step 6 is specifically: using the localization function to determine the particle weight around the corresponding position of the assimilation observation;
在使用均权重粒子滤波方法和重采样方法更新同化观测对应位置的集合粒子状态后,使用局地化函数继续调整该观测影响半径r内的集合粒子状态;局地化函数的选择,参考局地化粒子滤波方法中的局地化方案,在计算过程中使用局地化函数描述区域内集合粒子权重与给定观测位置之间的关系,粒子滤波中权重表示观测的似然概率,在计算中使用局地化算子l[y,x
i,r],该算子是用来描述观测y和集合粒子状态x
i的相对位置系数,对应的粒子权重表示为:
After using the equal-weight particle filtering method and the resampling method to update the aggregate particle state at the corresponding position of the assimilation observation, use the localization function to continue to adjust the aggregate particle state within the influence radius r of the observation; for the selection of the localization function, refer to the localization function. The localization scheme in the particle filter method uses the localization function to describe the relationship between the weight of the aggregated particles in the area and the given observation position during the calculation process. The weight in the particle filter represents the likelihood probability of the observation. In the calculation Using the localization operator l[y, xi ,r], the operator is used to describe the relative position coefficient of the observation y and the state of the set particle xi , and the corresponding particle weight is expressed as:
ω
i,j=p(y|x
i,j)l[y,x
j,r]+[1-l[y,x
j,r]]
ω i,j =p(y|x i,j )l[y,x j ,r]+[1-l[y,x j ,r]]
其中局地化算子l[y,x
i,r]主要应用于局部分析,判断集合粒子与观测信息的相对位置信息;当观测y和集合粒子x
i重合时,该函数取最大值为1,当两者之间的距离超过给定的影响半径r则函数值为0,代表该观测对于此集合粒子状态没有调整作用;最后集合粒子的矢量权重表示为:
Among them, the localization operator l[y, xi ,r] is mainly used in local analysis to judge the relative position information of the set particle and the observation information; when the observation y and the set particle x i coincide, the maximum value of this function is 1 , when the distance between the two exceeds the given influence radius r, the function value is 0, indicating that the observation has no adjustment effect on the state of this set of particles; the vector weight of the final set of particles is expressed as:
其中
为观测误差协方差,h
j为测量算子;由此可以看出集合粒子的权重不止于观测信息有关,也与观测和粒子的相对位置有关;
in is the observation error covariance, h j is the measurement operator; it can be seen that the weight of the aggregated particles is not only related to the observation information, but also related to the relative position of the observation and the particle;
步骤七具体为:根据局地化权重更新粒子权重,更新周围粒子状态;Step 7 is specifically: update the particle weight according to the localized weight, and update the surrounding particle state;
在获得同化时刻观测信息影响半径内集合粒子的权重后,需要依靠此权重调整对应集合 粒子的状态,在状态调整前需要对集合粒子的权重进行归一化处理,确保集合中权重的和为1,归一化权重公式可以表示为:After obtaining the weight of the aggregated particles within the influence radius of the observation information at the time of assimilation, the state of the corresponding aggregated particle needs to be adjusted by this weight. Before the state adjustment, the weight of the aggregated particle needs to be normalized to ensure that the sum of the weights in the aggregate is 1 , the normalized weight formula can be expressed as:
根据归一化的权重,重新调整集合中粒子状态,对于后验的粒子状态可以表示为:According to the normalized weight, the particle state in the set is re-adjusted, and the posterior particle state can be expressed as:
其中
表示后验均值,k
n是第n个采样粒子,其中向量r
1和r
2可以将新粒子形成采样粒子与先验粒子进行线性组合,最后实现局地化粒子状态的后验更新,其中向量r
1和r
2的计算公式可以表示为:
in Represents the posterior mean, k n is the nth sampled particle, where vectors r 1 and r 2 can linearly combine new particles to form sampled particles and prior particles, and finally realize the posterior update of the localized particle state, where the vector The calculation formulas of r 1 and r 2 can be expressed as:
r
2,j=c
jr
1,j
r 2,j =c j r 1,j
公式中
是直到y
i为止的所有观测的误差方差,在这个过程中忽略集合粒子状态之间的后验相关性,但是会通过相应的采样步骤提供对应的相关性,其中对于局地化算子当l[x
j,y
j,r]→1时,c
j→0,并且有
因为当l[x
j,y
j,r]=1时后验方差近似等于采样粒子方差,同理可得
这就使后验粒子获得采样粒子的状态,当l[x
j,y
j,r]→0时,c
j→∞,
因为当l[x
j,y
j,r]=0时后验方差等于先验方差,同理可得
该采样方法提供了一种调整粒子以适合观测附近的一般贝叶斯后验解的方法.因为每个采样的粒子都与一个先验粒子组合,所以后验集合包含集合粒子唯一的模型状态,这样就避免了观测值同化期间集合方差的崩溃;
formula is the error variance of all observations up to y i , in which the posterior correlation between ensemble particle states is ignored, but the corresponding correlation is provided through the corresponding sampling step, where for the localization operator when l When [x j , y j , r] → 1, c j → 0, and we have Because the posterior variance is approximately equal to the sampling particle variance when l[x j , y j , r]=1, the same can be obtained This enables the posterior particle to obtain the state of the sampled particle, when l[x j ,y j ,r]→0, c j →∞, Because the posterior variance is equal to the prior variance when l[x j , y j , r]=0, the same can be obtained This sampling method provides a way to tune the particles to fit a general Bayesian posterior solution in the vicinity of the observation. Because each sampled particle is combined with a prior particle, the posterior ensemble contains the model state unique to the ensemble particle, This avoids the collapse of ensemble variance during observation assimilation;
步骤八具体为:计算统计观测局地化均权重粒子滤波的状态后验估计值;The eighth step is specifically: calculating the state a posteriori estimated value of the localized weighted particle filter for statistical observation;
根据观测信息跟新观测对应位置与观测影响半径内所有粒子的状态,计算状态的后验估计集合均值:
将更新后的后验估计集合均值作为分析模型的初始值,重新带入模式积分方程中进行下一步预测和同化,在有可用观测的同化时间内重复上述步骤,得到最终的分析场,该分析场可以作为反映当前环境状态的数据场。
According to the observation information and the corresponding position of the new observation and the state of all particles within the influence radius of the observation, calculate the posterior estimated set mean of the state: Take the updated posterior estimated set mean as the initial value of the analysis model, and bring it back into the model integral equation for the next step of prediction and assimilation. Repeat the above steps within the assimilation time when there are available observations to obtain the final analysis field. A field can act as a data field that reflects the current state of the environment.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:
(1)在统计观测均权重粒子滤波中引入局地化方案,在稀疏观测时可以有效提高同化质量,统计观测局地化均权重粒子滤波同化结果均方根误差优于局地化粒子滤波方法和传统均权重粒子滤波的局地化改进;(1) The localization scheme is introduced into the statistical observation weighted particle filter, which can effectively improve the assimilation quality when the observation is sparse. The root mean square error of the assimilation result of the statistical observation localization weighted particle filter is better than the localized particle filter method. Localization improvement of traditional equal-weight particle filter;
(2)在引入局地化方案后,统计观测均权重粒子滤波可以更好的应用于复杂的网格化中、高维度模式中,使粒子滤波方法有更好的实际应用潜力。(2) After the introduction of the localization scheme, the statistical observation weighted particle filter can be better applied to the complex gridded medium and high-dimensional patterns, so that the particle filter method has better practical application potential.
附图说明Description of drawings
图1是统计观测局地化均权重粒子滤波过程;Figure 1 shows the process of localized weighted particle filtering for statistical observation;
图2是统计观测局地化均权重粒子滤波的均方根误差对比图;Figure 2 is a comparison chart of the root mean square error of the localized average weight particle filter for statistical observation;
图3是传统均权重粒子滤波数据同化流程图;Fig. 3 is the data assimilation flow chart of traditional equal weight particle filter;
图4是基于统计观测均权重粒子滤波数据同化流程图;Fig. 4 is a flow chart of data assimilation based on statistical observation average weight particle filter;
图5是基于统计观测局地化均权重粒子滤波数据同化流程图。Figure 5 is a flow chart of data assimilation based on localized average weight particle filter based on statistical observations.
具体实施方式Detailed ways
下面结合附图与具体实施方式对本发明作进一步详细描述。The present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
为了更简单明确的描述基于统计观测局地化权重粒子滤波同化方法具体实施步骤,以简单的Lorenz-96模式为例进行简单的说明,该模式可以较好的反应局地化方法对于同化结果的影响。In order to more simply and clearly describe the specific implementation steps of the localized weighted particle filter assimilation method based on statistical observations, a simple Lorenz-96 model is taken as an example for a brief description, which can better reflect the effect of the localization method on the assimilation results. influences.
步骤一:获取模式积分初始背景场Step 1: Obtain the initial background field of the mode integral
选择Lorenz-96模式是因为该模式有40个状态变量,可以更好的应用局地化方案,在Lorenz-96模式中先将模式初始起点输入模型方程积分100万步进行spin-up,使模式变量达到混沌状态,避免模式在同化积分过程中引入模式波动偏差,将达到混沌状态的模式变量作为模式的初始背景场,以此模式背景场为基础,通过模式方程获得粒子滤波集合粒子的初始值,可以有效提高模式方程求解得到的集合粒子状态的可靠性。The Lorenz-96 mode is selected because it has 40 state variables, which can better apply the localization scheme. In the Lorenz-96 mode, input the initial starting point of the mode into the model equation and integrate 1 million steps for spin-up to make the mode The variable reaches the chaotic state, to avoid the mode fluctuation deviation introduced in the assimilation integration process, and the mode variable that reaches the chaotic state is used as the initial background field of the mode. Based on this mode background field, the initial value of the particle filter set particles is obtained through the mode equation. , which can effectively improve the reliability of the ensemble particle state obtained by solving the mode equation.
步骤二:判断是否达到统计观测开始时刻,累加观测求取统计观测均值Step 2: Determine whether the start time of statistical observation is reached, and accumulate the observations to obtain the mean value of the statistical observation
在统计历史观测均权重粒子滤波数据同化中,使用统计观测代替传统方法的未来观测信息,引导集合粒子靠近同化时刻观测的历史统计结果,提高采样过程中有效粒子数,选择合适的阈值τ判断合适开始统计观测。τ的选择与需要同化的观测信息的时间间隔有关,当τ过小时,将会将更多无用观测引入到统计当中,提高统计误差,当τ过大的时候,统计的观测信息会太少,无法正确的计算提议密度引导粒子靠近观测,τ的计算公式为:In the data assimilation of statistical historical observation weighted particle filter, the statistical observation is used to replace the future observation information of the traditional method, and the aggregated particles are guided to be close to the historical statistical results observed at the time of assimilation, and the number of effective particles in the sampling process is increased, and an appropriate threshold τ is selected to judge the appropriate Start statistical observations. The choice of τ is related to the time interval of the observation information that needs to be assimilated. When τ is too small, more useless observations will be introduced into the statistics and the statistical error will be increased. When τ is too large, the statistical observation information will be too small. It is not possible to correctly calculate the proposed density to guide the particle closer to the observation. The calculation formula of τ is:
其中t
0为前一个需要同化的观测时刻,t
n为两个观测之间的观测间隔,t
j表示当前时刻。为了保证统计观测结果的可靠性,当需要同化的观测间隔较大时τ一般选择为0.8-0.9,当同化间隔较小时τ一般选择为0.5-0.8。使用统计的方法对于同化时刻开始前的观测进行统计求取均值,使用
表示需要同化的观测位置上观测间隔内的观测信息的时间序列,假设根据τ确定t
j为统计观测开始时刻,则统计观测的均值可以表示为:
where t 0 is the previous observation time that needs to be assimilated, t n is the observation interval between two observations, and t j represents the current time. In order to ensure the reliability of the statistical observation results, when the observation interval to be assimilated is large, τ is generally selected as 0.8-0.9, and when the assimilation interval is small, τ is generally selected as 0.5-0.8. Use statistical methods to calculate the mean of the observations before the assimilation time, using represents the time series of the observation information in the observation interval at the observation position to be assimilated. Assuming that tj is the start time of the statistical observation according to τ, the mean value of the statistical observation can be expressed as:
步骤三:根据统计观测均值计算提议密度调整集合粒子在给定同化时刻,使用均权重方法计算粒子权重,调整粒子状态Step 3: Calculate the proposed density according to the mean value of the statistical observations. At a given assimilation time, the particle weight is calculated using the average weight method and the particle state is adjusted.
步骤3.1:根据统计观测均值,计算观测对应位置粒子概率密度Step 3.1: Calculate the probability density of particles at the corresponding position of the observation according to the mean value of the statistical observation
在贝叶斯理论中,后验概率密度的求解需要依靠先验概率密度分布与似然概率求解,粒子滤波方法基于贝叶斯理论使用条件后验概率密度分布,其中对于统计观测
的后验概率密度分布可以表示为
In Bayesian theory, the solution of the posterior probability density needs to rely on the prior probability density distribution and the likelihood probability solution. The particle filter method uses the conditional posterior probability density distribution based on Bayesian theory. The posterior probability density distribution of , can be expressed as
其中
为提议密度,对于提议密度的求取需要先计算集合粒子的概率密度,使用模式方程,从n-1时刻的粒子状态
进行积分,集合粒子的概率密度表达式为:
in In order to propose the density, for the calculation of the proposed density, it is necessary to first calculate the probability density of the aggregated particles, using the mode equation, from the state of the particle at time n-1 Integrating, the probability density expression of the aggregated particles is:
表示从n-1时刻粒子状态到n时刻的概率密度,
表示n时刻第i个粒子的状态,
表示由n-1时刻模式方程积分结果,Q表示模式误差协方差表达式为:
represents the probability density from the particle state at time n-1 to time n, represents the state of the ith particle at time n, Represents the integral result of the mode equation at time n-1, and Q represents the mode error covariance. The expression is:
M表示集合粒子总数,
表示集合粒子均值。通过该公式计算粒子的概率密度。
M represents the total number of aggregated particles, represents the aggregate particle mean. The probability density of particles is calculated by this formula.
步骤3.3:通过集合粒子的概率密度求取粒子提议密度Step 3.3: Obtain the particle proposal density from the probability density of the aggregated particles
基于模式方程中上一步计算得出的先验密度可以进一步求得均权重粒子中的提议密度,由先验密度求取提议密度表达式为:Based on the prior density calculated in the previous step in the model equation, the proposed density in the uniformly weighted particle can be further obtained. The proposed density obtained from the prior density is expressed as:
公式中
表示以观测y为目标的提议密度,K
n表示松弛胁迫矩阵其表达式为K
n=QH
T(HQH
T+R)
-1,K
n与模式误差协方差Q和观测误差协方差R表达式为:
formula Represents the proposed density targeting observation y, K n represents the relaxation stress matrix whose expression is K n =QH T (HQH T +R) -1 , K n and the model error covariance Q and the observation error covariance R expression for:
表示n时刻第i个粒子的状态,H表示观测算子一般取值为1,y表示观测信息。在基于统计观测均权重粒子滤波中,提议密度的计算不仅只局限于同化时刻的观测信息,提议密度可以使用同化时刻之前基于统计观测历史均值,目的是在同化时刻之前调整集合粒子位置靠近观测信息。
Indicates the state of the ith particle at time n, H indicates that the observation operator generally takes a value of 1, and y indicates the observation information. In the weighted particle filter based on statistical observation, the calculation of the proposed density is not limited to the observation information at the time of assimilation. The proposed density can use the historical mean value of the statistical observation before the time of assimilation. The purpose is to adjust the position of the set particles to be close to the observation information before the time of assimilation. .
步骤3.4:选择最优提议密度,计算粒子权重Step 3.4: Select the optimal proposal density and calculate particle weights
提议密度的选择被认为是控制粒子与观测信息位置和粒子权重计算的重要标准,选择合适最优的提议密度可以保证采样中有效粒子的数量,同时保证粒子权重的可靠性,也是均权重粒子滤波中最重要的一部分,寻找最优的提议密度假设
集合中每个粒子基于统计观测的权重表示为:
The selection of the proposed density is considered to be an important criterion for controlling the position of particles and observation information and the calculation of particle weights. Selecting the appropriate and optimal proposed density can ensure the number of valid particles in sampling and the reliability of particle weights, which is also an equal-weight particle filter. The most important part in finding the optimal proposal density hypothesis The weight of each particle in the set based on statistical observations is expressed as:
其中ω
i表示集合中第i个粒子的权重,
表示t
j时刻第i个粒子的状态,
表示t
j时刻的统计观测信息,
表示概率密度,
表示提议密度,
表示t
j时刻粒子状态对于统计观测的概率密度,最后得到每个粒子经过提议密度的权重。对于提议密度调整集合粒子向统计观测靠近,集合粒子状态可以表示为:
where ω i represents the weight of the ith particle in the set, represents the state of the ith particle at time t j , represents the statistical observation information at time t j , represents the probability density, represents the proposal density, Represents the probability density of the particle state at time tj for the statistical observation, and finally obtains the weight of each particle passing through the proposed density. For the proposed density-adjusted ensemble particle approaching statistical observations, the ensemble particle state can be expressed as:
其中
为观测算子,先验松弛系数为B(τ),
确保集合粒子向统计 观测靠近,所以松弛系数可以表示为:
in is the observation operator, and the prior relaxation coefficient is B(τ), Make sure that the ensemble particles are close to the statistical observations, so the relaxation coefficient can be expressed as:
B(τ)=bτQH
TR
-1
B(τ)=bτQH T R -1
其中τ为统计观测开始阈值,b表示控制对观测的松弛程度的比例因子。where τ is the statistical observation start threshold, and b is the scaling factor that controls the degree of relaxation to observations.
步骤四:在给定同化时刻,使用均权重方法计算粒子权重,调整观测对应位置粒子状态Step 4: At a given assimilation time, use the average weight method to calculate the particle weight, and adjust the observed particle state at the corresponding position
步骤4.1:在提议密度调整的集合粒子基础上,计算粒子的权重Step 4.1: Calculate the weights of particles based on the proposed density-adjusted aggregate particles
根据同化中观测信息计算提议密度调整集合中粒子位置,在同化时刻使粒子更加靠近观测信息,保证大多数的粒子在同化时刻的后验概率密度函数中获得相等的权重。提议密度使集合中每个粒子靠近观测信息,从而使其获得近乎相同的权重。每个粒子的权重表达式为:According to the observation information in the assimilation, the position of the particles in the proposed density adjustment set is calculated, and the particles are closer to the observation information at the assimilation time, so as to ensure that most of the particles get equal weights in the posterior probability density function at the assimilation time. The proposed density brings each particle in the ensemble close to the observational information, so that it gets approximately the same weight. The weight expression for each particle is:
其中
表示提议密度权重在同化时间间隔中的累乘结果,可以确定粒子的最小权重ω
i表示为:
in Represents the cumulative multiplication result of the proposed density weight in the assimilation time interval, and the minimum weight ω i of the particle can be determined as:
其中
表示的是第i个粒子的先验权重,先验权重即提议密度计算过程中每个粒子权重;y表示观测向量;H表示观测投影算子,投影算子在简单模式中H=1;x表示状态向量;上标T表示矩阵转置;Q表示模式误差协方差矩阵;R表示观测误差协方差矩阵。假设获得集合中粒子目标权重C
i,为保证在粒子集合中80%的粒子可以达到计算得到的权重,避免粒子退化和贫化问题的发生:
in Indicates the prior weight of the i-th particle, which is the weight of each particle in the proposed density calculation process; y denotes the observation vector; H denotes the observation projection operator, which is H=1 in the simple mode; x represents the state vector; the superscript T represents the matrix transpose; Q represents the mode error covariance matrix; R represents the observation error covariance matrix. Assuming that the particle target weight C i in the set is obtained, in order to ensure that 80% of the particles in the particle set can reach the calculated weight and avoid the occurrence of particle degradation and depletion problems:
从而可以发现对于n时刻状态
集合中多数的粒子都可以保持相同的权重,对于有些没有达到均权重的粒子可以通过重采样方法进行调整。
Thus, it can be found that for the state of n time Most of the particles in the set can maintain the same weight, and some particles that do not reach the average weight can be adjusted by resampling.
步骤4.2:根据权重调整粒子状态Step 4.2: Adjust particle state according to weight
在获得集合粒子权重后,根据权重调整粒子状态,则n时刻的状态可以表示为:After obtaining the aggregate particle weight, adjust the particle state according to the weight, then the state at time n can be expressed as:
公式中y表示观测向量;H表示观测投影算子(H=1);x表示状态向量;K=QH
T(HQH
T+R)
-1,Q是模式误差协方差,R是观测误差协方差,在均权重粒子滤波中集 合粒子权重近似相等时,对于矢量α
i可以表示为:
In the formula, y represents the observation vector; H represents the observation projection operator (H=1); x represents the state vector; K=QH T (HQH T +R) -1 , Q is the mode error covariance, and R is the observation error covariance , when the weights of the set particles are approximately equal in the equal-weight particle filter, the vector α i can be expressed as:
中
和
在这两个表达式中
表示选择的目标权重,
表示在当前时刻粒子的相对权重。为了保证集合中粒子状态的随机效应加入随机项,得到最终的分析方程:
middle and in these two expressions represents the selected target weight, Represents the relative weight of the particle at the current moment. In order to ensure the random effect of the particle state in the set, a random term is added, and the final analytical equation is obtained:
步骤五:使用重采样方法,调整集合粒子维持粒子数稳定,更新观测对应位置粒子状态Step 5: Use the resampling method to adjust the aggregated particles to keep the number of particles stable, and update the state of the particles at the corresponding position of the observation
使用重采样方法,去除均权重粒子滤波中观测对应位置集合粒子中权重较小的粒子,同时保证集合中粒子总数的稳定,对于权重较大的粒子进行复制。均权重粒子滤波方法的本身保证大部分粒子得以保存,但是为了防止在均权重过程中,有极少数的粒子没有达到均等权重的要求,使用重采样方法进行最后的状态调节,维持粒子数稳定。The resampling method is used to remove the particles with smaller weights in the set of particles at the corresponding position observed in the equal-weight particle filter, while ensuring the stability of the total number of particles in the set, and copy the particles with larger weights. The equal-weight particle filtering method itself ensures that most of the particles are preserved, but in order to prevent a very small number of particles that do not meet the requirements of equal weight in the process of equal-weighting, the resampling method is used to perform final state adjustment to keep the number of particles stable.
步骤六:使用局地化函数,确定同化观测对应位置周围的粒子权重Step 6: Use the localization function to determine the particle weight around the corresponding position of the assimilation observation
在使用均权重粒子滤波方法和重采样方法更新同化观测对应位置的集合粒子状态后,使用局地化函数继续调整该观测影响半径r内的集合粒子状态。局地化函数的选择,参考局地化粒子滤波方法中的局地化方案,在计算过程中使用局地化函数描述区域内集合粒子权重与给定观测位置之间的关系,粒子滤波中权重表示观测的似然概率,在计算中使用局地化算子l[y,x
i,r],该算子是用来描述观测y和集合粒子状态x
i的相对位置系数,对应的粒子权重表示为:
After using the equal-weight particle filtering method and the resampling method to update the collective particle state at the corresponding position of the assimilation observation, the localization function is used to continue to adjust the collective particle state within the influence radius r of the observation. For the selection of the localization function, refer to the localization scheme in the localized particle filter method. In the calculation process, the localization function is used to describe the relationship between the weight of the aggregated particles in the area and the given observation position, and the weight in the particle filter is used. Indicates the likelihood probability of the observation. The localization operator l[y,x i ,r] is used in the calculation. This operator is used to describe the relative position coefficient of the observation y and the set particle state x i , and the corresponding particle weight. Expressed as:
ω
i,j=p(y|x
i,j)l[y,x
j,r]+[1-l[y,x
j,r]]
ω i,j =p(y|x i,j )l[y,x j ,r]+[1-l[y,x j ,r]]
其中局地化算子l[y,x
i,r]主要应用于局部分析,判断集合粒子与观测信息的相对位置信息。当观测y和集合粒子x
i重合时,该函数取最大值为1,当两者之间的距离超过给定的影响半径r则函数值为0,代表该观测对于此集合粒子状态没有调整作用。最后集合粒子的矢量权重表示为:
Among them, the localization operator l[y, x i , r] is mainly used in local analysis to judge the relative position information of aggregated particles and observation information. When the observation y coincides with the set particle xi , the maximum value of this function is 1. When the distance between the two exceeds the given influence radius r, the function value is 0, which means that the observation has no adjustment effect on the state of the set particle. . The vector weight of the final set of particles is expressed as:
其中
为观测误差协方差,h
j为测量算子。由此可以看出集合粒子的权重不止于观测信息有关,也与观测和粒子的相对位置有关。
in is the observation error covariance, and h j is the measurement operator. It can be seen that the weight of the aggregated particles is not only related to the observation information, but also related to the relative position of the observation and the particle.
步骤七:根据局地化权重更新粒子权重,更新周围粒子状态;Step 7: Update the particle weight according to the localization weight, and update the surrounding particle state;
在获得同化时刻观测信息影响半径内集合粒子的权重后,需要依靠此权重调整对应集合粒子的状态,在状态调整前需要对集合粒子的权重进行归一化处理,确保集合中权重的和为1,归一化权重公式可以表示为:After obtaining the weight of the aggregated particles within the influence radius of the observation information at the time of assimilation, the state of the corresponding aggregated particle needs to be adjusted by this weight. Before the state adjustment, the weight of the aggregated particle needs to be normalized to ensure that the sum of the weights in the aggregate is 1 , the normalized weight formula can be expressed as:
根据归一化的权重,重新调整集合中粒子状态,对于后验的粒子状态可以表示为:According to the normalized weight, the particle state in the set is re-adjusted, and the posterior particle state can be expressed as:
其中
表示后验均值,k
n是第n个采样粒子,其中向量r
1和r
2可以将新粒子形成采样粒子与先验粒子进行线性组合,最后实现局地化粒子状态的后验更新。其中向量r
1和r
2的计算公式可以表示为:
in Represents the posterior mean, k n is the nth sampled particle, where vectors r 1 and r 2 can linearly combine new particles to form sampled particles and prior particles, and finally achieve a posteriori update of the localized particle state. The calculation formula of the vectors r 1 and r 2 can be expressed as:
r
2,j=c
jr
1,j
r 2,j =c j r 1,j
公式中
是直到y
i为止的所有观测的误差方差,在这个过程中忽略集合粒子状态之间的后验相关性,但是会通过相应的采样步骤提供对应的相关性,其中对于局地化算子当l[x
j,y
j,r]→1时,c
j→0,并且有
因为当l[x
j,y
j,r]=1时后验方差近似等于采样粒子方差,同理可得
这就使后验粒子获得采样粒子的状态。当l[x
j,y
j,r]→0时,c
j→∞,
因为当l[x
j,y
j,r]=0时后验方差等于先验方差,同理可得
该采样方法提供了一种调整粒子以适合观测附近的一般贝叶斯后验解的方法.因为每个采样的粒子都与一个先验粒子组合,所以后验集合包含集合粒子唯一的模型状态,这样就避免了观测值同化期间集合方差的崩溃。
formula is the error variance of all observations up to y i , in which the posterior correlation between ensemble particle states is ignored, but the corresponding correlation is provided through the corresponding sampling step, where for the localization operator when l When [x j , y j , r] → 1, c j → 0, and we have Because the posterior variance is approximately equal to the sampling particle variance when l[x j , y j , r]=1, the same can be obtained This allows the posterior particle to obtain the state of the sampled particle. When l[x j ,y j ,r]→0, c j →∞, Because the posterior variance is equal to the prior variance when l[x j , y j , r]=0, the same can be obtained This sampling method provides a way to tune the particles to fit a general Bayesian posterior solution in the vicinity of the observation. Because each sampled particle is combined with a prior particle, the posterior ensemble contains the model state unique to the ensemble particle, This avoids the collapse of ensemble variance during observation assimilation.
步骤八:计算统计观测局地化均权重粒子滤波的状态后验估计值Step 8: Calculate the state posterior estimate of the localized weighted particle filter for statistical observations
根据观测信息跟新观测对应位置与观测影响半径内所有粒子的状态,计算状态的后验估计集合均值:
将更新后的后验估计集合均值作为分析模型的初始值,重新带 入模式积分方程中进行下一步预测和同化,在有可用观测的同化时间内重复上述步骤,得到最终的分析场,该分析场可以作为反映当前环境状态的数据场。
According to the observation information and the corresponding position of the new observation and the state of all particles within the influence radius of the observation, calculate the posterior estimated set mean of the state: Take the updated posterior estimated set mean as the initial value of the analysis model, and bring it back into the model integral equation for the next step of prediction and assimilation. Repeat the above steps within the assimilation time when there are available observations to obtain the final analysis field. A field can act as a data field that reflects the current state of the environment.
本发明提出一种基于统计观测局地化均权重粒子滤波数据同化技术。与传统的统计观测均权重粒子滤波数据同化技术相比,本发明的显著特征在于:针对统计观测均权重粒子滤波方法提出适应其应用的局地化方案,有效解决该方法对于复杂高纬网格化模式应用的限制,在同化时刻,采用统计观测方法更新观测对应位置的集合粒子状态,然后根据同化观测的位置信息和局地化参数,使用该观测调整观测位置周围,对于观测敏感可用集合粒子的权重,再根据权重调节观测附近集合粒子状态,提高观测的利用率,同时提高同化质量。本专利提出的方法可以有效改善传统统计观测均权重粒子滤波方法在复杂网格化模式和稀疏观测条件下的同化能力,可以有效提高同化质量,同时改善统计均权重粒子滤波方法的应用前景。The present invention proposes a data assimilation technology based on localized average weight particle filtering based on statistical observation. Compared with the traditional statistical observation weighted particle filter data assimilation technology, the significant feature of the present invention is that a localization scheme adapted to its application is proposed for the statistical observation weighted particle filter method, which effectively solves the problem of the method for complex high-latitude grids. The limitation of the application of the assimilation mode is that at the time of assimilation, the statistical observation method is used to update the state of the aggregated particles at the corresponding position of the observation, and then according to the position information and localization parameters of the assimilation observation, the observation is used to adjust the surrounding of the observation position, and the aggregated particles are available for observation sensitive. According to the weight of the observation, the state of the nearby set of particles is adjusted to improve the utilization rate of the observation and improve the quality of assimilation. The method proposed in this patent can effectively improve the assimilation ability of the traditional statistical observation weighted particle filter method under complex grid patterns and sparse observation conditions, can effectively improve the assimilation quality, and at the same time improve the application prospect of the statistical average weighted particle filter method.