To achieve higher accuracy and repeatability of measured sensor impedance using ADuCM350, the RCAL, RTIA , CTIA and the DAC output voltage during the measurement needs to be optimized.
The accurate results can be produced when the ADuCM350 SNR is higher. To achieve higher SNR, the DAC output needs to be around 600 mVp and the ADC input should be around 750 mVp.
600 mVp – Maximum allowable swing from DAC output.
750 mVp – Maximum allowable swing at ADC input.
To calculate the RCAL , RTIA and DAC Output code, the below items needs to be identified.
Based on the above parameters, the RCAL , RTIA , CTIA and DAC Output code values can be calculated.
Please refer to the application note “AN-1271-Optimizing the ADuCM350 for Impedance Conversion” for detailed explanation of this calculations.
4-wire Measurement Set-up with RACCESS:
The diagram shown below depicts the 4-wire measurement to be performed using ADuCM350 with RACCESS to identify the unknown Z value connected between the AFE channels 6 and 3.
RCAL,RTIA,CTIA and DAC Output Selection Procedure:
For the 4-wire measurement diagram shown above,consider the below parameters.
With the above mentioned inputs,the RCAL,RTIA,CTIA and DAC Output values can be selected.
RCAL Selection Procedure:
The RCAL resistor value can be selected as same as the minimum Zsensor value. This allows larger signal during calibration and hence the improved accuracy.
RCAL = Minimum Zsensor = 2000 Ω.
RTIA Selection Procedure:
The RTIA value can be calculated by following the below steps:
1.Calculate the total impedance across the channels. In our case, between AFE6-3 :
= RACCESS1 + RACCESS4+ Zsensor
=10 KΩ + 2000 Ω + 10 KΩ = 22 KΩ.
2.Calculate the current through the channels(AFE6-3) :
= (Maximum DAC output voltage * Attenuation Factor) / Total impedance across the channels.
The attenuation factor can be calculated by using the below equation :
Considering our frequency of interest which is 50 KHz,The attenuation factor is
= 1/(SQRT((1+(50000/50000)^2))) = 0.707
3.The current through channels can be calculated by substituting the above values.
= 600 mVp * 0.707 / 22 KΩ
= 19.28 µA
4.Now, Calculate the optimal RTIA by dividing the maximum allowable ADC input(750 mVp) with the calculated current through the channel.
= 750 mVp / 19.28 µA = 38.9 KΩ.
5. Atlast,select the closest available standard resistor value
i.e. RTIA = 39.2 KΩ 1%.
CTIA Selection Procedure:
The CTIA value can be selected by identifying the cutoff frequency of the measurement signal, RTIA and attenuation factor.
CTIA = 1/(2*∏*Fc* RTIA).
Fc – Cutoff frequency of the RC filter.
The Fc needs to be carefully selected here. If Fc is too close to desired frequency of interest , the ADC input will be attenuated due to the RC filter rolloff.
Considering ,the cutoff frequency ten times the measurement frequency gives a attenuation factor of 0.995.The cutoff frequency selected is 500 KHz.
Now, the CTIA can be calculated by
= ~ 8 pF.
Select the closest available standard capacitor value
i.e. CTIA = 10 pF 5%.
DAC Output Voltage Selection Procedure:
To calculate the DAC output voltage that needs to be programmed in code, multiply the current through the channel with the sensor impedance.
= 19.28 µA * 2000 Ω.
RCAL,RTIA,CTIA and DAC Output Calculator:
The excel sheet"RTIA_RCAL_CTIA_CALCULATOR.xlsx" attached with this FAQ incorporates the above mentioned procedure and calculates the RCAL,RTIA,CTIA and DAC Output as per measurement inputs.
Signal Swings Across AFE Channels
By using the calculated the RCAL , RTIA , CTIA and DAC Output code values, the DAC output swing captured across the AFE channels 3-6 are shown below :
Please note that the maximum swing across the AFE channels are only 848 mVp-p instead of 1.2 Vp-p. This is due to the 0.707 attenuation factor introduced by the RCF in TX path of ADuCM350.
Also the DAC output code, we have programmed is ~39 mV only. This larger swing is introduced by the Raccess resistance of 10 K. The 39 mV swing will be present across the sensor impedance of 2K.
Programming a wrong DAC output in code could cause DAC output saturation or reduced SNR thereby affecting the measurement results.
Signal Swings Across ADC (RTIA) Input:
By using the calculated the RCAL , RTIA , CTIA and DAC Output code values, the signal swing captured across the ADC input is shown below :
Please note that the maximum swing across the ADC input is ~1.5 Vp-p. This helps in achieving maximum SNR and thereby producing accurate measurements.
Thus optimum values for RCAL, RTIA,CTIA and DAC output needs to be selected for obtaining accurate results using ADuCM350.Use the excel sheet calculator attached with this FAQ for selecting them.
I'm trying to measure the output at the D and T nodes using the 4-wire configuration, just to be able to see how accurate is the voltage across the sensor to use it in my calculations.
However, I'm having a little bit of trouble getting a nice sinusoidal wave using the oscilloscope like the ones you posted.
I've programmed a continuous 1kHz 200mV pk-pk sinusoid wave without attenuation. From my understanding, using the 4-wire configuration the voltage at the unknown impedance should be what I've programmed.
I'm connecting one channel of the oscilloscope like this:
Using the connections this way I get this result:
Using the averaging function from the oscilloscope I can get something nicer:
But as you can see I don't get an exact 200mV pk-pk, is this expected or I'm not measuring the output properly.
I'm not quite sure if this is the right way to do it since I don't understand what should I connect as a reference in this case. I tried using AGND and DGND but I could get any results from this.
Hope you can help me clarify this.
Thanks a lot for the Excel sheet!
Thanks for your comment. I will try to do a FAQ on 2-Wire measurements also. Please note that we have a application note "AN-1271" detailing how to set up the ADuCM350 to optimally measure the impedance of an RC sensor using a 2-wire measurement approach.for 2-wire measurement.
Also as per your request, I have attached the 2-Wire measurement RTIA,RCAL and CTIA excel sheet calculator.
here 2_Wire_RCAL_RTIA_RG_RLIMIT_Calculator.xlsx. This should help you to calculate RTIA,RCAL and CTIA values faster.Please let me know if you find any issues.
It would be also nice to have a similar tutorial or Excel sheet for the 2-wire measurement.