Electronics Computer-Aided Design PSpice Output File Device

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
PSpice Output File Device Bob Penoyer 05-27-05
Posted by Bob Penoyer on May 27, 2005, 12:12 am
Please log in for more thread options


Is there an output device that will allow a single circuit parameter
to be written to a file?

I know that VPWL_FILE can be used to read an ASCII file of two
columns, time and voltage.


Posted by Jim Thompson on May 27, 2005, 12:20 am
Please log in for more thread options


On Thu, 26 May 2005 21:12:05 -0700, Bob Penoyer

>Is there an output device that will allow a single circuit parameter
>to be written to a file?
>
>I know that VPWL_FILE can be used to read an ASCII file of two
>columns, time and voltage.

The ".PRINT" statement can print-to-file most anything.

What did you have in mind? Your problem statement is somewhat muddy
;-)

...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.


Posted by Bob Penoyer on May 27, 2005, 12:28 am
Please log in for more thread options


On Thu, 26 May 2005 21:20:21 -0700, Jim Thompson

>On Thu, 26 May 2005 21:12:05 -0700, Bob Penoyer
>
>>Is there an output device that will allow a single circuit parameter
>>to be written to a file?
>>
>>I know that VPWL_FILE can be used to read an ASCII file of two
>>columns, time and voltage.
>
>The ".PRINT" statement can print-to-file most anything.
>
>What did you have in mind? Your problem statement is somewhat muddy
>;-)

I use Capture. How do I invoke the .PRINT statement?

I have a fairly large circuit that is having convergence problems. The
various parts ran all right when they were in their own projects. Now
the presence of a particular amplifier circuit has somehow affected
convergence in other parts of the overall circuit.

As one possible approach to this apparent dilema, I have considered
running the various sections separately so that one section's output
can be saved to a file and another section can read that file. That
way I hope to limit PSpice's computational load and maybe avoid the
convergence problem.


Posted by Jim Thompson on May 27, 2005, 12:59 am
Please log in for more thread options


On Thu, 26 May 2005 21:28:58 -0700, Bob Penoyer

>On Thu, 26 May 2005 21:20:21 -0700, Jim Thompson
>
>>On Thu, 26 May 2005 21:12:05 -0700, Bob Penoyer
>>
>>>Is there an output device that will allow a single circuit parameter
>>>to be written to a file?
>>>
>>>I know that VPWL_FILE can be used to read an ASCII file of two
>>>columns, time and voltage.
>>
>>The ".PRINT" statement can print-to-file most anything.
>>
>>What did you have in mind? Your problem statement is somewhat muddy
>>;-)
>
>I use Capture.

Poor bastard ;-)

>How do I invoke the .PRINT statement?

In PSpice Schematics it's just Get Part "Print1" or "PrintData", but I
couldn't find it in Capture.

You can also capture a PWL file directly from Probe by copying and
pasting into a text file, or Excel for that matter.

>
>I have a fairly large circuit that is having convergence problems. The
>various parts ran all right when they were in their own projects. Now
>the presence of a particular amplifier circuit has somehow affected
>convergence in other parts of the overall circuit.

Irrespective of what the Cadence types will tell you, set the
following:

ITL1=1500, ITL2=2000, ITL4=1000

Also set:

VNTOL=10uV
ABSTOL=10pA
RELTOL=0.01

Check the STEPGMIN box.

Might also try checking the SKIPBP box.

>
>As one possible approach to this apparent dilema, I have considered
>running the various sections separately so that one section's output
>can be saved to a file and another section can read that file. That
>way I hope to limit PSpice's computational load and maybe avoid the
>convergence problem.

Sometimes that works. My general experience is that PSpice failing to
converge means you have a nearly unstable system.

...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.


Posted by Malcolm Reeves on May 29, 2005, 2:02 pm
Please log in for more thread options


On Thu, 26 May 2005 21:59:39 -0700, Jim Thompson

>Sometimes that works. My general experience is that PSpice failing to
>converge means you have a nearly unstable system.

Another approach to take is too look for daft signals. Large voltages
or currents etc. Then add some circuit parasitics to reduce these.
Convergence problems can be due to an unrealistic circuit, too simple
models. Sometimes just adding loads to batteries (i.e. increasing
standing current) can be enough to fix things.


--

Malcolm

Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
(mreeves@fullcircuit.com, mreeves@fullcircuit.co.uk or mreeves@iee.org).
Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:

http://www.fullcircuit.com or http://www.fullcircuit.co.uk

NEW - www.CharteredConsultant.co.uk - The Consultant A-List


Similar ThreadsPosted
PSpice Output File Device May 27, 2005, 12:12 am
How we can convert PCB file to schematic file on Protel DXP April 11, 2007, 2:12 am
Creating a device in Eagle June 10, 2005, 9:34 pm
clock multiplexor device October 30, 2006, 8:28 am
Device Prefix for Transmission Lines April 6, 2005, 8:54 pm
How to set/sweep individual device temperature? February 7, 2006, 5:40 am
Modeling Series R in an MOS (Active Device) Capacitor ?? February 4, 2005, 2:41 pm
Help verifying BAV99 device spice model June 7, 2005, 1:01 am
Re: Simulation Device... Keyed Peak Detector May 28, 2008, 8:46 pm
Re: Simulation Device... Keyed Peak Detector May 31, 2008, 1:28 pm
Re: Simulation Device... Keyed Peak Detector May 29, 2008, 2:42 pm
One more problem about spectre output October 20, 2005, 11:53 am
SIMetrix help needed... 'Illegal Device' when using digital models January 4, 2005, 4:01 am
Output Z of CMOS Current Mirror ?? November 4, 2004, 3:18 pm
Tweaking spice models to generate device parameter variation September 7, 2004, 8:30 pm