EXPERIMENT 9 Problem Solving: First-order Transient Circuits

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

Lab 7 PSpice: Time Domain Analysis

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

A Brief Handout for Introduction to

ECE 2274 Pre-Lab for Experiment # 4 Diode Basics and a Rectifier Completed Prior to Coming to Lab

Introduction to PSpice

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

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

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

An Introductory Guide to Circuit Simulation using NI Multisim 12

ENEE207 Electric Circuits Lab Manual

ECE 2274 Diode Basics and a Rectifier Completed Prior to Coming to Lab

EEL 5245 POWER ELECTRONICS I Lecture #5: Examples PSPICE Refresher (Dr. Chris Iannelo)

University of Pittsburgh

EE 210 Lab Exercise #3 Introduction to PSPICE

Revised: Summer 2010

SIMULATIONS OF LCC RESONANT CIRCUIT POWER ELECTRONICS COLORADO STATE UNIVERSITY. Modified in Spring 2006

Figure 1. Main window (Common Interface Window), CIW opens and from the pull down menus you can start your design. Figure 2.

Getting Started with Qucs

Week 4: Experiment 24. Using Nodal or Mesh Analysis to Solve AC Circuits with an addition of Equivalent Impedance

TTL LOGIC and RING OSCILLATOR TTL

Week 9: Series RC Circuit. Experiment 14

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 4 SINGLE STAGE AMPLIFIER

Chapter 12: Electronic Circuit Simulation and Layout Software

Class #8: Experiment Diodes Part I

Real Analog - Circuits 1 Chapter 11: Lab Projects

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018

Introduction to Pspice

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

ELEC3106 Electronics. Lab 4: EMI simulations with SPICE. Objective. Material. Simulations

OrCAD PSpice - Tutorial. TA: 黃玉龍

Xcircuit and Spice. February 26, 2007

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

ECE 310L : LAB 9. Fall 2012 (Hay)

RELEASE NOTES SIMETRIX 6.2 O VERVIEW WHAT S NEW GUI DVM SIMETRIX SIMULATOR SIMPLIS SIMULATOR SCRIPT LANGUAGE MODEL LIBRARY

Experiment 2: Simulation of DC Resistive Circuits

Lab 4: Analysis of the Stereo Amplifier

Real Analog - Circuits 1 Chapter 1: Lab Projects

Figure AC circuit to be analyzed.

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

LTSpice Basic Tutorial

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

Curve Tracer Laboratory Assistant Using the Analog Discovery Module as A Curve Tracer

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

BIO 365L Neurobiology Laboratory. Training Exercise 1: Introduction to the Computer Software: DataPro

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

Integrators, differentiators, and simple filters

Lab 3: Very Brief Introduction to Micro-Cap SPICE

SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

Using LTSPICE to Analyze Circuits

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

Uncovering a Hidden RCL Series Circuit

DEPARTMENT OF ELECTRICAL ENGINEERING. Date: Assistant A2: PSpice 2 PC Pool

Background Theory and Simulation Practice

EECS 312: Digital Integrated Circuits Lab Project 1 Introduction to Schematic Capture and Analog Circuit Simulation

Lab 3: Circuit Simulation with PSPICE

Experiment P49: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Amplifier, Voltage Sensor)

OBJECTIVE The purpose of this exercise is to design and build a pulse generator.

Week 12 Experiment 21. Design a Traffic Arrow

SIMULATION WITH THE CUK TOPOLOGY ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

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

EE 210 Lab Exercise #5: OP-AMPS I

Lab 2: Common Base Common Collector Design Exercise

Experiment Number 2. Revised: Fall 2018 PLECS RC, RL, and RLC Simulations

Exercise 4. Angle Tracking Techniques EXERCISE OBJECTIVE

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY

Department of Electrical & Computer Engineering Technology. EET 3086C Circuit Analysis Laboratory Experiments. Masood Ejaz

Lab 6: Building a Function Generator

1.1 Overview of Electrical Engineering

The analysis of the linear voltage regulators

Introduction to SPICE. Simulator of Electronic devices

FACULTY OF ENGINEERING LAB SHEET

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

Introduction to LT Spice IV with Examples

PSPICE A brief primer

Introduction to SwitcherCAD

R 1 R 2. (3) Suppose you have two ac signals, which we ll call signals A and B, which have peak-to-peak amplitudes of 30 mv and 600 mv, respectively.

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

Experiment 15: Diode Lab Part 1

Class #7: Experiment L & C Circuits: Filters and Energy Revisited

NGSPICE- Usage and Examples

LAB1 WEBENCH SIMULATION EE562: POWER ELECTRONICS COLORADO STATE UNIVERSITY

Experiment Number 2. Revised: Summer 2013 PLECS RC, RL, and RLC Simulations

A Short SPICE Tutorial

Activity P56: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Output, Voltage Sensor)

Source Transformations

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2005

Homework Assignment 07

ETIN25 Analogue IC Design. Laboratory Manual Lab 2

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

Experiment 2 Introduction to PSpice

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

Expanded Answer: Transistor Amplifier Problem in January/February 2008 Morseman Column

Testing and Stabilizing Feedback Loops in Today s Power Supplies

Electronics I LAB. Lab 1: Lab 1 : Introduction to PsPise

SPICE FOR POWER ELECTRONICS AND ELECTRIC POWER

Dr. Charles Kim ELECTRONICS I. Lab 4 Op Amp II TRADITIONAL LAB

Microwave Circuit Design: Lab 5

Tutorial #5: Emitter Follower or Common Collector Amplifier Circuit

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

Transcription:

EXPERIMENT 9 Problem Solving: First-order Transient Circuits I. Introduction In transient analyses, we determine voltages and currents as functions of time. Typically, the time dependence is demonstrated by plotting the waveforms using time as the independent variable. PSPICE can perform this kind of analysis, called a Transient simulation, in which all voltages and currents are determined over a specified time duration. To facilitate plotting, PSPICE uses what is known as the PROBE utility, which will be described later. As an introduction to transient analysis, let us simulate the circuit in Figure 1, plot the voltage v C (t) and the current i(t). Figure 1. The inductor and capacitor parts are called L and C, respectively, and are in the ANALOG library. The switch, called SW_TCLOSE, is in the EVAL library. There is also a SW_TOPEN part that models an opening switch. After placing and wiring the switch along with the other parts, the Schematics circuit appears as that shown in Figure 2. Figure 2. PSPICE schematic To edit the switch s attributes, double-click on the switch symbol and the ATTRIBUTES box in Figure 3 will appear. Deselecting the Include Non-changeable Attributes and Include ELEC 2110 Experiment 9 1 of 9

System-defined Attributes fields limits the attribute list to those we can edit and is highly recommended. The attribute tclose is the time at which the switch begins to close, and ttran is the time required to complete the closure. Switch attributes Rclosed and Ropen are the switch s resistance in the closed and open positions, respectively. During simulations, the resistance of the switch changes linearly from Ropen at t = tclose to Rclosed at t = tclose+ttran. When using the SW_TCLOSE and SW_TOPEN parts to simulate ideal switches, care should be taken to ensure that the values for ttran, Rclosed, and Ropen are appropriate for valid simulation results. In this example, we see that the switch and R1 are in series; thus, their resistances add. Using the default values listed in Figure 3, we find that when the switch is closed, the switch resistance, Rclosed, is 0.01 Ω, 100,000 times smaller than that of the resistor. The resulting series-equivalent resistance is essentially that of the resistor. Alternatively, when the switch is open, the switch resistance is 1 MΩ, 1,000 times larger than that of the resistor. Now, the equivalent resistance is much larger than that of the resistor in Figure 1. Figure 3. Switch ATTRIBUTE box Each component within the various Parts libraries in PSPICE has two or more terminals. Within PSPICE, these terminals are called pins and are numbered sequentially starting with pin 1, as shown in Figure 4 for several two-terminal parts. The significance of the pin numbers is their effect on currents plotted using the PROBE utility. PROBE always plots the current entering pin 1 and exiting pin 2. Thus, if the current through an element is to be plotted, the part should be oriented in the Schematics diagram such that the defined current direction enters the part at pin 1. This can be done by using the ROTATE command in the EDIT menu. ROTATE causes the part to spin 90 counterclockwise. In our example, we will plot the current i(t) by plotting the current through the capacitor, I(C1). Therefore, when the Schematics circuit in Figure 2 was created, the capacitor was rotated 270. As a result, pin 1 is at the top of the diagram and the assigned current direction in Figure 1 matches the direction presumed by PROBE. If a component s current direction in PROBE is opposite the desired direction, simply go to the Schematics circuit, rotate the part in question 180, and re-simulate. ELEC 2110 Experiment 9 2 of 9

Figure 4. Pin numbers for common PSPICE parts. To set the initial condition of the capacitor voltage, double-click on the capacitor symbol in Figure 2 to open its ATTRIBUTE box, as shown in Figure 5. Click on the IC field and set the value to the desired voltage, 0 V in this example. Setting the initial condition on an inductor current is done in a similar fashion. Be forewarned that the initial condition for a capacitor voltage is positive at pin 1 versus pin 2. Similarly, the initial condition for an inductor s current will flow into pin 1 and out of pin 2. Figure 5. Setting the capacitor initial condition. The simulation duration is selected using SETUP from the ANALYSIS menu. When the SETUP window shown in Figure 6 appears, double-click on the text TRANSIENT and the TRANSIENT window in Figure 7 will appear. The simulation period described by Final time is selected as 6 milliseconds. All simulations start at t=0. The No-Print Delay field sets the time the simulation runs before data collection begins. Print Step is the interval used for printing data to the output file and has no effect on the data used to create PROBE plots. The Detailed Bias Pt. option is useful when simulating circuits containing transistors and diodes, and thus will not be used here. When Skip initial transient solution is enabled, all capacitors and inductors that do not have specific initial condition values in their ATTRIBUTES boxes will use zero initial conditions. ELEC 2110 Experiment 9 3 of 9

Sometimes, plots created in PROBE are not smooth. This is caused by an insufficient number of data points. More data points can be requested by entering a Step Ceiling value. A reasonable first guess would be a hundredth of the Final Time. If the resulting PROBE plots are still unsatisfactory, reduce the Step Ceiling further. As soon as the TRANSIENT window is complete, simulate the circuit by selecting Simulate from the Analysis menu. Figure 6. The ANALYSIS SETUP window. Figure 7. The TRANSIENT window. When the PSPICE simulation is finished, the PROBE window shown in Figure 8 will open. If not, select Run Probe from the Analysis menu. In Figure 8, we see three sub-windows: the main display window, the output window, and the simulation status window. The waveforms we choose to plot appear in the main display window. The output window shows messages from ELEC 2110 Experiment 9 4 of 9

PSPICE about the success or failure of the simulation. Run-time information about the simulation appears in the simulation status window. Here we will focus on the main display window. To plot the voltage, v C (t), select Add Trace from the Trace menu. The ADD TRACES window is shown in Fig. 9. Note that the options Alias Names and Subcircuit Nodes have been deselected, which greatly simplifies the ADD TRACES window. The capacitor voltage is obtained by clicking on V(Vc) in the left column. The PROBE window should look like that shown in Figure 10. Before adding the current i(t) to the plot, we note that the dc source is 10 V and the resistance is 1 kω, which results in a loop current of a few milliamps. Since the capacitor voltage span is much greater, we will plot the current on a second y axis. From the Plot menu, select Add Y Axis. To add the current to the plot, select Add Trace from the Trace menu, then select I(C1). Figure 11 shows the PROBE plot for v C (t) and i(t). Figure 8. The PROBE window. ELEC 2110 Experiment 9 5 of 9

Figure 9. The ADD Traces window. Figure 10. PROBE plot of the capacitor voltage. ELEC 2110 Experiment 9 6 of 9

Figure 11. PROBE plot of v C (t) and i(t). Exercises Your report must include ALL circuit diagrams, with all variables clearly labeled, and ALL calculations must be clearly shown. In addition, you will need to capture plots for the various exercises and include them in your lab report. 1) The switch in the circuit below has been opened for a long time and is closed at t = 0. Calculate i 0 (t) for t > 0. Plot i 0 (t) versus time using Matlab and include the plot in your report. Now simulate this circuit using PSPICE and plot i 0 (t) versus time. Include this plot in your report as well. ELEC 2110 Experiment 9 7 of 9

2) The switch in the circuit below has been closed for a long time and is opened at t = 0. Calculate i 0 (t) for t > 0. Plot i 0 (t) versus time using Matlab and include the plot in your report. Now simulate this circuit using PSPICE and plot i 0 (t) versus time. Include this plot in your report as well. 3) The switch in the circuit below has been closed for a long time and is opened at t = 0. Calculate v 0 (t) for t > 0. Plot v 0 (t) versus time using Matlab and include the plot in your report. Now simulate this circuit using PSPICE and plot v 0 (t) versus time. Include this plot in your report as well. ELEC 2110 Experiment 9 8 of 9

4) The switch in the circuit below has been opened for a long time and is closed at t = 0. Calculate v C (t) for t > 0. Plot v C (t) versus time using Matlab and include the plot in your report. Now simulate this circuit using PSPICE and plot v C (t) versus time. Include this plot in your report as well. ELEC 2110 Experiment 9 9 of 9