Design, Development and Comparison of two Different Measurement Devices for Time-Resolved Determination of Phase Shifts of Bioimpedances
Abstract
Bioimpedance measurements are a non-invasive method to determine the composition of organic tissue. For measuring the complex bioimpedance between two electrodes, an alternating current with a constant amplitude is injected into the tissue. The developed voltage drop is used to calculate the real and imaginary part of the impedance under test. Measurements in the past indicated that it could be possible that the beating of the heart has an effect on the measured phase shift of the impedance under test. In this work a hardware system is developed, capable of measuring changes of the bioimpedance phase shift with high resolution. Two different measurement methods are used. The first method is an analog circuit, which has been developed in a previous project. The other method uses the integrated circuit AFE4300 (Texas Instruments) [1]. The results of both methods are transmitted with a microcontroller (Xmega256A3BU from Atmel Corp.) via the USB interface to a host PC. On the host PC the visualization of the measurements and the control of the embedded system is achieved with a developed LabView program. The work includes the development of the hardware and software, as well as a comparison of the accuracy of the two measurement methods. The result of a verification of the systems is that both measurement methods have an effective resolution of about 0.3∘.
1 Introduction
Bioimpedance measurements are a non-invasive method for determining the electrical characteristics of organic tissues [2]. With time-resolved measurements, it is possible to determine dynamic characteristics like the pulse wave or the effect of breathing [3].
For measuring the magnitude and phase of the unknown bioimpedance, a small known alternating current is injected into the tissue. This current produces a voltage drop across the bioimpedance, which is measured and used to calculate the complex bioimpedance. Usually the measured impedance phase of organic tissues is negative. This behavior can be explained by the capacitive behavior caused by the cell structure of biological matter [4]. Fig. 1 shows a simplified electrical equivalent circuit, whereby represents the extracellular fluid and and represent the cell impedance with cell membrane and intracellular fluid.

When the bioimpedance is measured time resolved a small variation of the impedance magnitude can be observed which is synchronous with the heart beat.
The reason for this effect is the pulsation of the blood in the tissue under test. When the heart is pumping blood through the bloodvessels, the pressure in the arteries increases abruptly and then falls again. Because of this variation of pressure, the arteries diameter and thus the volume of blood in the tissue under test changes. Since the conductivity of blood is significantly higher than that of tissue, this leads to a change of the impedance. One may assume that besides the magnitude also the phase of the complex bioimpedance is influenced by the blood pulsation. The changing of the bioimpedance phase shift would indicate that the blood additionally has a different phase shift than the tissue. Typical bioimpedance phase shifts of living tissues are between to , with a maximum at about [5].
This work compares two different phase shift measurement methods. The first method is an analog circuit, realized with Operational Amplifiers (OPA). The second method is implemented by the IC (Integrated Circuit) AFE4300 from Texas Instruments. For the evaluation of the different measurement methods, both methods are realized together with an Electrocardiography (ECG) circuit, as a physiological time reference, on the same Printed Circuit Board (PCB). The PCB also contains a microcontroller system for Analog to Digital Conversion (ADC), basic signal preprocessing and USB for data transmission to a host PC for further signal processing and displaying of the measurement data.
2 Measuring Methods
2.1 Analog Measurement System
The basic idea of the analog phase shift measurement circuit is the subtraction of two alternating voltages with the same frequency and amplitude. It can be shown that for small phase shifts the difference of two equal sinusoidal voltages is almost linear to their phase shift [6]. To apply this method to determine the phase shift between the injection current, represented by the voltage drop across a shunt resistor and the voltage drop across the bioimpedance, both voltages have to be equalized in amplitude. In the actual implementation, this is achieved via normalization. Afterwards the difference signal is rectified and low pass filtered to get a DC signal. The circuit has been realized within a previous project [6].
2.2 Integrated Measuring System (AFE4300)
The AFE4300 is an IC including analog measurement circuits as well as a SPI bus for the communication with a microcontroller. The interface between the analog and the digital part is internally realized with an ADC (, ) and a Digital to Analog Converter (DAC, , ). Thus the IC is an integrated measurement system, there are different kinds of signal chains integrated. In this work only the body composition meter in I/Q (In-phase/Quadrature)-Demodulator mode is used. The necessary sinusoidal excitation current is also generated inside the integrated circuit with a Voltage Controlled Current Source (VCCS).
3 Hardware Development
The block diagram in Fig. 2 shows the schema of the developed PCB for interfacing the object under test to the host PC. For the communication between the AFE4300 and the microcontroller, a SPI bus is used. However the external analog phase shift measurement circuit uses the PCB’s analog inputs.

3.1 Analog Inputs
To interface the analog phase shift measurement circuit an Instrumentation Amplifier (INA, LT1789-1 from Linear Technology) is used. The results are fed to one channel of a , dual channel ADC (LTC1865L from Linear Technology). The second ADC channel is prepared for future use, together with four further analog inputs which digitalization is provided by the micro controller’s internal , ADCs. Signal buffering is achieved by voltage followers realized with OPAs (OPA4134 from Texas Instruments). The external high accuracy ADC is connected via SPI to the microcontroller.
3.2 ECG Circuit
For common mode reduction, the ECG module is equipped with a Driven Right Leg (DRL) circuit and active driven shields. It is based on an INA circuit (LT1789-1 from Linear Technology) with baseline wandering rejection. In order to reduce noise an optional active 2nd order lowpass filter and a passive Twin-T notch filter are implemented [7].
3.3 Power Supply
The system is externally supplied with , which could be provided from the USB. Though for electrical safety considerations it is recommended to power the embedded system with an IEC-60601-1 compliant power source and to isolate the USB via a fiber optic USB hub. Internally the system needs for the analog parts and for the digital components. Whereas the are generated via a LDO-regulator (LT1129 from Linear Technology), the are generated via a DC/DC-Converter (LT3479 from Linear Technology). The converter’s switching frequency is kept above to be far away from the measurement frequency ranges. The positive as well as the negative supply voltages are filtered by analog low pass filters with a cut off frequency of .
3.4 Microcontroller System and Communication Interfaces
The used microcontroller (ATxMega256A3BU from Atmel Corp.) is an controller with of program memory. It was chosen based on its peripheral features like integrated ADCs and the USB-interface. The microcontroller has a clock frequency of . For future use, further hardware components are implemented on the PCB like a SD-Card slot, signal LEDs and push buttons.
Fig. 2 shows that the system has two USB ports (Port A & Port B). The difference between them is that Port B directly connects the microcontroller with the PC. This is the standard port for measurements. Port A connects the microcontroller and the PC via an interface IC (FT2232D from Future Technology Devices Inc.). Port A is only used for debug purposes. It is possible to program the microcontroller via the PDI or the JTAG interface also.
Fig. 3 shows the manufactured and populated four layer PCB of the measurement system. It contains more than 300 components and has dimensions of about x .

4 Software Development
The development of the software can be separated into two parts. The first part is programming the microcontroller’s firmware. In the second part the LabView Software for the PC is programmed.
4.1 Microcontroller Firmware
For the firmware development the Atmel Software Framework (ASF) is used as an aid. Configuring the microcontroller’s USB-Port as a Virtual Serial Port simplified the communication with the PC. Fig. 4 shows the flow chart of the firmware.

The first steps execute the hardware configurations and initializations. In the main loop the USB-Interface is checked for new received data. The data packet sent from the PC consists of only one character. After a case distinction the respective measuring mode is executed. Subroutine 1 just measures phase shifts and sends the results to the PC. Subroutine 2 additionally measures all the other analog inputs. So Subroutine 1 is faster and the measuring cycle is shorter (, ).
4.2 Labview Software
The programmed LabView software’s purpose is displaying the measurements in real-time. It is also possible to change the sample rates and activate or deactivate the ADC-channels. Additionally the results can be exported to an MATLAB or Excel compatible data format. To reduce the influence of noise a moving average filter can be activated. In Fig. 5 a screenshot of the software’s user interface is shown.

5 Verification and Measurements
For the verification of the phase shift measurements an equivalent circuit for bioimpedances according to Fig. 6 is used. The result of an error estimation, executed with the total differential, is that this circuit is more insensitive to the components tolerances than the circuit shown in Fig. 1.

To realize the desired magnitudes and phase shifts only the resistors were changed. The reason is the higher tolerance of the capacitance. It is 1% whereas the resistors tolerance is just 0.1%. An additional advantage is that resistors are available in a wide range of values. The verification of both systems was executed with a frequency of . An error estimation resulted to a maximal phase shift error of the equivalent circuit of less than in the interesting range.
The impedances were realized on a separate PCB where switches are used to change the resistances. Fig. 7 shows the result of the analog phase shift measurement system. Achieving this characteristic was only possible by adapting the system’s shunt resistance to the magnitude of the measured impedance. This measurement system shows a good linearity but some offset depending on the magnitude of the measured impedance.

Fig. 8 shows the results of the AFE4300. The measurements depend on the impedance’s magnitude, too. Furthermore the results have large offsets and are inverted. Especially for small phase shifts below there are strong deviations from a linear relation.

6 Results and Discussion
The linear behavior of the analog measurement system, especially when there are small phase shifts, is an advantage. However the system’s major disadvantage is that an external current source is needed. For suitable results it is also important to adjust the shunt resistor. As a consequence the magnitude of the impedance under test has to be known. The IC does not have such a linear behavior as the analog circuit. Although up to four calibration impedances can be connected to the IC pins. With these known impedances and a microcontroller program it is possible to automate the calibration. The disadvantage of using an IC with such a small housing (LQFP80) is the effort of implementation for experimental purposes. A complete PCB with a microcontroller has to be developed and manufactured. However there is an essential advantage that the whole measurement is done by just one component. Thus no external current source and shunt resistor is needed. Furthermore the AFE4300 is low priced (2.50 $ per 1000 pcs.) and no additional ADC is required. For reliable measuring of absolute phase shifts both systems have to be calibrated comprehensively. The effective resolution of both systems is about . Measurements of real bioimpedances could not exhibit a relationship between the pulse and the phase shift. Using another impedance measurement instrument, which has also been developed in the work group [8, 9], it could be shown that the blood pulsation induced phase shift changes are only in a range of about . Hence for this application both the analog and the integrated phase shift measurement systems are inappropriate.
7 Conclusions
For time depending measuring of the bioimpedances phase shift, two different measurement systems were compared.
The contrasted systems are the integrated circuit AFE4300 from Texas Instruments and an analog phase shift measurement circuit realized on a separate board.
To compare both systems a microcontroller based hardware system was developed and manufactured. Additionally the resulting PCB is able to measure an ECG simultaneously. A firmware was programmed for sending the measurement data from the microcontroller via the USB interface to a PC. Furthermore a LabView software was developed for signal processing and data logging. The systems were verified with the help of a RC-phantom with known magnitudes and phases. The result of the verification was that both circuits do have advantages and disadvantages in implementation as well as in the measuring results. But the effective phase shift resolution of both systems is far to low to detect the pulse induced phase variation of living tissue. With the developed PCB it is possible to test further measurement methods in the future.
References
- [1] Texas Instruments. AFE4300, Datasheet.
- [2] A. Ivorra, Bioimpedance Monitoring for physicians: an overview. Centre Nacional de Microelectr nica - Biomedical Applications Group, 2003.
- [3] J. G. Webster, Medical Instrumentation- Application and Design, 4th ed. Wiley, 2010.
- [4] S. Grimnes, Bioimpedance. In: Wiley Encyclopedia of Biomedical Engineering 1. Wiley, 2006.
- [5] S. Kaufmann, A. Malhotra, G. Ardelt and M. Ryschka, A high accuracy broadband measurement system for time resolved complex bioimpedance measurements, submitted to the IOP Journal of Physiological Measurements - Special Issue Electrical Impedance Tomography and Bioimpedance, 2014
- [6] R. Kusche. Phasendetektor für die Bio-Impedanz-Messung, Fachhochschule Lübeck, Projektarbeit, 2012
- [7] U. Tietze, and C. Schenk, Halbleiterschaltungstechnik, 11th ed. Springer, 1999.
- [8] S. Kaufmann, G. Ardelt, and M. Ryschka, A high accuracy Bioimpedance Measurement System - System Design and first Measurements. Proceedings of the 5th International Workshop on Impedance Spectroscopy, 2012.
- [9] S. Kaufmann, G. Ardelt, and M. Ryschka, Measurements of Electrode Skin Impedances using Carbon Rubber Electrodes - First Results, Journal of Physics: Conference Series 434(1), 2013.