EE 210 Lab Exercise #3 Introduction to PSPICE

Similar documents
EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

Introduction to PSpice

Since transmission lines can be modeled using PSpice, you can do your analysis by downloading the student version of this excellent program.

Background Theory and Simulation Practice

14:332:223 Principles of Electrical Engineering I Instructions for using PSPICE Tools Sharanya Chandrasekar February 1, 2006

Electric Circuit Fall 2015 Pingqiang Zhou. ShanghaiTech University. School of Information Science and Technology. Professor Pingqiang Zhou

OrCAD PSpice - Tutorial. TA: 黃玉龍

Lab Reference Manual. ECEN 326 Electronic Circuits. Texas A&M University Department of Electrical and Computer Engineering

Introduction to SPICE. Simulator of Electronic devices

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

PSPICE T UTORIAL P ART I: INTRODUCTION AND DC ANALYSIS. for the Orcad PSpice Release 9.2 Lite Edition

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

EE-3010 Lab # 5 Simulation of Operational Amplifier Circuits

Time-Varying Signals

Introduction to LT Spice IV with Examples

EECE Circuits and Signals: Biomedical Applications. Lab 3. Basic Instruments, Components and Circuits. Introduction to Spice and AC circuits

A Brief Handout for Introduction to

EE 210: CIRCUITS AND DEVICES

Fig. 1. NI Elvis System

Excel Lab 2: Plots of Data Sets

Sept 13 Pre-lab due Sept 12; Lab memo due Sept 19 at the START of lab time, 1:10pm

Lab 13 AC Circuit Measurements

LT Spice Getting Started Very Quickly. First Get the Latest Software!

Figure AC circuit to be analyzed.

Introduction to Pspice

LAB II. INTRODUCTION TO LAB EQUIPMENT

Using LTSPICE to Analyze Circuits

An Introductory Guide to Circuit Simulation using NI Multisim 12

Ansoft Designer Tutorial ECE 584 October, 2004

Laboratory Project 1: AC Circuit Measurements and Simulation

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

Lab #2 First Order RC Circuits Week of 27 January 2015

Real Analog - Circuits 1 Chapter 1: Lab Projects

LAB I. INTRODUCTION TO LAB EQUIPMENT

ENEE207 Electric Circuits Lab Manual

FACULTY OF ENGINEERING LAB SHEET

MultiSim and Analog Discovery 2 Manual

CHAPTER 6. Motor Driver

Laboratory 3 (drawn from lab text by Alciatore)

Week 1: Preparing for PSpice Simulations

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

LABORATORY 2: Bridge circuits, Superposition, Thevenin Circuits, and Amplifier Circuits

Lab 3: Very Brief Introduction to Micro-Cap SPICE

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

Laboratory 2 (drawn from lab text by Alciatore)

SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY. Modified February 2006

ECE 2274 Lab 1 (Intro)

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier

Chapter 12: Electronic Circuit Simulation and Layout Software

LTSpice Basic Tutorial

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

Using LTspice a Short Intro with Examples

PSPICE SIMULATIONS WITH THE RESONANT INVERTER POWER ELECTRONICS COLORADO STATE UNIVERSITY. Created by Colorado State University student

Integrators, differentiators, and simple filters

LAB I. INTRODUCTION TO LAB EQUIPMENT

Introduction to the Analog Discovery

1.5k. (a) Resistive Circuit (b) Capacitive Circuit

Laboratory #2 PSpice Analyses

Lab 6: Building a Function Generator

Equipment: You will use the bench power supply, function generator and oscilloscope.

Name: First-Order Response: RC Networks Objective: To gain experience with first-order response of RC circuits

Week 7: Design a Logarithmic Voltmeter. A variation on Experiment 19 Validation by 8pm on October 14

Introduction to SwitcherCAD

University of Pittsburgh

Laboratory Experiment #1 Introduction to Spectral Analysis

CPE 310L EMBEDDED SYSTEM DESIGN LABORATORY

Name EET 1131 Lab #2 Oscilloscope and Multisim

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

Introduction to basic laboratory instruments

Excel Tool: Plots of Data Sets

Uncovering a Hidden RCL Series Circuit

RC Filters and Basic Timer Functionality

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

for Solidworks TRAINING GUIDE LESSON-9-CAD

Laboratory Equipment Instruction Manual 2011

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY

LAB 1: Familiarity with Laboratory Equipment (_/10)

CPE 100L DIGITAL LOGIC DESIGN I DESIGN LABORATORY LABORATORY 1 LAB SAFETY QUIZ & LAB EQUIPMENT USE TUTORIAL UNIVERSITY OF NEVADA, LAS VEGAS GOALS:

Laboratory 2. Lab 2. Instrument Familiarization and Basic Electrical Relations. Required Components: 2 1k resistors 2 1M resistors 1 2k resistor

Introduction to NI Multisim & Ultiboard Software version 14.1

OrCAD 17.2 Pspice Tutorial. High-Speed Circuits & Systems Lab. Yonsei University

SAMPLE: EXPERIMENT 2 Series RLC Circuit / Bode Plot

Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson

Exponential Waveforms

University of Jordan School of Engineering Electrical Engineering Department. EE 204 Electrical Engineering Lab

Lab 4: Analysis of the Stereo Amplifier

LAB EXERCISE 3 FET Amplifier Design and Linear Analysis

Page 21 GRAPHING OBJECTIVES:

UNIVERSITY OF UTAH ELECTRICAL ENGINEERING DEPARTMENT

332:223 Principles of Electrical Engineering I Laboratory Experiment #2 Title: Function Generators and Oscilloscopes Suggested Equipment:

Introduction to Simulink Assignment Companion Document

Experiment #6: Biasing an NPN BJT Introduction to CE, CC, and CB Amplifiers

Digital Debug With Oscilloscopes Lab Experiment

Chapter 6 Title Blocks

Real Analog - Circuits 1 Chapter 11: Lab Projects

Transcription:

EE 210 Lab Exercise #3 Introduction to PSPICE Appending 4 in your Textbook contains a short tutorial on PSPICE. Additional information, tutorials and a demo version of PSPICE can be found at the manufacturer s website: www.orcad.com Introduction This tutorial provides an overview of the Orcad software application. This software package uses an interactive schematics editor to draw circuits (Capture) that can be simulated and analyzed (PSPICE). This software has many useful functions for analyzing all types and aspects of electronic circuitry. It is very important to become familiar with the standard functions because the software be used in most of the subsequent labs as a supplement and circuit verification tool. Exercise 1. Using Orcad Capture Part 1. Calculations 1. For the circuit shown in Figure 1, analytically determine the voltages at each node, the voltage across R1, the current flowing through the resistors, and the power across each component including the source. Part 2. Getting into Capture 1. Log onto the Computer Network with your Penn State s username and password 2. From the start menu in Windows, select the Orcad 10.0 demo application. Consult with your instructor for directions for different software versions. Part 3. Creating a schematic for simulation 1. From the File menu at the top of the screen select New and then Project Note: Project must be selected in order to run simulations. EE 210 Laboratory Exercise #3 page 1

2. In the new project window, enter the name of your Project, select the Analog or Mixed A/D and specify the location of the files to be saved. 3. The Create Pspice project window should appear. Select Create a blank project and OK. 4. The schematic and project manager windows should now appear on the screen. The project manager window contains all of the resources for the current project. The schematic window is where the circuits are to be constructed. 5. To begin placing parts in the schematic window select the part button on the vertical toolbar at the right of the screen or by selecting Place then Part from the menu at the top of the screen. From the Place Part window, select R from the Analog library. Notice that the symbol for a resistor appears in the lower right hand corner. Select OK and place the resistor on the schematic window by left clicking once. Place another resistor by left clicking again. Right click and select End mode to finish placing resistors. Note: Libraries containing other parts may be added to the project in the place part window. 6. Using the same procedure, place a voltage source (VDC) from the Source library in the schematic window. Note: Current sources can also be found in the Source library. They are manipulated in a similar manner as the voltage sources. 7. Select 0/SOURCE from the ground button from the toolbar on the left or in the CAPSYM library. Important: This is the ground that must be selected and placed in every circuit to avoid errors! Select OK to place the ground in the schematic window. Note: all parts currently used in the schematic can be selected from the pull down menu at the top of the screen. 8. Arrange the parts to roughly match Figure 1 by left clicking on the part to select it (turns pink) and holding the button down to drag it into the desired position. Once the part is in desired position, it can be rotated or mirrored horizontally or vertically by right clicking on the part and selecting the desired orientation. Note: Groups of parts may be selected and moved together by drawing a box around the desired parts with the cursor and clicking on the group to drag. 9. To connect the parts wires to form the circuit in Figure 1, select the place wire icon from the vertical toolbar to the right of the screen or by selecting Place then Wire from the menu. 10. Position the pointer at the top end of the source and click to drag a wire from the source. A solid line should connect the pointer with the source, right angles can be made in the wire by clicking and changing direction during this step. When the pointer is over the connection terminals of one of the other devices on the screen (i.e. resistor or earth ground), a red dot should appear indicating a terminal connection. Click, then right click and select end wire. Follow this pattern until the source-resistor-resistor loop similar to Figure 1 is complete. EE 210 Laboratory Exercise #3 page 2

Note: Placing parts end to end without using a wire is a common source of error because the parts may not properly connect. Note: Holding shift while dragging parts retains connections. Figure 1: Circuit with independent voltage sources and resistors. 11. The value of each component must be defined. The same procedure is used for each component. Double click on the resistor value. A dialogue box should appear. Enter the desired value in the dialog box labeled Value:. Click on the OK button. Repeat the above procedure for the other resistor. Note: The scale factor abbreviations in PSPICE are standard except that milli is represented by m and mega is represented by meg. 12. The voltage source may be corrected in a similar manner. Double click on the voltage source to bring up the dialogue box. Select the DC= line. Move the cursor to the Value input box and type in 10, since it is a 10V source. Click on the OK button. Part 4. DC Analysis 1. Place the voltage and voltage differential markers on the circuit as shown in Figure 2. This is done by selecting the respective icons (left) from the upper tool bar and placing them in contact with the point on the circuit to be analyzed and displayed in PSPICE. The voltage markers display the voltage at the node and the voltage differential markers compute the difference in voltage between two points with the positive and negative markers. Note: The voltage markers must be connected to a wire or node. The current makers must be placed to the pin of a specific device. The polarity of the resulting current determines if it is flowing into (+) or out of (-) the device at that pin. The power markers must be connected directly to a part. (see Figure 3) EE 210 Laboratory Exercise #3 page 3

Figure 2: Circuit with voltage markers. Figure 3: Example of current and power marker placement. 2. From the upper toolbar select the new simulation profile icon or by selecting PSPICE from the main menu and then new simulation profile. The new simulation window should open. 3. The simulation settings window should now appear. Check the Analysis tab to make sure that the Time Domain (Transient) analysis type is selected. 4. To simulate the circuit, select the run button from the upper toolbar, or by selecting PSPICE from the main menu then Run. 5. The PSPICE window should open, with the simulation progress reading at the lower part of the window. The simulation profile left hand side of the window will read simulation complete when it is finished simulating. 6. A plot should appear in the upper portion of the PSPICE window with all of the measurements color-coded corresponding to the markers from step 1. This plot is with respect to time (hence Time analysis) and the plots should not vary with time since the simulation is a simple DC circuit. Note: The simulations can be edited and executed from the PSPICE window by selecting the Edit simulation settings button and the Run button. 7. Add two additional plots by selecting the Plot menu at the top of the screen and selecting Add plot to window (window must be maximized!). Select the first new plot and used the add trace button. Add the currents I(R1) and I(R2). This displays the current through R1 and R2 on the new plot. Select the second new plot and ad the power values W(R1), W(R2), and W(V1). This displays the power dissipation of R1, R2, and the source. Doing this makes it easier to view voltages, currents, and powers separately with common units. For the remainder of the semester, traces of voltage, current, and power must be contained on separate plots unless directed otherwise! Note: Diferent functions can be performed on the traces by selecting the desired function from the list on the right of the add trace window. EE 210 Laboratory Exercise #3 page 4

Note: These currents and powers can also be displayed on a plot by repeating step 1 with the current and power markers. The simulations must be completed separately in order for the traces to appear on different plots as desired. 7. Place markers on each trace to display the exact value on the plot at any point in time by enabling the cursor display icon on the menu and positioning the cursor on the desired point on the plot. Select the mark icon to display the value on the screen. Select another trace by highlighting its name at the bottom of the screen. Always use marks when plotting DC values so that the exact value is always visible! Note: Other cursor functions such as finding the peak and slope can be performed using the buttons on the cursor menu. 8. Add your name and a title to the plots by selecting the text icon and placing the text on the desired plot. Always make sure the plots are clearly labeled with text! 9. (2) Print the plots by selecting File Print and specifying the desired printer. 10. Return the Capture window and the voltages, currents, and powers should be labeled on the schematic. Note : The simulation results can be viewed at any time by pressing the view simulation results button. 11. All of the circuits voltages, currents, and power measurements may be enabled or disabled for display by selecting the respective buttons from the menu at the top of the screen (left). Note : these values displayed on the schematic are the value of the node at the last simulation point. This is consistent for simple DC circuits but can be misleading for AC circuits. 11. Enable all of the measurements and verify that the match the calculations from Part 1. Also, and your name and a title to the schematic by selecting the place text icon from the menu to the right of the screen. 12. Print the schematic by selecting File Print. EE 210 Laboratory Exercise #3 page 5

Part 5: AC Time Domain Analysis 1. Replace the source from Figure 2 with the part VSIN from the Source library. This produces a sinusoid of variable frequency, amplitude, and dc offset just as the waveform generator does. 2. Set the frequency to 100Hz, the dc offset to 2V, and the amplitude to 6V, similar to adjusting the function generator. Remember that the amplitude is the peak value of the waveform no the peak-to-peak value. 3. Choose the edit simulation profile buttonfrom the upper toolbar, or by selecting PSPICE from the main menu then Edit simulation profile. 4. Setup the transient simulation as before except, set Run to time under the Analysis tab such that 2 cycles of the waveform are simulated and displayed. This is similar to the adjusting the oscilloscope display in Lab 1. Adjust the Maximum step size when necessary to provide an adequate number of data points from the simulation. When considering the step size, remember that the smaller the step size, the longer the simulation run time. 4. Following the same procedure described previously, simulate the circuit. 5. Remember that the values displayed on the schematic represent the values at the last simulation point. Since they do not provide much insight to the AC analysis, turn the display off. However, when printing a sinusoidal waveform, always mark the positive and negative peaks on the plots with a label. Label and print schematic and the plots, EE 210 Laboratory Exercise #3 page 6

Exercise 2. Circuit with Dependent Voltage Sources and Resistors Dependent source symbols used in PSPICE are shown in Figure 4. The source enclosed in the circle produces the current or voltage. The symbols in the source (not inside the circle) provide the reference. For the current dependencies, the reference is connected in series with the device used as the reference, as would done with the DMM. For the voltage dependencies, the reference wires are connected in parallel with the device used as the reference, also as would be done with the DMM. Figure 4: Dependent source icons. The top row indicates the PSPICE part corresponding to the circuit symbol below. 1. Begin a new schematic for the circuit in Figure 5. The dependent sources are found in the ANALOG library. 2. Look at the dependent sources. The small independent source acts as the dependent source (the diamond shape in Figure 4). The second port is used to indicate the reference voltage or current. Place the sources in the schematic window, noting the polarity of the ports. Double clicking on the dependent source will bring up a dialogue box as with all of the other components. The gain of the dependent source is the only parameter that is needed to describe the part, adjust the gain accordingly. 3. Once all of the components are in place and connected, follow the same procedure for the analysis as specified in Exercise 1. 4. Print out the schematic of the circuit and the probe plots for the current through the 1: resistor and the voltage across the 3Ω resistor. Be sure to label the requested traces in the probe. Also, make sure that only the requested voltages and currents are displayed on the schematic. 5. Replace the 12A dc current source with a 10kHz, 6A peak AC sinusoidal current source with a DC offset of 6A. Repeat the simulation (remember to adjust for the proper end time). Print out the schematic of the circuit and the probe plots for the current through the 1: resistor and the voltage across the 3Ω resistor. Be sure to label the requested traces in the probe. EE 210 Laboratory Exercise #3 page 7

Figure 5: Circuit with independent and dependent sources and resistors. EE 210 Laboratory Exercise #3 page 8