PSpice Simulation. The target of computer-aided analysis is to determine the circuit currents and voltages everywhere in the circuit.

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

SPICE 4: Diodes. Chris Winstead. ECE Spring, Chris Winstead SPICE 4: Diodes ECE Spring, / 28

LIST OF EXPERIMENTS. Sl. No. NAME OF THE EXPERIMENT Page No.

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

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

NGSPICE- Usage and Examples

Laboratory Lecture 4

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

1.3 An Introduction to WinSPICE

Circuit Simulation Using SPICE ECE222

SPICE FOR POWER ELECTRONICS AND ELECTRIC POWER

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

WinSpice. The steps to performing a circuit simulation with WinSpice are:

Background Theory and Simulation Practice

ENGR4300 Fall 2005 Test 4A. Name solutions. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

SPICE for Power Electronics and Electric Power

ENGR4300 Fall 2005 Test 4A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

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

Computer Exercises Manual: Device Parameters in SPICE

Mor M. Peretz Power Electronics Laboratory Department of Electrical and Computer Engineering Ben-Gurion University of the Negev, ISRAEL

STUDY OF RC AND RL CIRCUITS Venue: Microelectronics Laboratory in E2 L2

PSPICE SIMULATION OF A RESONANT CONVERTER CIRCUIT FOR SWITCHED RELUCTANCE MOTOR DRIVES Souvik Ganguli 1*

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

THE SPICE BOOK. Andrei Vladimirescu. John Wiley & Sons, Inc. New York Chichester Brisbane Toronto Singapore

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

Well we know that the battery Vcc must be 9V, so that is taken care of.

A Short SPICE Tutorial

Revised: Summer 2010

Introduction to SPICE. Simulator of Electronic devices

Electronic Instrumentation. Experiment 8: Diodes (continued) Project 4: Optical Communications Link

LABORATORY 3: Transient circuits, RC, RL step responses, 2 nd Order Circuits

Fig. 1-1 show the main window of Orcad Capture. Every project you work on will start from Orcad Capture. Fig. 1-1 Orcad Capture Main window.

A Brief Handout for Introduction to

Lab 7 PSpice: Time Domain Analysis

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

Electronic Instrumentation

Project 6: Oscillator Circuits

ENGR 201 Homework, Fall 2018

Mor M. Peretz Power Electronics Laboratory Department of Electrical and Computer Engineering Ben-Gurion University of the Negev, ISRAEL

Problem 1: Voltage Limiting 1.1. Simulate the following simple resistor-diode circuit (shown on the left in Figure 1):

The default account setup for the class should allow you to run HSPICE without any further configuration. To verify this, type:

An Introductory Guide to Circuit Simulation using NI Multisim 12

Paper-1 (Circuit Analysis) UNIT-I

MOSFET: Mxxx nd ng ns nb modelname W=value L=value Ad As Pd Ps

ENGR4300 Test 3A Fall 2002

UNIT - 1 OPERATIONAL AMPLIFIER FUNDAMENTALS

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

ENG 100 Lab #2 Passive First-Order Filter Circuits

Oscillators are electronic circuits that produce a constant oscillating signal that can be a sinusoid, a square wave or a triangular wave.

3.3. Modeling the Diode Forward Characteristic

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

ENEE207 Electric Circuits Lab Manual

EK307 Active Filters and Steady State Frequency Response

Appendix 8. Training Exercises to Laboratory Works

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

Electronic Instrumentation ENGR-4300 Fall Project 4: Optical Communications Link

Oscillator Principles

Week 9: Series RC Circuit. Experiment 14

Core Technology Group Application Note 1 AN-1

ENGR-2300 Electronic Instrumentation Quiz 2 Spring 2016

DC/DC Converter. Introduction

Lab 4: Analysis of the Stereo Amplifier

University of Pittsburgh

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

LABORATORY #3 QUARTZ CRYSTAL OSCILLATOR DESIGN

The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE 20 - LAB

Electronic circuits II Example set of questions Łódź 2013

ENGR4300 Test 3A and 3B Fall 2003

Alternate Class AB Amplifier Design


ELEC 330 Electronic Circuits I Tutorial and Simulations for Micro-Cap IV by Adam Zielinski (posted at:

Project 4 Optical Communications Link

OrCAD PSpice - Tutorial. TA: 黃玉龍

AC Voltage Regulation by Switch Mode Buck-Boost Voltage Controller

Homework Assignment Consider the circuit shown. Assume ideal op-amp behavior. Which statement below is true?

Circuit Simulation with SPICE OPUS

GATE SOLVED PAPER - IN

Lab 6: MOSFET AMPLIFIER

Experiment 4 Op-Amp Resonant Bandpass Filter

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

AC Analysis. Filters.

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

Designing low-frequency decoupling using SIMPLIS

Journal of Engineering Research and Studies

Introduction to SwitcherCAD

Operational Amplifiers: Part II

Lab 9: 3 phase Inverters and Snubbers

Lab #7: Transient Response of a 1 st Order RC Circuit

The analysis of the linear voltage regulators

.dc Vcc Ib 0 50uA 5uA

ECE 304: Running a Net-list File in PSPICE. Objective... 2 Simple Example... 2 Example from Sedra and Smith... 3 Summary... 5

BJT Differential Amplifiers

EXPERIMENT 4: RC, RL and RD CIRCUITs

Analog Electronic Circuits Lab-manual

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

Electronics and Instrumentation ENGR-4300 Spring 2004 Section Experiment 5 Introduction to AC Steady State

PSPICE ANALYSIS OF A SPLIT DC SUPPLY CONVERTER FOR SWITCHED RELUCTANCE MOTOR DRIVES Souvik Ganguli *

ECE 3274 Common-Emitter Amplifier Project

BHARATHIDASAN ENGINEERING COLLEGE

HSPICE. Chan-Ming Chang

Transcription:

PSpice Simulation The target of computer-aided analysis is to determine the circuit currents and voltages everywhere in the circuit. For PSpice, the circuit is described by a text file called the netlist. Three types of statements are used in this netlist: circuit description statements, simulation commands and program control statements. The netlist may be entered directly using a text editor or a schematic capture program with a graphical user interface automatically generates the netlist. References M.H. Rashid, Introduction to PSpice Using OrCad for Circuits and Electronics, Third Edition B.M. Wilamowski and R.C. Jaeger, Computerized circuit analysis using SPICE programs R.R. Spencer and M.S. Ghausi, Introduction to Electronic Circuit Analysis, Chapter 4

Downloads PSpice with Schematic capture http://www.orcad.com/downloads/demo/default.asp Download PSpice 9.1 Student Version WinSpice3 http://www.willingham2.freeserve.co.uk/winspice.ht ml and select download Spice3F4 There are virtually hundreds of web links that will allow you to download different versions of PSpice

A Low Pass Filter R1 vin R2 C1 Low-Pass Filter *circuit description statements C1 out 0 1u R2 out 0 1k R1 in out 1k vin in 0 DC 0Vdc AC 1Vac * simulation commands.probe.ac dec 10.1 1k.end The results of the simulation are stored in a.out file for later plotting.

A Low Pass Filter (Cont d) 500.001mV 500.000mV 499.999mV 499.998mV 499.997mV 100mHz 300mHz 1.0Hz 3.0Hz 10Hz 30Hz 100Hz 300Hz 1.0KHz V2(C1) Frequency Simulation results

Things to Remember Every two terminal component will have a positive node and a negative node. The direction of the +ve current is from the +ve node to the ve node through the component. All possible currents and voltages can be stored/plotted in PSpice. They do, however, have a special format. Examples are: v(5) voltage at node 5 with respect to ground v(4,2) voltage at node 4 with respect to node 2 v(r1) voltage of resistor R1 (polarity observed!) v(l1) voltage of inductor L1 (polarity observed!) v(c1) voltage of capacitor C1(Polarity observed!) I(Vs) current through the source Vs I(R5) current through the resistor R5

Simulation Types in PSpice There are three simulation types in PSpice: DC, AC and Transient In the DC mode, only DC sources are present. Capacitors are replaced by open circuit and inductors are replaced by short circuit. PSpice solves for the voltages and currents iteratively. In the AC mode, only AC sources are present. All components are replaced by their complex impedances. PSpice solves for the steady state sinusoidal currents and voltages through a modified nodal analysis. In the transient mode, the sources may take any arbitrary waveform in time. Capacitors and inductors are replaced by their associated differential equations. PSpice then obtains the voltages and currents everywhere in the circuit at each instant of time through an iterative approach. There are different possible simulation analyses within each simulation type.

DC Simulation Analyses L1 1 2 R1 5v V1 R3 R2 C1.op directive obtains the operating point of the circuit *Analysis directives:.op.probe V(*) I(*) W(*) D(*) NOISE(*) C_C1 0 N00037 1n L_L1 N00239 N00475 10uH R_R2 0 N00037 1k R_R1 N00475 N00037 1k V_V1 N00239 0 5v R_R3 0 N00475 1k.END The output file contains the following results: NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE (N00037) 2.5000 (N00239) 5.0000 (N00475) 5.0000 VOLTAGE SOURCE CURRENTS NAME CURRENT V_V1-7.500E-03

DC Simulation Analyses (Cont d) R1 F2 + - Vin 0.1 1k R2 20k Vx 0V + - Rp 1.5k F Re 250 40 ro 100k Rc 2k Vy 0V + -.TF directive obtains the transfer function between two sets of input pairs VIN10DC1V R112 1k R220 20k Rp26 1.5k RE 3 0 250 F1 4 3 Vx 40 ; current controlled current source R043 100k RC432k Vx63DC0v Vy50DC0v.TF V(4) VIN.END the output file includes the following statements **** SMALL-SIGNAL CHARACTERISTICS V(4)/Vin = -5.969E+00 INPUT RESISTANCE AT Vin = 8.313E+03 OUTPUT RESISTANCE AT V(4) = 1.992E+03

DC Simulation Analyses (Cont d) 5v V1 1k R2 R1 2k R4 1k 0Vdc v_ir5 1k R3 3k R5.DC directive allows us to sweep sources and parameters Bridge circuit.probe.dc vin 4.9 5.1.001 vin10dc5 v_ir5 3 4 dc 0v r1231k r2121k r3201k r4132k r5403k.end 960uA 940uA 920uA 900uA 4.90V 4.92V 4.94V 4.96V 4.98V 5.00V 5.02V 5.04V 5.06V 5.08V 5.10V I(v_ir5) V_vin

AC Simulation Analyses L1 1 2 3.3m C1 10n 1Vac Vin 2.2 Rs.AC directive enables a frequency sweep of the frequency Resonant Circuit Vin 1 0 ac 1m L1123.3m C12310n Rs 3 0 2.2.ac dec 100 1k 100k.print ac V(3).End 400mV 300mV 200mV 100mV 0V 1.0KHz 3.0KHz 10KHz 30KHz 100KHz V2(Rs) Frequency Other types of AC analysis are.noise,.disto and.pz. They carry out noise analysis, distortion analysis and pole-zero analysis of the circuit.

Transient Simulation Analyses L1 1 2 50uH C1 10u V1 = -220 V2 = 220 TD = 0 TR = 1n TF = 1n PW = 100u PER = 200u 2.2 Rs *PULSE(-VsVsTDelayTRiseTFallPulseWidthPeriod) Vin 1 0 PULSE(-220V 220V 0 1ns 1ns 100us 200us) L1 1 2 50u 400V C1 2 3 10u Rs 3 0 2.2.TRAN 1US 400US 200V.Probe.END 0V -200V -400V 0s 50us 100us 150us 200us 250us 300us 350us 400us V2(Rs) Time

Transient Simulation Analyses R1 L1 1 2 R2 L2 1 2 R3 L3 1 2 2.0 50uH 1.0 50uH 8.0 50uH Vin1 10u C1 Vin2 10u C2 Vin3 10u C3 * PWL(T1 V1 T2 V2 T3 V3...) Vin1 1 0 PWL (0 0 1NS 1V 1ms 1V) Vin2 4 0 PWL (0 0 1NS 1V 1ms 1V) Vin3 7 0 PWL (0 0 1NS 1V 1ms 1V) R1 1 2 2 1.5V L1 2 3 50u C1 3 0 10u R2 4 5 1 L2 5 6 50u 1.0V C2 6 0 10u R3 7 8 8 L3 8 9 50u C3 9 0 10u 0.5V.TRAN 1us 400us.PROBE.END 0V 0s 50us 100us 150us 200us 250us 300us 350us 400us V(C1:2) V(C2:2) V(C3:2) Time

Transient Simulation Analyses D1 D1N4002 VOFF = 0 VAMPL = 20 FREQ = 60 Vin R1 1k C1 100u * sin(voffset, amplitude, frequency) Vin in 0 sin (0 20 60) D1 in out D1N4002 R1 out 0 1k C1 out 0 100u.model D1N4002 D(IS 14.110000E-09, N 1.984,ISR 100.000000E-12, +IKF 94.81, BV 100.1, IBV 10, RS.03389, TT 4.761000E-06, +CJO 51.170000E-12, VJ.3905, M.2762).end 20V 10V 0V -10V -20V 0s 5ms 10ms 15ms 20ms 25ms 30ms V(C4:2) V1(D1) Time

Two Terminal Elements Symbols C Capacitor D Diode E voltage-controlled voltage source F Current-controlled current source G Voltage-controlled current source H Current-controlled voltage source I Independent current source L Inductor R resistor V Independent voltage source T Transmission Line Three or Four Terminal Devices B GaAs MESFET (D=Drain, G=Gate, S=Source) J JFET (D=Drain, G=Gate, S=Source) M MOSFET (D=Drain, G=Gate, S=Source, B=Bulk) Q BJT (C=Collector, B=Base, E=Emitter, S=Substrate)