Borrar filtros
Borrar filtros

curve fitting of a nyquist plot

42 visualizaciones (últimos 30 días)
Ruben Messner
Ruben Messner el 29 de Ag. de 2023
Comentada: Star Strider el 6 de Sept. de 2023
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 comentarios
Walter Roberson
Walter Roberson el 29 de Ag. de 2023

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 el 29 de Ag. de 2023
Thx for your comment! The inductive half circle is an artifact of the measurement...

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 29 de Ag. de 2023
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 comentarios
Ruben Messner
Ruben Messner el 6 de Sept. de 2023
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 el 6 de Sept. de 2023
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).

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Uncertainty Analysis en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by