EE140: Lab 5, Project Week 2

Similar documents
EE140: Lab 5, Project Week 2

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

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

EE4902 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

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

Design of High-Speed Op-Amps for Signal Processing

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

0.85V. 2. vs. I W / L

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

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

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

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

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.

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

CMOS Operational-Amplifier

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

An Analog Phase-Locked Loop

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

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

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

EE 501 Lab 1 Exploring Transistor Characteristics

CMOS Operational-Amplifier

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

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

Schematic and Layout Simulation Exercise

Faculty of Engineering 4 th Year, Fall 2010

EE 501 Lab9 Widlar Biasing Circuit and Bandgap Reference Circuit

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

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

Topology Selection: Input

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

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

ECEN 474/704 Lab 6: Differential Pairs

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.

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

Design for MOSIS Education Program

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

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

EE 501 Lab7 Bandgap Reference Circuit

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

A PSEUDO-CLASS-AB TELESCOPIC-CASCODE OPERATIONAL AMPLIFIER

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

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

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

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

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

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

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

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

EE 501 Lab 11 Common mode feedback (CMFB) circuit

Introduction to PSpice

ETI063 - Analogue IC Design Laboratory Manual

Advanced Operational Amplifiers

Revision History. Contents

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

Lab Project EE348L. Spring 2005

ENGI0531 Lab 2 Tutorial

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

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

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

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

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design

Lab 8: 2 nd Order Universal Filter Design

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

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

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

ECEN3250 Lab 6 Design of Current Sources Using MOS Transistors

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

Comparative Analysis of Compensation Techniques for improving PSRR of an OPAMP

Chapter 12: Electronic Circuit Simulation and Layout Software

Differential Amplifier Design

Atypical op amp consists of a differential input stage,

Chapter 10 Feedback ECE 3120 Microelectronics II Dr. Suketu Naik

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

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

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

PMOS OPERATIONAL AMPLIFIER. Khanh-Biflh Ta 5th Year Microelectronic Engineering Student Rochester Institute of TechnolOgy ABSTRACT

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

ECE 532 Hspice Tutorial

ECEN 474/704 Lab 7: Operational Transconductance Amplifiers

Experiment 10 Current Sources and Voltage Sources

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

Design and implementation of two stage operational amplifier

Operational Amplifiers

High Voltage Operational Amplifiers in SOI Technology

EE 140 HW7 SOLUTION 1. OPA334. a. From the data sheet, we see that. Vss 0.1V Vcm Vdd 1.5V

EE4902 C Lab 7

Experiment #7 MOSFET Dynamic Circuits II

Transcription:

EE140: Lab 5, Project Week 2 VGA Op-amp Introduction 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.4 V 0.14 1/V 300 µa/v 2 pmos1v 0.35 V 0.12 1/V 230 µ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 file, lab5_tb from library: ee140_gsi 2) Copy your schematic to the test bench library 3) Load saved state and run simulation The Detailed Steps: 1) Copy over the test bench file, lab5_tb from library: ee140_gsi From within your cadence folder (where you launch cadence from), open cds.lib using vi or your favorite text editor. Make sure you point to ee140_gsi library by looking for following line: DEFINE ee140_gsi /home/ff/ee140/sp18/cadence/ee140_gsi Once this is ensured, copy "lab5_tb" and "lab5_amp" by right Click --> Copy. In the pop-up menu make sure to provide your library name under "To". By default it would be "ee140_gsi" which you need to replace it with name of your design library. Follow the remaining instructions as shown in the snapshot below. Make sure to do exactly the same steps while copying both "lab5_tb" and "lab5_amp"

2) Copy your schematic to the test bench library Inside lab5_tb you will two cells: o o o lab5_amp 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. Your schematic needs to have the same pin names and types (inputoutput) as the symbol. If you get warnings about data.dm, they are safe to ignore and overwrite.

3) Load saved state and run simulation The other cell inside lab5_tb 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.