Figure 4.
Algorithm for determining the respiratory output signal by the use of the I&Q detection scheme. Respiratory movement was calculated from the appropriate phase signal that was chosen based on the amplitude in the linear range, which was differentiated and corrected by the polarity bit, and then accumulated. Movement was detected as the quotient of the power in the band pass filter (BPF) and the low pass filter (LPF) after smoothing.