Re: gEDA-user: Tool to calculate Nyquist-plot or impedance?
Try KJWaves (on sourceforge). The graphing routine allows you to select the Real or Imaginary part of any signal to place on any axis of a graph. It should do what you want. You just have to get your sim. ready to run on ngspice. Kurt Wen wrote: Hi list, I am going to do Equivalent circuit fitting for a university project with impedance spectroscopy. I am looking for a tool that first allows to define (via a graphic interface would be best) an electric circuit made of resistors, conductors, inductors and maybe constant phase and warburg elements. What i need is a Nyquist-plot of that circuit- a plot that shows the imaginary (vert. axis) and the real (horiz. axis) part of the impedance of the defined circuit for a wide range of frequencies. So I am either looking for an application that outputs that Nyquist-plot directly or that calculates the impedance analytically with the frequency as a parameter, so that I can use it for a matlab/octave-script. Is there a geda-tool thats able to do one of those two things? I did not see something like that in the tutorial-part nor find it in the gschem-interface? If not, does somebody know other applications that are able to handle this? Thanks in advance, Wen gnucap. gnucap is a circuit simulator and it is very easy to describe your circuit and do an ac analysis of it to directly measure the impedance. You can take that data and feed it back to matlab or octave. -Dan ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Tool to calculate Nyquist-plot or impedance?
Wen wrote: Hi list, I am going to do Equivalent circuit fitting for a university project with impedance spectroscopy. I am looking for a tool that first allows to define (via a graphic interface would be best) an electric circuit made of resistors, conductors, inductors and maybe constant phase and warburg elements. What i need is a Nyquist-plot of that circuit- a plot that shows the imaginary (vert. axis) and the real (horiz. axis) part of the impedance of the defined circuit for a wide range of frequencies. So I am either looking for an application that outputs that Nyquist-plot directly or that calculates the impedance analytically with the frequency as a parameter, so that I can use it for a matlab/octave-script. Is there a geda-tool thats able to do one of those two things? I did not see something like that in the tutorial-part nor find it in the gschem-interface? If not, does somebody know other applications that are able to handle this? Thanks in advance, Wen gnucap. gnucap is a circuit simulator and it is very easy to describe your circuit and do an ac analysis of it to directly measure the impedance. You can take that data and feed it back to matlab or octave. -Dan ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Tool to calculate Nyquist-plot or impedance?
On Sunday 18 March 2007 17:42, Wen wrote: Hi list, I am going to do Equivalent circuit fitting for a university project with impedance spectroscopy. I am looking for a tool that first allows to define (via a graphic interface would be best) an electric circuit made of resistors, conductors, inductors and maybe constant phase and warburg elements. I had to look up warburg elements. Gnucap has constant phase elements. Just specify a complex value for a resistor or dependent source. It looks like it would be easy to make a plugin for the warburg elements. It will be even easier when I get the Verilog-AMS compiler working. For now, you can make a bm function plugin, using the ones provided as a basis. Then a resistor or whatever could have a value that follows the warburg function. Or, you could use the model compiler to make a new element, as a plugin. gnucap plugins allow you to add or replace almost anything at run time using the attach command. You write in C++, compile to a .so and attach it. To get this functionality you need the latest development snapshot. What i need is a Nyquist-plot of that circuit- a plot that shows the imaginary (vert. axis) and the real (horiz. axis) part of the impedance of the defined circuit for a wide range of frequencies. Gnucap has impedance probes, so it will give you that directly. You can ask for magphase, or realimaginary. Just .print ac zreal(outnode) zimag(outnode) or something like that. You can plot it with octave, gnuplot, R, tcl-tk, or many other tools. gwave doesn't do this kind of plot. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user