AD AD5934YRSZ

250 kSPS, 12-Bit Impedance Converter,
Network Analyzer
AD5934
FEATURES
GENERAL DESCRIPTION
Programmable output peak-to-peak excitation voltage
to a max frequency of 100 kHz
Programmable frequency sweep capability with
serial I2C® interface
Frequency resolution of 27 bits (<0.1 Hz)
Impedance measurement range from 100 Ω to 10 MΩ
Phase measurement capability
System accuracy of 0.5%
2.7 V to 5.5 V power supply operation
Temperature range −40°C to +125°C
16-lead SSOP package
The AD5934 is a high precision impedance converter system
solution which combines an on-board frequency generator with
a 12-bit, 250 kSPS, analog-to-digital converter (ADC). The
frequency generator allows an external complex impedance to
be excited with a known frequency. The response signal from
the impedance is sampled by the on-board ADC and a discrete
Fourier transform (DFT) is processed by an on-board DSP
engine. The DFT algorithm returns a real (R) and imaginary (I)
data-word at each output frequency.
The magnitude of the impedance and relative phase of the
impedance at each frequency point along the sweep is easily
calculated using the following two equations:
APPLICATIONS
Electrochemical analysis
Bioelectrical impedance analysis
Impedance spectroscopy
Complex impedance measurement
Corrosion monitoring and protection equipment
Biomedical and automotive sensors
Proximity sensing
Nondestructive testing
Material property analysis
Fuel/battery cell condition monitoring
Magnitude =
R2 + I 2
Phase = Tan −1 (I / R)
Table 1. Related Devices
Part No.
AD5933
Description
2.7 V to 5.5 V. 1 MSPS, 12-bit impedance, with
internal temperature sensor, 16-lead SSOP.
FUNCTIONAL BLOCK DIAGRAM
MCLK
AVDD
DVDD
DDS
CORE
(27 BITS)
DAC
ROUT
SCL
SDA
VOUT
I2C
INTERFACE
Z(ω)
AD5934
REAL
REGISTER
IMAGINARY
REGISTER
RFB
1024-POINT DFT
VIN
ADC
(12 BITS)
GAIN
LPF
AGND
05325-001
VDD/2
DGND
Figure 1.
Rev. 0
Information furnished by Analog Devices is believed to be accurate and reliable.
However, no responsibility is assumed by Analog Devices for its use, nor for any
infringements of patents or other rights of third parties that may result from its use.
Specifications subject to change without notice. No license is granted by implication
or otherwise under any patent or patent rights of Analog Devices. Trademarks and
registered trademarks are the property of their respective owners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
www.analog.com
Fax: 781.461.3113
© 2005 Analog Devices, Inc. All rights reserved.
AD5934
TABLE OF CONTENTS
Features .............................................................................................. 1
Gain Factor Temperature Variation......................................... 16
Applications....................................................................................... 1
Impedance Error ........................................................................ 16
General Description ......................................................................... 1
Performing a Frequency Sweep .................................................... 18
Functional Block Diagram .............................................................. 1
Register Map ................................................................................... 19
Specifications..................................................................................... 3
Control Register ......................................................................... 19
I2C Serial Interface Timing Characteristics .................................. 5
Start Frequency Register ........................................................... 20
Absolute Maximum Ratings............................................................ 6
Frequency Increment Register.................................................. 20
ESD Caution.................................................................................. 6
Number of Increments Register ............................................... 21
Pin Configuration and Descriptions.............................................. 7
Number of Settling Time Cycles Register ............................... 21
Typical Performance Characteristics ............................................. 8
Status Register............................................................................. 22
Terminology .................................................................................... 10
Real and Imaginary Data Registers (16 Bits).......................... 22
System Description......................................................................... 11
Serial Bus Interface......................................................................... 23
Transmit Stage............................................................................. 12
General I2C Timing.................................................................... 23
Frequency Sweep Command Sequence................................... 13
Writing/Reading to the AD5934 .............................................. 24
Receive Stage ............................................................................... 13
Block Write.................................................................................. 24
DFT Operation ........................................................................... 13
AD5934 Read Operations ......................................................... 25
Impedance Calculation.................................................................. 14
Typical Applications....................................................................... 26
Magnitude Calculation .............................................................. 14
Biomedical: Noninvasive Blood impedance Measurement .. 26
Gain Factor Calculation ............................................................ 14
Sensor/Complex Impedance Measurement............................ 26
Impedance Calculation Using Gain Factor............................. 14
Electro-Impedance Spectroscopy............................................. 27
Gain Factor Variation with Frequency .................................... 14
Choosing a Reference for the AD5934 ........................................ 28
Two-Point Calibration ............................................................... 15
Layout and Configuration............................................................. 29
Two-Point Gain Factor Calculation ......................................... 15
Power Supply Bypassing and Grounding................................ 29
Gain Factor Setup Configuration............................................. 15
Outline Dimensions ....................................................................... 30
Gain Factor Recalculation......................................................... 15
Ordering Guide .......................................................................... 30
REVISION HISTORY
6/05—Revision 0: Initial Version
Rev. 0 | Page 2 of 32
AD5934
SPECIFICATIONS
Test conditions unless otherwise stated: VDD = 3.3 V, MCLK = 16.776 MHz, 2 V p-p output excitation voltage @ 30 kHz, 200 kΩ
connected between Pin 5 and Pin 6. Feedback resistor = 200 kΩ connected between Pin 4 and Pin 5. PGA gain = ×1.
Table 2.
Parameter
SYSTEM
Impedance Range
Total System Accuracy
System Impedance Error Drift
TRANSMIT STAGE
Output Frequency Range 2
Output Frequency Resolution
MCLK Frequency
TRANSMIT OUTPUT VOLTAGE
Range 1
AC Output Excitation Voltage 3
Min
Y Version 1
Typ
Max
0.001
10
MΩ
%
ppm/°C
100
kHz
Hz
0.5
30
1
Unit
0.1
16.776
MHz
1.98
V p-p
1.48
V
DC Output Impedance
Short-Circuit Current to Ground
at VOUT
Range 2
AC Output Excitation Voltage3
DC Bias4
200
±5.8
Ω
mA
0.97
0.76
V p-p
V
DC Output Impedance
Short-Circuit Current to Ground
at VOUT
Range 3
AC Output Excitation Voltage3
DC Bias4
2.4
±0.25
kΩ
mA
0.383
0.31
V p-p
V
DC Output Impedance
Short-Circuit Current to Ground
at VOUT
Range 4
AC Output Excitation Voltage3
DC Bias4
1
±0.20
kΩ
mA
0.198
0.173
V p-p
V
DC Output Impedance
Short-Circuit Current to Ground
at VOUT
Short-Circuit Current to Ground
SYSTEM AC CHARACTERISTICS
Signal-to-Noise Ratio
Total Harmonic Distortion
Spurious-Free Dynamic Range
Wide Band (0 MHz to 1 MHz)
Narrowband (±5 kHz)
600
±0.15
Ω
mA
±0.15
mA
60
−52
dB
dB
−56
−85
dB
dB
DC Bias 4
Rev. 0 | Page 3 of 32
Test Conditions/Comments
<0.1 Hz resolution achievable using
DDS techniques.
Maximum system clock frequency.
Refer to Figure 4 for output voltage
distribution.
DC bias of the AC excitation signal.
See Figure 5.
TA = 25°C.
TA = 25°C.
See Figure 6.
DC bias of output excitation signal.
See Figure 7.
See Figure 8.
DC bias of output excitation signal.
See Figure 9.
See Figure 10.
DC bias of output excitation signal.
See Figure 11.
AD5934
Parameter
RECEIVE STAGE
Input Leakage Current
Input Capacitance 5
Min
Feedback Capacitance CFB
ANALOG-TO-DIGITAL CONVERTER5
Resolution
Sampling Rate
LOGIC INPUTS
Input High Voltage (VIH)
Input Low Voltage (VIL)
Input Current 6
Input Capacitance
POWER REQUIREMENTS
VDD
IDD (Normal Mode )
IDD (Standby Mode)
IDD (Power-Down Mode)
Y Version 1
Typ
Max
Unit
Test Conditions/Comments
1
0.01
nA
fF
3
pF
To VIN pin.
Pin capacitance between VOUT and
GND.
Feedback capacitance around currentto-voltage amplifier; appears in parallel
with feedback resistor.
12
250
bits
kSPS
ADC throughput rate.
μA
pF
TA =25°C.
TA = 25°C.
0.7 × VDD
0.3 × VDD
1
7
2.7
10
17
7
9
0.7
1
5.5
15
25
5
8
1
V
mA
mA
mA
mA
μA
μA
VDD = 3.3 V.
VDD = 5.5 V.
VDD = 3.3 V; see the Control Register
section.
VDD = 5.5 V.
VDD = 3.3 V.
VDD = 5.5 V.
Temperature range for Y version = −40°C to +125°C, typical at 25°C.
The lower limit of the output excitation frequency can be lowered by scaling the clock supplied to the AD5934.
3
The peak-to-peak value of the AC output excitation voltage scales with supply voltage according to the formula given below. VDD is the supply voltage.
2
Output Excitation Voltage (V p - p) =
× VDD
3.3
4
The DC bias value of the Output excitation voltage scales with supply voltage according to the formula given below. VDD is the supply voltage.
2
Output Excitation Bias Voltage (V) =
× VDD
3.3
5
Guaranteed by design or characterization, not production tested. Input capacitance at the VOUT pin is equal to pin capacitance divided by open-loop gain of currentto-voltage amplifier.
6
The accumulation of the currents into Pin 8, Pin 15, and Pin 16.
2
Rev. 0 | Page 4 of 32
AD5934
I2C SERIAL INTERFACE TIMING CHARACTERISTICS
VDD = 2.7 V to 5.5 V. All specifications TMIN to TMAX, unless otherwise noted. 1
Table 3.
Parameter 2
FSCL
t1
t2
t3
t4
t5
t6 3
Limit at TMIN, TMAX
400
2. 5
0. 6
1. 3
0. 6
100
0. 9
0
0. 6
0. 6
1. 3
300
0
300
0
250
20 + 0.1 CB 4
400
t7
t8
t9
t10
t11
CB
Unit
Description
kHz max
μs min
μs min
μs min
μs min
ns min
μs max
μs min
μs min
μs min
μs min
ns max
ns min
ns max
ns min
ns max
ns min
pF max
SCL clock frequency
SCL cycle time
tHIGH, SCL high time
tLOW, SCL low time
tHD, STA, start/repeated start condition hold time
tSU, DAT, data setup time
tHD, DAT, data hold time
tHD, DAT, data hold time
tSU, STA, setup time for repeated start
tSU, STO, stop condition setup time
tBUF, bus free time between a stop and a start condition
tF, rise time of SDA when transmitting
tR, rise time of SCL and SDA when receiving (CMOS compatible)
tF, fall time of SCL and SDA when transmitting
tF, fall time of SDA when receiving (CMOS compatible)
tF, fall time of SDA when receiving
tF, fall time of SCL and SDA when transmitting
Capacitive load for each bus line
1
See Figure 2.
Guaranteed by design and characterization, not production tested.
A master device must provide a hold time of at least 300 ns for the SDA signal (referred to VIH MIN of the SCL signal) in order to bridge the undefined SCL’s falling edge.
4
CB is the total capacitance of one bus line in pF. Note that tR and tF are measured between 0.3 VDD and 0.7 VDD.
2
3
SDA
t9
t3
t10
t11
t4
SCL
t6
t2
t5
t7
REPEATED
START
CONDITION
START
CONDITION
Figure 2. I2C Interface Timing Diagram
Rev. 0 | Page 5 of 32
t1
t8
STOP
CONDITION
05325-002
t4
AD5934
ABSOLUTE MAXIMUM RATINGS
TA = 25°C, unless otherwise note
Table 4.
Parameter
DVDD to GND
AVDD1 to GND
AVDD2 to GND
SDA/SCL to GND
VOUT to GND
VIN to GND
MCLK to GND
Operating Temperature Range
Extended Industrial (Y Grade)
Storage Temperature Range
Maximum Junction Temperature
SSOP Package
θJA Thermal Impedance
θJC Thermal Impedance
Reflow Soldering (Pb-Free)
Peak Temperature
Time at Peak Temperature
Rating
−0.3 V to + 7. 0 V
−0.3 V to + 7. 0 V
−0.3 V to + 7. 0 V
−0.3 V to VDD + 0.3 V
−0.3 V to VDD + 0.3 V
−0.3 V to VDD + 0.3 V
−0.3 V to VDD + 0.3 V
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only; functional operation of the device at these or any
other conditions above those listed in the operational sections
of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
−40°C to +125°C
−65°C to +160°C
150°C
139°C/W
136°C/W
260°C
10 sec to 40 sec
ESD CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on
the human body and test equipment and can discharge without detection. Although this product features
proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy
electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance
degradation or loss of functionality.
Rev. 0 | Page 6 of 32
AD5934
PIN CONFIGURATION AND DESCRIPTIONS
NC 1
16 SCL
NC 2
RFB 4
VIN 5
15 SDA
AD5934
14 AGND2
TOP VIEW
(Not to Scale)
13 AGND1
12 DGND
VOUT 6
11 AVDD2
NC 7
10 AVDD1
MCLK 8
9
DVDD
NC = NO CONNECT
05325-003
NC 3
Figure 3. Pin Configuration
It is recommended to tie all supply connections (Pin 9, Pin 10, and Pin 11) and run from a single supply between 2.7 V and 5.5 V. It is also
recommended to connect all ground signals together (Pin 12, Pin 13, and Pin 14).
Table 5. Pin Function Descriptions
Pin No.
1, 2, 3, 7
4
Mnemonic
NC
RFB
5
6
8
9
10
11
12
13
14
15
16
VIN
VOUT
MCLK
DVDD
AVDD1
AVDD2
DGND
AGND1
AGND2
SDA
SCL
Description/comment
No Connect.
External Feedback Resistor. Connected from Pin 4 to Pin 5 and used to set the gain of the current-to-voltage
amplifier on the receive side.
Input to Receive Transimpedance Amplifier. Presents a virtual earth voltage of VDD/2.
Excitation Voltage Signal Output.
Master Clock for the System. Supplied by user.
Digital Supply Voltage.
Analog Supply Voltage 1.
Analog Supply Voltage 2.
Digital Ground.
Analog Ground 1.
Analog Ground 2.
I2C Data Input.
I2C Clock Input.
Rev. 0 | Page 7 of 32
AD5934
TYPICAL PERFORMANCE CHARACTERISTICS
30
35
MEAN = 0.7543
SIGMA = 0.0099
MEAN = 1.9824
SIGMA = 0.0072
25
NUMBER OF DEVICES
25
20
15
10
20
15
10
5
0
1.92
05325-064
5
1.94
1.96
1.98
2.00
2.02
2.04
05325-073
NUMBER OF DEVICES
30
0
0.68
2.06
0.70
0.72
0.74
Figure 4. Range 1: Output Excitation Voltage Distribution VDD = 3.3 V
0.80
0.82
0.84
0.86
30
MEAN = 0.3827
SIGMA = 0.00167
MEAN = 1.4807
SIGMA = 0.0252
25
NUMBER OF DEVICES
25
20
15
10
20
15
10
5
0
1.30
05325-072
5
1.35
1.40
1.45
1.50
1.55
1.60
1.65
1.70
0
0.370
1.75
05325-077
NUMBER OF DEVICES
0.78
Figure 7. Range 2: DC Bias Distribution VDD = 3.3 V
30
0.375
0.380
0.385
0.390
0.395
0.400
VOLTAGE (V)
VOLTAGE (V)
Figure 8. Range 3: Output Excitation Voltage Distribution VDD = 3.3 V
Figure 5. Range 1: DC Bias Distribution VDD = 3.3 V
30
30
MEAN = 0.9862
SIGMA = 0.0041
MEAN = 0.3092
SIGMA = 0.0014
25
NUMBER OF DEVICES
25
20
15
10
15
10
5
05325-066
5
0
0.95
20
0.96
0.97
0.98
0.99
1.00
1.01
1.02
0
0.290
05325-074
NUMBER OF DEVICES
0.76
VOLTAGE (V)
VOLTAGE (V)
0.295
0.300
0.305
0.310
0.315
VOLTAGE (V)
VOLTAGE (V)
Figure 6. Range 2: Output Excitation Voltage Distribution VDD = 3.3 V
Rev. 0 | Page 8 of 32
Figure 9. Range 3: DC Bias Distribution VDD = 3.3 V
0.320
AD5934
15.8
30
MEAN = 0.1982
SIGMA = 0.0008
14.8
14.3
20
IDD (mA)
15
10
13.8
13.3
12.8
12.3
11.8
05325-070
5
0.194
0.196
0.198
0.200
0.202
0.204
05325-088
NUMBER OF DEVICES
25
0
0.192
AVDD1, AVDD2, DVDD CONNECTED TOGETHER.
OUTPUT EXCITATION FREQUENCY = 30kHz
RFB, ZCALIBRATION = 100kΩ
15.3
11.3
10.8
0
0.206
2
4
8
10
12
14
16
18
Figure 12. Typical Supply Current vs. AD5934 Clock Frequency
Figure 10. Range 4: Output Excitation Voltage Distribution VDD = 3.3 V
0.4
30
MEAN = 0.1792
SIGMA = 0.0024
VDD = 3.3V
TA = 25°C
f = 32kHz
0.2
20
15
10
05325-075
5
0
0.160 0.165 0.170 0.175 0.180 0.185 0.190 0.195 0.200 0.205
0
–0.2
–0.4
–0.6
–0.8
05325-028
PHASE ERROR (Degrees)
25
NUMBER OF DEVICES
6
MCLK FREQUENCY (MHz)
VOLTAGE (V)
–1.0
0
50
100
150
200
250
300
PHASE (Degrees)
VOLTAGE (V)
Figure 13. Typical AD5934 Phase Error
Figure 11. Range 4: DC Bias Distribution VDD = 3.3 V
Rev. 0 | Page 9 of 32
350
400
AD5934
TERMINOLOGY
Total System Accuracy
The AD5934 can accurately measure a range of impedance
values to less than 0.5% of the correct impedance value for
supply voltages between 2.7 V to 5.5 V.
Signal-to-Noise Ratio (SNR)
SNR is the ratio of the rms value of the measured output signal
to the rms sum of all other spectral components below the
Nyquist frequency. The value for SNR is expressed in decibels.
Spurious-Free Dynamic Range (SFDR)
Along with the frequency of interest, harmonics of the
fundamental frequency and images of these frequencies are
present at the output of a DDS device. The spurious-free
dynamic range refers to the largest spur or harmonic present in
the band of interest. The wideband SFDR gives the magnitude
of the largest harmonic or spur relative to the magnitude of the
fundamental frequency in the 0 to Nyquist bandwidth. The
narrow-band SFDR gives the attenuation of the largest spur
or harmonic in a bandwidth of ±200 kHz, about the
fundamental frequency.
Total Harmonic Distortion (THD)
THD is the ratio of the rms sum of harmonics to the
fundamental, where V1 is the rms amplitude of the
fundamental and V2, V3, V4, V5, and V6 are the rms
amplitudes of the second through the sixth harmonics.
For the AD5934, THD is defined as
Rev. 0 | Page 10 of 32
THD (db) = 20 log
V2 2 + V3 2 + V4 2 + V5 2 + V 2 6
V1
AD5934
SYSTEM DESCRIPTION
MCLK
DDS
CORE
(27 BITS)
DAC
ROUT
COS
VOUT
SIN
SCL
I2C
INTERFACE
MICROCONTROLLER
SDA
Z(ω)
AD5934
REAL
REGISTER
IMAGINARY
REGISTER
RFB
MAC CORE
(1024 DFT)
PROGRAMMABLE
GAIN AMPLIFIER
MCLK
VIN
ADC
(12 BITS)
LPF
X5
X1
VDD/2
05325-078
WINDOWING
OF DATA
Figure 14. AD5934 Block Overview
The AD5934 is a high precision impedance converter system
solution which combines an on-board frequency generator with a
12-bit, 250 kSPS ADC. The frequency generator allows an external
complex impedance to be excited with a known frequency. The
response signal from the impedance is sampled by the on-board
ADC and DFT processed by an on-board DSP engine. The DFT
algorithm returns both a real (R) and imaginary (I) data-word at
each frequency point along the sweep. The impedance magnitude
and phase is easily calculated using the following equations:
Magnitude =
The AD5934 permits the user to perform a frequency sweep with
a user-defined start frequency, frequency resolution, and number
of points in the sweep. In addition, the device allows the user to
program the peak-to-peak value of the output sinusoidal signal as
an excitation to the external unknown impedance connected
between the VOUT and VIN pins.
Table 6 gives the four possible output peak-to-peak voltages and
the corresponding dc bias levels for each range.
Table 6.
R2 + I 2
−1
Phase = Tan ( I / R)
To characterize an impedance profile Z(ω), generally a frequency
sweep is required like that shown in Figure 15.
Output Excitation Voltage Amplitude
Range 1: 1.98 V p-p
Range 2: 0.99 V p-p
Range 3: 383 mV p-p
Range 4: 198 mV p-p
Output DC Bias Level
1.48 V
0.74V
0.31 V
0.179 V
05325-033
IMPEDANCE
The excitation signal for the transmit stage is provided on-chip
using DDS techniques which permit subhertz resolution. The
receive stage receives the input signal current from the unknown
impedance, performs signal processing, and digitizes the result.
The clock for the DDS is generated from an external reference
clock which is provided by the user at MCLK.
FREQUENCY
Figure 15.
Rev. 0 | Page 11 of 32
AD5934
TRANSMIT STAGE
As shown in Figure 16, the transmit stage of the AD5934 is made
up of a 27-bit phase accumulator DDS core which provides the
output excitation signal at a particular frequency. The input to the
phase accumulator is taken from the contents of the START
FREQUENCY register (see RAM Locations 82h, 83h, and 84h).
Although the phase accumulator offers 27 bits of resolution, the
START FREQUENCY register has the 3 most significant bits
(MSBs) set to 0 internally; therefore the user has the ability to
program only the lower 24 bits of the START FREQUENCY
register.
The AD5934 offers a frequency resolution programmable by the
user down to 0.1 Hz. The frequency resolution is programmed via
a 24-bit word loaded serially over the I2C interface to the
FREQUENCY INCREMENT register.
The frequency sweep is fully described by the programming of
three parameters: the START FREQUENCY, the FREQUENCY
INCREMENT, and the NUMBER OF INCREMENTS.
Equation 2, based on the master clock frequency and the required
increment frequency output from the DDS.
⎛
⎞
⎜
⎟
Required Frequency Increment ⎟ 27 (2)
⎜
×2
Frequency Increment Code =
⎜
⎟
⎛ MCLK ⎞
⎜
⎟
⎜
⎟
⎝ 16 ⎠
⎝
⎠
For example, if the user requires the sweep to have a resolution of
10 Hz and has a 16 MHz clock signal connected to MCLK, the
code that needs to be programmed is given by
⎛
⎞
⎜
⎟
10 Hz ⎟
⎜
Frequency Increment Code =
≡ 00053E hexidecimal
⎜ ⎛ 16 MHz ⎞ ⎟
⎟⎟
⎜⎜
⎝ ⎝ 16 ⎠ ⎠
The user programs 00 hex to Register 85 h, 05 hex to
Register 86 h, and finally 3E hex to Register 87 h.
NUMBER OF INCREMENTS
START FREQUENCY
This is a 24-bit word that is programmed to the on-board RAM at
Address 82h, Address 83h, and Address 84h (see the Register Map
section). The required code loaded to the START FREQUENCY
register is the result of the formula shown in Equation 1, based on
the master clock frequency and the required start frequency
output from the DDS.
⎞
⎛
⎟
⎜
Required Output Start Frequency ⎟ 27 (1)
⎜
Start Frequency Code =
×2
⎟
⎜
⎛ MCLK ⎞
⎜
⎟
⎟
⎜
⎝ 16 ⎠
⎠
⎝
For example, if the user requires the sweep to begin at 30 kHz and
has a 16 MHz clock signal connected to MCLK. The code that
needs to be programmed is given by
⎛
⎞
⎜
⎟
30 kHz ⎟ 27
⎜
Start Frequency Code = ⎜
× 2 ≡ 3D70A3 hexidecimal
⎛ 16 MHz ⎞ ⎟
⎟⎟
⎜⎜
⎝ ⎝ 16 ⎠ ⎠
The user programs 3D hex to Register 82 h, 70 hex to
Register 83 h, and A3 hex to Register 84 h.
FREQUENCY INCREMENT
This is a 24-bit word that is programmed to the on-board
RAM at Address 85 h, Address 86 h, and Address 87 h (see
the Register Map section). The required code loaded to the
frequency increment register is the result of the formula shown in
This is a 9-bit word that represents the number of frequency
points in the sweep. The number is programmed to the on-board
RAM at Address 88 h and Address 89 h (see the Register Map
section). The maximum number of points that can be
programmed is 511.
For example, if the sweep needs 150 points, the user programs
00 hex to Register 88 h and 96 hex to Register 89 h.
Once the three parameter values have been programmed, the
sweep is initiated by issuing a Start Frequency Sweep command
to the CONTROL register at Address 80 h and Address 81 h
(see the Register Map section). Bit 2 in the STATUS register
(Register 8F h) indicates the completion of the frequency
measurement for each sweep point. Incrementing to the next
frequency sweep point is under the control of the user. The
measured result is stored in two registers (94 h, 95 h and 96 h,
97 h) which should be read before issuing an Increment
Frequency command to the CONTROL register to move to the
next sweep point. There is the facility to repeat the current
frequency point measurement by issuing a Repeat Frequency
command to the CONTROL register. This has the benefit of
allowing the user to average successive readings. When the
frequency sweep has completed all frequency points, Bit 3 in the
STATUS register is set, indicating completion of the sweep. Once
this bit is set further increments are disabled.
Rev. 0 | Page 12 of 32
AD5934
FREQUENCY SWEEP COMMAND SEQUENCE
RECEIVE STAGE
The following sequence must be followed to implement a
frequency sweep.
The receive stage comprises a current–to-voltage amplifier,
followed by a programmable gain amplifier (PGA), antialiasing
filter, and ADC. The receive stage schematic is shown in
Figure 17. The unknown impedance is connected between the
VOUT and VIN pins. The first stage current-to-voltage amplifier
configuration means that a voltage present at the VIN pin is a
virtual ground with a dc value set at VDD/2. The signal current
that is developed across the unknown impedance flows into the
VIN pin and develops a voltage signal at the output of the currentto-voltage converter. The gain of the current-to voltage amplifier
is determined by a user-selectable feedback resistor connected
between Pins 4 (RFB) and Pin 5 (VIN). It is important for the user
to choose a feedback resistance value which, in conjunction with
the selected gain of the PGA stage, maintains the signal within the
linear range of the ADC (0 V to VDD).
Enter standby mode.
Prior to issuing a Start Frequency Sweep command, the device
must be placed in a standby mode by issuing an Enter Standby
Mode command to the CONTROL register (Register 80 h). In
this mode, the VOUT and VIN pins are connected internally to
ground so there is no dc bias across the external impedance or
between the impedance and ground.
2.
Enter initialize mode.
In general, high Q complex circuits require a long time to
reach steady state. To facilitate the measurement of such
impedances, this mode allows the user full control of the
settling time requirement before entering start frequency
sweep mode where the impedance measurement takes place.
An Initialize with Start Frequency Command to the
CONTROL register enters initialize mode. In this mode the
impedance is excited with the programmed start frequency
but no measurement takes place. The user times out the
required settling time before issuing a Start Frequency
Sweep command to the CONTROL register to enter the
start frequency sweep mode.
3.
Enter start frequency sweep mode.
The user enters this mode by issuing a Start Frequency Sweep
command to the control register. In this mode, the ADC
starts measuring after the programmed Number of Settling
Time Cycles has elapsed. The user can program an integer
number of output frequency cycles (settling time cycles) to
Register 8A h and Register 8B h before beginning the
measurement at each frequency point (see Figure 28).
The DDS output signal is passed through a programmable gain
stage in order to generate the four ranges of peak-to-peak output
excitation signals listed in Table 6. The peak-to-peak output
excitation voltage is selected by setting Bit D10 and Bit D9 in
the CONTROL register—see the Control Register section—
and is made available at the VOUT pin.
The PGA allows the user to gain the output of the current-tovoltage amplifier by a factor of 5 or 1 depending upon the status
of Bit D8 in the CONTROL register (see the Register Map section
Register 81h). The signal is then low-pass filtered and presented
to the input of the 12-bit, 250 kSPS ADC.
RFB
R
5×R
C
R
VIN
R
ADC
VDD/2
LPF
05325-038
1.
Figure 17. AD5934 Receive Stage
The digital data from the ADC is passed directly to the DSP core
of the AD5934 which performs a DFT on the sampled data.
DFT OPERATION
A DFT is calculated for each frequency point in the sweep. The
AD5934 DFT algorithm is represented by
X( f ) =
1023
∑ (x(n)(cos(n) − j sin(n)))
n=0
R(GAIN)
DAC
VOUT
VBIAS
Figure 16. AD5934 Transmit Stage
05325-034
PHASE
ACCUMULATOR
(27 BITS)
where X(f) is the power in the signal at the frequency point f, x(n)
is the ADC output, with the cos(n) and sin(n) the sampled test
vectors provided by the DDS core at the frequency f.
The multiplication is accumulated over 1024 samples for each
frequency point. The result is stored in two, 16-bit registers
representing the real and imaginary components of the result. The
data is stored in twos complement format.
Rev. 0 | Page 13 of 32
AD5934
IMPEDANCE CALCULATION
MAGNITUDE CALCULATION
IMPEDANCE CALCULATION USING GAIN FACTOR
The first step in impedance calculation for each frequency point is
to calculate the magnitude of the DFT at that point.
The next example illustrates how the calculated gain factor
derived previously is used to measure an unknown impedance.
For this example, assume that the unknown impedance = 510 kΩ.
The DFT magnitude is given by
After measuring the unknown impedance at a frequency of
30 kHz, assume that the real and imaginary registers contain the
following data:
R2 + I 2
where R is the real number stored at Register Address 94 h and
Register Address 95 h and I is the imaginary number stored at
Register Address 96 h and Register Address 97 h.
For example, assume the results in the real and imaginary registers
are as follows at a frequency point:
Real register: = 038B hex = 907 decimal
Imaginary register: = 0204 hex = 516 decimal
(9072 + 5162 ) = 1043.506
To convert this number into an impedance, it must be multiplied
by a scaling factor called the gain factor. The gain factor is
calculated during the calibration of the system with a known
impedance connected between the VOUT and VIN pins.
Once the gain factor has been calculated, it can be used in the
calculation of any unknown impedance between the VOUT and
VIN pins.
GAIN FACTOR CALCULATION
An example of a gain factor calculation follows, with these
assumptions:
Output excitation voltage = 2 V (p-p)
Calibration impedance value, ZCALIBRATION = 200 kΩ
PGA gain = ×1
Current to voltage amplifier gain resistor = 200 kΩ
Calibration frequency = 30 kHz
Then the measured impedance at the frequency point is given by
1
Impedance =
GAIN FACTOR × Magnitude
1
=
Ω
515.819273 E − 12 × 3802.863
= 509.791 kΩ
GAIN FACTOR VARIATION WITH FREQUENCY
Because the AD5934 has a finite frequency response, the gain
factor also shows a variation with frequency. This results in
an error in the impedance calculation over a frequency range.
Figure 18 shows an impedance profile based on a single-point
gain factor calculation. To minimize this error, the frequency
sweep should be limited to as small a frequency range as possible.
101.5
101.0
Then typical contents of the real and imaginary register after a
frequency point conversion would be
Real register: = F9C hex = -3996 decimal
Imaginary register: = 227E hex = 8830 decimal
Magnitude =
Magnitude = ((−1473)2 + (3507)2 ) = 3802.863
VDD = 3.3V
CALIBRATION FREQUENCY = 60kHz
TA = 25°C
MEASURED CALIBRATION IMPEDANCE = 100kΩ
100.5
100.0
99.5
99.0
(−39962 + (8830)2 = 9692.106
⎛
1
⎜⎜
⎛ ADMITTANCE ⎞ ⎝ Impedance
GAIN FACTOR = ⎜
⎟=
Magnitude
Code
⎝
⎠
1
⎛
⎞
⎜
⎟
200 kΩ ⎟
GAIN FACTOR = ⎜
= 515 .819 E − 12
⎜ 9692 .106 ⎟
⎜
⎟
⎝
⎠
⎞
⎟⎟
⎠
98.5
54
05325-085
Magnitude =
Real register: = 0AEB hex = −1473 decimal
Imaginary register: = 0DB3 hex = 3507 decimal
IMPEDANCE (kΩ)
Magnitude =
56
58
60
62
64
66
FREQUENCY (kHz)
Figure 18. Impedance Profile Using a Single-Point Gain Factor Calculation
Rev. 0 | Page 14 of 32
AD5934
TWO-POINT CALIBRATION
GAIN FACTOR SETUP CONFIGURATION
Alternatively it is possible to minimize this error by assuming that
the frequency variation is linear and adjusting the gain factor with
a 2-point calibration. Figure 19 shows an impedance profile based
on a 2-point GAIN FACTOR calculation.
When calculating the GAIN FACTOR, it is important that
the receive stage is operating in its linear region. This requires
careful selection of the excitation signal range, current-to-voltage
gain resistor and PGA gain. The gain through the system shown in
Figure 20 is given by
101.5
Output Excitation Voltage Range ×
Gain Setting Resistor
× PGA Gain
ZUNKNOWN
100.5
CURRENT TO VOLTAGE
GAIN SETTING RESISTOR
100.0
RFB
99.5
VOUT
ZUNKNOWN
VIN
98.5
54
05325-086
99.0
56
58
60
62
64
VDD
66
TWO-POINT GAIN FACTOR CALCULATION
This is an example of a 2-point GAIN FACTOR calculation
assuming the following:
Output excitation voltage = 2 V (p-p)
Calibration impedance value, ZUNKNOWN = 100.0 kΩ
PGA gain = ×1
Supply voltage = 3.3 V
Current to voltage amplifier gain resistor = 100 kΩ
Calibration frequencies at = 55 kHz and 65 kHz
LPF
Figure 20. AD5934 System Voltage Gain
FREQUENCY (kHz)
Figure 19. Impedance Profile Using a 2-Point Gain Factor Calculation
ADC
PGA
(X1 OR X5)
05325-089
IMPEDANCE (kΩ)
101.0
VDD = 3.3V
CALIBRATION FREQUENCY = 60kHz
TA = 25°C
MEASURED CALIBRATION IMPEDANCE = 100kΩ
For this example, assume the following system settings:
VDD = 3.3 V
Gain setting resistor = 200 kΩ
ZUNKNOWN = 200 kΩ
PGA setting = ×1
The peak-to-peak voltage presented to the ADC input is
2 V p-p. However had the user chosen a PGA gain of ×5, the
voltage would saturate the ADC.
GAIN FACTOR RECALCULATION
The GAIN FACTOR must be recalculated for a change in any of
the following parameters:
Typical values of the GAIN FACTOR calculated at the two
calibration frequencies read
Gain factor calculated at 55 kHz = 1.031224E-09
Gain factor calculated at 65 kHz = 1.035682E-09
Difference in gain factor (ΔGF) = 1.035682E-09 −
1.031224E-09 = 4.458000E-12
Frequency span of sweep (ΔF) = 10 kHz
•
Current-to-voltage gain setting resistor
•
Output excitation voltage
•
PGA gain
Therefore the GAIN FACTOR required at 60 kHz is given by
⎛ 4.458000E - 12 × 5 kHz ⎞ + 1.031224E - 09
⎜
⎟
10 kHz
⎝
⎠
Required gain factor = 1.033453E-9
The impedance is calculated as previously described in the
Impedance Calculation section.
Rev. 0 | Page 15 of 32
AD5934
GAIN FACTOR TEMPERATURE VARIATION
The typical impedance error variation with temperature is in the
order of 30 ppm/°C. Figure 21 shows an impedance profile with a
variation in temperature for 100 kΩ impedance using a 2-point
gain factor calibration.
101.5
Range 2 (1 kΩ to 10 kΩ)
Output excitation voltage = 2 V p-p
Calibration impedance value, ZCALIBRATION = 1 kΩ
PGA gain = ×1
Supply voltage = 3.3 V
Current-to-voltage amplifier gain resistor = 1 kΩ
+125°C
1.8
100.5
VDD = 3.3V
CALIBRATION FREQUENCY = 60kHz
MEASURED CALIBRATION IMPEDANCE = 100kΩ
56
58
60
62
FREQUENCY (kHz)
0.8
0.6
0
10
35
60
100
FREQUENCY (kHz)
IMPEDANCE ERROR
Figure 23. Range 2: Typical % Impedance Error over Frequency
Minimizing the impedance range under test optimizes the
AD5934 measurement performance. Below are examples of the
AD5934 performance when operating in the six different
impedance ranges. The gain factor is calculated with a precision
resistor in each case.
Range 1 (0.1 kΩ to 1 kΩ)
Output excitation voltage = 2 V p-p
Calibration impedance value, ZCALIBRATION = 100 Ω
PGA gain = ×1
Supply voltage = 3.3 V
Current-to-voltage amplifier gain resistor = 100 Ω
Range 3 (10 kΩ to 100 kΩ)
Output excitation voltage = 2 V p-p
Calibration impedance value, ZCALIBRATION = 10 kΩ
PGA gain = ×1
Supply voltage = 3.3 V
Current-to-voltage amplifier gain resistor = 10 kΩ
0.3
% IMPEDANCE ERROR
0.2
7
RFB = 0.1kΩ
CALIBRATION IMPEDANCE = 0.1kΩ
TA = 25°C
5
0.5kΩ
1kΩ
4
RFB = 10kΩ
CALIBRATION IMPEDANCE = 10kΩ
TA = 25°C
50kΩ
100kΩ
0.1
0
–0.1
–0.2
3
–0.3
10
35
60
100
FREQUENCY (kHz)
2
Figure 24. Range 3: Typical % Impedance Error over Frequency
1
05325-079
% IMPEDANCE ERROR
1.0
0.2
Figure 21. Impedance Profile Variation with Temperature Using a 2-Point Gain
Factor Calculation
6
1.2
0.4
66
64
5kΩ
10kΩ
1.4
05325-081
98.5
54
% IMPEDANCE ERROR
–40°C
99.5
99.0
RFB = 1kΩ
CALIBRATION IMPEDANCE = 1kΩ
TA = 25°C
1.6
+25°C
100.0
05325-087
IMPEDANCE (kΩ)
2.0
05325-080
101.0
0
10
35
60
100
FREQUENCY (kHz)
Figure 22. Range 1: Typical % Impedance Error over Frequency
Rev. 0 | Page 16 of 32
AD5934
Range 4 (100 kΩ to 1 MΩ)
Range 6 (9 MΩ to 10 MΩ)
Output excitation voltage = 2 V p-p
Calibration impedance value, ZCALIBRATION = 100 kΩ
PGA gain = ×1
Supply voltage = 3.3 V
Current-to-voltage amplifier gain resistor = 100 kΩ
Output excitation voltage = 2 V p-p
Calibration impedance value, ZCALIBRATION = 9 MΩ
PGA gain = ×1
Supply voltage = 3.3 V
Current to voltage amplifier gain resistor = 9 MΩ
1.0
4
500kΩ
1MΩ
0.5
2
RFB = 10MΩ
CALIBRATION IMPEDANCE = 10MΩ
TA = 25°C
% IMPEDANCE ERROR
% IMPEDANCE ERROR
0
–0.5
–1.0
–1.5
–2.0
0
–2
–4
9.5MΩ
10MΩ
–6
–2.5
–3.5
10
35
60
Output excitation voltage = 2 V p-p
Calibration impedance value, ZCALIBRATION = 100 kΩ
PGA gain = ×1
Supply voltage = 3.3 V
Current to voltage amplifier gain resistor = 100 kΩ
3
–1
–3
–5
1.5MΩ
2MΩ
05325-083
% IMPEDANCE ERROR
RFB = 1MΩ
CALIBRATION IMPEDANCE = 1MΩ
TA = 25°C
–9
35
60
60
100
Figure 27. Range 6: Typical % Impedance Error over Frequency
Range 5 (1 MΩ to 2 MΩ)
10
35
FREQUENCY (kHz)
Figure 25. Range 4: Typical % Impedance Error over Frequency
–7
–10
10
100
FREQUENCY (kHz)
1
–8
05325-084
RFB = 100kΩ
CALIBRATION IMPEDANCE = 100kΩ
TA = 25°C
05325-082
–3.0
100
FREQUENCY (kHz)
Figure 26. Range 5: Typical % Impedance Error over Frequency
Rev. 0 | Page 17 of 32
AD5934
PERFORMING A FREQUENCY SWEEP
PROGRAM FREQUENCY SWEEP PARAMETERS
INTO RELEVANT REGISTERS
(1) START FREQUENCY REGISTER
(2) NUMBER OF INCREMENTS REGISTER
(3) FREQUENCY INCREMENT REGISTER
PLACE THE AD5934 INTO STANDBY MODE.
RESET: BY ISSUING A RESET COMMAND TO
CONTROL REGISTER THE DEVICE IS PLACED
IN STANDBY MODE.
PROGRAM INITIALIZE WITH START
FREQUENCY COMMAND TO THE CONTROL
REGISTER.
PROGRAM START FREQUENCY SWEEP
COMMAND IN THE CONTROL REGISTER, AFTER
A SUFFICIENT AMOUNT OF SETTLING TIME
HAS ELAPSED.
POLL STATUS REGISTER TO CHECK IF
THE DFT CONVERSION IS COMPLETE.
N
Y
PROGRAM THE INCREMENT FREQUENCY OR
THE REPEAT FREQUENCY COMMAND TO THE
CONTROL REGISTER.
READ VALUES FROM REAL AND
IMAGINARY DATA REGISTER.
Y
POLL STATUS REGISTER TO CHECK IF
FREQUENCY SWEEP IS COMPLETE.
N
PROGRAM THE AD5934
INTO POWER-DOWN MODE.
Figure 28. Frequency Sweep Flow Chart
Rev. 0 | Page 18 of 32
05325-047
Y
AD5934
REGISTER MAP
Table 7.
Register Name
CONTROL
START FREQUENCY
FREQUENCY INCREMENT
NUMBER OF INCREMENTS
NUMBER OF SETTLING TIME CYCLES
STATUS
REAL DATA
IMAGINARY DATA
Register Address
80 h
81 h
82 h
83 h
84 h
85 h
86 h
87 h
88 h
89 h
8A h
8B h
8F h
94 h
95 h
96 h
97 h
Register Data
D15 to D8
D7 to D0
D23 to D16
D15 to D8
D7 to D0
D23 to D16
D15 to D8
D7 to D0
D15 to D8
D7 to D0
D15 to D8
D7 to D0
D7 to D0
D15 to D8
D7 to D0
D15 to D8
D7 to D0
Read/Write Register
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read Only
Read Only
Read Only
Read Only
Read Only
CONTROL REGISTER
Table 8. 16-Bit Register
80 h
81 h
D15 to D8
D7 to D0
Table 9. Control Register Map
Read or Write
Read or Write
Bit
The CONTROL register is a 16-bit register that sets the AD5934
control modes. The 4 MSBs of the CONTROL register are
decoded to provide control functions, such as performing a
frequency sweep, powering down the part, and various other
control functions defined in the CONTROL register map.
The user may choose to write only to Register Location 80 h
and not to alter the contents of 81 h. Note that the CONTROL
register should not be written to as part of a Block Write
command. The CONTROL register also allows the user to
program the excitation voltage and set the system clock. A
Reset command to the CONTROL register does not reset any
programmed values associated with the sweep (that is, Start
frequency, number of increments, frequency increment). After
a Reset command, an Initialize with Start Frequency command
must be issued to the CONTROL register to restart the
frequency sweep sequence (see Figure 28).
Default value upon reset: D15 to D0 reset to A0 00H upon
power-up. The AD5934 contains a 16-bit control register
(Address 80h and 81h) that sets the AD5934 control modes.
D15
0
0
D14
0
0
D13
0
0
D12
0
1
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
0
1
0
0
1
0
1
0
1
D10
0
0
1
1
D9
0
1
0
1
D11
D8
D7
D6
D5
D4
D3
D2
D1
D0
Rev. 0 | Page 19 of 32
1
0
No operation
Initialize with Start
Frequency
Start Frequency Sweep
Increment Frequency
Repeat Frequency
No operation
No operation
Power down mode
Standby mode
No operation
No operation
No operation
Output voltage range
Range 1 ( 2.0 V p-p typ)
Range 3 (200 mV p-p typ)
Range 4 (400 mV p-p typ)
Range 2 (1.0 V p-p typ)
PGA gain 0 = ×5, 1 = ×1
Reserved. Set to 0.
Reserved. Set to 0.
Reserved. Set to 0.
Reset
External System clock.
Must be set to 1.
Must be Set to 0.
Reserved. Set to 0.
Reserved. Set to 0.
AD5934
CONTROL Register Decode
START FREQUENCY REGISTER
Initialize with Start Frequency
This command enables the DDS to output the programmed
start frequency for an indefinite time. It is used is to excite the
unknown impedance initially. When the output unknown
impedance has settled after a time determined by the user, the
user must initiate a Start Frequency Sweep command to begin
the frequency sweep.
Table 10. 24-Bit Register
Start Frequency Sweep
In this mode the ADC starts measuring after the programmed
number of settling time cycles has elapsed. The user has the
ability to program an integer number of output frequency cycles
(settling time cycles) to Register 8A h and Register 8B h before
the commencement of the measurement at each frequency
point. See Figure 28.
Increment Frequency
The Increment Frequency command is used to step to the next
frequency point in the sweep. This usually happens after data
from the previous step has been transferred and verified by the
DSP. When the AD5934 receives this command, it waits for the
programmed number of settling time cycles before beginning
the ADC conversion process.
Repeat Frequency
There is the facility to repeat the current frequency point
measurement by issuing a Repeat Frequency command to the
CONTROL register. This has the benefit of allowing the user to
average successive readings.
Power-Down
The default state on power-up of the AD5934 is power-down
mode. The CONTROL register contains the code
1010000000000000 (A000h). In this mode both the output and
input VOUT and VIN pins are connected internally to GND.
Standby Mode
Powers up the part for general operation; in standby mode the
VIN and VOUT pins are internally connected to ground.
Reset
A Reset command allows the user to interrupt a sweep. The
START FREQUENCY, NUMBER OF INCREMENTS, and
FREQUENCY INCREMENT register contents are not
overwritten. An Initialize with Start Frequency command is
required to restart the Frequency Sweep command sequence.
Output Voltage Range
This allows the user to program the excitation voltage range at
VOUT.
82 h
83 h
84 h
D23 to D16
D15 to D8
D7 to D0
Read or Write
Read or Write
Read or Write
The START FREQUENCY register contains the 24-bit digital
representation of the frequency from where the subsequent
frequency sweep is initiated. For example, if the user requires
the sweep to start from frequency 30 kHz (using a 16.00 MHz
clock), then the user programs 3D hex to Register Location
82 h, 70 hex to Register Location 83h, and A3 hex to
Register Location 84 h. This ensures the output frequency starts at
30 kHz.
The code to be programmed to the START FREQUENCY
register is
⎛
⎞
⎜
⎟
30 kHz ⎟ 27
⎜
Start Frequency Code =
× 2 ≡ 3D70A3 hexidecimal
⎜ ⎛ 16 MHz ⎞ ⎟
⎟
⎜
⎜
⎟
⎝ ⎝ 16 ⎠ ⎠
Default value upon reset: D23 to D0 are not reset on power-up.
After a Reset command the contents of this register are not reset.
FREQUENCY INCREMENT REGISTER
Table 11.
85 h
86 h
87 h
D23 to D16
D15 to D8
D7 to D0
Read or Write
Read or Write
Read or Write
The FREQUENCY INCREMENT register contains a 24-bit
representation of the frequency increment between consecutive
frequency points along the sweep. For example, if the user
requires an increment step of 30 Hz using a 16.0 MHz clock, the
user should program 00 hex to Register Location 85 h, 0F hex to
Register Location 86 h and BA hex to Register Location 87 h.
The formula for calculating the increment frequency is given by
⎛
⎞
⎜
⎟
10 Hz ⎟ 27
⎜
Frequency Increment Code =
× 2 ≡ 00053E hexidecimal
⎜ ⎛ 16 MHz ⎞ ⎟
⎟
⎜
⎜
⎟
⎝ ⎝ 16 ⎠ ⎠
The user programs 00 hex to Register 85 h, 05 hex to
Register 86 h, and 3E hex to Register 87 h.
Default value upon reset: D23 to D0 are not reset on power-up.
After a Reset command, the contents of this register are not reset.
PGA Gain
This allows the user to amplify the response signal into the
ADC by a multiplication factor of ×5 or ×1.
Rev. 0 | Page 20 of 32
AD5934
NUMBER OF INCREMENTS REGISTER
Table 12. 16-Bit Register
Bits D15 to D9 = Don’t care
Bits D8 to D0 = Number of frequency increments
88 h
89 h
D15 to D8
D7 to D0
Read or Write
Read or Write
Integer number stored in binary
format
This register determines the number of frequency points in the frequency sweep. The number of points is represented by a 9-bit word,
D8 to D0. D9 to D15 are don’t care bits. This register in conjunction with the START FREQUENCY register and the INCREMENT
FREQUENCY registers determine the frequency sweep range for the sweep operation. The maximum number of increments which can
be programmed is 511.
Default value upon reset: D8 to D0 are not reset on power-up. After a Reset command, the contents of this register are not reset.
NUMBER OF SETTLING TIME CYCLES REGISTER
Table 13. 16-Bit Register
D15 to D11 = Don’t Care
D10 to D9 = 2-Bit Decode
D8 = MSB Number of Settling Time Cycles
D10 D9
0 0 Default
0 1 Number Cycles × 2
1 0 Reserved
1 1 Number Cycles × 4
Number of Settling Time Cycles
8A h
D15 to D8
Read or Write
Integer number stored in binary format
8B h
D7 to D0
Read or Write
This register determines the number of output excitation cycles that are allowed to pass through the unknown impedance, after receipt of
a Start, Increment, or Repeat Frequency command, before the ADC is triggered to perform a conversion of the response signal. The
SETTLING TIME CYCLES register value determines the delay between a Frequency Start/Increment/Repeat command and the time an
ADC conversion commences. The number of cycles is represented by a 9-bit word, D8 to D0. The value programmed into the SETTLING
TIME CYCLES register can be increased by a factor of 2 or 4 depending upon the status of bits D10 to D9. The 5 most significant bits,
D15 to D11, are don’t care bits. The maximum number of output cycles that can be programmed is 511 × 4 = 2044 cycles. For example,
consider an excitation signal of 30 kHz. The maximum delay between the programming of this frequency and the time that this signal is
first sampled by the ADC is ≈ 511 × 4 × 33.33 μs = 68.126 ms. The ADC takes 1024 samples, and the result is stored as real and imaginary
data in Register 94 h to Register 97 h. The conversion process takes approximately 1 ms using a 16.777 MHz clock.
Default value upon reset: D10 to D0 are not reset on power-up. After a Reset command, the contents of this register are not reset.
Rev. 0 | Page 21 of 32
AD5934
Valid Real/Imaginary Data
STATUS REGISTER
Table 14. 8-Bit Register
8F h
D7 to D0
Read Only
Bits
The STATUS register is used to confirm that particular
measurement tests have been successfully completed. Each of
the bits from D7 to D0 indicates the status of specific
functionality of the AD5934.
D0, and Bit D4 to Bit D7 are treated as don’t care bits, these bits
do not indicate the status of any measurement
The status of bit D1 indicates the status of a frequency point
impedance measurement. This bit is set when the AD5934
has completed the current frequency point impedance
measurement. This indicates that there is valid real and
imaginary data in Register 93 h to Register 97 h. This bit is
reset on receipt of a Start, Increment, Repeat Frequency, or
Reset command. This bit is also reset on power-up.
Set when data processing for the last frequency point in the sweep
is complete. Reset when a Start Frequency Sweep command is
issued to the CONTROL register. This bit is also reset when a
Reset command is issued to the CONTROL register.
Table 16. Real Data
94 h
95 h
D15 to D8
D7 to D0
Read Only
Read Only
Twos complement
data
Table 17. Imaginary Data
96 h
97 h
D15 to D8
D7 to D0
Read Only
Read Only
Twos complement
data
These registers contain a digital representation of the real
and imaginary components of the impedance measured for
the current frequency point. The values are stored in 16-bit,
twos complement format. To convert this number to an actual
Table 15. STATUS Register
Control Word
0000 0001
0000 0010
0000 0100
0000 1000
0001 0000
0010 0000
0100 0000
1000 0000
Frequency Sweep Complete
REAL AND IMAGINARY DATA REGISTERS (16 BITS)
The status of bit D2 indicates the status of the programmed
frequency sweep. This bit is set when all programmed
increments to the NUMBER of INCREMENTS register are
complete. This bit is reset on power-up and on receipt of a
Reset command.
STATUS Register
Address
8F h
8F h
8F h
8F h
8F h
8F h
8F h
8F h
Set when data processing for the current frequency point is
finished, indicating real/imaginary data available for reading.
Reset when a DDS Start/Increment/Repeat command is issued.
Also this bit is reset to 0 when a Reset command is issued to the
CONTROL register.
Function
Reserved
Valid real/imaginary data
Frequency sweep complete
Reserved
Reserved
Reserved
Reserved
Reserved
impedance value, the magnitude— (Real 2 and Imaginary 2 ) —
must be multiplied by an admittance/code number (called a
gain factor) to give the admittance, and the result inverted to
give impedance. The gain factor varies for each ac excitation
voltage/gain combination.
Default value upon reset: These registers are not reset on
power-up or on receipt of a Reset command. Note that the data
in these registers is only valid if Bit D1 in the STATUS register
is set, indicating that the processing at the current frequency
point is complete.
Rev. 0 | Page 22 of 32
AD5934
SERIAL BUS INTERFACE
Control of the AD5934 is carried out via the 12C-compliant
serial interface protocol. The AD5934 is connected to this bus
as a slave device under the control of a master device. The
AD5934 has a 7-bit serial bus slave address. When the device is
powered up, it has a default serial bus address, 0001101 (0D hex)
Data is sent over the serial bus in sequences of nine clock
pulses, 8 bits of data followed by an acknowledge bit, which can
be from the master or slave device. Data transitions on the data
line must occur during the low period of the clock signal and
remain stable during the high period, because a low-to-high
transition when the clock is high may be interpreted as a stop
signal. If the operation is a write operation, the first data byte
after the slave address is a command byte. This tells the slave
device what to expect next. It may be an instruction telling the
slave device to expect a block write, or it may be a register
address that tells the slave where subsequent data is to be
written. Because data can flow in only one direction as defined
by the R/W bit, it is not possible to send a command to a slave
device during a read operation. Before performing a read
operation, it is sometimes necessary to perform a write
operation to tell the slave what sort of read operation to expect
and/or the address from which data is to be read.
GENERAL I2C TIMING
The general I2C protocol operates as described in this section.
Figure 29 shows the timing diagram for general read and write
operations using the I2C-compliant interface.
The master initiates data transfer by establishing a start
condition, defined as a high to low transition on the serial data
line (SDA) while the serial clock line (SCL) remains high. This
indicates that a data stream follows. The slave responds to the
start condition and shifts in the next 8 bits, consisting of a 7-bit
slave address (MSB first) plus an R/W bit, which determines the
direction of the data transfer—that is, whether data is written to
or read from the slave device (0 = write, 1 = read).
When all data bytes have been read or written, stop conditions
are established. In write mode, the master pulls the data line
high during the 10th clock pulse to assert a stop condition. In
read mode, the master device releases the SDA line during the
low period before the ninth clock pulse, but the slave device
does not pull it low. This is known as a no acknowledge
(NACK). The master then takes the data line low during the low
period before the 10th clock pulse, then high during the 10th
clock pulse to assert a stop condition.
The slave responds by pulling the data line low during the low
period before the ninth clock pulse, known as the acknowledge
bit, and holding it low during the high period of this clock
pulse. All other devices on the bus remain idle while the
selected device waits for data to be read from or written to it.
If the R/W bit is 0, then the master writes to the slave device.
If the R/W bit is 1, the master reads from the slave device.
SCL
START COND
BY MASTER
0
0
0
1
1
SLAVE ADDRESS BYTE
0
1
D7
R/W
D6
ACK. BY
AD5934
Figure 29.
Rev. 0 | Page 23 of 32
D5
D4
D3
D2
REGISTER ADDRESS
D1
D0
ACK. BY
MASTER/SLAVE
05325-048
SDA
AD5934
WRITING/READING TO THE AD5934
The interface specification defines several different protocols
for different types of read and write operations. This section
describes the protocols used in the AD5934. The figures in this
section use the following abbreviations:
S
P
R
W
A
A
Start
Stop
Read
Write
Acknowledge
No acknowledge write byte/command byte
In the AD5934, the write byte protocol is also used to set a
pointer to a register location. This is used for a subsequent
single-byte read from the same address or block read or write
starting at that address.
To set a register pointer, the following sequence is applied:
The master device asserts a start condition on SDA.
2.
The master sends the 7-bit slave address followed by the
write bit (low).
3.
The addressed slave device asserts ACK on SDA.
User Command Codes
4.
The command codes in Table 18 are used for reading/writing to
the interface. They are further explained in this section, but are
grouped here for easy reference.
The master sends a pointer command code (see Table 18, a
pointer command = 1011 0000).
5.
The slave asserts ACK on SDA.
6.
The master sends a data byte (a register location where
pointer is to point).
7.
The slave asserts ACK on SDA.
8.
The master asserts a stop condition on SDA to end the
transaction.
Table 18.
Command
Code
1010 0000
Code
Name
Block
Write
1010 0001
Block
Read
1011 0000
Address
Pointer
Code Description
This command is used when writing
multiple bytes to the RAM. See the
Block Write section.
This command is used when reading
multiple bytes from RAM/memory.
See the Block Read section.
This command enables the user to set
the address pointer to any location in
the memory. The data contains the
address of the register where the
pointer should be pointing.
Write Byte/Command Byte
In this operation the master device sends a byte of data to the
slave device. The write byte can either be a data byte write to a
RAM location or can be a command operation. To write data to
a register the command sequence is as follows:
SLAVE
ADDRESS
S
W
POINTER COMMAND
1011 0000
A
A
REGISTER LOCATION
TO POINT TO
A
P
05325-050
1.
Figure 31. Setting Pointer to Register Address
BLOCK WRITE
In this operation, the master device writes a block of data to a
slave device. The start address for a block write must previously
have been set. In the case of the AD5934 this is done by setting
a pointer to set the register address.
1.
The master device asserts a start condition on SDA.
2.
The master sends the 7-bit slave address followed by the
write bit (low).
3.
The addressed slave device asserts ACK on SDA.
2.
The master sends the 7-bit slave address followed by the
write bit (low).
4.
The master sends an 8-bit command code (1010 0000) that
tells the slave device to expect a block write.
3.
The addressed slave device asserts ACK on SDA.
5.
The slave asserts ACK on SDA.
4.
The master sends a register address.
6.
The master sends a data byte that tells the slave device the
number of data bytes to be sent to it.
5.
The slave asserts ACK on SDA.
7.
The slave asserts ACK on SDA.
6.
The master sends a data byte.
8.
The master sends the data bytes.
7.
The slave asserts ACK on SDA.
9.
The slave asserts ACK on SDA after each data byte.
8.
The master asserts a stop condition on SDA to end the
transaction.
10. The master asserts a stop condition on SDA to end the
transaction.
S
SLAVE
ADDRESS
W
A
REGISTER
ADDRESS
A
REGISTER
DATA
A
P
S
SLAVE
ADDRESS
Figure 30. Writing Register Data to Register Address
Rev. 0 | Page 24 of 32
W
A
BLOCK
WRITE
A
NUMBER
BYTES WRITE
A
BYTE 0
A
BYTE 1
Figure 32. Writing a Block Write
A
BYTE 2
A
P
05325-051
The master device asserts a start condition on SDA.
05325-049
1.
AD5934
AD5934 READ OPERATIONS
The AD5934 uses the following I2C read protocols:
Block Read
Receive Byte
In this operation, the master device reads a block of data from a
slave device. The start address for a block read must previously
have been set by setting a pointer.
In the AD5934, the receive byte protocol is used to read a single
byte of data from a register location whose address has
previously been set by setting the address pointer.
In this operation, the master device receives a single byte from a
slave device as follows:
1.
The master device asserts a start condition on SDA.
2.
The master sends the 7-bit slave address followed by the
read bit (high).
3.
The addressed slave device asserts ACK on SDA.
4.
The master receives a data byte.
5.
The master asserts NACK on SDA (slave needs to check
that master has received data).
The master asserts a stop condition on SDA and the
transaction ends.
SLAVE
ADDRESS
R
A
REGISTER
DATA
A
P
The master device asserts a START condition on SDA.
2.
The master sends the 7-bit slave address followed by the
write bit (low).
3.
The addressed slave device asserts ACK on SDA.
4.
The master sends a command code (1010 0001) that tells
the slave device to expect a block read.
5.
The slave asserts ACK on SDA.
6.
The master sends a byte count data byte that tells the slave
how many data bytes to expect.
7.
The slave asserts ACK on SDA.
8.
The master asserts a repeat start condition on SDA. This is
required to set the read bit high.
9.
The master sends the 7-bit slave address followed by the
read bit (high).
10. The slave asserts ACK on SDA.
11. The master receives the data bytes.
Figure 33. Reading Register Data
12. The master asserts ACK on SDA after each data byte.
13. A NACK is generated after the last byte to signal the end of
the read.
14. The master asserts a stop condition on SDA to end the
transaction.
S
SLAVE
ADDRESS
SLAVE
ADDRESS
R
W
A
A
BLOCK
READ
A
BYTE 0
A
BYTE 1
NUMBER
BYTES READ
A
BYTE 2
Figure 34. Performing a Block Read
Rev. 0 | Page 25 of 32
A
S
A
P
05325-053
S
05325-052
6.
1.
AD5934
TYPICAL APPLICATIONS
This section describes typical applications for the AD5934.
When a known strain of a virus is added to a blood sample
that already contains a virus, a chemical reaction takes place
whereby the impedance of the blood under certain conditions
changes. By characterizing this effect across different
frequencies it is possible to detect a specific strain of virus.
For example, a strain of the disease exhibits a certain
characteristic impedance at one frequency but not at another,
therefore the requirement to sweep different frequencies to
check for different viruses. The AD5934, with its 27-bit phase
accumulator, allows for sub-Hz frequency tuning.
SENSOR/COMPLEX IMPEDANCE MEASUREMENT
The operational principle of a capacitive proximity sensor is
based on the change of a capacitance in a RLC resonant circuit.
This leads to changes in the resonant frequency of the RLC
circuit, which can be evaluated as shown Figure 36.
It is first required to tune the RLC circuit to the area of
resonance. At the resonant frequency, the impedance of the
RLC circuit is at a maximum. Therefore, a programmable
frequency sweep and tuning capability is required, which is
provided by the AD5934.
16
2
15
3
TOP VIEW 14
(Not to Scale)
4
13
5
12
RFB
PROXIMITY IMPEDANCE (Ω)
The AD5934 can be used to inject a stimulus signal through
the blood sample via a probe. The response signal is analyzed
and the effective impedance of the blood is tabulated. The
AD5934 is ideal for this application because it allows the user to
tune to the specific frequency required for each test.
1
CHANGE IN
RESONANCE DUE
TO APPROACHING
OBJECT
RESONANT
FREQUENCY
ADuC702x
TOP VIEW
(Not to Scale)
AD5934
FO
FREQUENCY (Hz)
05325-058
BIOMEDICAL: NONINVASIVE BLOOD IMPEDANCE
MEASUREMENT
Figure 36. Detecting a Change in Resonant Frequency
6
11
7
10
8
9
An example of the use of this type of sensor is for a train
proximity measurement system. The magnetic fields of the
train approaching on the track change the resonant frequency
to an extent that can be characterized. This information can be
sent back to a mainframe system to show the train location
on the network.
PROBE
7V
2
6
10μF
4
Figure 35. Measuring a Blood Sample for a Strain of Virus
05325-057
0.1μF
ADR43x
Another application for the AD5934 is in parked vehicle
detection. The AD5934 is placed in an embedded unit
connected to a coil of wire underneath the parking location.
The AD5934 outputs a single frequency within the 80 kHz to
100 kHz frequency range, depending upon the wire
composition. The wire can be modeled as a resonant circuit.
The coil is calibrated with a known impedance value and at a
known frequency. The impedance of the loop is monitored
constantly. If a car is parked over the coil, the impedance of the
coil changes and the AD5934 detects the presence of the car.
Rev. 0 | Page 26 of 32
AD5934
ELECTRO-IMPEDANCE SPECTROSCOPY
The AD5934 has found use in the area of corrosion monitoring.
Corrosion in a metal such as aluminum, which is used in air
craft and ships, requires continuous assessment because the
metal is exposed to a wide variety of conditions such as temperature and moisture. The AD5934 offers an accurate and
compact solution for this type of measurement compared to the
large and expensive existing units on the market.
Mathematically the corrosion of a metal is modeled using a
RC network which consists of a resistance,Rs, in series with a
parallel resistor and capacitor, Rp and Cp. A system metal
would typically have values as follows: Rs 10 Ω to 10 kΩ,
Rp 1 kΩ to 1 MΩ, and Cp 5 μf to 70 μf.
The frequency range of interest when monitoring corrosion is
0.1 Hz to 100 kHz.
To ensure that the measurement itself does not introduce a
corrosive effect, the metal needs to be excited with minimal
voltage, typically in the 200 mV region which the AD5934 is
capable of outputting. A nearby processor or control unit
like the ADuc702x would log a single impedance sweep from
0.1 kHz to 100 kHz every 10 minutes and download the results
back to a control unit. In order to achieve system accuracy
from the 0.1 kHz to 1 kHz region, the system clock needs to be
scaled down from the 16.776 MHz nominal clock frequency to
500 kHz, typically. The clock scaling can be achieved digitally
using an external direct digital synthesizer like the AD9834
as a programmable divider, which supplies a clock signal to
MCLK and which can be controlled digitally by the nearby
microprocessor.
Rev. 0 | Page 27 of 32
AD5934
CHOOSING A REFERENCE FOR THE AD5934
To achieve the best performance from the AD5934, thought
should be given to the choice of a precision voltage reference.
The AD5934 has three reference inputs: (AVDD1, AVDD2, and
DVDD). It is recommended that the voltage on these reference
inputs be run from the same voltage supply.
There are four possible sources of error that should be
considered when choosing a voltage reference for high accuracy
applications: initial accuracy, ppm drift, long-term drift, and
output voltage noise. To minimize these errors, a reference with
high initial accuracy is preferred. Also, choosing a reference
with an output trim adjustment, such as a device in the
ADR43X family, allows a system designer to trim system errors
by setting a reference voltage to a voltage other than the
nominal. The trim adjustment can also be used at temperature
to trim out any error.
Because the supply current required by the AD5934 is
extremely low, the parts are ideal for low supply applications.
The ADR395 voltage reference is recommended in this case.
This requires less than 100 μA of quiescent current. It also
provides very good noise performance at 8 μV p-p in the
0.1 Hz to 10 Hz range.
Long-term drift is a measure of how much the reference drifts
over time. A reference with a tight long-term drift specification
ensures that the overall solution remains stable during its entire
lifetime. A reference with a tight temperature coefficient
specification should be chosen to reduce temperature
dependence of the system output voltage on ambient
conditions.
In high accuracy applications, which have a relatively low noise
budget, reference output voltage noise needs to be considered.
Choosing a reference with as low an output noise voltage as
practical for the system noise resolution required is important.
Precision voltage references such as the ADR433 produce low
output noise in the 0.1 Hz to 10 Hz region. Examples of some
recommended precision references for use as supply to the
AD5934 are shown in Table 19.
Table 19. List of Precision References for theAD5934
Part No.
ADR433B
ADR433A
ADR434B
ADR434A
ADR435B
ADR435A
ADR439B
ADR439A
Initial Accuracy (mV max)
±1.4
±4.0
±1.5
±5
±2
±6
±2
±5.4
Output Voltage (V)
3. 0
3. 0
4. 096
4. 096
5.0
5.0
4.5
4.5
Temp. Drift (ppm/°C max)
3
10
3
10
3
10
3
10
Rev. 0 | Page 28 of 32
0.1 Hz to 10 Hz Noise (μV p-p typ)
3.75
3.75
6.25
6.25
8
8
7.5
7.5
AD5934
LAYOUT AND CONFIGURATION
POWER SUPPLY BYPASSING AND GROUNDING
When accuracy is important in a circuit, carefully consider the
power supply and ground return layout on the board. The
printed circuit board containing the AD5934 should have
separate analog and digital sections, each having its own area
of the board. If the AD5934 is in a system where other devices
require an AGND-to-DGND connection, the connection
should be made at one point only. This ground point should be
as close as possible to the AD5934.
The power supply to the AD5934 should be bypassed with
10 μF and 0.1 μF capacitors. The capacitors should be physically
as close as possible to the device, with the 0.1 μF capacitor
ideally right up against the device. The 10 μF capacitors are the
tantalum bead type. It is important that the 0.1 μF capacitor has
low effective series resistance (ESR) and effective series
inductance (ESI); common ceramic types of capacitors are
suitable. The 0.1 μF capacitor provides a low impedance path to
ground for high frequencies caused by transient currents due to
internal logic switching.
The power supply line itself should have as large a trace as
possible to provide a low impedance path and reduce glitch
effects on the supply line. Clocks and other fast switching
digital signals should be shielded from other parts of the board
by digital ground. Avoid crossover of digital and analog signals
if possible. When traces cross on opposite sides of the board,
ensure that they run at right angles to each other to reduce
feedthrough effects on the board. The best board layout
technique is the microstrip technique where the component
side of the board is dedicated to the ground plane only and the
signal traces are placed on the solder side. However, this is not
always possible with a 2-layer board.
Rev. 0 | Page 29 of 32
AD5934
OUTLINE DIMENSIONS
6.50
6.20
5.90
16
9
5.60
5.30
5.00
1
8.20
7.80
7.40
8
PIN 1
2.00 MAX
0.05 MIN
0.65
BSC
1.85
1.75
1.65
0.38
0.22
0.25
0.09
SEATING
PLANE
8
4
0
0.95
0.75
0.55
COPLANARITY
0.10
COMPLIANT TO JEDEC STANDARDS MO-150-AC
Figure 37. 16-Lead Shrink Small Outline Package [SSOP]
(RS-16)
Dimensions shown in millimeters
ORDERING GUIDE
Model
AD5934YRSZ 1
AD5934YRSZ-REEL71
EVAL-AD5934EB
1
Temperature Range
−40°C to +125°C
−40°C to +125°C
−40°C to +125°C
Package Description
16-Lead Shrink Small Outline Package (SSOP)
16-Lead Shrink Small Outline Package (SSOP)
Evaluation Board
Z = Pb-free part.
Rev. 0 | Page 30 of 32
Package Option
RS-16
RS-16
AD5934
NOTES
Rev. 0 | Page 31 of 32
AD5934
NOTES
Purchase of licensed I2C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips I2C Patent
Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips.
© 2005 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
D05325–0–6/05(0)
T
T
Rev. 0 | Page 32 of 32