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

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

EE 210 Lab Exercise #3 Introduction to PSPICE

Lab 3: RC Circuits. Construct circuit 2 in EveryCircuit. Set values for the capacitor and resistor to match those in figure 2 and set the frequency to

EK307 Active Filters and Steady State Frequency Response

An Introductory Guide to Circuit Simulation using NI Multisim 12

Lab 9 Frequency Domain

ENG 100 Lab #2 Passive First-Order Filter Circuits

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

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

Real Analog - Circuits 1 Chapter 11: Lab Projects

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

Fig. 1. NI Elvis System

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

Tutorial #2: Simulating Transformers in Multisim. In this tutorial, we will discuss how to simulate two common types of transformers in Multisim.

Figure AC circuit to be analyzed.

EE2210 Laboratory Project 1 Fall 2013 Function Generator and Oscilloscope

EK307 Passive Filters and Steady State Frequency Response

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

Chapter 12: Electronic Circuit Simulation and Layout Software

Class #8: Experiment Diodes Part I

Tutorial #5: Emitter Follower or Common Collector Amplifier Circuit

BME/ISE 3511 Laboratory One - Laboratory Equipment for Measurement. Introduction to biomedical electronic laboratory instrumentation and measurements.

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

Lab 6: Building a Function Generator

EXPERIMENT 9 Problem Solving: First-order Transient Circuits

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

The oscilloscope and RC filters

Revised: Summer 2010

Lab 7 PSpice: Time Domain Analysis

LTSpice Basic Tutorial

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

Experiment #2: Introduction to Lab Equipment: Function Generator, Oscilloscope, and Multisim

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

Notes on Experiment #1

SAMPLE: EXPERIMENT 2 Series RLC Circuit / Bode Plot

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

Lab #5 Steady State Power Analysis

Introduction to NI Multisim & Ultiboard Software version 14.1

Integrators, differentiators, and simple filters

Lab 13 AC Circuit Measurements

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

Class #9: Experiment Diodes Part II: LEDs

ME 365 EXPERIMENT 1 FAMILIARIZATION WITH COMMONLY USED INSTRUMENTATION

Welcome to your second Electronics Laboratory Session. In this session you will learn about how to use resistors, capacitors and inductors to make

Experiment P45: LRC Circuit (Power Amplifier, Voltage Sensor)

Laboratory 3 (drawn from lab text by Alciatore)

Introduction to LT Spice IV with Examples

Figure E2-1 The complete circuit showing the oscilloscope and Bode plotter.

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

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

Uncovering a Hidden RCL Series Circuit

Test No. 1. Introduction to Scope Measurements. Report History. University of Applied Sciences Hamburg. Last chance!! EEL2 No 1

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

Uncle Sparky s Guide to Voltage, Current, and Resistance Measurements. Spring 2014

DEPARTMENT OF INFORMATION ENGINEERING. Test No. 1. Introduction to Scope Measurements. 1. Correction. Term Correction. Term...

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

PHYS 3322 Modern Laboratory Methods I AC R, RC, and RL Circuits

Exponential Waveforms

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.

AC CIRCUITS - CAPACITORS AND INDUCTORS

Low_Pass_Filter_1st_Order -- Overview

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

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

Introduction to the Analog Discovery

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

EXPERIMENT NUMBER 2 BASIC OSCILLOSCOPE OPERATIONS

MultiSim and Analog Discovery 2 Manual

LAB 8: Activity P52: LRC Circuit

ECE 201 LAB 8 TRANSFORMERS & SINUSOIDAL STEADY STATE ANALYSIS

EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment

Experiment Guide: RC/RLC Filters and LabVIEW

Lab 3: AC Low pass filters (version 1.3)

Waveform Generators and Oscilloscopes. Lab 6

Virtual Lab 1: Introduction to Instrumentation

Velleman Arbitrary Function Generator: Windows 7 by Mr. David Fritz

A Brief Handout for Introduction to

Voltage Current and Resistance II

RLC Frequency Response

EE EXPERIMENT 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP INTRODUCTION

ECE 53A: Fundamentals of Electrical Engineering I

Magnitude and Phase Measurements. Analog Discovery

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

On-Line Students Analog Discovery 2: Arbitrary Waveform Generator (AWG). Two channel oscilloscope

EXPERIMENT 1 PRELIMINARY MATERIAL

Experiment 13: LR Circuit

Introduction to basic laboratory instruments

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design

ECE 6416 Low-Noise Electronics Orientation Experiment

Group: Names: Resistor Band Colors Measured Value ( ) R 1 : 1k R 2 : 1k R 3 : 2k R 4 : 1M R 5 : 1M

Notes on Experiment #12

LAB I. INTRODUCTION TO LAB EQUIPMENT

Lab 2: Linear and Nonlinear Circuit Elements and Networks

DC and AC Circuits. Objective. Theory. 1. Direct Current (DC) R-C Circuit

EE-4022 Experiment 2 Amplitude Modulation (AM)

The Series RLC Circuit and Resonance

Resonant Frequency of the LRC Circuit (Power Output, Voltage Sensor)

LAB II. INTRODUCTION TO LAB EQUIPMENT

Sonoma State University Department of Engineering Science Spring 2017

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

Transcription:

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis All circuit simulation packages that use the Pspice engine allow users to do complex analysis that were once impossible to perform by hand. Two of these types of analysis are transient analysis and frequency response analysis. Transient analysis is the theoretical calculation of the circuit response as a function of time. The results are displayed much like oscilloscopes traces on plots that graph voltages and currents on the y-axis and time on the x-axis. Voltages and currents can then be compared and magnitude/phase measurements made from the individual traces on the graphs. Circuitmaker also includes a multimeter function that display the dc average and ac rms voltage and current magnitudes. The frequency response analysis gives the exact results that are approximated in the Bode plots. This analysis lets users check the frequency response between the input and output points of active (with IC and transistors) and passive circuits. User can specify the range of frequencies, and the input/output voltages for use in graphing the results. Transient Analysis Before any type of analysis can be performed using a Pspice-based simulation package, the types of analysis must be enabled. To enable a analysis, choose from the menu, Simulation, then Analyses Setup. This will display the dialog box below. Figure 1. Analysis setup showing the transient, AC and multimeter functions enabled Clicking on the Enabled checkbox activates the selected analysis for use. Clicking on the type of analysis button will bring up another dialog box that is specific for each selection and gives more details and parameters for the selected study.

Figure 2 shows the details for the transient analysis. When Circuitmaker solves the transient Figure 2. Details for Transient Analysis Setup. analysis of a circuit, it generates the dynamic equations of the circuit. These equations are differential equations-that is they use derivatives to represent the response of the inductors and capacitors in the circuit. For simple circuits, functions can be found that describe the time response of the circuit. For most practical circuit simulations, the Circuitmaker program solves the dynamic equations by numerical approximation over a user specified time interval. All calculations start at time zero. The following analysis parameters are important to the operation of the program. Stop Time Controls how long the simulation will last. Units are time. Step Time Controls the size of time increment taken between calculations. When differential equations are solved numerically, calculations are performed iteriatively at discreet time intervals. This parameter sets the maximum distance between the calculations. The units are also time. Max. Step - Controls the maximum time that the simulation takes between. This is used to speed the calculations when their are no rapid changes in the circuit response. A good rule of thumb is to make this 10 times the step time value. Correct values for these parameters will make the display of the results easier to understand. For simple ac sources, the frequency of the source is used to determine the proper settings. Stop Time - Set this so 10 complete cycles are computed. Determine the time by finding the period of the sine source frequency and multiplying it by the number of cycles. The period of the sine wave is found from T=1/f seconds. The number of cycles can be changed by the user, but remember, a large number of cycles gives a large value of final time which produces simulations that take lots of computer time and will not show 2

anything of interest. Final times computed with 5 to 10 cycles will usually show all the interesting points of the circuit response. Experimenting with the number of points per period maybe necessary. More points will give smoother curves but take more time to compute and display. To perform transient analysis an ac source must be in the circuit. The source need not be sinusoidal, but for these beginning labs only sine waves are used. To insert a sinusoidal source, go to the analog parts library and locate the part with the name Signal Gen. and insert it into the circuit. Double clicking on the part should bring up the following dialog box. Figure 3. Parameters For an Sinusoidal AC Source. The following parameters are important and must be assigned correctly to display valid results. Peak Amplitude The peak value of ac voltage used in the simulation. Frequency Frequency of the ac source (Hz). DC Offset Set the level of dc to superimpose onto the ac waveform. Output - The source can output either current or voltage by correctly click on the check point A transient simulation can now be run and the results displayed using the probe function of the Circuitmaker software. Example: Simulate the transient response of a simple RC circuit that has a 10 V rms 5000 Hz source. Determine the time setting for the transient simulation and the source settings. 3

Find the period: T=1/5000=2x10-4 S or 200 μs Set the value of print step time: t ps =T/20= 200μS/20=10μS Set the step ceiling: 10μS equal to print step time. Set the source parameters: Peak Amplitude =10/0.707=14.14 V p Figure 4. Example of Signal Generator input data. AC Analysis-Frequency Response Plots To generate a frequency response plot of a circuit the AC analysis must be enabled. (See Figure 1) Clicking on the AC Sweep will display the following dialog box. Figure 5. AC Sweep Analysis Parameters. The only selections that are necessary to perform the AC analysis are the type of sweep, the total number of points were the calculation is made, and the frequency limits. 4

For the work in the lab, select a sweep type of Decade. The number of points per decade should be 5-10 for the work being done. Larger numbers of points will only slow down the simulation. The starting and ending frequencies are give in the lab handouts. If these are not know before hand, a range of interest can be found from the expected response of the simulated circuit. (Example: bandpass filter with approximate f c 's of 100 and 2500 Hz, use low f=10 Hz and high f of 10 khz.) A good rule of thumb is to set the high and low frequencies at least one decade above and below the circuit cut-off frequencies. A signal generator must be connected into the circuit to perform an ac analysis. Clicking on the wave button shown in Figure 4 displays the dialog box shown below. The voltage Figure 6. Ac Analysis Parameters of the Signal Generator. and phase shift used in the ac frequency analysis is set in the Magnitude and Phase value boxes. The magnitude of the voltage can be either rms or peak values. Displaying Results Circuitmaker automatically displays computed results and generates plots after the simulations complete. If the multimeter, transient, and ac analysis simulations are enabled, all three of the results will be displayed. Clicking on each display activates it for editing and scaling. The probe tool must be used to select the nodal voltage to be viewed. This function is found by clicking on Simulation and then selecting the Scope Probe function. The simulation must be running for this function to be active. The figure below shows the results of an ac frequency analysis. The plot can be modified by clicking on the editing functions shown in the upper left. Scaling, display of gridlines, and color modification are just a few of the functions available for editing the results of the simulations. 5

Figure 7. AC Analysis Display Showing Editing Functions in Upper Left. Figure 8 shows the results of a transient simulation. There are two horizontal and vertical cursors that allow the user to measure the magnitude, phase and frequency of the displayed results. Figure 8. Transient Response Showing the Measurement Cursors, A, B, C, D. The waveform graphs produced by the analysis can be copied and pasted into a wordprocessing program by using the copy commands found under the Edit menu. Select Copy to Clipboard followed by Waveform to save a graph. The contents of the clipboard can then be pasted into Word or any other word-processing program. 6

When the multimeter function is enabled, the display shown in Figure 9 appears. The multimeter can display dc, dc average, or ac rms values of voltage or current. The type of display is set from the Analysis Setup menu selection. Figure 9. Multimeter display for Ac Rms measurement. Using Probe to Display Circuit Values After running a simulation, the waveforms can be viewed at any point(s) in the circuit using CircuitMaker s context-sensitive Probe Tool. To plot data (waveforms) in an analysis window, first choose the appropriate analysis window by clicking somewhere in it so that it is active, then: 1.) Click any valid point in the circuit with the tip of the Probe Tool. Click on a wire to measure voltage Click on a device pin to measure current Click on a device body to measure power The indicating letter on the probe flag will change from V to I to P if the probe tip is properly positioned. If CircuitMaker indicates that current or power data is not available, then go to Simulation, Analyses Setup, Analog Options then select the Node Voltage, Supply Current, Device Current and Power radio button in the lower right-hand corner of the dialog box. 2.) Hold down the Shift key and click to plot or stack multiple waveforms simultaneously in the analysis window. Note that clicking on another point in the circuit without holding the Shift key will replace the previous waveform with a new one. 3.) Hold down the Ctrl key and click to set a new voltage reference for the active analysis window (the default reference is ground). The figure below shows the results of changing the reference to read across the resistor, R2. 7