Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top