curve fitting of a nyquist plot

36 次查看(过去 30 天)
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 个)

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by