View full-text article in PMC Sensors (Basel). 2024 Feb 20;24(5):1362. doi: 10.3390/s24051362 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 Variational measurement update. Input: {x^k|k−1,Pk|k−1},{αk|k−1i,βk|k−1i}i=1ny,{θ^k|k−1,Θk|k−1},Zk Output: x^k|k,Pk|k,{αk|ki,βk|ki}i=1ny,θ^k|k,Θk|k Initialization: x^0,k|k(0)←x^k|k−1, P0,k|k(0)←Pk|k−1, θ^0,k|k(0)←θ^k|k−1, Θ0,k|k(0)←Θk|k−1, α0,k|ki,(0)←αk|k−1i,β0,k|ki,(0)←βk|k−1ifor i=1,…,ny, ykj,(0)←zkj for j=1,…nk, Σky,(0)←EqX(0)[(sXk)] using(30) Iterations: for n=0,…,nmax−1 Calculate R(x^n+1,k+1|k) using (9) for ℓ=0,…,ℓmax−1 Calculate {x^n+1,k|k(ℓ+1),Pn+1,k|k(ℓ+1)} using (24) Calculate {αn+1,k|ki,(ℓ+1),βn+1,k|ki,(ℓ+1)}i=1ny using (26) Calculate {y^n+1,k|k(ℓ+1),Σn+1,k|k(ℓ+1)}i=1nk using (29) Calculate {θ^n+1,k|k(ℓ+1),Θn+1,k|k(ℓ+1)} using (32) end for x^n+1,k|k−1(0)←x^n,k|kPn+1,k|k−1(0)←Pn,k|k, θ^n+1,k|k−1(0)←θ^n,k|k, Θn+1,k|k−1(0)←Θn,k|k, αn+1,k|k−1i,(0)←αn,k|ki, βn+1,k|k−1i,(0)←βn,k|ki for i=1,…,ny, yn+1,k|kj,(0)←zkj for j=1,…nk, Σn+1,ky,(0)←Σky,(0) end for