k_umapathi
New Member
I am using Atmega128 and AD5933 for calculating Impedance.
When I am studying the data sheet i am getting little bit confusion about calculating the impedance.
For Gain factor calculation i used their formula.
Gain Factor =1/(Impedance*Magnitude).
Afetr gain factor calcultion It reads the Real and imaginary values perfectly and shows impedance =100kohms... My calibartion impedance value is 100Kohm. Start freq:30Khz.
But if I changed any of the Unknown resistance,It changes only small value. It does not show near about or correct resistance or impedance value..
here I have attached my calculation part.. If any other details need that also i will give.
If Its having any mistakes or wrong Please suggest me how i have to change to get original unknown impedance values....
When I am studying the data sheet i am getting little bit confusion about calculating the impedance.
For Gain factor calculation i used their formula.
Gain Factor =1/(Impedance*Magnitude).
Afetr gain factor calcultion It reads the Real and imaginary values perfectly and shows impedance =100kohms... My calibartion impedance value is 100Kohm. Start freq:30Khz.
But if I changed any of the Unknown resistance,It changes only small value. It does not show near about or correct resistance or impedance value..
here I have attached my calculation part.. If any other details need that also i will give.
If Its having any mistakes or wrong Please suggest me how i have to change to get original unknown impedance values....
Code:
Calcode=sqrt(R*R+I*I);
//GF=(1/(100000*Calcode));
GF=0.000000000501389;
impedance=(1/(GF*Calcode));