> Previous contributions to the AboutSpice.com mailing-list

Submitted by: Alliraph on 2009-04-13 10:49:05.
Topic:Re: Re: Re: Re: .Probe Card Ignored
Body:Hi, I've modified the code: .PLOT AC VDB(5) But still nothing comes out...
Reply to this contribution | Write to the contributor
Submitted by: Charles on 2009-04-13 03:20:20.
Topic:Re: Re: Re: .Probe Card Ignored
Body:The proper .PLOT syntax is:

.PLOT PLTYPE OV1 [ (PLO1, PHI1) ] [ OV2 [ (PLO2, PHI2) ] ... OV8 ]

The PLOT line defines the contents of one plot of from one to eight output variables. PLTYPE is the type of analysis (DC, AC, TRAN, NOISE, or DISTO) for which the specified outputs are desired. The syntax for the OVI is identical to that for the .PRINT line and for the plot command in the interactive mode.
In your query, you are missing the type of analysis.

C
Reply to this contribution | Write to the contributor
Submitted by: Alliraph on 2009-04-12 18:05:03.
Topic:Re: Re: Re: .Probe Card Ignored
Body:Hi,

You're right. There is no .probe in MacSpice. So I use .plot to plot the frequency response of the circuit:

.Plot dB(V(5))

But now, nothing is generated but only this message:
Note: MacSpice converts spice2 'polys' to spice3 'B' sources, use 'listing physical expand' to inspect the result(s).
Note: Spice2 'poly' source translated at line 30.
Note: Spice2 'poly' source translated at line 31.

So I type "listing physical expand",

1 : MMG OPAMP AMPLIFIER
3 : vs 1 0 ac 1 sin(0 1 40hz)
5 : r2 2 0 430
6 : r1 2 5 15k
7 : c1 2 5 1n
23 : c:op:1 op:11 op:12 3.498e-12
24 : c:op:2 op:6 op:7 15.00e-12
25 : d:op:c 5 op:53 op:dx
26 : d:op:e op:54 5 op:dx
27 : d:op:lp op:90 op:91 op:dx
28 : d:op:ln op:92 op:90 op:dx
29 : d:op:p 4 3 op:dx
30 : * egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
30 : b:op:sp2_egnd op:99 0 v=(0+v(3)*.5+v(4)*.5)
31 : * fb 7 99 poly(5) vb vc ve vlp vln 0 4.715e6 -5e6 5e6 5e6 -5e6
31 : b:op:sp2_fb op:7 op:99 i=(0+i(v:op:b)*4.715e6+i(v:op:c)*(-5e6)+i(v:op:e)*5e6+i(v:op:lp)*5e6+i(v:op:ln)*(-5e6))
32 : g:op:a op:6 0 op:11 op:12 282.8e-6
33 : g:op:cm 0 op:6 op:10 op:99 8.942e-9
34 : i:op:ss 3 op:10 dc 195.0e-6
-- hit return for more, ? for help --
35 : h:op:lim op:90 0 v:op:lim 1k
36 : j:op:1 op:11 2 op:10 op:jx
37 : j:op:2 op:12 1 op:10 op:jx
38 : r:op:2 op:6 op:9 100.0e3
39 : r:op:d1 4 op:11 3.536e3
40 : r:op:d2 4 op:12 3.536e3
41 : r:op:o1 op:8 5 150
42 : r:op:o2 op:7 op:99 150
43 : r:op:p 3 4 2.143e3
44 : r:op:ss op:10 op:99 1.026e6
45 : v:op:b op:9 0 dc 0
46 : v:op:c 3 op:53 dc 2.200
47 : v:op:e op:54 4 dc 2.200
48 : v:op:lim op:7 op:8 dc 0
49 : v:op:lp op:91 0 dc 25
50 : v:op:ln 0 op:92 dc 25
51 : .model op:dx d(is=800.0e-18)
52 : .model op:jx pjf(is=15.00e-12 beta=270.1e-6 vto=-1 level=1)
9 : vpos 3 0 5
10 : vneg 0 4 5
56 : .ac dec 100 1 100k
------ : .end

I have no idea what does the list tell. Is there something I need to change in order to plot out the frequency response?

Thank you for your attention.
Reply to this contribution | Write to the contributor
Submitted by: Alliraph on 2009-04-12 17:02:19.
Topic:Re: Re: .Probe Card Ignored
Body:Hi,

You're right. There is no .probe in MacSpice. So I use .plot to plot the frequency response of the circuit:

.Plot dB(V(5))

But now, nothing is generated but only this message:
Note: MacSpice converts spice2 'polys' to spice3 'B' sources, use 'listing physical expand' to inspect the result(s).
Note: Spice2 'poly' source translated at line 30.
Note: Spice2 'poly' source translated at line 31.

So I type "listing physical expand",

1 : MMG OPAMP AMPLIFIER
3 : vs 1 0 ac 1 sin(0 1 40hz)
5 : r2 2 0 430
6 : r1 2 5 15k
7 : c1 2 5 1n
23 : c:op:1 op:11 op:12 3.498e-12
24 : c:op:2 op:6 op:7 15.00e-12
25 : d:op:c 5 op:53 op:dx
26 : d:op:e op:54 5 op:dx
27 : d:op:lp op:90 op:91 op:dx
28 : d:op:ln op:92 op:90 op:dx
29 : d:op:p 4 3 op:dx
30 : * egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
30 : b:op:sp2_egnd op:99 0 v=(0+v(3)*.5+v(4)*.5)
31 : * fb 7 99 poly(5) vb vc ve vlp vln 0 4.715e6 -5e6 5e6 5e6 -5e6
31 : b:op:sp2_fb op:7 op:99 i=(0+i(v:op:b)*4.715e6+i(v:op:c)*(-5e6)+i(v:op:e)*5e6+i(v:op:lp)*5e6+i(v:op:ln)*(-5e6))
32 : g:op:a op:6 0 op:11 op:12 282.8e-6
33 : g:op:cm 0 op:6 op:10 op:99 8.942e-9
34 : i:op:ss 3 op:10 dc 195.0e-6
-- hit return for more, ? for help --
35 : h:op:lim op:90 0 v:op:lim 1k
36 : j:op:1 op:11 2 op:10 op:jx
37 : j:op:2 op:12 1 op:10 op:jx
38 : r:op:2 op:6 op:9 100.0e3
39 : r:op:d1 4 op:11 3.536e3
40 : r:op:d2 4 op:12 3.536e3
41 : r:op:o1 op:8 5 150
42 : r:op:o2 op:7 op:99 150
43 : r:op:p 3 4 2.143e3
44 : r:op:ss op:10 op:99 1.026e6
45 : v:op:b op:9 0 dc 0
46 : v:op:c 3 op:53 dc 2.200
47 : v:op:e op:54 4 dc 2.200
48 : v:op:lim op:7 op:8 dc 0
49 : v:op:lp op:91 0 dc 25
50 : v:op:ln 0 op:92 dc 25
51 : .model op:dx d(is=800.0e-18)
52 : .model op:jx pjf(is=15.00e-12 beta=270.1e-6 vto=-1 level=1)
9 : vpos 3 0 5
10 : vneg 0 4 5
56 : .ac dec 100 1 100k
------ : .end

I have no idea what does the list tell. Is there something I need to change in order to plot out the frequency response?

Thank you for your attention.
Reply to this contribution | Write to the contributor
Submitted by: Charles on 2009-04-12 13:31:23.
Topic:Re: .Probe Card Ignored
Body:AFAIK, .Probe refers to MicroSim PSpice. I don't know if MacSpice supports this command.

C
Reply to this contribution | Write to the contributor
Submitted by: Alliraph on 2009-04-12 11:25:26.
Topic:Re: .Probe Card Ignored
Body:I think the first message is too messy.
Has anyone encountered this problem before? That the .probe card is ignored, particularly in MacSpice? Thanks.
Reply to this contribution | Write to the contributor
Submitted by: Alliraph on 2009-04-12 11:16:38.
Topic:.Probe Card Ignored
Related topic:MacSpice
Body:Hi,

I'm new to SPICE. I'm using MacSpice to simulate a TL072 amplifier circuit. The following is my code:

MMG OPAMP AMPLIFIER
*
VS 1 0 AC 1 SIN(0 1 40Hz)
*
R2 2 0 430
R1 2 5 15K
C1 2 5 1n
XOP 1 2 3 4 5 TL072
VPOS 3 0 5
VNEG 0 4 5
*
* TL072 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
* CREATED USING PARTS RELEASE 4.01 ON 06/16/89 AT 13:08
* (REV N/A) SUPPLY VOLTAGE: +/-15V
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER
SUPPLY * | | | NEGATIVE POWER
SUPPLY * | | | | OUTPUT
* | | | | |
.SUBCKT TL072 1 2 3 4 5
*
C1 11 12 3.498E-12
C2 6 7 15.00E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 4.715E6 -5E6 5E6 5E6 -5E6
GA 6 0 11 12 282.8E-6
GCM 0 6 10 99 8.942E-9
ISS 3 10 DC 195.0E-6
HLIM 90 0 VLIM 1K
J1 11 2 10 JX
J2 12 1 10 JX
R2 6 9 100.0E3
RD1 4 11 3.536E3
RD2 4 12 3.536E3
RO1 8 5 150
RO2 7 99 150
RP 3 4 2.143E3
RSS 10 99 1.026E6
VB 9 0 DC 0
VC 3 53 DC 2.200
VE 54 4 DC 2.200

VLIM 7 8 DC 0
VLP 91 0 DC 25
VLN 0 92 DC 25
.MODEL DX D(IS=800.0E-18)
.MODEL JX PJF(IS=15.00E-12 BETA=270.1E-6 VTO=-1) .ENDS
*
* ANALYSIS
.AC DEC 100 1 100K
.PROBE
.END

*************************************
As I simulated it, it prompt this message:

Circuit: MMG OPAMP AMPLIFIER

Note: MacSpice converts spice2 'polys' to spice3 'B' sources, use 'listing physical expand' to inspect the result(s).
Note: Spice2 'poly' source translated at line 30.
Note: Spice2 'poly' source translated at line 31.
On line 52:
.model op:jx pjf(is=15.00e-12 beta=270.1e-6 vto=-1)
Missing level parameter - using level=1
On line 57:
.probe
Warning: .probe control card ignored.

I wonder what's wrong with the .probe? Do I miss something? Can anyone please shed some light on the problem(s).?
Thanks in advance.
Btw, I got the TL072 model from Internet.
Reply to this contribution | Write to the contributor

Post a new contribution | Back to the list of topics

 

Related topics