Atmega128-AD5933 Impedance calculation problem

Status
Not open for further replies.

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....
Code:
Calcode=sqrt(R*R+I*I); 

   
 //GF=(1/(100000*Calcode)); 

  GF=0.000000000501389; 
         
        
 impedance=(1/(GF*Calcode));
 
I know nothing about the Atmega128 and AD5933.

I'm wondering why you're using hi tech devces to do what I presume could be done on paper using simple maths.

What are you trying to calculate the impedance of?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…