|
Algorithm 3: Step by step construction of the vital signal from the best fit signals |
(1) Initialization Find “k” best-fit signals whose R-square values are above certain set threshold, say R-square_min = 0.3.The size of each best-fit signal is 256 samples. So, we have a matrix of In our example, k = 9. (2) for
If (iteration == 1) Then Find the first zero-crossing fast time index ( of all the “k” best-fit signals. And find the sub-signal component, which has the maximum value of For our example, are found to be as follows:
Construct the vital signal according to the following expression, the result is shown in Figure 8.
For our example; Figure 8 show the construction of first sub-signal component of the vital signal:
Else if (iteration > 1) Find the next zero-crossing fast time index ( of all the “k” best-fit signals for
Append the sub-signal component to the previously constructed vital signal. Find the correlation of the resulting signal
end
Append that sub-signal component to the previously constructed vital signal, which has maximum correlation as found by the above expression.For our example, when iteration = 2:
After we appended each sub-component to the previously constructed vital signal and found the correlation of each signal, it was found to be:
Here the 6th signal sub-component shown the maximum correlation with the previously constructed signal. Now we append the next sub-signal component of the 6th signal to the previously constructed vital signal to find the constructed_vital_signal as follows in Figure 9.
where For our example:
(3) Check, if: there are further zero crossings, then go to step 2 Else; stop the loop; Save; the constructed_vital_signalThe final vital signal obtained is given in the Figure 10. end
|