Professional Documents
Culture Documents
Concept: You already recognize how transfer functions are calculated from acquired
waveforms, using
V (ω ) ℑ{vout (t )}
H (ω ) = out = , [1]
Vin (ω ) ℑ{vin (t )}
where ℑ represents the complex one-sided Fourier Transform (in magnitude and phase
form). Notice now how the complex impedance as a function of frequency is calculated
in exactly the same manner, as
V (ω )
ℑ{v(t )}
Z (ω ) = = , [2]
I (ω ) ℑ{i (t )}
where v and i now stand for the voltage across and current through the impedance, Z.
Measuring circuit: If you use the measuring circuit below (including a measuring
resistor Rm, of known value) in a transfer function measurement,
it’s obvious that vout is the same as the voltage, v, across the impedance. It’s also clear
that, since no current flows in the AI leads, that
v − v out
i = in . [3]
Rm
You need to build a subVI that converts these voltage arrays, with knowledge of the
measuring resistor, into voltage and current, and place it between points A and B above,
like the diagram shown below:
The mySubVI you will wire into the diagram as shown above must take as inputs the
measured input and output voltages (arrays), and a value (which you enter on a new front
panel control) for the measuring resistor Rm. Then, mySubVI must calculate as its
outputs the voltage and current(arrays). You must figure out for yourselves what to put
inside the mySubVI to make it function as designed. All your mySubVI needs to do is
make the calulation in equation [3], above.
One way to organize the front panel of your version of mySubVI is shown below: