From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,079 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,051 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
(1,017 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
(1,009 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
(976 Views)