EE140: Lab 5, Project Week 2

Similar documents
EE140: Lab 5, Project Week 2

ECE 415/515 ANALOG INTEGRATED CIRCUIT DESIGN

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

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

ETIN25 Analogue IC Design. Laboratory Manual Lab 2

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

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

d. Can you find intrinsic gain more easily by examining the equation for current? Explain.

0.85V. 2. vs. I W / L

Design of High-Speed Op-Amps for Signal Processing

Laboratory 1 Single-Stage MOSFET Amplifier Analysis and Design Due Date: Week of February 20, 2014, at the beginning of your lab section

DESIGN OF A FULLY DIFFERENTIAL HIGH-SPEED HIGH-PRECISION AMPLIFIER

Design and Simulation of Low Voltage Operational Amplifier

Operational Amplifiers: Theory and Design

Problem three helps in changing the biasing of the circuit to operate at a lower VDD but it comes at a cost of increased power.

CMOS Operational-Amplifier

Low Quiescent Power CMOS Op-Amp in 0.5µm Technology

Design of a Folded Cascode Operational Amplifier in a 1.2 Micron Silicon-Carbide CMOS Process

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

An Analog Phase-Locked Loop

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

Lab 2: Basic Boolean Circuits. Brittany Duffy EE 330- Integrated Electronics Lab Section B Professor Randy Geiger 1/31/13

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

CMOS Operational-Amplifier

AN-1106 Custom Instrumentation Amplifier Design Author: Craig Cary Date: January 16, 2017

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

Design of Rail-to-Rail Op-Amp in 90nm Technology

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

EE 501 Lab9 Widlar Biasing Circuit and Bandgap Reference Circuit

Faculty of Engineering 4 th Year, Fall 2010

EECS3611 Analog Integrated Circuit Design. Lecture 3. Current Source and Current Mirror

EECE488: Analog CMOS Integrated Circuit Design Set 7 Opamp Design

Performance Evaluation of Different Types of CMOS Operational Transconductance Amplifier

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

EE 501 Lab 1 Exploring Transistor Characteristics

ECE 532 Hspice Tutorial

A Compact Folded-cascode Operational Amplifier with Class-AB Output Stage

Introduction to PSpice

Design for MOSIS Education Program

Basic Circuits. Current Mirror, Gain stage, Source Follower, Cascode, Differential Pair,

University of Michigan, EECS413 Final project. A High Speed Operational Amplifier. 1. A High Speed Operational Amplifier

EE 501 Lab7 Bandgap Reference Circuit

Topology Selection: Input

Design of High Gain Two stage Op-Amp using 90nm Technology

A PSEUDO-CLASS-AB TELESCOPIC-CASCODE OPERATIONAL AMPLIFIER

Schematic and Layout Simulation Exercise

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 2 ACTIVE FILTERS

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

ECEN 474/704 Lab 6: Differential Pairs

You will be asked to make the following statement and provide your signature on the top of your solutions.

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

EE 501 Lab 10 Output Amplifier Due: December 10th, 2015

Lecture 34: Designing amplifiers, biasing, frequency response. Context

EE 501 Lab 11 Common mode feedback (CMFB) circuit

Advanced Operational Amplifiers

NOVEMBER 29, 2017 COURSE PROJECT: CMOS TRANSIMPEDANCE AMPLIFIER ECG 720 ADVANCED ANALOG IC DESIGN ERIC MONAHAN

LOW VOLTAGE ANALOG IC DESIGN PROJECT 1. CONSTANT Gm RAIL TO RAIL INPUT STAGE DESIGN. Prof. Dr. Ali ZEKĐ. Umut YILMAZER

[Kumar, 2(9): September, 2013] ISSN: Impact Factor: 1.852

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 02, 2016 ISSN (online):

Lab Project EE348L. Spring 2005

Lab 2: Discrete BJT Op-Amps (Part I)

A Novel Design of Low Voltage,Wilson Current Mirror based Wideband Operational Transconductance Amplifier

Homework 2 Summary. at the differential amplifier s inputs and sweeping V in

You will be asked to make the following statement and provide your signature on the top of your solutions.

Lecture 2, Amplifiers 1. Analog building blocks

Problem 1. Final Exam Spring 2018 (Reposted 11p.m. on April 30)

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

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

Revision History. Contents

EEC 210 Fall 2008 Design Project. Rajeevan Amirtharajah Dept. of Electrical and Computer Engineering University of California, Davis

DESIGN OF RAIL-TO-RAIL OPERATIONAL AMPLIFIER USING XFAB 0.35µM PROCESS

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

ECEN3250 Lab 6 Design of Current Sources Using MOS Transistors

Simulating Circuits James Lamberti 5/4/2014

Design Analysis and Performance Comparison of Low Power High Gain 2nd Stage Differential Amplifier Along with 1st Stage

CSE 577 Spring Insoo Kim, Kyusun Choi Mixed Signal CHIP Design Lab. Department of Computer Science & Engineering The Penn State University

Differential Amplifier Design

Atypical op amp consists of a differential input stage,

ETI063 - Analogue IC Design Laboratory Manual

EE140 Homework Solutions Problem Set 6 Fall for a single pole roll-off Dominant pole at output:

Design Methodology and Applications of SiGe BiCMOS Cascode Opamps with up to 37-GHz Unity Gain Bandwidth

Common Mode Feedback for Fully Differential Amplifier in ami06 micron CMOS process

Experiment 10 Current Sources and Voltage Sources

ECEN 474/704 Lab 7: Operational Transconductance Amplifiers

Design and implementation of two stage operational amplifier

Operational Amplifiers

High Voltage Operational Amplifiers in SOI Technology

EE4902 C Lab 7

Lecture 240 Cascode Op Amps (3/28/10) Page 240-1

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

Experiment #7 MOSFET Dynamic Circuits II

Operational Amplifier with Two-Stage Gain-Boost

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions:

Simulator Based Device Sizing Technique For Operational Amplifiers

Lab 4: Supply Independent Current Source Design

Design of a Sample and Hold Circuit using Rail to Rail Low Voltage Compact Operational Amplifier and bootstrap Switching

G m /I D based Three stage Operational Amplifier Design

Comparative Analysis of Compensation Techniques for improving PSRR of an OPAMP

Course Project Topic: RF Down-Conversion Chain Due Dates: Mar. 24, Apr. 7 (Interim reports), Apr. 28 (Final report)

ECEN 474/704 Lab 8: Two-Stage Miller Operational Amplifier

Transcription:

Introduction EE140: Lab 5, Project Week 2 VGA Op-amp Group Presentations: 4/13 and 4/14 in Lab Slide Submission: 4/15/17 (9 am) For this lab, you will be developing the background and circuits that you will need to get your final project to work. You should do this with your project group (ie, each group collectively makes one set of slides this time). The results should go into your powerpoint design document, and will be presented to your GSI next week at the beginning of lab. Objective The goal is to design and simulate a PMOS input folded cascode for your Variable Gain Amplifier (VGA). The figures below show the topology and bias generation circuitry of a PMOS input folded cascode. You can copy them directly if you like, or use other sources, or design your own from scratch. In any case, you might want to start with longer channel lengths (e.g. L = 1um) to keep the devices in quadratic mode where they are easier to analyze. There are many ways to bias this circuit, this is only one of many possibilities. Left: PMOS Input Folded Cascode Right: Constant-gm Bias for Folded Cascode

Specification V DD Requirement 1.2 V Settling Accuracy (f=8) < 0.4 % Settling Time (f=8) < 5 µs C L Input Common Mode Range Temperature 400 ff Includes ground -40 C < T < +85 C Recommended Design Strategy 1) Calculate the requirements for open loop gain and unity gain bandwidth. 2) Choose device lengths (L = 1 µm is a good place to start) and overdrive voltages. 3) Calculate the transconductance required for the bandwidth and the current given your choice of overdrive voltage. 4) Calculate widths for all transistors. Start with the current mirror for the input diff pair and work your way toward the output. The table below should give you a reasonable place to start with hand calculations using the quadratic model. Vth λ (@L=1µm) µcox nmos1v 0.18 V 0.08 1/V 250 µa/v 2 pmos1v 0.16 V 0.05 1/V 125 µa/v 2 5) After sizing all transistors run a DC sim and check all the voltages and currents (Don t forget to apply a DC bias at the input). If the simulated values are very far off from what your hand calculations predicted, STOP! Go back through systematically and look for the discrepancy. If your DC bias is wrong, your amplifier is never going to work as expected. 6) Once your DC bias is working, use the test bench (see below) to check the AC small signal frequency response of your amplifier. If you fail to meet your gain or bandwidth specs, think about what you need to change in order to increase the gain or bandwidth and make those

changes. Keep track of what changes you make and what their effects were (making copies of your schematics with revision numbers is recommended). Continue this strategy until you have met all specs. 7) You ll likely find that one temperature condition is more difficult to meet than the others. It is easiest to focus on getting your amplifier working under this most difficult constraint, then the other temperatures should achieve the specs with ease. Test Bench We often use components from analoglib to test our circuits (things like voltage sources, etc) but we want our schematics to only include real devices that we can fabricate (this becomes important for layout). The solution is to create a test wrapper which turns our schematic with real devices into a component with input and output pins. We can then create a new schematic, instantiate the symbol of our circuit, and attach analoglib parts to the pins for testing. Since we will use test benches to evaluate your final project performance, you will get familiar with the process in this lab. The test bench has already been created for you as an example. The overview of the steps to use the test bench are outlined below, and then explained in detail: 1) Copy over the test bench files to your directory 2) Add the test bench to your library path 3) Copy your schematic to the test bench library 4) Load saved state and run simulation The Detailed Steps: 1) Copy over the test bench files to your directory From within your ee140 folder (or wherever you launch cadence from) run: cp R /scratch/ee140/lab5_testbench./lab5_testbench 2) Add the test bench to your library path In Library Manager, go to Edit > Library Path At the bottom, add lab5_testbench and the path to where you copied the files (see example screenshot). Save the changes to your library path and you should now have the test bench in your list of libraries.

3) Copy your schematic to the test bench library Inside lab5_testbench you will two cells: o amplifier contains the symbol view only. You should copy your schematic view into this location by right clicking your schematic, choosing copy, and filling out the form as shown below. o Your schematic needs to have the same pin names and types (inputoutput) as the symbol. o If you get warnings about data.dm, they are safe to ignore and overwrite.

5) Load saved state and run simulation The other cell inside lab5_testbench has two views. One is the test bench schematic which instantiates your amplifier symbol along with analoglib parts for testing. The other is a saved ADE state called saved state. Saved states allow you to save a particular simulation configuration so that you can easily run it again later. Double click on saved state. This will open ADE with DC and AC simulations already set up. There are also variables for VDD and the common mode input voltage which default to 1.2 V and 0 V respectively. Click run. If you have set everything up correctly a plot should open showing the magnitude and phase response of your amplifier.

Debugging It s a good idea to build things in pieces and test as you go. You could start with the bias network, building up the circuit one leg at a time and verifying that you get the expected gate bias voltages, and then adding in the transistors in the signal path. Or you could build the signal path first, with ideal sources to set biases, and verify that it operates the way that you expect before adding in the bias network. Test as you go means do a hand analysis to estimate bias point voltages and currents, smallsignal model parameters, gain, BW, etc., and then check with simulation to make sure that is what your circuit is doing. If SPICE and hand analysis don t match, stop! Go back and figure out if your analysis is wrong, or you built the circuit wrong, or what. A DC plot of Vout vs. V+ will tell you gain and output swing (take a derivative and see how close you can get to the rails before the gain drops off). That same plot with several different values for V- will give you an idea of what your input common mode range is, and how gain and swing vary with input common mode. Estimate phase margin, and then put the amplifier in unity gain feedback and see if the response to a step input looks like you expect. Deliverables (via PowerPoint) Show how you calculated gain and bandwidth requirements. Schematic of opamp and bias generation with sizes and currents annotated. Bode plot of amplifier frequency response (mag and phase) The following table: Temperature DC Gain Unity Gain Bandwidth Phase Margin -40 C 25 C 85 C

And a reminder. A Note on Plots in Cadence The default plotting options in Cadence are garbage for presentations. The pro-level thing to do is export the data and plot with MATLAB, Excel, etc. Cadence plots are only acceptable for submission if at a minimum the following steps have been performed: o Graph > Properties > Set background to white > OK o Graph > Properties > Graph Options > Font > Fixed [Sony] > Size 18 o Right click on traces > Width > Extra Thick Even with these adjustments, the plots are still not great for presentation. You can experiment with other settings, but they will never look as good as if you had exported. A Note on Schematics in Cadence Like with default plots, schematics in Cadence are poor. Drawing your circuits neatly goes a long way in making them understandable. If you want really nice schematics, use Adobe Illustrator. Otherwise to get decent schematics from Cadence, follow these steps: File > Export Image o > Background > White o > Foreground > Black o Bi-color o Selected Area > Select > Draw a box around your circuit (It is not click n drag) o Choose a name, then Save to File Annotate sizes and nodes onto schematics by adding labels in post-processing.