LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simulate complex impedance

Solved!
Go to solution

Hi

I would like to plot complex impedance spectra (directly by using complex values), and I may not understand well or make a mistake I do not see.

For instance, for a RC, the impedance should be Z=(RCw-j)/(RCw)

nitad54448_0-1622971133496.png

I do not obtain de half of the circle I expect...

thanks for help (I added the vi as well)

Regards

 

0 Kudos
Message 1 of 5
(1,059 Views)

Hi

I do not know what the problem was, by writing differently, it works as it is supposed to :

nitad54448_0-1622977762764.png

 

 

0 Kudos
Message 2 of 5
(1,031 Views)

Hi nitad,

 


@nitad54448 wrote:

I do not know what the problem was,


You are now using a completely different formula!?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 5
(997 Views)

Hi

Yes, a different formula, but with complex function operations (still I don't know why the first case was not working as I expected).

N

0 Kudos
Message 4 of 5
(989 Views)
Solution
Accepted by nitad54448

Hi nitad,

 

the first formula was (CRw-i)/CRw, which resolves to 1-i/CRw. That is a line parallel to the imaginary (i) axis!

 

The 2nd formula describes the expected "circle" in the Re/Im plane…

 

Btw. you don't need to convert the complex data back to Re/Im arrays to create a plot for your XY graph: the graph can handle complex array data directly!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 5
(956 Views)