I saw the reference design file CN0349 and CN0217, I think both are 2-wire implementation of the AD5P3x family IC. Can I get the circuit reference for the 4-wire implementation, with impedance range of 50 to 250 ohm.
Help will be highly appreciated.
AD5934
Production
The AD5934 is a high precision impedance converter system
solution that combines an on-board frequency generator with a 12-bit, 250 kSPS, analog-to-digital...
Datasheet
AD5934 on Analog.com
I saw the reference design file CN0349 and CN0217, I think both are 2-wire implementation of the AD5P3x family IC. Can I get the circuit reference for the 4-wire implementation, with impedance range of 50 to 250 ohm.
Help will be highly appreciated.
You may use this post as a starting point:
In the link, it is mentioned that setting Rcal = 20 can set the impedance range from 1 to 60. Can you please explain this, I did not get this. How can Rcal resistor set the range.
Good luck with your project! Depending on the AD5933 frequency range and other settings programmed in you might bump into some unexpected/undocumented behavior, please do not hesitate to post your questions to this forum.
Thank you,
Do I need some filtering on the two input pins?
I have another question,
Do I need any sort of filtering in the receiver end, before any amplification.
Not sure if it is needed, does your application require galvanic decoupling of the impedance to be measured form the electronics?
It really depends on a particular use case - filtering is always tricky as it is not really known what to filter for unless the circuit is tested in real-life application and particular sources of interference are identified. The circuit itself in this 4-wire arrangement is reasonably resistant to environmental interference thanks to common-mode rejection. The high-frequency interference is likely to be sufficiently suppressed by relatively slow INAMP (250 KHz) and the AD5933 built-in 100 KHz low-pass filter.
What is the excitation frequency range you are planning to use? For impedance under test with capacitive response there might be a case for using an additional low-pass filter on the excitation side to filter out high-frequency spikes between the DAC steps in the synthesized voltage sine wave.

I got the desire signal. This is the signal I got on RFB resistor end. I will adjust amplifier gain to get the desire signal amplitude for AD5934's ADC.
Looks good, congrats!
Peak-to-peak voltage on this pin with PGA gain of 1x should not exceed Vdd - 0.2V, and when PGA gain is set at 5x, (Vdd - 0.2V) / 5. This is likely to occur at the higher limit of your impedance under test. The little steps along the sine wave trace are the DAC steps from the frequency synthesizer I mentioned earlier.
The oscilloscope indicates signal frequency at ~ 2.68 KHz, what is the clock frequency coming to the AD5934? Signal frequency might be potentially too low for the "DFT" to give accurate readings.
Looks good, congrats!
Thanks, your help was the main factor.
I will keep peak-to-peak voltage under the rated value.
Frequency is making troubles. Should I post my questions related to frequency and impedance measurement here or should I open a new issue?
I would just keep discussing it in this thread - forum moderators usually move questions to different groups/threads as they see fit, so the questions endup in the right place anyways.
Ok, sounds great.
I follow the CN0349 design in which 1Mhz crystal is used. But now I noticed that, I can get around 7800Hz frequency (maximum) using 1Mhz crystal. Though, I can get higher frequency using sweep() function, but that one is also limited, I think max is 15KHz. For this part I already order 16Mhz crystal, so I will change the crystal.
As you said.
"The oscilloscope indicates signal frequency at ~ 2.68 KHz, what is the clock frequency coming to the AD5934? Signal frequency might be potentially too low for the "DFT" to give accurate readings".
I did calibrate my system with 100 Ohm resistor, with 100 Ohm resistor Vin was almost 1.09 V peak-to-peak. But when I measure 120 Ohm resistor I get impedance value 91. I check Vin for 120 Ohm, which was almost 1.2 V peak-to-peak.
Below is the print values for measuring 120 Ohm resistor.
Red 120 Ohm mean the actual value.
My question is,
Is this because of low frequency or there can be some other issue?
Ok, sounds great.
I follow the CN0349 design in which 1Mhz crystal is used. But now I noticed that, I can get around 7800Hz frequency (maximum) using 1Mhz crystal. Though, I can get higher frequency using sweep() function, but that one is also limited, I think max is 15KHz. For this part I already order 16Mhz crystal, so I will change the crystal.
As you said.
"The oscilloscope indicates signal frequency at ~ 2.68 KHz, what is the clock frequency coming to the AD5934? Signal frequency might be potentially too low for the "DFT" to give accurate readings".
I did calibrate my system with 100 Ohm resistor, with 100 Ohm resistor Vin was almost 1.09 V peak-to-peak. But when I measure 120 Ohm resistor I get impedance value 91. I check Vin for 120 Ohm, which was almost 1.2 V peak-to-peak.
Below is the print values for measuring 120 Ohm resistor.
Red 120 Ohm mean the actual value.
My question is,
Is this because of low frequency or there can be some other issue?
Before getting into the weeds with the frequency, when you say Vin voltage, do you mean RFB voltage? From the screenshot we know the raw Re and Im values, but what were the raw Re and Im values when you connected the calibration resistor of 100 Ohms? Also, is the software that calculates the impedance something you wrote?
Let me add the pictures of the waveform.
100Ohm

120 ohm

AD9534 frequency is 5khz and sweep increment I set to 4 Hz. The acquired signal amplitude does changes but I get 91 Ohm when I place 120 Ohm resistor after calibration.
After calibration with 100 ohm, when I do measure 100 ohm I get 100 ohm.
Yes, I am checking the signal on RFB resistor.
For 100 Ω the Re is 3113 and Im is 4171.
I wrote the software for this part.
The suspicion is that your code thinks that the output is inversely proportional to the impedance under test - which is correct when the AD5934 does not have the 4-wire analog circuits between Vout and Vin. With this 4-wire circuit the output is directly proportional to the impedance under test.
In abstract sense the circuit is converting the impedance into integers in the Re and im registers that constitute complex output Re + j*Im. The conversion factor between physical Ohms and counts in those registers can be viewed as complex gain G. This complex gain can be calibrated with a known resistor: resistor impedance has only real component and zero imaginary component, so Zcal = 100 + j*0 Ohm. The correspondent output is Outcal = Re + j*Im = 3113 + j*4171 = G * (100 + j*0) Ohm, so G = (3113 + j*4171 ) / ((100 + j*0) Ohm). The "unknown" impedance Zx produces output, which is proportional to Zx: Outx = 3400 + j*4574 = G * Zx, so Zx = Outx / G = (3400 + j*4574)*(100 + j*0) Ohm / (3113 + j*4171) ≈ 109.5 + j*0.21 Ohm. As expected from a resistor, the imaginary component is nearly zero. The real component is 109.5 Ohms, which is a bit far from the expected 120 Ohm, but it could still be within manufacturing tolerance of both the resistors used for calibration and as the "unknown."
For this part I already order 16Mhz crystal, so I will change the crystal.
The undocumented issue with the "DFT" implemented in the AD5933/4 is that it only approximates the results given by the textbook DFT. Generally speaking, the synthesized frequency with respect to clock frequency should be relatively high for the "DFT" on the chip to produce reasonably accurate results. To measure at lower frequencies it is often useful to run the chip at lower clock frequency.
Is this because of low frequency or there can be some other issue?
Since you are running your chip on 1MHz clock the frequency should not cause this, but it could if clock frequency were 16MHz.
With this 4-wire circuit the output is directly proportional to the impedance under test.
Yes, I missed that point. Now I am getting 109 Ω when measuring 120 Ω.
The real component is 109.5 Ohms, which is a bit far from the expected 120 Ohm, but it could still be within manufacturing tolerance of both the resistors used for calibration and as the "unknown."
I ordered more resistors (different values) I will calibrate and measure a bunch of different resistors.
Thanks once again.
This is the result.
Yes, it would be great if you could find some 0.1% or better yet 0,05% resistors. Only avoid wire wound type - those may have too much inductance for AC measurements.