ENGI0531 Lab 2 Tutorial

Similar documents
DC Operating Point, I-V Curve Trace. Author: Nate Turner

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

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

ETIN25 Analogue IC Design. Laboratory Manual Lab 2

Introduction to PSpice

ECEN 474/704 Lab 6: Differential Pairs

0.85V. 2. vs. I W / L

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

Homework 2 Solutions. Perform.op analysis, the small-signal parameters of M1 and M2 are shown below.

Introduction to NI Multisim & Ultiboard Software version 14.1

Introduction to LT Spice IV with Examples

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

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

EE 210 Lab Exercise #3 Introduction to PSPICE

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

Getting Started with Qucs

EE 501 Lab 1 Exploring Transistor Characteristics

LAB EXERCISE 3 FET Amplifier Design and Linear Analysis

LTSpice Basic Tutorial

ECEN 474/704 Lab 1: Introduction to Cadence & MOS Device Characterization

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

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

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

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

MOSFET Biasing Supplement for Laboratory Experiment 5 EE348L. Spring 2005

Class #8: Experiment Diodes Part I

Lab 3: Circuit Simulation with PSPICE

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

EECS 312: Digital Integrated Circuits Lab Project 2 Extracting Electrical and Physical Parameters from MOSFETs. Teacher: Robert Dick GSI: Shengshuo Lu

Lab 6: MOSFET AMPLIFIER

EE140: Lab 5, Project Week 2

Using LTSPICE to Analyze Circuits

ECE 2274 MOSFET Voltmeter. Richard Cooper

Revised: Summer 2010

Mentor Graphics OPAMP Simulation Tutorial --Xingguo Xiong

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

A Brief Handout for Introduction to

EE311: Electrical Engineering Junior Lab, Fall 2006 Experiment 4: Basic MOSFET Characteristics and Analog Circuits

EE140: Lab 5, Project Week 2

FACULTY OF ENGINEERING LAB SHEET ENT 3036 SEMICONDUCTOR DEVICES TRIMESTER

Magnitude and Phase Measurements. Analog Discovery

ECEN 325 Lab 11: MOSFET Amplifier Configurations

MultiSim and Analog Discovery 2 Manual

Class #9: Experiment Diodes Part II: LEDs

Simulating Circuits James Lamberti 5/4/2014

Faculty of Engineering 4 th Year, Fall 2010

EE 230 Lab Lab 9. Prior to Lab

The version 2.0 of Solve Elec allow you to study circuits in direct current.

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

8. Characteristics of Field Effect Transistor (MOSFET)

LNA Design Using SpectreRF. SpectreRF Workshop. LNA Design Using SpectreRF MMSIM6.0USR2. November

EE 2274 MOSFET BASICS

BIM - ARCHITECTUAL IMPORTING A SCANNED PLAN

An Introductory Guide to Circuit Simulation using NI Multisim 12

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

Background Theory and Simulation Practice

Field Effect Transistors

Circuit Shop v December 2003 Copyright Cherrywood Systems. All rights reserved.

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

Chapter 12: Electronic Circuit Simulation and Layout Software

D n ox GS THN DS GS THN DS GS THN. D n ox GS THN DS GS THN DS GS THN

Submission date: Wednesday 21/3/2018

BEST PRACTICES COURSE WEEK 14 PART 2 Advanced Mouse Constraints and the Control Box

Lab 3: Very Brief Introduction to Micro-Cap SPICE

Real Analog - Circuits 1 Chapter 1: Lab Projects

Voltage Current and Resistance II

Experiment 5 Single-Stage MOS Amplifiers

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

Electronic CAD Practical work. Week 1: Introduction to transistor models. curve tracing of NMOS transfer characteristics

LAB 4 : FET AMPLIFIERS

EEC 116 Fall 2011 Lab #2: Analog Simulation Tutorial

Transistor Characterization

Common-Source Amplifiers

The Inverting Amplifier

Common-source Amplifiers

LABORATORY #3 QUARTZ CRYSTAL OSCILLATOR DESIGN

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

Lab Project EE348L. Spring 2005

Lab 5: FET circuits. 5.1 FET Characteristics

EE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

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

UNIT-1 Bipolar Junction Transistors. Text Book:, Microelectronic Circuits 6 ed., by Sedra and Smith, Oxford Press

ECE4902 C2012 Lab 3. Qualitative MOSFET V-I Characteristic SPICE Parameter Extraction using MOSFET Current Mirror

Overview. The Game Idea

MEASUREMENT AND INSTRUMENTATION STUDY NOTES UNIT-I

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

Time-Varying Signals

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

First a quick announcement. In case you have forgotten, your lab notebooks are due tomorrow with the post-lab

EE 105 MICROELECTRONIC DEVICES & CIRCUITS FALL 2018 C. Nguyen. Laboratory 2: Characterization of the 741 Op Amp Preliminary Exercises

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

JFET 101, a Tutorial Look at the Junction Field Effect Transistor 8May 2007, edit 2April2016, Wes Hayward, w7zoi

DIGITAL VLSI LAB ASSIGNMENT 1

Table of Contents. Lesson 1 Getting Started

Figure AC circuit to be analyzed.

This tutorial will guide you through the process of adding basic ambient sound to a Level.

Experiment 6: Biasing Circuitry

ENEE 307 Laboratory#2 (n-mosfet, p-mosfet, and a single n-mosfet amplifier in the common source configuration)

Physics 303 Fall Module 4: The Operational Amplifier

Simulation Guide. The notes in this document are intended to give guidance to those using the demonstration files provided for

Transcription:

ENGI0531 Lab 2 Tutorial Transient Analysis, Operating Points, Parameters and other miscellany Lakehead University Greg Toombs Winter 2009

1. Constructing the Circuit Copying a Cell View Start Cadence as usual (if you aren't clear on this refer to Tutorial 1). Kill What's New. Open the Library Manager. We can reuse the library we created for tutorial 1 and create a new cell view in it based off of the old cell view. To do this, select tutorial1 under the Library heading. Select csamp under the Cell heading. Select Edit Copy. Set it to copy from tutorial1/csamp/schematic to tutorial1/ cgamp/schematic. The library manager should reappear and show the new cell view. Select it and select File Open. Copying a Component Your old circuit should appear. We will keep the common-source amplifier and add a common-gate amplifier for comparison. Try copying the drain resistor to the right. To do this, place your cursor above the resistor until you see a dotted yellow line and hit the C key. Your cursor will change into a resistor icon. Left click a good distance to the right of the original resistor. Repeat this for the transistor. Deleting Components The DC Vgs source won't be useful here, so we need to delete it. To delete an item, place your cursor over it and press the delete key. Sometimes Cadence gets delete-happy and it's difficult to convince it to do something else. Looking on the bottom-left status bar gives you a clue as to what mood the editor is in. Most of the time, switching to move mode will convince it to stop deleting components. It's a good idea to always switch to move mode after deleting something or you'll inevitably start trashing components. Miscellaneous Useful Editing To switch to moving, press M. To move a group of components, drag a box over them, and press M. If you press M while over a component, it will immediately begin moving that component. Otherwise, you need to left-click on it first. To switch to property editing, press Q. If nothing seems to happen, the property editor might be minimized or hidden; check the taskbar for Edit Object Properties. To make a component's property appear in red text on the schematic if Cadence doesn't feel like adding it in orange, select both to the right of the property. If you accidentally trash something important, press U for undo. To zoom in and out, use the [ ] keys. To zoom to fit, press F. To rotate or flip components or net labels, select Edit Rotate. Circuit Overview The final circuit is shown in Figure 1. On the left is the common-source amplifier, and on the right is the common-gate amplifier. Recall that the common-gate amplifier requires a negative voltage at the source, so the common-gate input voltage source is arranged to make this intuitively obvious. Also note that the Mcg bulk terminal is not grounded; otherwise, bulk effects interfere with common-gate mode.

Figure 1: The completed circuit. Input Sources and Parameters Add one new analoglib/vsin/symbol instance. Set its properties to: Instance Name: Vincs DC voltage: dci+dcis Amplitude: 10m Frequency: 1k This is an AC voltage source whose frequency is 1 khz, peak amplitude is 10 mv, and is on a DC rail whose voltage is based on two parameters that we modify during simulation. The biggest advantages to using parameters in component properties are: The behaviour of multiple components can be changed at once. Behaviour can be changed from simulation without having to go back to the schematic. You can run multi-parametric simulations to an arbitrary number of dimensions (this is saved for another tutorial). Almost any component property can be parametrized in this way. Once these properties are set, copy the component to the common-gate amplifier and rename it and change its DC voltage according to Figure 1. The parameters are set so that if we want to run a comparative simulation where both amplifiers receive the same input, we set dcis and dcig to 0 and sweep through dci. If we want them to differ, dci is 0 and dcis and dcig receive separate values.

2. DC Simulation Start the analog simulation environment and set the model library to be the same as in the previous tutorial. For reference, the path to this model is: /CMC/kits/models/textbook_mos.mod Parameter Setup Select the XYZ toolbar button or Variables Edit. Click on Copy From. This is an important step because it will prevent you from forgetting to set parameters from the circuit. If you don't give all parameters default values the simulator will complain. Set all values to 0 by clicking on the variable name, entering 0 and selecting Change. Then select OK. DC Analysis Setup We wish to find the biasing input voltage that makes the gain equal to exactly -10. To that end, select Choose Analyses, select DC, and select design variable for your sweep variable. For the variable name, enter dci. For start-stop, enter 0 and 1. This will sweep the DC component of both inputs between 0V and 1V. Select OK. Output Setup We want to view the outputs and their instantaneous derivatives (the gains). To do this, select Outputs To be plotted Select on schematic, and select both output nets. Then, go to Setup Outputs, click on New Expression, type dvoutcs/dvin for the name, and for the expression type deriv(vs( /Voutcs )) Then select Add. Since the next one will be similar, reselect the newly added expression, modify the name to be dvoutcg/dvin and the expression to be deriv(vs( /Voutcg )) and then press Add (not Change). Click OK, and then Netlist and Run. You should get something similar to Figure 2. You could get approximate x-axis (input voltage) values needed to create a gain of -10 from the graph. There are actually two conditions that satisfy this, but the second would not put the transistors in the active region.

Figure 2: DC sweep results. The left shows instantaneous gain and the right shows output. Voltage Calculations We want to make the process of finding out the right biasing voltages both automatic and precise, so we'll type in some WaveScan functions. Add the following two expressions to the outputs. Vincs av=10: Vincg av=10: cross(deriv(vs( /Voutcs )) -10 1) cross(deriv(vs( /Voutcg )) -10 1) The cross function finds the x-axis value at which the derivative expression equals -10. The 1 means output the first value found. Change the DC sweep range to 500mV-1V to increase accuracy. Rerun the simulation. In the Outputs section of the Analog window you'll see exact values that are pretty close to each other. In preparation for the next section, add these exact values to dcis and dcig in the Variables window. Save the state of your analog session in case it gets trashed.

3. Transient Simulation Now, instead of having a DC voltage as our independent swept variable (x-axis), it will be time. Open the Choose Analyses window. At the very bottom left, disable the enable box; this disables our old DC sweep (but we don't need to get rid of it completely in case you ever want to switch back). Then select tran. Enter a stop time of 5m, make sure this is enabled in the bottom-left, and then select OK. Run the simulation. You should get something similar to Figure 3. Figure 3: Transient outputs. If you didn't disable the gain and cross expressions in the output setup, you'll see all sorts of errors in the ICFB log because during transient analysis voltages should be taken by VT instead of VS, but this is no big deal since derivatives have a different meaning in transient analysis (slew rate as opposed to gain). Note that, since we left the input phase shifts as 0, the outputs are both 180º out of phase. This agrees with the theory of common-source and common-gate amplifiers. Also note that both waveforms have the same peak-to-peak voltage, thus the same gain. 4. Operating Points Go back to the analog window. Open the Analyses window. Disable tran, enable dc, and under the DC Analysis heading enable Save DC operating point. When the simulator considers the operating point, it is setting the swept variable (dci) to zero, but the operating point will still be correct because you put the right biasing points into dcis and dcig and the simulator will use those. Run the simulation, and then select Results Print DC Operating Points. A blank window will appear. Switch to the schematic editor, and left-click once on Mcs and Mcg. Return to the Results Display Window, and a list of operating point variables will have appeared for the two transistors.

Operating Point Definitions Here are some of the more important variables and their meanings. gm: Transconductance gmbs: Bulk-source transconductance gds: Drain-source transconductance, equal to 1/R O (the output resistance) gmoverid: g m / I D, equal to 2/V OV (the overdrive voltage) id: Drain current region: Region of operation. Different integers mean different regions in the BSIM model: 0. Cutoff 1. Triode 2. Saturation (active) 3. Sub-threshold 4. Breakdown vds: Drain-source voltage vdsat: Drain saturation voltage, equivalent to V OV vgs: Gate-source voltage vth: Threshold voltage These parameters can be used in hand calculations, or in WaveScan expressions with the OP function. They can help to check that the transistor is biased correctly or otherwise working. Note that the vgs values are equal to the biasing parameters you entered, and that both transistors are in region 2.