BenutzerhandbuchInhaltsverzeichnisContents3Before you begin23Welcome to OrCAD23OrCAD PSpice overview24How to use this guide25Typographical conventions25Related documentation26Online Help27If you have the demo CDROM28What’s New29Things you need to know33Chapter overview33What is PSpice?34Analyses you can run with PSpice35Basic analyses35Advanced multi-run analyses38Analyzing waveforms with PSpice40What is waveform analysis?40Using PSpice with other OrCAD programs41Using Capture to prepare for simulation41What is the Stimulus Editor?41What is the Model Editor?42Files needed for simulation42Files that Capture generates42Other files that you can configure for simulation43Files that PSpice generates46Simulation examples47Chapter overview47Example circuit creation48Finding out more about setting up your design53Running PSpice54Performing a bias point analysis54Using the simulation output file56Finding out more about bias point calculations57DC sweep analysis58Setting up and running a DC sweep analysis58Displaying DC analysis results60Finding out more about DC sweep analysis63Transient analysis64Finding out more about transient analysis68AC sweep analysis69Setting up and running an AC sweep analysis69AC sweep analysis results71Finding out more about AC sweep and noiseanalysis73Parametric analysis74Setting up and running the parametric analysis75Analyzing waveform families77Finding out more about parametric analysis80Performance analysis81Finding out more about performance analysis83Preparing a design for simulation87Chapter overview87Checklist for simulation setup88Typical simulation setup steps88Advanced design entry and simulation setup steps89When netlisting fails or the simulation does not start90Using parts that you can simulate92Vendor-supplied parts93Passive parts96Breakout parts97Behavioral parts98Using global parameters and expressions for values99Global parameters99Expressions101Defining power supplies106For the analog portion of your circuit106Defining stimuli107Analog stimuli107Things to watch for111Unmodeled parts111Unconfigured model, stimulus, or include files113Unmodeled pins114Missing ground115Missing DC path to ground116Creating and editing models117Chapter overview117What are models?119How are models organized?120Model libraries120Model library configuration121Global vs. design models and libraries121Nested model libraries122OrCAD-provided models122Tools to create and edit models123Ways to create and edit models124Using the Model Editor to edit models125Ways to use the Model Editor126Model Editor-supported device types127Ways To Characterize Models128How to fit models129Running the Model Editor alone131Running the Model Editor from the schematicpageeditor133The Model Editor tutorial136Editing model text142Starting the Model Editor from the schematic page editor in Capture143Example: editing a Q2N2222 instance model146Using the Create Subcircuit command147Changing the model reference to an existing model definition149Reusing instance models150Reusing instance models in the same schematic150Making instance models available to all designs151Configuring model libraries152The Libraries and Include Files tabs152How PSpice uses model libraries153Adding model libraries to the configuration154Changing design and global scope155Changing model library search order156Changing the library search path157Creating parts for models159Chapter overview159What’s different about parts used for simulation?161Ways to create parts for models161Preparing your models for part creation162Using the Model Editor to create parts163Starting the Model Editor163Setting up automatic part creation164Basing new parts on a custom set of parts165Editing part graphics167How Capture places parts167Defining grid spacing168Attaching models to parts170MODEL170Defining part properties needed for simulation171PSPICETEMPLATE172Analog behavioral modeling179Chapter overview179Overview of analog behavioral modeling180The ABM.OLB part library file181Placing and specifying ABM parts182Net names and device names in ABM expressions182Forcing the use of a global definition183ABM part templates184Control system parts185Basic components187Limiters188Chebyshev filters189Integrator and differentiator192Table look-up parts192Laplace transform part196Math functions199ABM expression parts200An instantaneous device example: modeling a triode203PSpice-equivalent parts206Implementation of PSpice-equivalent parts207Modeling mathematical or instantaneous relationships208Lookup tables (ETABLE and GTABLE)211Frequency-domain device models213Laplace transforms (LAPLACE)213Frequency response tables (EFREQ and GFREQ)215Cautions and recommendations for simulation and analysis218Instantaneous device modeling218Frequency-domain parts219Laplace transforms219Trading off computer resources for accuracy223Basic controlled sources224Creating custom ABM parts224Setting up analyses and starting simulation227Chapter overview227Analysis types228Setting up analyses229Execution order for standard analyses230Output variables231Starting a simulation238Starting a simulation from Capture238Starting a simulation outside of Capture239Setting up batch simulations239The PSpice simulation window240DC analyses245Chapter overview245DC Sweep246Minimum requirements to run a DC sweep analysis246Overview of DC sweep248Setting up a DC stimulus250Nested DC sweeps251Curve families for DC sweeps253Bias point255Minimum requirements to run a bias point analysis255Overview of bias point255Small-signal DC transfer257Minimum requirements to run a small-signal DC transfer analysis257Overview of small-signal DC transfer258DC sensitivity260Minimum requirements to run a DC sensitivity analysis260Overview of DC sensitivity261AC analyses263Chapter overview263AC sweep analysis264Setting up and running an AC sweep264What is AC sweep?264Setting up an AC stimulus265Setting up an AC analysis267AC sweep setup in example.opj269How PSpice treats nonlinear devices271Noise analysis273Setting up and running a noise analysis273What is noise analysis?274Setting up a noise analysis275Analyzing Noise in the Probe window277Transient analysis281Chapter overview281Overview of transient analysis282Minimum requirements to run a transient analysis282Defining a time-based stimulus284Overview of stimulus generation284The Stimulus Editor utility285Stimulus files285Configuring stimulus files286Starting the Stimulus Editor286Defining stimuli288Creating new stimulus symbols291Editing a stimulus292Deleting and removing traces293Manual stimulus configuration293Transient (time) response295Internal time steps in transient analyses297Switching circuits in transient analyses298Plotting hysteresis curves298Fourier components300Parametric and temperature analysis303Chapter overview303Parametric analysis304Minimum requirements to run a parametric analysis304Overview of parametric analysis305RLC filter example306Example: frequency response vs. arbitrary parameter310Temperature analysis313Minimum requirements to run a temperature analysis313Overview of temperature analysis314Monte Carlo and sensitivity/ worst-case analyses315Chapter overview315Statistical analyses316Overview of statistical analyses316Output control for statistical analyses317Model parameter values reports317Waveform reports318Collating functions319Temperature considerations in statistical analyses320Monte Carlo analysis321Example: Monte Carlo analysis of a pressure sensor325Monte Carlo Histograms333Worst-case analysis338Overview of worst-case analysis338Worst-case analysis example341Tips and other useful information345Analyzing waveforms351Chapter overview351Overview of waveform analysis352Elements of a plot353Elements of a Probe window354Managing multiple Probe windows355Setting up waveform analysis356Setting up colors356Viewing waveforms359Setting up waveform display from Capture359Viewing waveforms while simulating360Using schematic page markers to add traces363Limiting waveform data file size366Using simulation data from multiple files369Saving simulation results in ASCII format371Analog example373User interface features for waveform analysis376Zoom regions376Scrolling traces378Modifying trace expressions and labels378Moving and copying trace names and expressions379Copying and moving labels380Tabulating trace data values381Using cursors382Tracking simulation messages386Message tracking from the message summary386Message tracking from the waveform388Trace expressions388Basic output variable form389Output variable form for device terminals390Analog trace expressions396Other output options399Chapter overview399Viewing analog results in the PSpice window400Writing additional results to the PSpice output file401Generating plots of voltage and current values401Generating tables of voltage and current values402Setting initial state405Appendix overview405Save and load bias point406Save bias point406Load bias point407Setpoints408Setting initial conditions410Convergence and “time step too small errors”411Appendix overview411Introduction412Newton-Raphson requirements412Is there a solution?413Are the Equations Continuous?414Is the initial approximation close enough?415Bias point and DC sweep417Semiconductors417Switches418Behavioral modeling expressions419Transient analysis420Skipping the bias point421The dynamic range of TIME421Failure at the first time step422Parasitic capacitances423Inductors and transformers423Bipolar transistors substrate junction424Diagnostics425Index427Größe: 10,2 MBSeiten: 436Language: EnglishHandbuch öffnen