background image

EVAL-AD5934EB 

Preliminary Technical Data

 

Rev. PrC | Page 22 of 32 

For example, a user might want to measure an impedance, 
Z

UNKNOWN,

 that is known to have a value within the range of 90 Ω 

to 110 Ω (that is, a small impedance) over the frequency range 
of 30 kHz to 32 kHz. In this case, the user may not be able to 
characterize the output series resistance (R

OUT

) directly in the 

factory/lab. Therefore, the user may choose to add an extra 
amplifier circuit as shown in Figure 28 to the signal path of the 
AD5934. The user must ensure that the chosen external 
amplifier has a sufficiently low output series resistance over the 
bandwidth of interest in comparison with the impedance range 
being tested (visit 

www.analog.com/opamps

 for an op amp 

selection guide). The data sheets of most Analog Devices 
amplifiers show the closed loop output impedance vs. frequency 
at different amplifier gains to provide an idea of the effect on 
output series impedance. 

The system settings are as follows: 

VDD = 3.3 V 
VOUT = 2 V p-p 
R2 = 20 kΩ 
R1 = 4 kΩ 
Gain setting resistor = 500 Ω 
Z

UNKNOWN

 = 100 Ω 

PGA setting = ×1 

Choose a ratio of R1/R2 to attenuate the excitation voltage at VOUT. 
With the values of R1 = 4 kΩ and R2 = 20 kΩ, the signal is attenu-
ated by 1⁄5 (1/5 of 2 V p-p = 400 mV). The maximum current 
flowing through the impedance will be 400 mV/90 Ω = 4.4 mA. 

The system is subsequently calibrated at a midpoint frequency 
in the sweep using the usual method with a midpoint impedance 
value of 100 Ω for the calibration resistor and feedback resistor. 
Increasing the value of the I-V gain resistor at the RFB pin 
improves the dynamic range of the input signal to the receive 
side of the AD5934. For example, by increasing the I-V gain 
setting resistor at the RFB pin, the peak-to-peak signal presented to 
the ADC input increases from 400 mV (Rfb = 100 Ω) to 2 V p-p 
(Rfb = 500 Ω). 

The gain factor calculated is for a 100 Ω resistor connected 
between VOUT and VIN, assuming the output series resistance 
of the external amplifier is small enough to be ignored. 

One final important point to note about the biasing of the 
circuit shown in Figure 28 is that the receive side of the AD5934 
is hard biased about VDD/2 by design. Therefore, to prevent the 
output of the external amplifier (attenuated AD5934 range 1 
excitation signal) from saturating the receive side amplifiers of 
the AD5934, a voltage equal to VDD/2 must be applied to the 
noninverting terminal of the external amplifier.  

Measuring Lower Excitation Frequencies 

The AD5934 has a flexible internal direct digital synthesizer (DDS) 
core and DAC, which together generate the excitation signal 

used to measure the impedance (Z

UNKNOWN

). The DDS core has a 

27-bit phase accumulator, allowing subhertz (<0.1 Hz) 
frequency resolution. The output of the phase accumulator is 
connected to the input of a read only memory (ROM). The 
digital output of the phase accumulator is used to address 
individual memory locations in the ROM. The digital contents 
of the ROM represent amplitude samples of a single cycle of a 
sinusoidal excitation waveform. The content of each address 
within the ROM look-up table are in turn passed to the input of 
a digital-to-analog converter (DAC) that produces the analog 
excitation waveform made available at the VOUT pin. The DDS 
core (that is, the phase accumulator and the ROM look-up 
table) and the DAC are referenced from a single system clock. 
The function of the phase accumulator is to act as a system 
clock divider. 

The system clock for the AD5934 DDS engine is provided by 
the user (that is, the user is required to provide a highly 
accurate and stable clock (crystal oscillator) at the external 
clock pin (MCLK, Pin 8)). Ensure that Bit D3 in the CONTROL 
register (Address 81 hex; see 

AD5934

 data sheet) is set (D3 = 1).  

The system clock is also used by the internal ADC to digitize 
the response signal. The ADC requires 16 clock periods to 
perform a single conversion. Therefore, with a maximum 
system clock frequency of 16 MHz, the ADC can sample the 
response signal with a frequency of 250 kHz (16/64 MHz), that is, 
a throughput rate of ≈250 kSPS. The ADC converts 1024 samples 
and passes the digital results to the multiply accumulate (MAC) 
core for processing. The AD5934 MAC core performs a 1024-
point DFT to determine the peak of the response signal at the 
ADC input. The DFT offers many advantages over conventional 
peak detection mechanisms, including excellent dc rejection as 
well as an averaging of errors and phase information.  

The throughput rate of the AD5934 ADC scales with the system 
clock. Therefore, lower ADC throughput rates, and hence sampling 
frequencies, can be achieved by lowering the system clock. 

The conventional DFT assumes a sequence of periodic input 
data samples in order to determine the spectral content of the 
original continuous signal. In the AD5934, these samples come 
from the 12-bit ADC for a user-defined range of signal 
frequencies. The conventional DFT correlates the input signal 
with a series of test phasor frequencies in order to determine 
the fundamental signal frequency and its harmonics. The 
frequency of the test phasor is at integer multiples of a 
fundamental frequency given by the following formula: 

N

f

Frequency

Phasor

Test

S

=

  

where 

f

S

 is the sampling frequency of ADC, and 

N

 is the 

number of samples taken (1024). 

Summary of Contents for EVAL-AD5934EB

Page 1: ...AD5934 and the application software developed to interface to the device The AD5934 is a high precision impedance converter system that combines an on board frequency generator with a 12 bit 250 kSPS ADC The frequency generator allows an external complex im pedance to be excited with a known frequency The response signal from the impedance is sampled by the on board ADC and the DFT is processed by...

Page 2: ...on Descriptions 7 Getting Started 8 Setup Sequence Summary 8 Step 1 Install the Software 8 Step 2 Connect the USB Cable 9 Step 3 Verify the Links and Power Up the Evaluation Board 10 Step 4 Perform a Frequency Sweep 10 Frequently Asked Questions About Installation 13 Source Code for Impedance Sweeps 15 Evaluation Board Source Code Extract 16 Gain Factor Calculation 20 Impedance Measurement Tips 20...

Page 3: ...ound plane at a single point underneath the board LINK FUNCTIONS Table 2 Link Function Descriptions Link No Function LK1 Link 1 is used to connect the output of the optional user supplied external operational amplifier U1 to the VOUT SMB connector see Figure 1 This op amp can be used to amplify buffer the output excitation voltage from the AD5934 Link 1 is used in conjunction with Link 6 and Link ...

Page 4: ...ting amplifier user supplied which is accomplished by removing Link 6 and inserting Link 1 and Link 2 When link 6 is inserted the output of AD5934 is connected directly to the VOUT SMB connector When this link is inserted Link 1 and Link 2 must be removed When Link 6 is removed the output of the AD5934 is not connected directly to the VOUT SMB connector therefore Link 1 and Link 2 must be inserted...

Page 5: ... Pin 6 of the AD5934 or an amplified version depending on the status of LK1 LK2 and LK6 assuming the presence of a user supplied external op amp at U1 see Figure 1 VIN This connector takes the response signal current from across the impedance being analyzed ZUNKNOWN which is connected between the VIN and VOUT SMB connectors and provides a path back to the input pin VIN Pin 5 Link 7 must be inserte...

Page 6: ... LK10 LK5 C25 10µF C26 0 1µF C30 10µF C28 0 1µF C2 10µF C24 0 1µF C29 10µF C27 0 1µF LK8 LK9 C42 15pF VOUT VIN VDD_AMP R4 R3 R1 50Ω DGND CLK1 DGND VDD O P GND XTAL1 C1 0 1nF 4 3 2 DVDD_5V AVDD_SIG AVDD_REF DGND DVDD_5V LK1 DGND DGND T7 T8 SCL SDA VDD_REF AGND DGND AD820 U1 OUT LK4 R2 LK11 5VUSB NC NO CONNECT TEST IMPEDANCE FEEDBACK RESISTOR C41 Figure 2 Setup Link Position Circuit A 15 pF Capacito...

Page 7: ...VIN Input to Receive Transimpedance Amplifier Presents a virtual earth voltage of VDD 2 6 VOUT Excitation Voltage Signal Output 8 MCLK Master Clock for the System User Supplied 9 DVDD Digital Supply Voltage 10 AVDD1 Analog Supply Voltage 1 11 AVDD2 Analog Supply Voltage 2 12 DGND Digital Ground 13 AGND1 Analog Ground 1 14 AGND2 Analog Ground 2 15 SDA I2 C Data Input Open drain pins requiring 10 kΩ...

Page 8: ...ent operating system settings See the Step 2 Connect the USB Cable section 3 Ensure that the appropriate links are made throughout the evaluation board Power up the evaluation board appropriately prior to opening and running the evaluation software program See the Step 3 Verify the Links and Power Up section 4 Configure the main dialog box of the evaluation board software to run the required sweep...

Page 9: ... Error Message STEP 2 CONNECT THE USB CABLE Plug one end of the USB cable into the computer USB hub and connect the other end to the AD5934 evaluation board USB socket see J1 in Figure 37 A message may appear informing you that a USB device has been detected on the host computer and that new hardware has been found see Figure 10 05449 010 Figure 10 USB Device Detected by Host Computer The Found Ne...

Page 10: ...terface panel along with a frequency sweep impedance profile for a 200 kΩ resistive impedance note that RFB 200 kΩ This section describes how to set up a typical sweep across a 200 kΩ impedance when RFB 200 kΩ using the installed AD5934 software The theory of operation and the internal system architecture of the AD5934 device are described in detail in the AD5934 data sheet This is available at ww...

Page 11: ... is accurately measured calibration impedance connected between the VIN and VOUT pins of the AD5934 The choice of calibration impedance topology for example R1 in series with C1 R1 in parallel with C1 etc depends on the application in question However you must ensure that each component of the measured calibration impedance is entered correctly into each chosen topology component text box see Arro...

Page 12: ...or example if you change the output excitation range PGA gain etc after the system has been calibrated that is after the gain factor s have been calculated it is necessary to recalculate the gain factor s in order to sub sequently obtain accurate impedance measurement results The gain factor s calculated in software are not programmed into the AD5934 RAM and are only valid when the evaluation soft...

Page 13: ...uced through the output amplifiers the receive I V amplifier the low pass filter etc along with the phase through the impedance ZØ being analyzed which is connected between VOUT and VIN Pin 6 and Pin 5 of the AD5934 The phase of the system must be calibrated using a resistor before any subsequent impedance phase ZØ measurement can be calculated You need to perform the calibration with a resistor i...

Page 14: ...e AD5934 device drivers have not been installed to the correct registry and therefore cannot be correctly located by the install wizard To reinstall the device drivers right click My Computer and then left click Properties On the Hardware tab choose Device Manager Expand Other devices see Figure 24 Right click USB Device and then left click Uninstall Driver Unplug the evaluation board and wait app...

Page 15: ... the flowchart will be explained with the help of Visual Basic code extracts The evaluation board source code Visual Basic is available upon request from the Analog Devices Technical Support Center The firmware code C code which is downloaded to the USB microcontroller connected to the AD5934 implements the low level I2 C signal control that is read and write vendor requests The Evaluation Board S...

Page 16: ...p frequency Dim Increment As Long used as a temporary counter Dim i As Integer used as a temporary counter in max min mag phase loop Dim xy As Variant used in the stripx profile Dim varray As Variant Dim Gainfactor as double either a single mid point calibration or an array of calibration points Dim TempStartFrequency As Double Dim StartFrequencybyte0 As Long Dim StartFrequencybyte2 As Long Dim St...

Page 17: ...ts in the sweep Frequency StartFrequency the sweep starts from here PROGRAM 30K Hz to the START FREQUENCY register DDSRefClockFrequency 16E6 Assuming a 16M Hz clock connected to MCLK StartFrequency 30E3 frequency sweep starts at 30K Hz TempStartFrequency StartFrequency DDSRefClockFrequency 16 2 27 dial up code for the DDS TempStartFrequency Int TempStartFrequency 30K Hz 3D70A3 hex StartFrequencyby...

Page 18: ...Register H80 H10 msDelay 2 this is a user determined delay dependant upon the network under analysis 2ms delay Start the frequency sweep Start Frequency Sweep WritetToControlRegister H80 H20 Enter Frequency Sweep Loop ReadbackStatusRegister PortRead HD H8F ReadbackStatusRegister ReadbackStatusRegister And H4 mask off bit D2 i e is the sweep complete Do While ReadbackStatusRegister 4 And Increment ...

Page 19: ... this is determined at calibration see gain factor section and Datasheet Impedance 1 Magnitude GainFactor Write Data to each global array MagnitudeArray IndexArray Impedance PhaseArray IndexArray sweep_phase ImagineryDataArray IndexArray ImagineryData code IndexArray Magnitude RealDataArray IndexArray RealData Increment Increment 1 increment was set to number of increments of sweep at the start Fr...

Page 20: ...2 V p p The peak to peak voltage presented to the ADC input is 2 V p p However if a programmable gain amplifier setting gain of 5 is chosen the voltage saturates the ADC and as a result the calculated calibration term that is the gain factor is inaccurate The gain factor should be calculated when the largest response signal is presented to the ADC while ensuring that the signal is maintained withi...

Page 21: ... Resistance Value Typ Range 1 2 V p p 200 Ω Range 2 1 V p p 2 4 kΩ Range 3 0 4 V p p 1 0 kΩ Range 4 0 2 V p p 600 Ω Therefore to accurately calibrate the AD5934 to measure small impedances it is necessary to reduce the signal current by sufficiently attenuating the excitation voltage and to account for the output series resistance value ROUT by factoring it into the gain factor calculation see the...

Page 22: ...DDS core and DAC which together generate the excitation signal used to measure the impedance ZUNKNOWN The DDS core has a 27 bit phase accumulator allowing subhertz 0 1 Hz frequency resolution The output of the phase accumulator is connected to the input of a read only memory ROM The digital output of the phase accumulator is used to address individual memory locations in the ROM The digital conten...

Page 23: ...es the 1024 samples required for the single point DFT to cover an integer number of periods of the current excitation frequency SAMPLES SPAN ENTIRE EXCITATION PERIOD SAMPLE WINDOW DFT ASSUMES A PERIODIC SAMPLE SET 05449 029 Figure 29 Sample Set Spanning the Entire Excitation Period SAMPLES DO NOT SPAN ENTIRE EXCITATION PERIOD DFT ASSUMES A PERIODIC SAMPLE SET 05449 030 Figure 30 Sample Set not Spa...

Page 24: ...er ADC conversion clock speed and the upper excitation limit is now restricted to 7 8125 kHz Measuring Higher Excitation Frequencies The AD5934 is specified to a typical system accuracy of 0 5 within the frequency range of 1 kHz up to 100 kHz assuming the AD5934 system is calibrated correctly for the impedance range being tested The lower frequency limit is determined by the value of the system cl...

Page 25: ...s on the transmit and receive sides of the AD5934 the low pass filter and the impedance connected between the VOUT and VIN pins of the AD5934 The parameters of interest for many users of the AD5934 are the magnitude of the impedance ZUNKNOWN and the impedance phase ZØ The measurement of the impedance phase ZØ is a two step process The first step involves calculating the AD5934 system phase The AD5...

Page 26: ...rd phase angle is dependant on the sign of the real and imaginary components see Table 7 for a summary Figure 34 System Phase Response vs Capacitive Phase Table 7 Phase Angle 100 90 80 70 60 50 0 40 30 20 10 PHASE Degrees 0 15k 30k 45k 60k 75k 90k 105k 120k FREQUENCY Hz 05449 035 Real Imaginary Quadrant Phase Angle Degrees Positive Positive First π 180 tan 1 R I Positive Negative Second π 180 tan ...

Page 27: ...Preliminary Technical Data EVAL AD5934EB Rev PrC Page 27 of 32 EVALUATION BOARD SCHEMATIC 05449 036 Figure 36 Schematic ...

Page 28: ...EVAL AD5934EB Preliminary Technical Data Rev PrC Page 28 of 32 05449 037 Figure 37 Schematic ...

Page 29: ...Preliminary Technical Data EVAL AD5934EB Rev PrC Page 29 of 32 05449 038 Figure 38 05449 039 Figure 39 Schematic ...

Page 30: ...EVAL AD5934EB Preliminary Technical Data Rev PrC Page 30 of 32 ORDERING INFORMATION ORDERING GUIDE Model Description EVAL AD5934EB Evaluation Board ESD CAUTION ...

Page 31: ...Preliminary Technical Data EVAL AD5934EB Rev PrC Page 31 of 32 NOTES ...

Page 32: ...934EB Preliminary Technical Data Rev PrC Page 32 of 32 NOTES 2005 2007 Analog Devices Inc All rights reserved Trademarks and registered trademarks are the property of their respective owners EB05449 0 7 07 PrC ...

Reviews: