I'm trying to perform pole zero analysis with spice3f. This is the circuit file: test vin 1 0 dc 0 ac 1 r1 1 2 1 c1 2 0 1 r2 1 3 1 c2 3 2 1 .print ac v(3) .pz 1 0 3 0 VOL PZ .ac dec 20 10m 10k .end
When I run Spice3F5 I always get the message: Error: no data saved for pole-zero analysis; analysis not run
The user manual also tells to use the 'print all' command but supplies no examples of how to that.
any help welcome
hugo
Didn't find your answer? Ask the community — no account required.
B
Bitznpeezs
Isn't the print all on the printer? if not Go back to the computer program look at the top left hand corner of the monitor.There should be a menu bar there. Go to file left click "FILE" and hit print or print all. If you are in the command line type PRINT ALL in the command line. If you are in windows go to Start, RUN, Type "print all".
H
hugocoolens
this doesn't help me much further :-(
hugo
J
Jim Thompson
I'm not familiar with Spice3f, but I'd hazard a guess that you need a statement of the form:
.print pz ...
Read the manual ?:-)
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
H
hugocoolens
tried that and some variations without success
Yes (of course) Maybe someone can answer my question?
hugo
M
maxfoo
Looks OK in LTspice...
Version 4 SHEET 1 880 680 WIRE 80 272 64 272 WIRE 176 272 160 272 WIRE 176 288 176 272 WIRE 64 320 64 272 WIRE 64 320 -32 320 WIRE -32 336 -32 320 WIRE 64 384 64 320 WIRE 80 384 64 384 WIRE 176 384 176 352 WIRE 176 384 160 384 WIRE 176 400 176 384 WIRE -32 432 -32 416 WIRE 176 480 176 464 FLAG 176 480 0 FLAG -32 432 0 SYMBOL res 176 368 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R1 SYMATTR Value 1 SYMBOL res 176 256 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 43 63 VTop 0 SYMATTR InstName R2 SYMATTR Value 1 SYMBOL cap 160 400 R0 SYMATTR InstName C1 SYMATTR Value 1 SYMBOL cap 160 288 R0 SYMATTR InstName C2 SYMATTR Value 1 SYMBOL voltage -32 320 R0 WINDOW 123 24 44 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V1 SYMATTR Value "" SYMATTR Value2 AC 1 TEXT -66 506 Left 0 !.ac dec 20 10m 10k
S
Stuart Brorson
snipped-for-privacy@gmail.com wrote: : I'm trying to perform pole zero analysis with spice3f. [...] : When I run Spice3F5 I always get the message: : Error: no data saved for pole-zero analysis; analysis not run
I guess my question is: Which SPICE3f5? There are scads of SPICE versions out there, some buggier than others. Where did you get your version?
Stuart
H
hugocoolens
It's a version which I installed on Debian Sarge as follows: apt-get install termcap-compat alien --to-deb spice-3f5-8mdk.i586.rpm dpkg -i spice_3f5-9_i386.deb
any help appreciated
regards, hugo
S
Stuart Brorson
:> snipped-for-privacy@gmail.com wrote: :> : I'm trying to perform pole zero analysis with spice3f. :> [...] :> : When I run Spice3F5 I always get the message: :> : Error: no data saved for pole-zero analysis; analysis not run :>
:> I guess my question is: Which SPICE3f5? There are scads of SPICE :> versions out there, some buggier than others. Where did you get your :> version? :>
:> Stuart : It's a version which I installed on Debian Sarge as follows: : apt-get install termcap-compat : alien --to-deb spice-3f5-8mdk.i586.rpm : dpkg -i spice_3f5-9_i386.deb
So it's as I suspected: You just downloaded some unknown code and -- suprise! suprise! -- it's buggy.
Since you're a Linux head, I suggest you switch to NGSpice. It's open-source, available for $0.00, and is actively worked upon (and therefore has fewer trivial bugs like yours). Get it here:
formatting link
Stuart
H
hugocoolens
I'm not sure about that, as it performs AC-analysis quite well, it's only pole-zero analysis which gives a problem which may be caused by my input file or by buggy code
I installed ngspice and it produces exactly the same error as the other spice-version did: Error: no data saved for pole-zero analysis; analysis not run Therefore I think there is something wrong with my circuit file, here it is once more:
test vin 1 0 dc 0 ac 1 r1 1 2 1 c1 2 0 1 r2 1 3 1 c2 3 2 1 .print ac v(3) .pz 1 0 3 0 VOL PZ .ac dec 20 10m 10k .end
any help welcome
hugo
H
habib.bouaziz-viallet
Le Thu, 04 Jan 2007 01:23:46 -0800, snipped-for-privacy@gmail.com a écrit :
Hi Hugo !
I just copy/paste test.cir and run it on ng-spice. It runs ! I suggest you to install ng-spice on your system. It is well known that the original spice3f5 is quite buggy.
For further informations i suggest you to compile ngspice with xspice extensions (./configure .... --enable-xspice) to enable poly() constructions. May be other usefull extensions are required, it depends what are your needs with ngspice.
Please read carrefully the output of ./configure --help in the ngspice package.
Hope it helps !
Habib
H
Helmut Sennewald
"habib.bouaziz-viallet" schrieb im Newsbeitrag news: snipped-for-privacy@mynewsserverpostfix.com...
Hello Habib,
What is the result of the PZ-analysis with ngspice?
Best regards, Helmut
S
Stuart Brorson
Helmut Sennewald wrote: : What is the result of the PZ-analysis with ngspice?
Helmut,
I think I know where you are going with your question.....
Upon reflection, I believe that PZ analysis -- along with noise analysis -- is one of the things ngspice doesn't do yet. Even in ngspice it's still broken, if I am not mistaken. I recall trying it out a few years ago and not getting any answer. I haven't tried it recently, so things might have changed, but OTOH I have seen no activity about it on the development list, nor in the code (not that I look a lot).
For the OP: Our suggestion is to try another SPICE program, for example LTSpice from Linear Tech.
HTH,
Stuart
H
Helmut Sennewald
Hello Stuart,
I wondered that Habib hasn't presented a result. It would be of interest to know whether PZ-analysis of SPICE calculates useful numbers for the discussed circuit.
LTspice doesn't have PZ-analysis.
Best regards, Helmut
J
Jim Thompson
I can recall a specialty calculator/computer in the early '70's that could do PZ extractions. Can't remember the name now but, IIRC, they were a Tek spin-off.
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
H
hugocoolens
thanks for the reply, I configured ngspice with --enable-xspice and installed it (make, make install). However when I try to simulate my circuit, only AC-analysis is performed correctly, concerning pole-zero analysis, I still get the message: Error: no data saved for pole-zero analysis; analysis not run
I also tried to configure it with --enable-pzdebug the resulting executable however also does not work properly for pole-zero analysis with my circuit
Could you please tell me which options you enabled for configuring ngspice. Is it also possible to show me a fragment of the result of the pole-zero analysis you got.
shukran ilak wa ma3assalaama hugo
H
habib.bouaziz-viallet
Le Tue, 09 Jan 2007 23:40:10 -0800, snipped-for-privacy@gmail.com a écrit :
you're welcome.
I've installed ng-spice-rework revision 17 on my debian machine. What is the result of ngspice --version on yours ?
Are you sure ./configure-make-make install process worked well ?
I have been installed ngspice with xspice enhancement and (may be) with other like readline ... i did not remeber exactly.
Here the result of your test circuit :
******** ngspice-17 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please submit bug-reports to: snipped-for-privacy@lists.sourceforge.net
** Creation Date: Tue Jan 9 13:07:17 CET 2007
******
Circuit: test
ngspice 32 -> run Doing analysis at TEMP = 300.150000 and TNOM = 300.150000
No. of Data Rows : 121
No. of Data Rows : 1 ngspice 33 -> print all pole(1) = -2.61803e+00,0.000000e+00 pole(2) = -3.81966e-01,0.000000e+00 zero(1) = -3.33333e-01,0.000000e+00
Habib
H
hugocoolens
es
Hello Habib, Until now I always used ngspice like this ngspice ngspice 1 -> ac dec 20 0.01 10
Could you tell which commands you enter?
regards, hugo
H
habib.bouaziz-viallet
Le Thu, 11 Jan 2007 03:59:26 -0800, snipped-for-privacy@gmail.com a écrit :
Yes of course because i want to do "print all" in order to make PZ analysis !!! (do this "? .pz" within ngspice)
Strange,
strange.
Habib
H
Helmut Sennewald
"habib.bouaziz-viallet" schrieb im Newsbeitrag news: snipped-for-privacy@mynewsserverpostfix.com...
Hello Habib,
You reported in a previous reply the result of the PZ-analysis. How have you achieved that? I see an error message about PZ-analysis in your report above.
Best regards, Helmut
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.