Skip to main content
. 2019 Feb 15;19(4):795. doi: 10.3390/s19040795
Algorithm 2 Data fusion operation
INPUT: The output data stream of algorithm_1 FD=(fd1,fd2,...,fdn)
Covariance matrix calculated by Kalman filter in data filtering layer R=(R1,R2,...,Rn)
Identity Matrix Calculated by Kalman filter in data filtering layer H=(H1,H2,...,Hn)
  if fd1=NONEANDfd2=NONEAND...ANDfdn=NONE then
  2:  Exit
   else
  4:  R(t)i=1NRi1(t)1
  5:  z(t)i=1NRi1(t)1i=1NRi1(t)fd(i)
  6:  H(t)i=1NRi1(t)1i=1NRi1(t)Hi(t)
    Calculate total estimated value using Kalman filter based on total z(t), R(t) and H(t)
    send z(t) to cloud.
  7:  if there is a missing data then
  8:   send the estimated value calculated by Kalman filter is sent the cloud.
  9:  end if
   end if