Tutorial Orcad

Click here to load reader

  • date post

    21-Apr-2017
  • Category

    Documents

  • view

    240
  • download

    6

Embed Size (px)

Transcript of Tutorial Orcad

  • CIS Capture Instructions (Aug.2009) Pg. 1 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    ORCAD 16.2 Tutorial Document Modified August, 2009 Note :- This document serves as a tutorial for OrCAD 16.2, the version being used in the 2009 PHYS333 and PHYS334 courses. Please read carefully before you come to the labs using simulation.

  • CIS Capture Instructions (Aug.2009) Pg. 2 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    Table of Contents

    ORCAD 16.2 Tutorial.................................................................................................. 1 Objectives of the tutorial and Introduction................................................................ 4 Creating a New Project and Schematic Diagram....................................................... 5 Selecting circuit components connecting them together, setting component values and properties AND saving the schematic diagram................................................... 6 Instructions on setting up a circuit ............................................................................. 6 Creating a New Simulation Profile and setting up the simulation .......................... 11 Simulating the circuit and observing the simulation results ................................... 14 Use of the Probe Cursors in PSpice AD.................................................................... 17 Opening a Saved Project ........................................................................................... 18 Retrieving saved simulation graphs.......................................................................... 19 Appendix B Suggested Project Storage ................................................................. 21 Appendix C -- dB and Phase Markers for Bode Plots ............................................. 22 Appendix D Capture CIS and PSpice AD Toolbars ............................................. 23

  • CIS Capture Instructions (Aug.2009) Pg. 3 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    List of Tables Table 1 : Commonly used short cut keys................................................................................. 8 Table 2: Unit Symbols ............................................................................................................ 9 Table 3: Simulation short cut keys......................................................................................... 14 Table 4: Libraries and Components....................................................................................... 20 List of Figures Figure 1: New Project Start Window........................................................................................ 5 Figure 2: Create PSpice Project Window ................................................................................ 5 Figure 3: Schematic window.................................................................................................... 6 Figure 4: Place Part Menu and Place Part Dialog Box and Add Library Window .................... 7 Figure 5: Obtain Zero-Ground ............................................................................................... 8 Figure 6: Changing component values .................................................................................... 9 Figure 7: Circuit diagram R-C circuit................................................................................... 10 Figure 8: PSpice menu .......................................................................................................... 11 Figure 9 : New simulation profile ........................................................................................... 11 Figure 10 : Analysis TAB ....................................................................................................... 12 Figure 11 : Options TAB ........................................................................................................ 13 Figure 12: Simulation results ................................................................................................. 14 Figure 13: Expanded PSpice A/D window ............................................................................. 15 Figure 14: PSpice A/D graph from printer.............................................................................. 16 Figure 15: Probe Cursor in PSpice AD .................................................................................. 17 Figure 16: Project Folder Windows........................................................................................ 18 Figure 17: Path to PSpice xxx.dat files .................................................................................. 19 Figure 18: Retrieving and Displaying xxx.dat files ................................................................. 19

  • CIS Capture Instructions (Aug.2009) Pg. 4 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    Objectives of the tutorial and Introduction In this laboratory experiment you will Become familiar with the simulation software Learn to use schematic capture Setup parameters, simulate and analyze the waveforms obtained If you are in the LAB the software is already installed on the LAB computers. If you are at home, download and install OrCAD (Demo Version 16.2 OrCAD) There are FOUR main steps involved in circuit simulation using PSpice. They are:

    1. Creating a New Project and Schematic Diagram 2. Selecting circuit components, connecting them together and setting component values

    and properties AND saving the schematic diagram 3. Creating a New Simulation Profile and setting up the simulation 4. Simulating the circuit and observing the simulation results

  • CIS Capture Instructions (Aug.2009) Pg. 5 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    Creating a New Project and Schematic Diagram Start ORCAD 16.2 StartAll ProgramsOrCAD 16.2 Demo Capture CIS Demo Create a New Project

    File New Project Enter Project Name Select Analog or Mixed A/D Create a folder for the project (See

    App. B below for suggested folder location)

    Click OK

    Figure 1: New Project Start Window

    Figure 2: Create PSpice Project Window

    Select Create a blank project and Click OK You should now see a blank schematic diagram.

  • CIS Capture Instructions (Aug.2009) Pg. 6 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    Figure 3: Schematic window

    Selecting circuit components connecting them togeth er, setting component values and properties AND saving the sche matic diagram You will be working essentially with two screens, the Capture CIS screen ad the PSPice AD Demo screen. These have various toolbars associated with them, but all the icons will not be used by you. The information in App. D shows the toolbars and the particular icons of interest. Instructions on setting up a circuit To obtain a part, click on Place on the top menu bar to get the drop down menu shown on the left below, and then click on Part to get the Place Part dialogue box shown below. OR Click on the Place Part icon in the DRAW toolbar to get the dialogue box. Three icons should be noted:-

    To the right of the Part heading is the Place Part icon once a part is selected, either hit or click on this icon to transfer the part to the schematic, where it may be place and modified.

    To the right of the Libraries heading is the Add Library icon. This opens up the library list from which libraries may be selected.

  • CIS Capture Instructions (Aug.2009) Pg. 7 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    The X icon to the far right is used to remove libraries from the list.

    Figure 4: Place Part Menu and Place Part Dialog Box and Add L ibrary Window

    When starting from scratch, libraries will have to be added. So, if necessary, click on the Add Library icon to get the Browse File folder, Select the appropriate folder (.olb) and click on OPEN, to add the library to the list. Select the part required, and the diagram is shown in the Packaging window. Now hit , or click on the Place Part icon (top right of dialogue box) to transfer the part to the schematic, and then place it by moving the mouse cursor and left clicking when the desired location is reached. Note that copies of a part may be placed in the schematic (subject to the limitations of the Demo version) by moving the cursor and Left Clicking. When the required number of parts has been placed, Right Click, and then Left Click in the pop-up window on End Mode, or press the key. To rotate or mirror parts Left Click to select the part, and then Right Click to get a pop-up window, which has options for rotate or mirror. Note the libraries you will be using:- SOURCE -- DigClock, VAC, VDC, VPULSE, VSIN ANALOG -- R, L & C components

  • CIS Capture Instructions (Aug.2009) Pg. 8 of 26 N. Abbasi, 2006 (updated by A. Pereira)

    7400 -- Digital logic circuits, e.g. Gates, Counters, Shift Registers OPAMP -- Op-amps used in course -- A 741, LF411 ABM -- the GAIN function DIODE -- Diodes, e.g. 1N400x series, 1N914

    For the Analog circuits used, the Zero-Ground part is critical. This is a necessary part to use, since without it the circuit will not work. To obtain it, click

    on the Place Ground icon in the DRAW toolbar, and select the Zero-Ground. Note the 0 associated with the Ground symbol. Note that many Analog parts have default preset values, e.g. Resistors 1k, for 1 k, Capacitors 1n for 1 nF, VDC 0Vdc for 0 VDC. These may be changed to the desired values, as explained below.

    Figure 5: Obtain Zero-Ground

    Table 1 : Commonly used short cut keys

    Short cut keys Operation P Place Part W Place Wire F Power G Ground T Text N Net name or alias I Zoom IN O Zoom OUT Control+F Find Con