Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsElectronicsBasicsRepairDesignCADComponentsEquipmentElectrical Engineering
ElectronicsKB.com
Contact UsLink To UsSearch & Site Map

Electronics Forum / CAD / May 2005



Tip: Looking for answers? Try searching our database.

PSpice Output File Device

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob Penoyer - 27 May 2005 05:12 GMT
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.
Jim Thompson - 27 May 2005 05:20 GMT
>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.
Bob Penoyer - 27 May 2005 05:28 GMT
>>Is there an output device that will allow a single circuit parameter
>>to be written to a file?
[quoted text clipped - 6 lines]
>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.
Jim Thompson - 27 May 2005 05:59 GMT
>>>Is there an output device that will allow a single circuit parameter
>>>to be written to a file?
[quoted text clipped - 8 lines]
>
>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.
Malcolm Reeves - 29 May 2005 11:02 GMT
>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.

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.