<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJS</journal-id><journal-title-group><journal-title>Open Journal of Statistics</journal-title></journal-title-group><issn pub-type="epub">2161-718X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojs.2015.54027</article-id><article-id pub-id-type="publisher-id">OJS-56827</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Two Second-Order Nonlinear Extended Kalman Particle Filter Algorithms
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ongxiang</surname><given-names>Dai</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Li</surname><given-names>Zou</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Statistics, Jinan University, Guangzhou, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>zoulilizhixx@126.com(LZ)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>22</day><month>05</month><year>2015</year></pub-date><volume>05</volume><issue>04</issue><fpage>254</fpage><lpage>261</lpage><history><date date-type="received"><day>9</day>	<month>April</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>29</month>	<year>May</year>	</date><date date-type="accepted"><day>2</day>	<month>June</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In algorithms of nonlinear Kalman filter, the so-called extended Kalman filter algorithm actually uses first-order Taylor expansion approach to transform a nonlinear system into a linear system. It is obvious that this algorithm will bring some systematic deviations because of ignoring nonlinearity of the system. This paper presents two extended Kalman filter algorithms for nonlinear systems, called second-order nonlinear Kalman particle filter algorithms, by means of second-order Taylor expansion and linearization approximation, and correspondingly two recursive formulas are derived. A simulation example is given to illustrate the effectiveness of two algorithms. It is shown that the extended Kalman particle filter algorithm based on second-order Taylor expansion has a more satisfactory performance in reducing systematic deviations and running time in comparison with the extended Kalman filter algorithm and the other second-order nonlinear Kalman particle filter algorithm.
 
</p></abstract><kwd-group><kwd>Kalman Particle Filter</kwd><kwd> Nonlinear System</kwd><kwd> Taylor Expansion</kwd><kwd> Linearization Approximation</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>It is well known that the theory of Kalman filter has been widely used in many scientific fields. Particularly, the linear Kalman filter algorithm has received a great deal of attention due to its effectiveness in estimating the state of an underlying linear system in [<xref ref-type="bibr" rid="scirp.56827-ref1">1</xref>] . However, it has been recognized that nonlinearity and disturbance exist in many practical linear systems, which leads to considering nonlinear Kalman filter algorithms of nonlinear state-space systems in [<xref ref-type="bibr" rid="scirp.56827-ref2">2</xref>] .</p><p>A widely used Kalman filter algorithm for linear systems is called extended Kalman filer algorithm (EKF for short), which actually uses first-order Taylor expansion approach to transform a nonlinear system into a linear system. Since this nonlinear Kalman filter algorithm is linear in nature and it does not consider the nonlinearity of the system equation, a sub-optimal state estimate for a nonlinear state-space system can be given in [<xref ref-type="bibr" rid="scirp.56827-ref3">3</xref>] . In order to reduce error in the estimation of the system state and improve the precision of EKF, various modified algorithms have been established. For example, Uhlmann et al. [<xref ref-type="bibr" rid="scirp.56827-ref4">4</xref>] give a kind of unscented Kalman filter (UKF) algorithm for nonlinear systems. This algorithm has the same calculation capacity as the EKF algorithm and reduces error in linearizing nonlinear model. Merwe et al. [<xref ref-type="bibr" rid="scirp.56827-ref5">5</xref>] present an algorithm called central difference Kalman filter (CDKF) and deduce its recursive formula. This algorithm is easier to realize than EKF, because it does not need to compute Jacobi matrices. But UKF and CDKF are not suitable for non-Gaussian state-space systems. If a state-space model is nonlinear and noise distributions are non-Gaussian, particle filters (PFs) or sequential Monte Carlo (SMC) methods provide an effective algorithm to deal with this case [<xref ref-type="bibr" rid="scirp.56827-ref6">6</xref>] . A combination of EKF and PF leads to extended Kalman particle filter (EKPF) algorithm, where EKF algorithm updates the sampling particles and the particles approximate the filtering distributions. The EKPF algorithm has been applied to neural networks in [<xref ref-type="bibr" rid="scirp.56827-ref7">7</xref>] , and the results show that the algorithm is superior to other basic particle filter algorithms. Although these algorithms have some advantages in effectiveness and calculation speed for most of nonlinear state-space models, sometimes we need some more accurate Kalman filter algorithms to estimate the state of nonlinear systems.</p><p>To this end, this paper will give two Kalman particle filter algorithms for nonlinear state-space models. One is based on second-order Taylor expansion of structural functions of nonlinear system (SEKPF), the other, denoted by SLEKPF, uses a linearization method to approximate the quadratic of second order Taylor expansion of struc- tural functions. Accordingly, recursive formulas of the above nonlinear Kalman filter algorithms are derived. A simulation example is given to compare EKPF with SEKPF and SLEKPF. It can be seen from running time and root mean square error of the state estimation that they have similar calculation capacity, but SLEKPF is superior to EKPF and SEKPE in accuracy of state estimation.</p></sec><sec id="s2"><title>2. Nonlinear Kalman Filter</title><sec id="s2_1"><title>2.1. Extended Nonlinear Kalman Filter</title><p>For a nonlinear state-space model, the extended Kalman filter is a frequently used method to estimate the system state. The key point of this algorithm is to use first-order Taylor expansion to approximate the structural functions of the model. More precisely, a general nonlinear discrete-time state-space model is given as follows:</p><disp-formula id="scirp.56827-formula123"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x5.png"  xlink:type="simple"/></disp-formula><p>where the system state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x6.png" xlink:type="simple"/></inline-formula> and the noise <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x7.png" xlink:type="simple"/></inline-formula> are r-dimensional, whiled the observation value <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x8.png" xlink:type="simple"/></inline-formula> and the noise <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x9.png" xlink:type="simple"/></inline-formula> are n-dimensional. Moreover, the following assumptions are satisfied:</p><disp-formula id="scirp.56827-formula124"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x10.png"  xlink:type="simple"/></disp-formula><p>If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x11.png" xlink:type="simple"/></inline-formula> is a twice continuously differentiable function and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x12.png" xlink:type="simple"/></inline-formula> is a continuously differentiable function, then we use Taylor expansion of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x13.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x14.png" xlink:type="simple"/></inline-formula> to approximate these function. In this case, the nonlinear state-space model (1) can be described approximately as a linear model. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x15.png" xlink:type="simple"/></inline-formula> denote the information flow, namely, the observed data obtained through date <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x16.png" xlink:type="simple"/></inline-formula> be summarized. Suppose that the initial value of the state vector <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x17.png" xlink:type="simple"/></inline-formula> of the state-space model (1) is normally distributed and the distur-</p><p>bances <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x18.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x19.png" xlink:type="simple"/></inline-formula> are normal. Then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x20.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x21.png" xlink:type="simple"/></inline-formula> obey normal distributions as well. Since h has</p><p>continuous first-order partial derivatives and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x22.png" xlink:type="simple"/></inline-formula> has continuous second-order partial derivative functions, it is not difficult to linearize the nonlinear state-space model (1) with the help of Taylor expansion. Now define</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x23.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x24.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x25.png" xlink:type="simple"/></inline-formula>Discrete space model is approxi-</p><p>mated by linear model can be used as follows:</p><disp-formula id="scirp.56827-formula125"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x26.png"  xlink:type="simple"/></disp-formula><p>Proposition 2.1 If the discrete time linear system (3) satisfies (2), and the disturbances <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x27.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x28.png" xlink:type="simple"/></inline-formula> are independent and obey normal distributions, then we have</p><p>(1) state estimates</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x29.png" xlink:type="simple"/></inline-formula>,</p><p>and</p><p>(2) mean square error matrix of system.</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x30.png" xlink:type="simple"/></inline-formula>.</p><p>The proof of Proposition 2.1 can be found in [<xref ref-type="bibr" rid="scirp.56827-ref8">8</xref>] . Although the EKF algorithm is simple and effective for some nonlinear state-space models, it is likely to lead to sub-optimal state estimate due to removing higher-order terms of structural equations in Taylor expansion. In what follows, two modified nonlinear Kalman filter algorithms will be given for the purpose of reducing errors of the state estimation.</p></sec><sec id="s2_2"><title>2.2. Second-Order Nonlinear Kalman Filter Algorithms</title><p>In the extended nonlinear Kalman filter algorithm, an application of first-order Taylor expansion on <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x31.png" xlink:type="simple"/></inline-formula> results in a linear state equation. This linearization approximation will cause some errors and instability of algorithm in some sense. It is natural to use second-order Taylor expansion to approximate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x32.png" xlink:type="simple"/></inline-formula>.</p><p>Proposition 2.2 Under the same conditions as Proposition 2.1, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x33.png" xlink:type="simple"/></inline-formula> is twice continuously differentiable and h is continuously differentiable, then the nonlinear state-space model (1) has the following nonlinear Kalman filter algorithm, namely,</p><p>(1) state estimates are given by</p><disp-formula id="scirp.56827-formula126"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x34.png"  xlink:type="simple"/></disp-formula><p>and</p><p>(2) mean square error matrix of system</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x35.png" xlink:type="simple"/></inline-formula>.</p><p>Proof: To guarantee normality of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x36.png" xlink:type="simple"/></inline-formula>, we take the linear part of Taylor expansion of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x37.png" xlink:type="simple"/></inline-formula>. Thus we have</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x38.png" xlink:type="simple"/></inline-formula>.</p><p>Note that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x39.png" xlink:type="simple"/></inline-formula> is normal, so is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x40.png" xlink:type="simple"/></inline-formula>. By reference [<xref ref-type="bibr" rid="scirp.56827-ref8">8</xref>] ,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x41.png" xlink:type="simple"/></inline-formula>,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x42.png" xlink:type="simple"/></inline-formula>.</p><p>An application of Taylor expansion to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x43.png" xlink:type="simple"/></inline-formula> gives that</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x44.png" xlink:type="simple"/></inline-formula>,</p><p>Taking conditional expectations on both sides of (5), the state estimates are given by</p><disp-formula id="scirp.56827-formula127"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x45.png"  xlink:type="simple"/></disp-formula><p>where we have applied the following fact that, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x46.png" xlink:type="simple"/></inline-formula> has mean <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x47.png" xlink:type="simple"/></inline-formula> and variance<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x48.png" xlink:type="simple"/></inline-formula>, then</p><disp-formula id="scirp.56827-formula128"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x49.png"  xlink:type="simple"/></disp-formula><p>On the other hand, the residual is expressed as</p><disp-formula id="scirp.56827-formula129"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x50.png"  xlink:type="simple"/></disp-formula><p>Thus the mean square error matrix of system is</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x51.png" xlink:type="simple"/></inline-formula>.</p><p>It should be pointed out that the above nonlinear Kalman filter algorithm needs to calculate Hessian matrix of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x52.png" xlink:type="simple"/></inline-formula>. Such an approximation, on one hand, increases running time, on the other hand, cannot guarantee normality of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x53.png" xlink:type="simple"/></inline-formula>, so it will influence on multi-step predictions of the state. In next proposition, we will apply linearization approximation to the quadratic in (5) and deduce corresponding recursive formula of nonlinear Kalman filter algorithm.</p><p>Proposition 2.3 Under the same conditions as Proposition 2.2 we have the following nonlinear Kalman filter algorithm for the nonlinear system (1):</p><p>(1) state estimates are</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x54.png" xlink:type="simple"/></inline-formula>.</p><p>and</p><p>(2) mean square error matrix of system state is</p><disp-formula id="scirp.56827-formula130"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x55.png"  xlink:type="simple"/></disp-formula><p>Proof: Firstly, a second-order Taylor expansion of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x56.png" xlink:type="simple"/></inline-formula> gives that</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x57.png" xlink:type="simple"/></inline-formula>,</p><p>Applying first-order Taylor expansion to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x58.png" xlink:type="simple"/></inline-formula>, we have</p><disp-formula id="scirp.56827-formula131"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x59.png"  xlink:type="simple"/></disp-formula><p>This also implies that</p><disp-formula id="scirp.56827-formula132"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x60.png"  xlink:type="simple"/></disp-formula><p>It is not hard to get that</p><disp-formula id="scirp.56827-formula133"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x61.png"  xlink:type="simple"/></disp-formula><p>Moreover, the mean square error matrix of system is given by</p><disp-formula id="scirp.56827-formula134"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x62.png"  xlink:type="simple"/></disp-formula><p>Note that in this nonlinear filter algorithm, we have applied first-order Taylor expansion to deal with the qua-</p><p>dratic<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x63.png" xlink:type="simple"/></inline-formula>, thus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x64.png" xlink:type="simple"/></inline-formula> still obeys normal distribution in this case. This also implies</p><p>that this algorithm can give multi-step predictions of the system state.</p></sec><sec id="s2_3"><title>2.3. Extended Particle Filter Algorithm</title><p>The extended particle filter (EKPF) algorithm was initially given by Freitas in [<xref ref-type="bibr" rid="scirp.56827-ref9">9</xref>] , under the framework of EKPF algorithm. This algorithm applies recursive formula of EKF to update each particle and will get an approximate posterior probability density of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x65.png" xlink:type="simple"/></inline-formula>. By the posterior probability distribution, new samples from the distribution are represented by a set of particles. Each particle has a weight assigned to it that represents the probability of that particle being sampled from the probability density function. In the resampling step, the particles with negligible weights are replaced by new particles in the proximity of the particles with higher weights. EKPF, SEKPF and SLEKPF algorithm are as follows [<xref ref-type="bibr" rid="scirp.56827-ref10">10</xref>] :</p><p>(1) Set initial value<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x66.png" xlink:type="simple"/></inline-formula>;</p><p>(2) Draw N particles from prior distribution (important distribution);</p><p>(3) Apply recursive formulas of EKF, SEKF, and SLEKF to update sampling particles;</p><p>(4) Update weights;</p><p>(5) Normalize weights;</p><p>(6) Resample,</p><p>(7)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x67.png" xlink:type="simple"/></inline-formula>,</p><p>(8) If the number of particles is enough, the procedure stops.</p></sec></sec><sec id="s3"><title>3. Two Simulation Examples</title><p>To compare EKPF with SEKPF and SLEKPF algorithms, we use single variable non-stable growth model in [<xref ref-type="bibr" rid="scirp.56827-ref11">11</xref>] and gas phase reversible reaction model in [<xref ref-type="bibr" rid="scirp.56827-ref12">12</xref>] .</p><p>Example 3.1 Consider the following nonlinear state-space model:</p><disp-formula id="scirp.56827-formula135"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x68.png"  xlink:type="simple"/></disp-formula><p>where the initial state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x69.png" xlink:type="simple"/></inline-formula> is normally distributed with mean 0 and variance 2, the noise <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x70.png" xlink:type="simple"/></inline-formula> has Gamma distribution with mean 0.5 and variance 0.5, and the noise <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x71.png" xlink:type="simple"/></inline-formula> is also normally distributed with mean 0 and variance 1. The number of particles is 200 and the whole time is 30 seconds, and we have 100 independent experiments. The aim is to compute the average value of the particles. A formal formula is as follows [<xref ref-type="bibr" rid="scirp.56827-ref13">13</xref>] :</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x72.png" xlink:type="simple"/></inline-formula>,</p><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x73.png" xlink:type="simple"/></inline-formula> is number of particles.</p><p>The root-mean-square error is defined as:</p><disp-formula id="scirp.56827-formula136"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x74.png"  xlink:type="simple"/></disp-formula><p>where T is the whole time.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref> and <xref ref-type="fig" rid="fig2">Figure 2</xref> show state estimations and the root-mean-square error curves of three kinds of algorithms. It can be seen from these figures that the EKPF algorithm is superior to other two algorithms. In particular,</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> State estimation curve of three algorithms</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-1240503x75.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Root mean square error curves of three algorithms</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-1240503x76.png"/></fig><p>the EKPF algorithm has the worst performance in estimating the system state. The reason lies in no consideration of higher-order Taylor expansion term. Means and variances of 100 root-mean-square errors and running time for the above particle filter algorithms are given in <xref ref-type="table" rid="table1">Table 1</xref>. The results show that the SEKPF algorithm have the minimum root-mean-square error in average. Although in three algorithms, the running time of EKPF is the shortest. We can conclude that the SEKPF and SLEKPF algorithms can effectively increase the precision of state estimations.</p><p>Example 3.2 Consider the following nonlinear state-space model:</p><disp-formula id="scirp.56827-formula137"><graphic  xlink:href="http://html.scirp.org/file/3-1240503x77.png"  xlink:type="simple"/></disp-formula><p>where the noises w<sub>1,t</sub> and w<sub>2,t</sub> obey Gamma distributions with mean 0.5 and variance 0.5, the noise v<sub>t</sub> is normally</p><p>distributed with mean 0 and variance 0.1. We take vector <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x78.png" xlink:type="simple"/></inline-formula> and covariance matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1240503x79.png" xlink:type="simple"/></inline-formula>.</p><p>The number of particles is 200. The whole time is 30 seconds. We have 100 independent experiments.</p><p><xref ref-type="table" rid="table2">Table 2</xref> gives means and variances of 100 independent root-mean-square errors and running time for three algorithms. <xref ref-type="fig" rid="fig3">Figure 3</xref> shows state estimations of (6) obtained from three Kalman particle filter algorithms. From these, we have similar conclusions to Example 3.1. Therefore, two second-order nonlinear Kalman particle filter algorithms proposed in this paper are superior to the EKPF algorithm in the precision of state estimations.</p></sec><sec id="s4"><title>4. Conclusion</title><p>In many practical state-space models, the observation equations are linear, but the state equations are nonlinear; sometimes the disturbances are non-Gaussian [<xref ref-type="bibr" rid="scirp.56827-ref14">14</xref>] . For such a state-space model, we need to give an appropriate Kalman filter algorithm to estimate the system state. In this paper, we have proposed two nonlinear Kalman filter algorithms, and corresponding recursive formulas have been derived. One is based on second-order Taylor</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Root-mean-square errors and running time of three kinds of algorithms</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Algorithms</th><th align="center" valign="middle"  colspan="2"  >Root-mean-square error</th><th align="center" valign="middle"  rowspan="2"  >Running time (s)</th></tr></thead><tr><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >Variance</td></tr><tr><td align="center" valign="middle" >EKPF</td><td align="center" valign="middle" >0.295</td><td align="center" valign="middle" >0.309</td><td align="center" valign="middle" >1.87</td></tr><tr><td align="center" valign="middle" >SKEPF</td><td align="center" valign="middle" >0.179</td><td align="center" valign="middle" >0.152</td><td align="center" valign="middle" >1.98</td></tr><tr><td align="center" valign="middle" >SLEKPF</td><td align="center" valign="middle" >0.190</td><td align="center" valign="middle" >0.240</td><td align="center" valign="middle" >2.03</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Root-mean-square errors and running time</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Algorithm</th><th align="center" valign="middle"  colspan="2"  >EKPF</th><th align="center" valign="middle" >SEKPF</th><th align="center" valign="middle" >SLEKPF</th></tr></thead><tr><td align="center" valign="middle"  rowspan="2"  >Root-mean-squareerrors of X1</td><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >0.035</td><td align="center" valign="middle" >0.008</td><td align="center" valign="middle" >0.016</td></tr><tr><td align="center" valign="middle" >Variance</td><td align="center" valign="middle" >0.142</td><td align="center" valign="middle" >0.005</td><td align="center" valign="middle" >0.072</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >Root-mean-square error of X2</td><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >0.064</td><td align="center" valign="middle" >0.062</td><td align="center" valign="middle" >0.063</td></tr><tr><td align="center" valign="middle" >Variance</td><td align="center" valign="middle" >0.005</td><td align="center" valign="middle" >0.001</td><td align="center" valign="middle" >0.001</td></tr><tr><td align="center" valign="middle"  colspan="2"  >Running time (s)</td><td align="center" valign="middle" >2.87</td><td align="center" valign="middle" >2.98</td><td align="center" valign="middle" >3.05</td></tr></tbody></table></table-wrap><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> State estimate.</title></caption><fig id ="fig3_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-1240503x80.png"/></fig><fig id ="fig3_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-1240503x81.png"/></fig></fig-group><p>expansion of the state equation, and the other uses a linearization approach to approximate the quadratic of second-order Taylor expansion of the state equation. In order to improve the precision of state estimation, we have combined the above nonlinear Kalman filter algorithms with particle filter and given two nonlinear Kalman particle filter algorithms. Through two examples, we compare the two nonlinear Kalman particle filter algorithms with the extended Kalman particle filter algorithm. The simulation results show that our second-order Kalman particle filter algorithms are superior to the extended Kalman particle filter algorithm. On one hand, two nonlinear Kalman particle filter algorithms have stronger calculation capacity than the extended Kalman filter particle algorithm; on the other hand, they can effectively improve state estimations.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.56827-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Daum. F. (2005) Nonlinear Filters: Beyond the Kalman Filter. IEEE A&amp;E Systems Magazine, 20, 57-69.  
http://dx.doi.org/10.1109/MAES.2005.1499276</mixed-citation></ref><ref id="scirp.56827-ref2"><label>2</label><mixed-citation publication-type="book" xlink:type="simple">Doucet, A. and Johansen, A. (2011) A Tutorial on Particle Filtering and Smoothing: Fifteen Years Later. In: Crisan, D. and Rozovskii, B., Eds., The Oxford Handbook of Nonlinear Filtering, Oxford University Press, New York, 656-704.</mixed-citation></ref><ref id="scirp.56827-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Cappe, O., Godsill, S.J. and Moulines, E. (2007) An Overview of Existing Methods and Recent Advances in Sequential Monte Carlo. Proceedings of the IEEE, 95, 899-924.&lt;br /&gt; http://dx.doi.org/10.1109/JPROC.2007.893250</mixed-citation></ref><ref id="scirp.56827-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Gao, Y., Gao, S. and Wu, J. (2014) Fading-Memory Square-Root Unscented Particle Filter Algorithm and Its Application in Integrated Navigation System. Journal of Chinese Inertial Technology, 22, 777-781.</mixed-citation></ref><ref id="scirp.56827-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Qian, Z. and Qi, Y. (2012) A SLAM Algorithm Based on an Iterated Central Difference Particle Filter. Journal of Harbin Engineering University, 33, 355-360.</mixed-citation></ref><ref id="scirp.56827-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Zhu, Z. (2012) Particle Filter Algorithm and Application. Science Press, Beijing.</mixed-citation></ref><ref id="scirp.56827-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Wang, F. and Guo, Q. (2010) Neural Network Training Based on Extended Kalman Particle Filter. Computer Engineering &amp; Science, 32, 48:50.</mixed-citation></ref><ref id="scirp.56827-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, L. (2012) Nonlinear Kalman Filter Theory. National Defense Industry Press, Beijing.</mixed-citation></ref><ref id="scirp.56827-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Julier, S.J., Uhlmann, J.K. and Durrant-Whyten, H.F. (2000) A New Approach for the Nonlinear Transformation of Means and Covariance in Filters and Estimators. IEEE Transactions on Automatic Control, 45, 477-482.  
http://dx.doi.org/10.1109/9.847726</mixed-citation></ref><ref id="scirp.56827-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Wang, F. and Zhao, Q. (2008) A New Particles to Solve the Problem of Nonlinear Filter Algorithm. Chinese Journal of Computers, 31, 346-352.</mixed-citation></ref><ref id="scirp.56827-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Liu, X., Tao, Z., Jin, Y. and Yang, Y. (2010) A Novel Multiple Model Particle Filter Algorithm Based on Particle Optimization. Acta Electronica Sinica, 38, 301-305.</mixed-citation></ref><ref id="scirp.56827-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Kolas, S., Foss, B.A. and Schei, T.S. (2009) Constrained Nonlinear State Estimation-Based on the UKF Approach. Computers &amp; Chemical Engineering, 33, 1386-1401.&lt;br /&gt; http://dx.doi.org/10.1016/j.compchemeng.2009.01.012</mixed-citation></ref><ref id="scirp.56827-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Wang, F., Lu, M., Zhao, Q. and Yuan, Z. (2014) Particle Filtering Algorithm. Chinese Journal of Computers, 37, 1679-1693.</mixed-citation></ref><ref id="scirp.56827-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Xia, N., Qiu, T. and Li, J. (2013) A Nonlinear Kalman Filtering Algorithm Combining the Kalman Filter and the Particle Filter. Acta Electronica Sinica, 41, 148-152.</mixed-citation></ref></ref-list></back></article>