Home > Community > Forums > RF Design > PSpice generated file in OrCAD Capture

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 PSpice generated file in OrCAD Capture 

Last post Tue, Jan 20 2009 6:54 AM by scotty2541. 6 replies.
Started by scotty2541 15 Jan 2009 06:38 PM. Topic has 6 replies and 9449 views
Page 1 of 1 (7 items)
Sort Posts:
  • Thu, Jan 15 2009 6:38 PM

    • scotty2541
    • Not Ranked
    • Joined on Mon, Jan 5 2009
    • Posts 8
    • Points 115
    PSpice generated file in OrCAD Capture Reply

    Greetings again...

    Giving up on the formal tutorial I mentioned in my other post, I created a simple little circuit with two meshes.  The kind we all did in entry level classes.  My goal is to use the ability to generate PSpice files.  I have used the older public version 8 of PSpice.

    When I ask OrCAD to generate a file, it doesn't include the .PRINT command, so the output doesn't display any of the basic values I am after (node voltages, currents, etc).  I could edit the file manually, and feed it to the previous PSpice version, but that's not what I expect I need to do.  I expect that this should all be integrated with the PSpice that ver 16 DEMO installed.

    How/where is the .PRINT command controlled in OrCAD?  I can't find anything which will insert it in any of the dialogs.

    Thanks.

    Scotty

    • Post Points: 20
  • Fri, Jan 16 2009 4:26 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,445
    • Points 24,590
    Re: PSpice generated file in OrCAD Capture Reply

    In Capture there are bias points you can enable, and voltage, current and power markers that you can add. Otherwise, when the simulation ends, use trace>add trace to get the waveforms in the probe window. (Menu for Markers, PSpice>Markers, pick marker, for Bias Points, PSpice>Bias Points, enable the Bias Point display, bias points are displayed in the schematic - or use the toolbar icons)

    • Post Points: 20
  • Fri, Jan 16 2009 7:45 AM

    • scotty2541
    • Not Ranked
    • Joined on Mon, Jan 5 2009
    • Posts 8
    • Points 115
    Re: PSpice generated file in OrCAD Capture Reply

    oldmouldy:

    In Capture there are bias points you can enable, and voltage, current and power markers that you can add. Otherwise, when the simulation ends, use trace>add trace to get the waveforms in the probe window. (Menu for Markers, PSpice>Markers, pick marker, for Bias Points, PSpice>Bias Points, enable the Bias Point display, bias points are displayed in the schematic - or use the toolbar icons)

    Yes, I can use add a trace, but I was saving that for my next question (Steady state DC doesn't need a time trace, and it is giving a trace of voltage vs voltage, which I'm not clear as to what it's trying to show me).

    Since this is just a simple steady state circuit, I am trying to get the node data in the output file from the .PRINT command, like this:
      Is          V(Ra)       V(Rb)       V(Rc)       V(2)        V(3)        
       4.000E+00   1.200E+02   1.000E+02   5.000E+02   5.000E+02   7.200E+02
    I can't place a cursor on the graph to see the exact value because it complains there is no valid trace.

    This is what I am trying to figure out.

    Thanks.

    -Scotty

    • Post Points: 20
  • Mon, Jan 19 2009 7:44 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,445
    • Points 24,590
    Re: PSpice generated file in OrCAD Capture Reply

    The Probe WIndow won't display anything for the Bias simulation since this is a simple steady state with nothing changing. View the Output File, this will list the node voltages at the start of the simulation, actually the end for a Bias Simulation. In Capture, you can also turn on the Bias Markers and have the initial steady state values displayed on the schematic.

    • Post Points: 20
  • Mon, Jan 19 2009 8:15 AM

    • scotty2541
    • Not Ranked
    • Joined on Mon, Jan 5 2009
    • Posts 8
    • Points 115
    Re: PSpice generated file in OrCAD Capture Reply

    Thanks for your response. However, that's not getting me any closer.

     I *really* wish there was a better tutorial...

    I have been examining the *.out file, the node values aren't in it, because the *.cir  and/or *.net files don't have a .PRINT command.
    I did manage to decypher the structure that was being used (profile file name is the *.cir file, which includes the *.net files for each drawing).  Aparently, the 'Analysis Directives' section of the *.cir file is where the .PRINT command should be placed, I just can't figure out how to get the Capture program to place it there.  All the files have big statements that say
    ** Creating circuit file "Test.cir"
    ** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

    So, I can't put the .PRINT command in manually.

    Since I can't see how to attach a file, here is a paste of the *.out file.  There are no node voltages in it.  Remember, this is a tiny little two mesh loop, just to try to learn the suite, not solve some hugh complex problem.

    Thanks for your continued help.

     ----------------------------------PASTE--------------------------------------------------------
    **** 01/16/09 09:40:16 ******* PSpice Lite (August 2007) ****** ID# 10813 ****

     ** Profile: "Mesh1-Test"  [ C:\Demo\Meshes\mesh-pspicefiles\mesh1\test.sim ]


     ****     CIRCUIT DESCRIPTION


    ******************************************************************************

     


    ** Creating circuit file "Test.cir"
    ** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

    *Libraries:
    * Profile Libraries :
    * Local Libraries :
    * From [PSPICE NETLIST] section of C:\OrCAD\OrCAD_16.0_Demo\tools\PSpice\PSpice.ini file:
    .lib "nom.lib"

    *Analysis directives:
    .DC LIN V_V1 12 12 1
    .PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
    .INC "..\Mesh1.net"

     

    **** INCLUDING Mesh1.net ****
    * source MESH
    R_R1         N00223 N00196  5k 
    R_R2         N00196 N00187  500 
    R_R3         0 N00196  1k 
    V_V1         N00223 0 12Vdc
    I_I2         0 N00187 DC 15mAdc 

    **** RESUMING Test.cir ****
    .END


              JOB CONCLUDED

    **** 01/16/09 09:40:16 ******* PSpice Lite (August 2007) ****** ID# 10813 ****

     ** Profile: "Mesh1-Test"  [ C:\Demo\Meshes\mesh-pspicefiles\mesh1\test.sim ]


     ****     JOB STATISTICS SUMMARY


    ******************************************************************************

      Total job time (using Solver 1)   =        0.00

    • Post Points: 20
  • Tue, Jan 20 2009 1:40 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Woking, Surrey
    • Posts 1,445
    • Points 24,590
    Re: PSpice generated file in OrCAD Capture Reply

    Check the Simulation Profile, PSpice>Edit Simulation Profile, on the Analysis tab, you cleared the default flag to "include detailed bias point information for nonlinear controlled sources and semiconductors (.OP)", this does not affect the output file but it does indicate that the simulation profile has been changed and the reason that you are not getting any bias values in the output file. On the Options tab, change the category to "Output File" and check the box to include "Bias Point Node voltages" in the output file, the Bias Points will then be listed in the output file. The fact still remains that the display of bias points can be enabled in the schematic.

    • Post Points: 20
  • Tue, Jan 20 2009 6:54 AM

    • scotty2541
    • Not Ranked
    • Joined on Mon, Jan 5 2009
    • Posts 8
    • Points 115
    Re: PSpice generated file in OrCAD Capture Reply

    Yes. That did it. Thanks.

    The values are showing up in the *.out file.  And the bias 'pins' on the schematic have results too.  (Bias Point Node Voltages was already turned on, I guess the change to the profile was what was needed).

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by scotty2541 at 15 Jan 2009 06:38 PM. Topic has 6 replies.