File Exchange

image thumbnail

Impedance Frequency Response Measurement with Matlab

version 1.4.0.0 (43.9 KB) by Hristo Zhivomirov
Impedance frequency response measurement of a two-terminal circuit with NI USB-6211.

6 Downloads

Updated 07 Apr 2019

View License

The code presented here concerns the impedance frequency response measurement of a two-terminal circuit with DAQ-system NI USB-6211. The measurement is based on the Discrete Fourier Transform (DFT) and Maximum Likelihood estimation (MLE) of the amplitude and phase of the voltage across- and the current through- the two-terminal circuit. Then the impedance modulus and phase is calculated. The excitation of the device under test is performed via single-tone sine wave signal with stepwise increasing frequency. The code provides:
1) a plot of the impedance frequency response (modulus and phase) of the two-terminal circuit;
2) data.txt file with the measurement results (for post-processing).

The code is based on the theory described in:

[1] H. Zhivomirov, I. Iliev. Impedance Frequency Response Measurement with Matlab Implementation. Journal of the Technical University of Gabrovo, ISSN: 1310-6686, Vol. 52, pp. 61-65, 2016. (http://epubl.tugab.bg/documents/cat_view/46-----/61--52-----)

[2] NI USB-621x Specifications.pdf. Austin, National Instruments, Corp., 2009.

Cite As

H. Zhivomirov, I. Iliev. Impedance Frequency Response Measurement with Matlab Implementation. Journal of the Technical University of Gabrovo, ISSN: 1310-6686, Vol. 52, pp. 61-65, 2016. (http://epubl.tugab.bg/documents/cat_view/46-----/61--52-----)

Hristo Zhivomirov (2019). Impedance Frequency Response Measurement with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/50637-impedance-frequency-response-measurement-with-matlab), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Hi Nauman! Thanks for the interest! I use a resistor with value of 0.1 Ohms like simple current-to-voltage convertor (i.e., shunt).

All best,
Hristo

Hi,
Both input and output are voltage signals. What kind of circuit are you using to convert one of them in to current signal?

Thank you

Updates

1.4.0.0

Change of the title of the submission.

1.3.0.0

A new version of the code has been uploaded.

1.2.0.0

A new version of the code has been uploaded.

1.1.0.0

A new version of the code has been uploaded.

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux