필터 지우기
필터 지우기

curve fitting of a nyquist plot

조회 수: 42 (최근 30일)
Ruben Messner
Ruben Messner 2023년 8월 29일
댓글: Star Strider 2023년 9월 6일
hi,
I have impedance data points in a nyquist plot:
Anybody an idea how to fit a curve to that data? The data is stored in a array with complex impedance values. I tried a few things, so far without success...
Highly appreciate your support!
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 8월 29일

When I follow the plot by eye, I get the impression that for any given Re value that the Im value is either positive or negative, but not both. I do not notice any locations in which the same Re has both a positive and negative Im reading.

Am I mistaken about that, or am I correct but it is an artifact, or is it an actual property of the system?

The question becomes whether there is a continuous curve that is vaguely oval-ish, or if instead it is rather discontinuous and we have to find something in the single parameter Re that jumps back and forth between + and -

Ruben Messner
Ruben Messner 2023년 8월 29일
Thx for your comment! The inductive half circle is an artifact of the measurement...

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2023년 8월 29일
I doubt that there is any direct way to fit it, for example to a nyquist plot. You would have to estimate the system first. The data in the plot are apparently from a Fourier transform, so you have frequency response data. If frequency response data are all you have (rather than the original time-domain data), then use the System Identification Toolbox to identify it, beginning with the idfrd function and going from there, probably ssest since it is the most robust in my experience, although tfest is also an option. Use the compare function to understand graphically how well the estimated system fits the data. If you have the original time-domain data, start with the iddata function.
  댓글 수: 15
Ruben Messner
Ruben Messner 2023년 9월 6일
thx for that demonstration!
Yeah so merging multiple iddata works only if the sampling frequency is the same I guess...
I also experimented with the system estimation and found out, that removing the offset of the current signal helps a lot. Here is an example:
I calculated the nyquist plot for all dataSets and that's what they look like:
The numbers don't look too bad. Some of them are pretty similar to my other calculations. Maybe a dumb question: Is the nyquist always symmetric when I use nyquist(sys)?
Star Strider
Star Strider 2023년 9월 6일
As always, my pleasure!
Removing the D-C offset eliminates a significant problem in the estimation. I usually do that by subtracting the mean of the signal. (I did not do that because they were your data and you need to make those decisions.) There is absolutely nothing wrong with doing that providing it does what you want.
I believe the Nyquist diagram should always be symmetric, at least with respect to the real axis. (It is of course not going to be symmetric with respect to the imaginary axis.)
I am happy that it is working and matching your other calculations! I was concerned that it might not work that well, considering that fitting them is the objective here (although that cannot be done directly, at lest in my experience).

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Uncertainty Analysis에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by