1. Introduction
Bioimpedance spectroscopy consists of measuring the complex impedance of biological tissues over a large frequency domain [
1]. This method is convenient in particular for studying body composition [
2], blood characterization [
3] and even cancer detection [
4]. This wide range of applications makes it suitable as a part of health monitoring systems. Today’s self-monitoring devices tend to be portable, wearable or even implantable. Next, generation bioimpedance sensing systems thus require to be implemented with power and resource savings in mind.
Impedance measurement methods are divided into two main categories. Some are based on “single-tone” signals while the others use “multi-tone” signals. The firsts use a pure frequency sine wave to make the measurement [
5,
6,
7,
8]. They benefit from a very simple analysis that can consist of synchronous demodulation or sampling. However, the operation must be repeated for each frequency over the domain of interest. Due to this necessary frequency sweep, the total measurement may take a long time. On the other hand, generating a multi-frequency signal allows the analysis to cover the whole frequency range simultaneously [
9,
10,
11]. This is at the cost of a more complex analysis algorithm (discrete cosine transform—
dct, typically). Unfortunately, both methods result in excess power consumption: a long time of measurement for single-tone frequency sweep, hardware and computational resources for multi-tone. This makes both approaches hardly suitable for embedded applications. In 2008, Ronk and Toomessoo proposed an implementation of bioimpedance measurement using multi-frequencies on a field-programmable gate array (
fpga) [
12]. Their method is similar to
dct, but use square-waves instead of sines. This avoids the need of multiplication in the processing.
Some intermediate methods of frequency analysis have been developed with resource savings in mind. They combine the speed of multitone measurement with a much simpler analysis algorithm than
dct or fast Fourier transform (
fft). For instance, Goertzel filters can be used to calculate frequency components [
13]. These methods are particularly useful for applications like the built-in self test of integrated circuits [
14].
Last year, we presented a similar approach with further simplifications thanks to the power-of-two frequency distribution [
15] at the International Conference on Sensing Technology (
icst 2018, Limerick, Ireland). The present paper proposes a slightly improved implementation of the concept resulting in a reduced (divided by two) clock frequency in most of the digital circuitry. As a consequence, the circuit itself avoids a few frequency dividers, all resulting in further power savings. Compared to the conference paper, the present article also adds a new frequency domain analysis of the concept, studies the noise impact on impedance values and gives an extended bibliography.
The rest of the paper is organized as follows. First, we consider some a priori facts about bioimpedance. Those allow us to simplify the resolution needs for a bioimpedance-specific sensor compared to a generic purpose impedance analyzer. Then, we compare classical approaches to impedance analysis for sparse logarithmic frequency distribution and we propose a new methodology. In the fourth section, we analyze the proposed method based on synchronous sampling demodulation and present the processing steps. The fifth section gives the proposal of a digital implementation of the algorithm using only adders and frequency dividers. In the sixth section, we study the impact of noise on impedance estimation. Finally, the last section opens some discussions about the limits of the proposed approach.
2. Conceptualization
Let’s put into evidence some general characteristics of bioimpedance. All biological tissues present similar frequency behaviors. Typically, the impedance is globally decreasing, with one or several relaxation domains [
16] as we can see in
Figure 1. Variations are smooth, with noticeably no resonance and only require sparse frequency resolution.
Typical bioimpedance can be modeled with resistors, capacitors and so-called
constant phase elements (
cpe) of impedance
Physiological parameters (fat content, body water, tissue characteristics) are related to objective markers such as: relaxation frequencies, amplitude, and phase of
cpe. Estimating such values is better achieved with logarithmically growing frequencies, as illustrated
Figure 2. Designing a bioimpedance-specific sensor, we can adopt a frequency distribution of the form
for the multitone excitation signal. This gives
frequencies with a maximum of
and a resolution of
points per decade.
3. Methodology
The basic idea behind the proposed method of impedance estimation is the use of coherent sampling together with a multitone excitation signal. Classical approaches either use coherent sampling of a single-tone (pure frequency sine) or Fourier analysis (sine values multiplications) of a multi-tone signal.
The first case is summarized in
Figure 3 where analysis is performed by down-sampling, then low-pass filtering the voltage signal. In the frequency domain, it consists of convoluting the acquired signal by a Dirac comb, then estimating the
dc (zero-frequency) content. The signal must be acquired for at least one period of the lowest frequency signal, i.e.,
. Because the operation must be repeated for each frequency, the total acquisition time reaches
.
The second case is summarized in
Figure 4 where analysis is performed by multiplying the multi-frequency voltage signal by pure sine values, then low-pass filtering. In the frequency domain, it consists of convoluting the acquired signal by a unique Dirac, then estimating the
dc content. In this case, the signal still must be acquired for at least the inverse of the lowest frequency, i.e.,
), but only one time.
Coherent sampling only requires one addition per period, and no multiplication. Thus, the total number of additions is . This number must be multiplied by two to get real and imaginary parts of the impedance.
As said before, bioimpedance spectroscopy can be performed using a somehow sparse number of frequency points. Therefore, dct reveals itself to be more appropriate than the fft algorithm. The processing requires as additions and multiplications as the number of samples, (with the adc at the Shannon rate, ), repeated for each of the frequencies of interest. Again, this number must be multiplied by two for real and imaginary parts, i.e., .
Mixing coherent sampling with multi-tone excitation results in short acquisition time while avoiding the need for multipliers (see
Table 1). This method should be implemented using the lowest power consumption. Unfortunately,
Figure 5 shows that aliasing occurs in this case at null frequency, making it harder to process. However, we show in the following section that it is still possible to discriminate valuable information from the measured
dc component.
4. Formal Analysis
The chosen principle of bioimpedance sensing is illustrated in
Figure 6. With the above considerations, generated current
can be expressed as the superposition of
sine waves. Current being real, hermitian symmetry applies to complex amplitudes (
) such that
For the sake of simplicity, we can let all
be equal to
(normalized amplitudes and null phase for all frequency components). If not so, we can get back to this case by resistor calibration:
Let us express the Fourier transform
in the frequency domain
with
denoting the Dirac distribution. We can deduce from the last equation the voltage expression
in the sinusoidal steady state:
with
and
.
The objective of the following processing is to extract the values
from the acquired
signal. The main idea is to use synchronous sampling demodulation. Indeed,
can be obtained by sampling
at the higher frequency
and by low-pass filtering (averaging) the resulting samples. However, sampling the signal at lower frequencies results in aliasing. Let us explicitly express the result of sampling
at
. In the frequency domain, sampling is equivalent to a convolution product by a Dirac comb:
We isolate from the last equation the
dc component
, i.e., the coefficient of
. For all
i between 0 and
j, there are two integers
that satisfy
Summing all contributions, we get
In the same manner, we can get the quadrature components by delaying the sample time by a quarter of period
:
Again, for
, we get the
dc component
If
, we can isolate the terms corresponding to
and
:
Thus,
From Equations (
9), (
11) and (
13), we can recursively calculate real and imaginary parts of
.
5. Numerical Simulation
In order to validate the formal analysis described in
Section 4, we have performed some numerical simulations using the open-source computational software Scilab. The code provided in Listing 1 tests the algorithm for eight frequencies and a sample rate of
. To make results more realistic, we use measurements from tuna muscle bioimpedance (
Figure 1) as the reference model. As expected, estimated values by decimation–accumulation and post-processing are in perfect agreement with the reference (
Table 2).
6. Implementation
The main advantage of the proposed method is the simplicity of its digital implementation. Like classical synchronous demodulation, it only requires an
adc sharing the same clock as the signal generation (
Figure 6). Samples are fed by the
adc at the rate of
. Then, they are re-sampled at each frequency
composing the multitone signal. The extraction of the
dc component can be easily done by averaging the samples over a period of the whole multitone signal. Then, sample decimation is performed between each stage by dividing the frequency by two (
Figure 7).
Practically, these functions are grouped in a block called
Demod for demodulator that can be easily instantiated from a generic description (
Figure 8). In more detail, at each stage, we generate two clock signals in quadrature (
Figure 9). They control two identical accumulators (
Figure 10). Samples are accumulated at the rate corresponding to a particular frequency
. The adder size is adapted to avoid overflow. Then, dividing by
is done by keeping only the
most significant bits (
msb). Thus, all
and
accumulation are eventually encoded with the same precision.
Values of
(in-phase) and
(in-quadrature) are saved in the output register at the end of the global period (
). This is achieved using a simple frequency divider on the clock output of the last demodulator. We choose not to embed the computation of actual real and imaginary parts of the impedance as described by Equations (
14) to (
16). It can be done without transmission penalty (same size of data) as a post-process. The objective is to keep the digital circuit as simple as possible in a low-power constraint.
It must be noticed that the proposed algorithm is mathematically equivalent to a bank of finite impulse response (
fir) filters. This is in particular made explicit in the implementation proposed by [
17] that uses a similar multiplication-less approach. However, the straightforward implementation of such filters increases a lot the complexity of embedded computations and lacks genericity due to differing coefficients of each filter.
In our design, the parallel architecture can smoothly scale with the number of frequency components. Moreover, each stage only uses two adders together with a few flip-flops to divide the frequency. For optimal performances, it is totally realistic to embed this digital processing directly with the analog front-end (current source and sensing amplifier) in a mixed-mode application-specific integrated circuit (asic).
7. Noise Sensitivity
The proposed architecture raises the question of the effect of noise on measurements. In particular, low frequencies suffer from averaging low numbers of samples. The worst occurring for where only one sample is used to calculate each of and . In this section, we show that, in the case of bioimpedance spectroscopy, this effect can be mitigated.
We now model perturbations by additive white noise
n. Let
be the noise power. Voltage samples from the
adc can be written
. At the end of the period, in-phase and quadrature accumulators of rank
j have summed
samples:
From Equation (
15), the estimated value of the impedance real part is
This combination contains
noise samples, thus the signal power
Consider
noise samples, thus the power
Now, the signal-to-noise ratio (
snr) can be expressed as
Because we study bioimpedance,
can be assimilated to
cpe. Using Equation (
1), we assume that
:
Leading to the signal-to-noise ratio
We can notice that the expression does not depend on rank
j. Obviously, the same conclusion applies for the imaginary part. Therefore, with the previous assumptions, the
snr is almost constant along the whole frequency range. This is due to typical bioimpendances decreasing at the same rate as the squared root variance of the proposed estimator (
Figure 1). A numerical simulation has been performed to illustrate this behavior (
Figure 11).
Finally, in the case where the impedance does not decrease as , a solution may be to adapt the generated current signal by increasing the amplitudes for frequencies where the snr worsens.
8. Discussion
In the presented bioimpedance spectroscopy system, all frequency components are processed in parallel. Thus, mismatch between channels might impact output accuracy. However, with the proposed architecture, all signal paths (real, imaginary, for each frequency) are fed from the same ADC. Considering a particular channel, data are just sub-samples of a unique sample flow. All further processing being digital, the only source of mismatch appears to be the ADC clock jitter. Under the reasonable assumption that jitter is statistically independent from the sub-sampling operation, we hope that this effect will be moderated by the accumulation operation. From this point of view, jitter may be treated as an additional noise (or error) on sample values.
Another concern may be the very-low frequency noise due to amplifier offset, electronics noise, electrode interface potential, etc. It would induce dc component that would impact all and values. However, it appears relatively easy to get rid of this effect by averaging all samples at , i.e., before decimation and subtracting this dc value during post-processing.
The last issue could be the fixed resolution due to frequency distribution as powers of . If more resolution is needed, a non-power-of-two frequency division can be introduced, e.g., and then used instead of in a duplicated structure. Of course, expressions of and will be affected and need to be re-evaluated. However, only post-processing computation will be modified.
9. Conclusions
We have proposed a very efficient implementation of multitone analysis for bioimpedance sensing. Thanks to general characteristics of bioimpedance, we have chosen a logarithmic frequency distribution. With this hypothesis, we can explicit the aliasing resulting from successive synchronous demodulations and decimations. This expression can be used to post-process the measurements and estimate real and imaginary parts of the impedance for each frequency. The digital implementation consists only in accumulators and frequency dividers and does not make any use of multipliers. Moreover, the structure can be easily scaled to wider frequency ranges. Despite expected degradation of snr for low frequencies, we show that this effect is mitigated by the increase of impedance in this range.