Skip to main content
. 2021 Dec 24;22(1):118. doi: 10.3390/s22010118
Algorithm 2: SI-XBSS (Swarm Intelligent Blind Source Separation based on Cross-Correlation)
Input:X(t)
  1. Centralize and whitening X(t)

  2. Initialize the parameters of swarm intelligence algorithm.

  3. Randomly generate the initial 2×2 separation matrix W. According to the fitness function, find separation matrix Wbest by SI algorithms.

  4. Obtain mixed signals YW(t)

    YW(t)={ y1w(t),y2w(t)}T=WbestX(t)

  5. Obtain mixed signals YMinus(t) 

    YMinus(t)=[x1(t)x2(t)][y1w(t)y2w(t)]=[y1Minus(t)y2Minus(t)]

  6. Obtain mixed signals YexMinus(t)

    YexMinus(t)=[x1(t)x2(t)][y2w(t)y1w(t)]=[y1exMinus(t)y2exMinus(t)]

  7. Obtain the candidate separation pool Ypool(t)

    Ypool(t)={y1pool(t),y2pool(t),y3pool(t),y4pool(t),y5pool(t),y6pool(t)}T={YW(t),YMinus(t),YexMinus(t)}T={y1W(t),y2W(t),y1Minus(t),y2Minus(t),y1exMinus(t),y2exMinus(t)}T

  8. Calculate Xcorr (yipool(t),yjpool(t))

    i,j[1,λ],ij, λ=total number of Ypool(t)

  9. Y(t)=min (Xcorr (yipool(t),yjpool(t)))

Output:Wbest, Y(t)