# Anti-Interference Heartbeat Measurement Based on a Miniaturized Doppler Radar Sensor

Authors: Lingtong Min; Qinyi Lv; Laisen Nie; Deyun Zhou
Journal: Advances in Mathematical Physics
 (2021)

---

## Abstract

It is a hot topic to utilize the Doppler radar sensor in noncontact biosignal monitoring nowadays. Unfortunately, most detections are easily affected by interference or strong noise. Even slight body movements can cause serious demodulation distortion. In this paper, we proposed a novel algorithm to solve the sudden and unexpected interference. Firstly, the one-dimensional signal detected by the sensor is divided into segments to form a two-dimensional data matrix. In both the intrasegment and intersegment domains of the data matrix, a robust algorithm is employed to suppress unwanted interference, which significantly improves the robustness of demodulation. Experiments show the effectiveness of the proposed algorithm, based on which weak heartbeat signal hidden in the interference can be well extracted.


---

## Body

## 1. Introduction

The miniaturized continuous-wave Doppler radar sensors (DRS) have been extensively studied due to its crucial potential in human healthcare and monitoring applications [1, 2]. Admirable progress in past decades has been made to overcome challenges in small-scale motion monitoring. To solve the null point problems in small-angle approximation, quadrature demodulation was introduced [3]. Using arctangent demodulation to recover the accurate phase information was then reported [4]. The Doppler radar systems both based on instruments [5] and integrated on a single CMOS chip [6] have also been come up with to detect respiration and heartbeat. Some demodulation algorithms were also discussed [7–9]. DRS can also be used to detect other motions, such as animal biosignals [10], mechanical vibration measurement [11], gesture recognition [12], and rotation of wind turbine blades [13]. Nowadays, the basic approach of continuous-wave Doppler radar sensor is the demodulation of frequency shift in reflecting waves from the moving target. Since the phase demodulation method is a linear method and can achieve great accuracy, it has become the most popular and advanced demodulation approach [14].The Doppler radar sensor is easily affected by interferences like random body movements (RBM). Firstly, random body movements occur naturally as far as the human body stands or sitting. When there exists body movement, especially in the strong case, large body movement will conceal the small biosignal and likely result in signal clipping in conventional DRS [9]. Multiple contributions have been done to deal with body movement problems [15–20]. In [15], two antennas are placed to detect from the front and the back of a human body simultaneously. In this way, biosignal can be enhanced because it exists from all sides; while body movement is cancelled by multiplying the signal detected from both sides. Also, circuit saturation is likely to happen in the presence of large body movement [16]. As for injection locking radars array in [17, 18], users have to either sweep the radar’s carrier frequency or adjust the subject’s position. The hybrid sensing system with both radar and camera is employed in [19]. This system shows good potential to cancel body movement but is still complex in both hardware and signal processing. All of the work presents complicated hardware architecture with high costs, and the detection is limited in the study of relatively small RBM.What is more, SISO (single-in and single-out) Doppler radar architecture is only limited in one target detection. In the scene of biosignal detection, if there exist other moving objects like pedestrian or part of moving limbs, mass distortion can be seen in the result. The system with multiple receiving channels can distinguish the multiple targets by the blind separation algorithm [20]. Radar with more complex waveforms can also detect multiple people [21]. But these architectures will also increase system cost and complexity.In fact, the biosignal includes both heartbeat signal and respiration signal. But the respiration signal is always much stronger and more flat than the heartbeat signal, which makes heartbeat signal detection more difficult. As a consequence, more attention is paid to heartbeat signal detection. In our paper, we mainly focus on heartbeat signal reconstruction by radar.In this paper, we propose a novel Doppler radar-based adaptive anti-interference algorithm to recover the heartbeat signal. The entire one-dimensional movement can be decomposed into several segments to form a new two-dimensional data matrix for further processing. Every segment in the intrasegment domain and adjacent segments in the intersegment domain are evaluated, respectively, by a well-designed criterion, including changes in signal strength and signal-to-noise ratio (SNR). A miniaturized radar operating at 24 GHz is employed to verify the effectiveness of our method.The rest of this paper is organized as follows. In Section2, the theory of Doppler radar is briefly introduced. Then we propose the anti-interference algorithm. To illustrate the effectiveness of the proposed approach, a series of noncontact measurements are performed in Section 3, and the obtained results are presented. Finally, a conclusion is drawn in Section 4.


## 2. Materials and Methods

### 2.1. Problem Description

A classical Doppler radar sensor is shown in Figure1. The basic principle of DRS is the reflection of continuous wave modulated by a moving target, such as the human chest. As for a target at a distance d0 with time-varying motion given by xt, the received signal is quadrature demodulated, and I/Q channels of the baseband signals are
(1)It=AItcosθ0+4πxtλ+φ0t+DCIt,(2)Qt=AQtsinθ0+4πxtλ+φ0t+DCQt,where DCIt,DCQt denote the direct current offsets. AIt,AQt denote the alternate current amplitudes, both of the output I/Q signals, respectively. φ0t denotes the residual phase noise of the receiver. θ0 represents the phase shift accumulated due to the initial distance and transceiver system. From Equations (1) and (2), the motion xt can be mathematically expressed as
(3)xt=λ4πarctanQt−DCQt/AQtIt−DCIt/AIt−θ0−φ0t.Figure 1
A classical radar system for biosignal detection including antennas, RF circuits to transmit and receive signals, and a signal processing unit. Interference is inventible during the detection.From Equation (1), we can conclude that the principal causes of nonlinearity in demodulation are the unknown DC offsets and the imbalance between AIt and AQt. The imbalance is mainly due to hardware architecture, namely the receiver, which can be mostly overcome by advanced digital downconversion [9]. Thus, in this paper, the imbalance is solved, and the amplitude of each channel is the same. DCIt and DCQt are originally produced by the reflection of background. It is time-varying because the offset could be disturbed by multiple factors, such as limb waving and temperature drift of circuits. It is worth noting that the change of DC offset is usually slow. Given the facts above, the DC offset during the small piece of time, such as 1 or 2 seconds, can be treated as constant. In the following experiment part, 80 sampling points are chosen as the piece length, which is 0.9 second because the sampling rate is 90 Hz.From another perspective to eliminate trigonometric functions, Equations (1) and (2) are rewritten as
(4)It−DCItAIt2+Qt−DCQtAQt2=1.TheI/Q signal is obviously forming ellipse, shown in Equation (2). Based on the facts and discussion above, the slow-varying DC offset is assumed as constant DCIjandDCQj, where the index j represents the jth segment of the whole demodulation. Meanwhile, in the jth short time segment, the imbalance of quadrature signals can be overcome by the digital downconversion receiver [9]. The amplitude then also has be treated as constant in the jth segment, which is AIt=AQt=Aj. Consequently, the ellipse in Equation (4) is simplified into a circle:
(5)It−DCIj2+Qt−DCQj2=A2j.It is seen that after eliminating the imbalance betweenIt and Qt by digital-IF architecture, the ellipse turns into a circle, where the balanced amplitude is the radius Aj, and the DCIj,DCQj is the center. In this ideal condition, as long as the circle center can be obtained from It and Qt, the motion xt can be mathematically recovered.The whole detection has been divided intom segments, and in each segment, the continuous-time variables are sampled into discrete series symbolled by index i. Equation (5) was then changed into
(6)Iij−DCIj2+Qij−DCQj2=A2j.The whole detection sampling data array, containingm times n points and in one dimension, now is rearranged into 2-dimensional mtimesn matrix for further process. In the first dimension, i represents the sample point index in each segment, ranging from 1 to n. j represents the segment index, ranging from 1 to m.In traditional pulse radar signal processing, the signal data matrix can be processed from the fast-time dimension and slow-time dimension, in which the range and speed are obtained, respectively. Inspired by this concept, we can analogically name the first dimension in the Doppler radar matrix as an intrasegment dimension, because the vector interval is the reciprocal of the sampling rate. The second dimension is called the intersegment dimension, and the interval is determined by segment length. The calculation based on the matrix is more effective and clearer.In the following subsections, we will discuss how to arrange the matrix with the size ofmtimesn. Then, in the intersegment domain, the optimization algorithm is developed to get a better result. In the intrasegment domain, the parameters produced by each segment in the intersegment domain are combined to access the fitness and adaptively filter out the interference.


### 2.2. The Demodulation and Optimization in Intrasegment Domain

In the segmentj, the sampled I/Q signals can be expressed as a series I1j,Q1j,I2j,Q2j,⋯,Inj,Qnj. The process of optimization can base on circle function. In this case, DC offset and radius are constant in each segment j. DCIj,DCQj,Aj are adjusted to form a circle and minimize deviation between the sampling series to the boundary of circle. According to (6), we define a loss function under a practical condition with noise
(7)FDCIj,DCQj,Aj=∑i=1nIij−DCIj2+Qij−DCQj2−Aj2.The optimization algorithm minimizes the loss function as small as possible through an iterative process. When the loss functionFDCIj,DCQj,Aj reaches its minimum, we take it as the optimal result. The parameters DCIj,DCQj,Aj will play an important role in evaluation to the degree of interference, which will be discussed in the next subsection.After that, the extended DACM algorithm can retrieve the phase without phase wrapping problem, i.e.(8)Φt=∫0tωtdt=∫0tItQ̇t−İtQtIt2+Qt2dt.Motion recovered by DACM will never encounter signal clipping caused by arctangent codomain. As a result, the instantaneous motion in each time slice can be linearly reconstructed.


### 2.3. DC Offset in the Demodulation

The recovered motionxt in each segment is just an ideal result. Concretely, the motion xt is well reconstructed only when there exists one moving target with no strong interference. Next, we will analyze the influence of DC offset to demodulation in case of noises and interference.The noise is reflected in both amplitude and phase. Correspondingly, in the following simulation, we add white noise toAIt/AQt and φ0t in Equations (1) and (2). The demodulation result with noise xnt is expressed as
(9)xnt=λ4πarctanQt−DCQ/A+noise1It−DCI/A+noise2−noise3,where AIt=A+noise1, AQt=A+noise2, and φ0t=noise3. Here, θ0 is ignored because we only care about the change of xnt, not the initial position.The signal-to-noise ratio (SNR) in baseband is defined asSNR=A2/noise_power, where noise power is the square of noise variance. Phase noise has been discussed in reference [3], where the author concludes that although phase noise does affect the demodulation so much, it can still be neglected in most modern receivers.To verify the influence of different SNR, we conducted a simulation. The heartbeat is assumed to 1.3 Hz, and four SNR are set as follows: 13 dB, 10 dB, 7 dB, and 5 dB. The DC offsets of each channel are 0. In Figure2, four constellations can be observed. As the SNR degrading, the arc cannot be identified. But the demodulation still works until the SNR is lower than 7 dB, as shown in Figure 3 in time domain and Figure 4 in frequency domain. In practical detection for heartbeat signal signals, though the output power is limited, the SNR can be guaranteed to be large enough by designing proper antennas with high gain and constraining the measuring distance not to be too far.Figure 2
The constellations for simulated signal with different SNR: (a)SNR=13dB, (b) SNR=10dB, (c) SNR=7dB, and (d) SNR=5dB.
(a)(b)(c)(d)Figure 3
The demodulation result in time domain for simulated signal with different SNR: (a)SNR=13dB, (b) SNR=10dB, (c) SNR=7dB, and (d) SNR=5dB.Figure 4
The demodulation result in frequency domain for simulated signal with different SNR: (a)SNR=13dB, (b) SNR=10dB, (c) SNR=7dB, and (d) SNR=5dB.In most cases, the phase is the ratio of arc to the radius. If the arc keeps constant, the radius is the inverse ration of movement. Following, the simulation is carried out to explore the impact of DC offset.In the ideal case, if the DC offset is exactly located at the center of one circle, the demodulation of the Doppler signal can be effortlessly retrieved. However, in real cases, the center, which is decided by mathematical algorithms introduced in previous subsection, has the inevitable error. Small and trivial errors likely lead to significant demodulation distortion.The second simulation is conducted to analyze this phenomenon. The frequency of heartbeat is set as 1.3 Hz like before, and the amplitude of heartbeat is 1 mm. The amplitude of each channel from the received signal is 1, and SNR is 13 dB. The original DC offset (center of the circle) is (0, 0) in ideal, which is named to DC offset 1. Then, we deliberately choose another three points deviated from the center (0, 0) as DC offsets in demodulation. DC offset 2 located at (0, 0.5) is closer toI/Q signal points; DC offset 3 is located at (0, 2), which is in the opposite direction of the real DC offset 1 (0, 0) to sampling points along the Q-channel-axis. DC offset 4 is (2, 0), in the I-channel-axis. All four DC offsets are marked in Figure 5, the constellation of sampling points.Figure 5
The constellation of simulated signal and four points for demodulation as DC offset: DC offset 1 (0, 0); DC offset 2 (0, 0.5); DC offset 3 (0, 2); and DC offset 4 (2, 0).In Figure6(a), demodulation results in the time domain of four DC offset are shown. Recovered motion based on DC offset 1 (0, 0) is within expectation, and the amplitude of heartbeat is 1 mm. Because the DC offset 2 (0, 0.5) is closer to the sampling point, the demodulated amplitude is larger, near 2 mm. However, the tendency of whole motion is not stable because the noise affects the result more heavily as DC offset gets closer to sampling points. DC offset 3 (0, 2) is out of the circle formed by sampling data, but the heartbeat signal can still be observed from the demodulation result. The phase of the result is flipped 180 degrees. DC offset 4 is chosen along the I-channel-axis, and the corresponding result is much deteriorated.Figure 6
The demodulation result when four points are chosen for DC offset. (a) The result in time domain. (b) The result in frequency domain.
(a)(b)In the frequency domain as shown in Figure6(b), the heartbeat is visible under all the different DC offsets. The low-frequency noise is very obvious under DC offset 2, as we mentioned in time domain because of low SNR. Heartbeat signal is very weak under DC offset 4, and nonnegligible harmonic is located in 2.6 Hz.In summary, the phase demodulation method is pretty robust for the DC offset with acceptable error. Nevertheless, the recover motion will be distorted when the noise is too strong or DC offset is chosen too far from the real center of sampling points. In other words, the validity of DC offset can be determined by SNR and signal intensity.


### 2.4. Adaptive Anti-Interference Algorithm

As discussed above, now we find two parameters of prime importance: SNR and the signal intensity. In the practical measurement, we obtain onlyI/Q baseband signals. After the optimizations in Equation (6), DC offset DCIj,DCQj and the amplitude Aj can be reorganized to present the SNR and the signal intensity.The noise of sampling points is expressed as a mean square error (MSE). Here the “mean” of sampling points is directly obtained by the optimized amplitudeAj, not the average value of all distances between sampling data and DC offset.
(10)MSE=1n∑i=1nIij−DCIj2+Qij−DCQj2−Aj2.This MES can also be seen as the indicator of circle fitness. SNR is the ratio of signal to noise, which can be expressed asAj2/MSE2.The signal intensity can be present by the amplitude in the baseband. As shown in Equation (6), the amplitude Aj in every segment is acquired by optimizing. In normal cases, adjacent Aj and Aj−1 should not drastically change as the signal power is relatively stable. However, if interference and strong body movements occur, as discussed above, the Aj will be much bigger or smaller than the previous Aj−1. As a result, we can construct a threshold between segments to determine whether there is strong interference.Based on this idea, an adaptive anti-interference algorithm is come up with. This algorithm automatically judges whether there is too strong interference by identifying low SNR within the segment and dramatic change ofAj between segments. The SNR threshold is set to 7 dB as the first condition to decide whether this is a “bad segment.” Another condition for “bad segment” is Aj>3Aj−1orAj>3AAj−1. If any of the two conditions is satisfied, the segment is determined as “bad segment” and discarded.Figure7 shows the flowchart of the adaptive anti-interference algorithm. When the detection starts, the radar samples the I/Q signal by quadrature downconversion. Then, the sampled data are divided into segments, and the data matrix is formed. In the intrasegment domain, every segment is optimized to obtain the best DC offset for demodulation. The process of optimization also gives us two parameters: radius directly and SNR indirectly after calculation. SNR in intrasegment domain is employed to judge whether each segment is qualified for demodulation or seriously interfered. And we also design a threshold based on the radius of adjacent segments in intersegment domain to decide whether this segment can be used for further process. To maintain the length of detection time window, we do not directly delete the “bad segments” with interference. Instead, we replace the “bad segment” with the qualified segment closest to it. At last, the segments that satisfied our standards in both intrasegment and intersegment domains are combined together. Because some “bad segments” are discarded, we also eliminate the discontinuous gap between the newly formed adjacent segments. Consequently, the splicing motion removes the interference and also avoids introducing new noise.Figure 7
The flowchart of adaptive anti-interference algorithm.


## 2.1. Problem Description

A classical Doppler radar sensor is shown in Figure1. The basic principle of DRS is the reflection of continuous wave modulated by a moving target, such as the human chest. As for a target at a distance d0 with time-varying motion given by xt, the received signal is quadrature demodulated, and I/Q channels of the baseband signals are
(1)It=AItcosθ0+4πxtλ+φ0t+DCIt,(2)Qt=AQtsinθ0+4πxtλ+φ0t+DCQt,where DCIt,DCQt denote the direct current offsets. AIt,AQt denote the alternate current amplitudes, both of the output I/Q signals, respectively. φ0t denotes the residual phase noise of the receiver. θ0 represents the phase shift accumulated due to the initial distance and transceiver system. From Equations (1) and (2), the motion xt can be mathematically expressed as
(3)xt=λ4πarctanQt−DCQt/AQtIt−DCIt/AIt−θ0−φ0t.Figure 1
A classical radar system for biosignal detection including antennas, RF circuits to transmit and receive signals, and a signal processing unit. Interference is inventible during the detection.From Equation (1), we can conclude that the principal causes of nonlinearity in demodulation are the unknown DC offsets and the imbalance between AIt and AQt. The imbalance is mainly due to hardware architecture, namely the receiver, which can be mostly overcome by advanced digital downconversion [9]. Thus, in this paper, the imbalance is solved, and the amplitude of each channel is the same. DCIt and DCQt are originally produced by the reflection of background. It is time-varying because the offset could be disturbed by multiple factors, such as limb waving and temperature drift of circuits. It is worth noting that the change of DC offset is usually slow. Given the facts above, the DC offset during the small piece of time, such as 1 or 2 seconds, can be treated as constant. In the following experiment part, 80 sampling points are chosen as the piece length, which is 0.9 second because the sampling rate is 90 Hz.From another perspective to eliminate trigonometric functions, Equations (1) and (2) are rewritten as
(4)It−DCItAIt2+Qt−DCQtAQt2=1.TheI/Q signal is obviously forming ellipse, shown in Equation (2). Based on the facts and discussion above, the slow-varying DC offset is assumed as constant DCIjandDCQj, where the index j represents the jth segment of the whole demodulation. Meanwhile, in the jth short time segment, the imbalance of quadrature signals can be overcome by the digital downconversion receiver [9]. The amplitude then also has be treated as constant in the jth segment, which is AIt=AQt=Aj. Consequently, the ellipse in Equation (4) is simplified into a circle:
(5)It−DCIj2+Qt−DCQj2=A2j.It is seen that after eliminating the imbalance betweenIt and Qt by digital-IF architecture, the ellipse turns into a circle, where the balanced amplitude is the radius Aj, and the DCIj,DCQj is the center. In this ideal condition, as long as the circle center can be obtained from It and Qt, the motion xt can be mathematically recovered.The whole detection has been divided intom segments, and in each segment, the continuous-time variables are sampled into discrete series symbolled by index i. Equation (5) was then changed into
(6)Iij−DCIj2+Qij−DCQj2=A2j.The whole detection sampling data array, containingm times n points and in one dimension, now is rearranged into 2-dimensional mtimesn matrix for further process. In the first dimension, i represents the sample point index in each segment, ranging from 1 to n. j represents the segment index, ranging from 1 to m.In traditional pulse radar signal processing, the signal data matrix can be processed from the fast-time dimension and slow-time dimension, in which the range and speed are obtained, respectively. Inspired by this concept, we can analogically name the first dimension in the Doppler radar matrix as an intrasegment dimension, because the vector interval is the reciprocal of the sampling rate. The second dimension is called the intersegment dimension, and the interval is determined by segment length. The calculation based on the matrix is more effective and clearer.In the following subsections, we will discuss how to arrange the matrix with the size ofmtimesn. Then, in the intersegment domain, the optimization algorithm is developed to get a better result. In the intrasegment domain, the parameters produced by each segment in the intersegment domain are combined to access the fitness and adaptively filter out the interference.


## 2.2. The Demodulation and Optimization in Intrasegment Domain

In the segmentj, the sampled I/Q signals can be expressed as a series I1j,Q1j,I2j,Q2j,⋯,Inj,Qnj. The process of optimization can base on circle function. In this case, DC offset and radius are constant in each segment j. DCIj,DCQj,Aj are adjusted to form a circle and minimize deviation between the sampling series to the boundary of circle. According to (6), we define a loss function under a practical condition with noise
(7)FDCIj,DCQj,Aj=∑i=1nIij−DCIj2+Qij−DCQj2−Aj2.The optimization algorithm minimizes the loss function as small as possible through an iterative process. When the loss functionFDCIj,DCQj,Aj reaches its minimum, we take it as the optimal result. The parameters DCIj,DCQj,Aj will play an important role in evaluation to the degree of interference, which will be discussed in the next subsection.After that, the extended DACM algorithm can retrieve the phase without phase wrapping problem, i.e.(8)Φt=∫0tωtdt=∫0tItQ̇t−İtQtIt2+Qt2dt.Motion recovered by DACM will never encounter signal clipping caused by arctangent codomain. As a result, the instantaneous motion in each time slice can be linearly reconstructed.


## 2.3. DC Offset in the Demodulation

The recovered motionxt in each segment is just an ideal result. Concretely, the motion xt is well reconstructed only when there exists one moving target with no strong interference. Next, we will analyze the influence of DC offset to demodulation in case of noises and interference.The noise is reflected in both amplitude and phase. Correspondingly, in the following simulation, we add white noise toAIt/AQt and φ0t in Equations (1) and (2). The demodulation result with noise xnt is expressed as
(9)xnt=λ4πarctanQt−DCQ/A+noise1It−DCI/A+noise2−noise3,where AIt=A+noise1, AQt=A+noise2, and φ0t=noise3. Here, θ0 is ignored because we only care about the change of xnt, not the initial position.The signal-to-noise ratio (SNR) in baseband is defined asSNR=A2/noise_power, where noise power is the square of noise variance. Phase noise has been discussed in reference [3], where the author concludes that although phase noise does affect the demodulation so much, it can still be neglected in most modern receivers.To verify the influence of different SNR, we conducted a simulation. The heartbeat is assumed to 1.3 Hz, and four SNR are set as follows: 13 dB, 10 dB, 7 dB, and 5 dB. The DC offsets of each channel are 0. In Figure2, four constellations can be observed. As the SNR degrading, the arc cannot be identified. But the demodulation still works until the SNR is lower than 7 dB, as shown in Figure 3 in time domain and Figure 4 in frequency domain. In practical detection for heartbeat signal signals, though the output power is limited, the SNR can be guaranteed to be large enough by designing proper antennas with high gain and constraining the measuring distance not to be too far.Figure 2
The constellations for simulated signal with different SNR: (a)SNR=13dB, (b) SNR=10dB, (c) SNR=7dB, and (d) SNR=5dB.
(a)(b)(c)(d)Figure 3
The demodulation result in time domain for simulated signal with different SNR: (a)SNR=13dB, (b) SNR=10dB, (c) SNR=7dB, and (d) SNR=5dB.Figure 4
The demodulation result in frequency domain for simulated signal with different SNR: (a)SNR=13dB, (b) SNR=10dB, (c) SNR=7dB, and (d) SNR=5dB.In most cases, the phase is the ratio of arc to the radius. If the arc keeps constant, the radius is the inverse ration of movement. Following, the simulation is carried out to explore the impact of DC offset.In the ideal case, if the DC offset is exactly located at the center of one circle, the demodulation of the Doppler signal can be effortlessly retrieved. However, in real cases, the center, which is decided by mathematical algorithms introduced in previous subsection, has the inevitable error. Small and trivial errors likely lead to significant demodulation distortion.The second simulation is conducted to analyze this phenomenon. The frequency of heartbeat is set as 1.3 Hz like before, and the amplitude of heartbeat is 1 mm. The amplitude of each channel from the received signal is 1, and SNR is 13 dB. The original DC offset (center of the circle) is (0, 0) in ideal, which is named to DC offset 1. Then, we deliberately choose another three points deviated from the center (0, 0) as DC offsets in demodulation. DC offset 2 located at (0, 0.5) is closer toI/Q signal points; DC offset 3 is located at (0, 2), which is in the opposite direction of the real DC offset 1 (0, 0) to sampling points along the Q-channel-axis. DC offset 4 is (2, 0), in the I-channel-axis. All four DC offsets are marked in Figure 5, the constellation of sampling points.Figure 5
The constellation of simulated signal and four points for demodulation as DC offset: DC offset 1 (0, 0); DC offset 2 (0, 0.5); DC offset 3 (0, 2); and DC offset 4 (2, 0).In Figure6(a), demodulation results in the time domain of four DC offset are shown. Recovered motion based on DC offset 1 (0, 0) is within expectation, and the amplitude of heartbeat is 1 mm. Because the DC offset 2 (0, 0.5) is closer to the sampling point, the demodulated amplitude is larger, near 2 mm. However, the tendency of whole motion is not stable because the noise affects the result more heavily as DC offset gets closer to sampling points. DC offset 3 (0, 2) is out of the circle formed by sampling data, but the heartbeat signal can still be observed from the demodulation result. The phase of the result is flipped 180 degrees. DC offset 4 is chosen along the I-channel-axis, and the corresponding result is much deteriorated.Figure 6
The demodulation result when four points are chosen for DC offset. (a) The result in time domain. (b) The result in frequency domain.
(a)(b)In the frequency domain as shown in Figure6(b), the heartbeat is visible under all the different DC offsets. The low-frequency noise is very obvious under DC offset 2, as we mentioned in time domain because of low SNR. Heartbeat signal is very weak under DC offset 4, and nonnegligible harmonic is located in 2.6 Hz.In summary, the phase demodulation method is pretty robust for the DC offset with acceptable error. Nevertheless, the recover motion will be distorted when the noise is too strong or DC offset is chosen too far from the real center of sampling points. In other words, the validity of DC offset can be determined by SNR and signal intensity.


## 2.4. Adaptive Anti-Interference Algorithm

As discussed above, now we find two parameters of prime importance: SNR and the signal intensity. In the practical measurement, we obtain onlyI/Q baseband signals. After the optimizations in Equation (6), DC offset DCIj,DCQj and the amplitude Aj can be reorganized to present the SNR and the signal intensity.The noise of sampling points is expressed as a mean square error (MSE). Here the “mean” of sampling points is directly obtained by the optimized amplitudeAj, not the average value of all distances between sampling data and DC offset.
(10)MSE=1n∑i=1nIij−DCIj2+Qij−DCQj2−Aj2.This MES can also be seen as the indicator of circle fitness. SNR is the ratio of signal to noise, which can be expressed asAj2/MSE2.The signal intensity can be present by the amplitude in the baseband. As shown in Equation (6), the amplitude Aj in every segment is acquired by optimizing. In normal cases, adjacent Aj and Aj−1 should not drastically change as the signal power is relatively stable. However, if interference and strong body movements occur, as discussed above, the Aj will be much bigger or smaller than the previous Aj−1. As a result, we can construct a threshold between segments to determine whether there is strong interference.Based on this idea, an adaptive anti-interference algorithm is come up with. This algorithm automatically judges whether there is too strong interference by identifying low SNR within the segment and dramatic change ofAj between segments. The SNR threshold is set to 7 dB as the first condition to decide whether this is a “bad segment.” Another condition for “bad segment” is Aj>3Aj−1orAj>3AAj−1. If any of the two conditions is satisfied, the segment is determined as “bad segment” and discarded.Figure7 shows the flowchart of the adaptive anti-interference algorithm. When the detection starts, the radar samples the I/Q signal by quadrature downconversion. Then, the sampled data are divided into segments, and the data matrix is formed. In the intrasegment domain, every segment is optimized to obtain the best DC offset for demodulation. The process of optimization also gives us two parameters: radius directly and SNR indirectly after calculation. SNR in intrasegment domain is employed to judge whether each segment is qualified for demodulation or seriously interfered. And we also design a threshold based on the radius of adjacent segments in intersegment domain to decide whether this segment can be used for further process. To maintain the length of detection time window, we do not directly delete the “bad segments” with interference. Instead, we replace the “bad segment” with the qualified segment closest to it. At last, the segments that satisfied our standards in both intrasegment and intersegment domains are combined together. Because some “bad segments” are discarded, we also eliminate the discontinuous gap between the newly formed adjacent segments. Consequently, the splicing motion removes the interference and also avoids introducing new noise.Figure 7
The flowchart of adaptive anti-interference algorithm.


## 3. Results and Discussion

### 3.1. Hardware and Experiment Setup

Several experiments of different cases were conducted in order to validate the proposed approach. A 24 GHz miniaturized radar is employed, which is initially designed as digital-IF architecture to detect biosignal under body movement [19]. The system mainly bases on the monolithic millimeter-wave integrated circuit BGT24MTR11 produced by Infineon. The working principle of the circuit is as follows: First, the 24 GHz RF signal generated by the local oscillator (LO) is mixed with the low-IF signal generated by the waveform generator, and the signal is transmitted through the antenna; then, the receiving antenna receives the RF signal containing the motion information of the target to be measured. The signal is downmixed by the same LO to obtain a low-IF signal, and two orthogonal signals are generated during the quadrature downconversion process; in the next step, the low-IF analog signal is sampled by a 12-bit analog-digital conversion chip to obtain a quadrature digital signal; finally, the digital signal passes through the CPLD and the microprogrammed control unit (MCU) to reduce the data transmission rate to the computer for further processing; here, the MCU is also configured to control the main integrated circuit chips. The entire system is provided by a single crystal oscillator to provide the reference signal source, which ensuring the synchronization of the system and the coherence of the receiving and sending signals. The whole size of the printed circuit board (PCB) with four layers is about 14cm×5cm, as shown in Figure 8(a). The transmitting power is set to 6 dBm, and the gain of the series-fed antenna is around 12 dBi. The sampling rate of analog-to-digital converter is 90 Hz.Figure 8
(a) The enlarged radar circuits viewed from front side and back side; (b) the setup of the experiment, including miniaturized radar, voltage source, laptop, and the subject under detection.
(a)(b)The setup of experiments is shown in Figure8(b). The 24 GHz miniaturized radar is placed vertically so that the antenna can transmit microwave signal to the subject. The voltage source is used to drive the circuits. The laptop receives the baseband I/Q signals through the USB port, and then, the data are processed in computer software.In the biosignal measurement, the distance from the subject to antenna is about 50 cm. A 32-year-old male with 180 cm height is under detection. As discussed in Section1, the subject always holds his breath to avoid respiration signal, and we only focus on heartbeat signal and interference.


### 3.2. Measurement on Different DC Offset

Before the measurement for more generalized cases with nonnegligible noise and interference, our first experiment is conducted when the subject tries his best to hold still. As shown in Figure9(a), part of a circle formed by the I/Q series is clearly observed in the constellation. The fixed DC offset method and segmentation method with multiple DC offsets are, respectively, used to demodulate the motion from the phase. The recover motions in time domain and frequency domain are shown in Figures 9(b) and 9(c). Because, in this experiment, the noise and interference are very weak, no segment is judged as “bad segment” to be discarded, and there is no significant difference between the two methods.Figure 9
(a)I/Q constellation of biosignal when the subject tries to keep still. (b) Demodulation results in time domain by two methods: with segmentation or with fixed DC offset. (c) Demodulation results in frequency domain by two methods: with segmentation or with fixed DC offset.
(a)(b)(c)Based on the same data, we also analyze the demodulation result with different DC offsets. In constellation shown in Figure10(a), three DC offsets are chosen for motion recover: point 1, point 2, and point 3. Point 2 is close to the normal DC offset acquired by optimization. Point 1 is the DC offset very near to the I/Q signal arc, and point 3 is far from signal sampling points adversely. The modulation results in time domain are shown in Figures 10(b)–10(d). All the results show the heartbeat signal obviously and are very similar in tendency. However, the amplitude of each recovered motion remains highly divergent. This corresponds well with the theoretical analysis. So, it is pretty robust for DC offset optimization to recover the frequency or time domain shape of the heartbeat. What really matters is the case with great interference and strong noise, and in the next subsection, we will solve this problem by the proposed adaptive anti-interference algorithm to filter the “bad segment” and reorganize the sampling series to recover heartbeat signal.Figure 10
(a)I/Q constellation and the 3 points chosen as DC offset for demodulation. (b) Demodulation result when the DC offset is at point 1. (c) Demodulation result when the DC offset is at point 2. (d) Demodulation result when the DC offset is at point 3.
(a)(b)(c)(d)


### 3.3. The Experiment of Heartbeat Detection with Interference

In this subsection, we conduct an experiment under normal conditions, in which there may be interference and strong noise. The subject tries to keep normally sitting, but uncontrolled random body movement (RBM) is inevitable.The constellation shown in Figure11 is much noisier than that in Section 3.2. Part of circles is still pretty evident, but not limited to only one circle center. Firstly, we still use the fixed DC offset. The demodulation result is shown in Figure 12. In time domain, the heartbeat signal can be seen, but the body movement is relatively strong, which is about 3.5 cm. In the frequency domain, the heartbeat signal is weak but still exists above noise floor at 1.15 Hz.Figure 11
The constellation ofI/Q signal when the subject under normal condition.Figure 12
The demodulation result when using the fixed DC offset method. (a) In time domain. (b) In frequency domain.
(a)(b)In Figure13, the multiple segments with different DC offsets are used to recover the whole movement. It is obvious that the signal deformed seriously from 17 to 18 seconds. The cause is that the segment at that time encounters strong body movements, and the segment with fewer sampling points is interfered easily. In frequency domain, the heartbeat is totally concealed by the strong interference.Figure 13
The demodulation result when using the multiple segments with different DC offset method. (a) In time domain. (b) In frequency domain.
(a)(b)In Table1, the corresponding parameters DCIj,DCQj,Aj and SNR j for each segment j are listed. As stated above, each segment contains 80 sampling point, that is about 0.9 second with 90 Hz sampling rate. It is obvious to notice that segment 15 and segment 21 are abnormal no matter from the perspective of Aj or SNRj. The segment 15 and 21 corresponds well with the sudden change occurs in Figure 13(a).Table 1
Main parameters of each segment in the experiment of heartbeat detection with interference.
Segment indexjDCIj,DCQj,AjSNRj1608526-4747568215342613464-4746133370273610951-4748005985334613463-4744213474275611635-4731685223306609639-4736567124347613312-4730793486288612722-4741694120319613108-47456536272910613371-47473134082811614357-47435733942312613495-47440633031813612278-47639426622114612952-47474220702015368166-4788762467125916613134-47500021891617614693-47351325392318613542-47439121912819613582-47434621102020613061-47498020562321615021-475248190322613700-473420190418After applying our adaptive anti-interference algorithm, we can filter the “bad segment” which is with low SNR or deviated from the adjacent segment seriously in amplitude. The result is shown in Figure14. In time domain, the heartbeat is obvious at 1.15 Hz, and the body movement in the whole detection is decreased to about 1.5 cm from 3.5 cm obtained by the demodulation algorithm with fixed DC offset. In frequency domain, the heartbeat signal has much better SNR in Figure 14(a) compared to the result in Figure 12(a). So, a more robust measurement of heartbeat with interference can be implemented.Figure 14
The demodulation result when using adaptive anti-interference algorithm. (a) In time domain. (b) In frequency domain.
(a)(b)From all the experiments, we can conclude that by using the proposed adaptive anti-interference algorithm, we can filter out the strong interference in normal detection for heartbeat signals. Better demodulation results can be obtained compared to the traditional method.This method is effective for sudden and short-term interference as demonstrated above. However, if the interference lasts for a long time such as 30 seconds, this method is likely to fail. Due to the iterative process of the DC offset as shown in Equation (7), the algorithm takes a little longer. This also needs to be overcome to realize real-time measurement.


## 3.1. Hardware and Experiment Setup

Several experiments of different cases were conducted in order to validate the proposed approach. A 24 GHz miniaturized radar is employed, which is initially designed as digital-IF architecture to detect biosignal under body movement [19]. The system mainly bases on the monolithic millimeter-wave integrated circuit BGT24MTR11 produced by Infineon. The working principle of the circuit is as follows: First, the 24 GHz RF signal generated by the local oscillator (LO) is mixed with the low-IF signal generated by the waveform generator, and the signal is transmitted through the antenna; then, the receiving antenna receives the RF signal containing the motion information of the target to be measured. The signal is downmixed by the same LO to obtain a low-IF signal, and two orthogonal signals are generated during the quadrature downconversion process; in the next step, the low-IF analog signal is sampled by a 12-bit analog-digital conversion chip to obtain a quadrature digital signal; finally, the digital signal passes through the CPLD and the microprogrammed control unit (MCU) to reduce the data transmission rate to the computer for further processing; here, the MCU is also configured to control the main integrated circuit chips. The entire system is provided by a single crystal oscillator to provide the reference signal source, which ensuring the synchronization of the system and the coherence of the receiving and sending signals. The whole size of the printed circuit board (PCB) with four layers is about 14cm×5cm, as shown in Figure 8(a). The transmitting power is set to 6 dBm, and the gain of the series-fed antenna is around 12 dBi. The sampling rate of analog-to-digital converter is 90 Hz.Figure 8
(a) The enlarged radar circuits viewed from front side and back side; (b) the setup of the experiment, including miniaturized radar, voltage source, laptop, and the subject under detection.
(a)(b)The setup of experiments is shown in Figure8(b). The 24 GHz miniaturized radar is placed vertically so that the antenna can transmit microwave signal to the subject. The voltage source is used to drive the circuits. The laptop receives the baseband I/Q signals through the USB port, and then, the data are processed in computer software.In the biosignal measurement, the distance from the subject to antenna is about 50 cm. A 32-year-old male with 180 cm height is under detection. As discussed in Section1, the subject always holds his breath to avoid respiration signal, and we only focus on heartbeat signal and interference.


## 3.2. Measurement on Different DC Offset

Before the measurement for more generalized cases with nonnegligible noise and interference, our first experiment is conducted when the subject tries his best to hold still. As shown in Figure9(a), part of a circle formed by the I/Q series is clearly observed in the constellation. The fixed DC offset method and segmentation method with multiple DC offsets are, respectively, used to demodulate the motion from the phase. The recover motions in time domain and frequency domain are shown in Figures 9(b) and 9(c). Because, in this experiment, the noise and interference are very weak, no segment is judged as “bad segment” to be discarded, and there is no significant difference between the two methods.Figure 9
(a)I/Q constellation of biosignal when the subject tries to keep still. (b) Demodulation results in time domain by two methods: with segmentation or with fixed DC offset. (c) Demodulation results in frequency domain by two methods: with segmentation or with fixed DC offset.
(a)(b)(c)Based on the same data, we also analyze the demodulation result with different DC offsets. In constellation shown in Figure10(a), three DC offsets are chosen for motion recover: point 1, point 2, and point 3. Point 2 is close to the normal DC offset acquired by optimization. Point 1 is the DC offset very near to the I/Q signal arc, and point 3 is far from signal sampling points adversely. The modulation results in time domain are shown in Figures 10(b)–10(d). All the results show the heartbeat signal obviously and are very similar in tendency. However, the amplitude of each recovered motion remains highly divergent. This corresponds well with the theoretical analysis. So, it is pretty robust for DC offset optimization to recover the frequency or time domain shape of the heartbeat. What really matters is the case with great interference and strong noise, and in the next subsection, we will solve this problem by the proposed adaptive anti-interference algorithm to filter the “bad segment” and reorganize the sampling series to recover heartbeat signal.Figure 10
(a)I/Q constellation and the 3 points chosen as DC offset for demodulation. (b) Demodulation result when the DC offset is at point 1. (c) Demodulation result when the DC offset is at point 2. (d) Demodulation result when the DC offset is at point 3.
(a)(b)(c)(d)


## 3.3. The Experiment of Heartbeat Detection with Interference

In this subsection, we conduct an experiment under normal conditions, in which there may be interference and strong noise. The subject tries to keep normally sitting, but uncontrolled random body movement (RBM) is inevitable.The constellation shown in Figure11 is much noisier than that in Section 3.2. Part of circles is still pretty evident, but not limited to only one circle center. Firstly, we still use the fixed DC offset. The demodulation result is shown in Figure 12. In time domain, the heartbeat signal can be seen, but the body movement is relatively strong, which is about 3.5 cm. In the frequency domain, the heartbeat signal is weak but still exists above noise floor at 1.15 Hz.Figure 11
The constellation ofI/Q signal when the subject under normal condition.Figure 12
The demodulation result when using the fixed DC offset method. (a) In time domain. (b) In frequency domain.
(a)(b)In Figure13, the multiple segments with different DC offsets are used to recover the whole movement. It is obvious that the signal deformed seriously from 17 to 18 seconds. The cause is that the segment at that time encounters strong body movements, and the segment with fewer sampling points is interfered easily. In frequency domain, the heartbeat is totally concealed by the strong interference.Figure 13
The demodulation result when using the multiple segments with different DC offset method. (a) In time domain. (b) In frequency domain.
(a)(b)In Table1, the corresponding parameters DCIj,DCQj,Aj and SNR j for each segment j are listed. As stated above, each segment contains 80 sampling point, that is about 0.9 second with 90 Hz sampling rate. It is obvious to notice that segment 15 and segment 21 are abnormal no matter from the perspective of Aj or SNRj. The segment 15 and 21 corresponds well with the sudden change occurs in Figure 13(a).Table 1
Main parameters of each segment in the experiment of heartbeat detection with interference.
Segment indexjDCIj,DCQj,AjSNRj1608526-4747568215342613464-4746133370273610951-4748005985334613463-4744213474275611635-4731685223306609639-4736567124347613312-4730793486288612722-4741694120319613108-47456536272910613371-47473134082811614357-47435733942312613495-47440633031813612278-47639426622114612952-47474220702015368166-4788762467125916613134-47500021891617614693-47351325392318613542-47439121912819613582-47434621102020613061-47498020562321615021-475248190322613700-473420190418After applying our adaptive anti-interference algorithm, we can filter the “bad segment” which is with low SNR or deviated from the adjacent segment seriously in amplitude. The result is shown in Figure14. In time domain, the heartbeat is obvious at 1.15 Hz, and the body movement in the whole detection is decreased to about 1.5 cm from 3.5 cm obtained by the demodulation algorithm with fixed DC offset. In frequency domain, the heartbeat signal has much better SNR in Figure 14(a) compared to the result in Figure 12(a). So, a more robust measurement of heartbeat with interference can be implemented.Figure 14
The demodulation result when using adaptive anti-interference algorithm. (a) In time domain. (b) In frequency domain.
(a)(b)From all the experiments, we can conclude that by using the proposed adaptive anti-interference algorithm, we can filter out the strong interference in normal detection for heartbeat signals. Better demodulation results can be obtained compared to the traditional method.This method is effective for sudden and short-term interference as demonstrated above. However, if the interference lasts for a long time such as 30 seconds, this method is likely to fail. Due to the iterative process of the DC offset as shown in Equation (7), the algorithm takes a little longer. This also needs to be overcome to realize real-time measurement.


## 4. Conclusions

In conclusion, we come up with a novel anti-interference algorithm in the detection of biosignal, applied to scenarios with motion with strong interference or noise, just like the case of random body movement. Specifically, the signal-to-noise ratio threshold in intrasegment domain and signal strength comparison of adjacent segments in the intersegment domain are used as a criterion for determining whether there is strong interference. The unqualified segments will be automatically replaced by the qualified ones, and all the segments are reorganized together at last. This algorithm can improve the performance of heartbeat detection in both the time domain and frequency domain. After theoretical analyses, simulations and experiments are conducted to validate the proposed method. This novel method makes the application of the Doppler radar in the field of biosignal detection more universal and promising in daily activities.



---

*Source: 1620938-2021-08-19.xml*