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

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

Differential Amplifier Design

Operational Amplifiers

ECE315 / ECE515 Lecture 7 Date:

A Fully Differential Transconductance Amplifier. --EE240 final project, Spring 2001

ECE315 / ECE515 Lecture 8 Date:

d. Why do circuit designers like to use feedback when they make amplifiers? Give at least two reasons.

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

Microelectronic Circuits II. Ch 10 : Operational-Amplifier Circuits

Design Of Two Stage CMOS Op-Amp With Low Power And High Slew Rate.

Lab 4: Supply Independent Current Source Design

Basic OpAmp Design and Compensation. Chapter 6

ECEN 474/704 Lab 6: Differential Pairs

Analysis and Design of Analog Integrated Circuits Lecture 8. Cascode Techniques

Solid State Devices & Circuits. 18. Advanced Techniques

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

Revision History. Contents

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

Experiment #7 MOSFET Dynamic Circuits II

Advanced Operational Amplifiers

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

Lecture 13. Biasing and Loading Single Stage FET Amplifiers. The Building Blocks of Analog Circuits - III

EE 501 Lab9 Widlar Biasing Circuit and Bandgap Reference Circuit

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

ECE315 / ECE515 Lecture 9 Date:

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

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

Common Gate Stage Cascode Stage. Claudio Talarico, Gonzaga University

ECE 442 Solid State Devices & Circuits. 15. Differential Amplifiers

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

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

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

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

Microelectronics Part 2: Basic analog CMOS circuits

Design and Simulation of Low Voltage Operational Amplifier

Chapter 5. Operational Amplifiers and Source Followers. 5.1 Operational Amplifier

Lecture 13 Date:

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

Chapter 8 Differential and Multistage Amplifiers

ECE 546 Lecture 12 Integrated Circuits

MAS.836 HOW TO BIAS AN OP-AMP

Short Channel Bandgap Voltage Reference

What is the typical voltage gain of the basic two stage CMOS opamp we studied? (i) 20dB (ii) 40dB (iii) 80dB (iv) 100dB

Chapter 4 Single-stage MOS amplifiers

Beta Multiplier and Bandgap Reference Design

LOW-VOLTAGE, CLASS AB AND HIGH SLEW-RATE TWO STAGE OPERATIONAL AMPLIFIERS. CARLOS FERNANDO NIEVA-LOZANO, B.Sc.E.E

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

CMOS Operational-Amplifier

CMOS Operational-Amplifier

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

EE 501 Lab 4 Design of two stage op amp with miller compensation

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

Lecture 16: MOS Transistor models: Linear models, SPICE models. Context. In the last lecture, we discussed the MOS transistor, and

DESIGN OF A PROGRAMMABLE LOW POWER LOW DROP-OUT REGULATOR

A Low Power Low Voltage High Performance CMOS Current Mirror

INF3410 Fall Book Chapter 3: Basic Current Mirrors and Single-Stage Amplifiers

Current Mirror and Differential Amplifier

Amplifier Design Using an Active Load

ECE315 / ECE515 Lecture 5 Date:

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

GUJARAT TECHNOLOGICAL UNIVERSITY. Semester II. Type of course: ME-Electronics & Communication Engineering (VLSI & Embedded Systems Design)

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

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

Homework Assignment EE 435 Homework 4 Spring 2014 Due Wednesday Feb 26

Common mode rejection ratio

ISSN:

Design and implementation of two stage operational amplifier

Topology Selection: Input

SAMPLE FINAL EXAMINATION FALL TERM

Building Blocks of Integrated-Circuit Amplifiers

L02 Operational Amplifiers Applications 1

Low voltage, low power, bulk-driven amplifier

EE 501 Lab 11 Common mode feedback (CMFB) circuit

1. The fundamental current mirror with MOS transistors

A Unity Gain Fully-Differential 10bit and 40MSps Sample-And-Hold Amplifier in 0.18μm CMOS

Chapter 12 Opertational Amplifier Circuits

Spice lesson 2: Fully differential amplifiers

55:041 Electronic Circuits

Design of a low voltage,low drop-out (LDO) voltage cmos regulator

Session 2 MOS Transistor for RF Circuits

ECEN 474/704 Lab 5: Frequency Response of Inverting Amplifiers

QUESTION BANK for Analog Electronics 4EC111 *

EE 230 Lab Lab 9. Prior to Lab

Operational Amplifier with Two-Stage Gain-Boost

EECE488: Analog CMOS Integrated Circuit Design Set 7 Opamp Design

Lecture 16: Small Signal Amplifiers

Chapter 1.I.I. Versatile Low Voltaige, Low. Power Op-amp Design. Frode Larsen

Analysis and Design of Analog Integrated Circuits Lecture 20. Advanced Opamp Topologies (Part II)

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

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

Design of High-Speed Op-Amps for Signal Processing

EE 435 Homework 4 Spring 2018 (Due Wednesday Friday Feb 28)

Lecture 4. The CMOS Inverter. DC Transfer Curve: Load line. DC Operation: Voltage Transfer Characteristic. Noise in Digital Integrated Circuits

Atypical op amp consists of a differential input stage,

ENEE307 Lab 7 MOS Transistors 2: Small Signal Amplifiers and Digital Circuits

Basic OpAmp Design and Compensation. Chapter 6

ECE 415/515 ANALOG INTEGRATED CIRCUIT DESIGN

1. The simple, one transistor current source

A new class AB folded-cascode operational amplifier

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

Transcription:

EE 140 HW7 SOLUTION 1. OPA334 a. From the data sheet, we see that Vss 0.1V Vcm Vdd 1.5V The input common mode voltage must remain at least 1.5V below vdd. The input common mode voltage can be below Vss. Vic, max = Vdd - 1.5 Vic, min = Vss - 0.1 ( Vic,min < 0 if Vss = 0) What kind of topology is it? For a simple differential amplifier, Vic, min = V T 2V dsat + Vss > 0 (if Vss = 0) but our data sheet says Vic, min = Vss 0.1 = -0.1 (if Vss = 0) Since these 2 facts contradict each other, the topology can not be a simple differential amp. For a telescopic amplifier, Vic, min = V T 2V dsat + Vss > 0 (if Vss = 0). The same analysis applies. So it's not a telescopic amplifier. For a folded cascode amplifier with nmos transistors as the input pair, Vic, min = V T 2V dsat + Vss > 0 (if Vss = 0). But our data sheet says Vic, min < 0. Contraction! For a folded cascode amplifier with pmos transistors as the input pair, Vic, min = V dsat V T + Vss. We see that we can meet this spec if V T V dsat 0.1 Since the output range is fairly large, this means the output is driven by an output stage. It could be an inverter, or maybe a common source. b. Typical value: Low frequency gain = 130 db 130 db = 20dB * log ( Av) Av 3.16 10 6 Volts/Volts c. As we can see on the following plot, phase margin is 80 degrees.

d. Output voltage range when output current = 1mA is about from Vss+0.1 to Vdd-0.1. Very close to rail to rail swing.

Problem 2. a. b. stated in the data sheet. Vic,max = vdd + 0.5 Vic,min = vdd 0.5 c. One method of improving capacitive load drive in the unity gain configuration is to insert a 10Ω to 20Ω resistor in series with the output, as shown in Figure 4. This significantly reduces ringing with large capacitive loads. However, if there is a resistive load in parallel with the capacitive load, it creates a voltage divider introducing a dc error at the output and slightly reduces output swing. This error may be insignificant. For instance, with RL = 10kΩ and RS = 20Ω, there is only about a 0.2% error at the output.

Diagram for part c: Problem 3. 0. Minimum allowable supply rail: (We look where there is the most transistors). This could be the right side or the left side. But by observation, its possible to have all the transistors on the right side in saturation by leaving exactly Vdsat for each vds. This implies that Vdd,min = 4 Vdsat = 0.4. However, this will cause some of our transistors on the left side to go into triode. Looking at the left side, the gate voltage of M4L is Vgs4 = Vt+vdsat. This implies the drain voltage of M3L is Vt+Vdsat since a wire connects the gate of M4L to this node. Looking up from the drain of M3L, we can bias our circuit such we leave exactly vdsat across M2L and M5L. This implies the minimum Vdd required to bias all the transistors on the left side in saturation is equal to Vt+Vdsat+ Vdsat+Vdsat = Vt+3Vdsat. Now we can double check that indeed we can bias all the other transistors in the circuit in saturation if we use Vdd=Vt+3Vdsat. How to design the supply independent biasing network: If you are reading my solutions, you should look at the circuit diagram and try to follow along. 1. Pick currents for the folded cascode and decide on a vdsat. I pick 200uA. For M5, and Vbt5, 100uA for transistors 1,2,3,4. Reason: 100uA seems like a good number to work with. Pick Vdsat = 100mV Reason: gm= 2Id, we want to use the smallest Vdsat to maximize gm. Vdsat Also, since i will design my output range to swing within 2Vdsat from each rail, if i make vdsat small, it improves my swing at the output. Since 300mV within the rails is the spec, this implies 2 Vdsat < 300mV

or Vdsat < 150mV (for the transistors in the same branch as the output). For my tail current source, M5T, i pick a vdsat of 200mV, it turns out it will be easier for me to bias it in this way. 2. Design the supply independent current source. Sizing : MB1, MB2, MB3, MB4, and RS Id = W Kp Vdsat 2, 2 L I neglect the 1+lambda because i plan to use large L values. To make calculations easier, i've decided to aim for 200uA in the biasing network as well. I plan to use the gate voltage of mb4 to bias the gate of m5. So i will set the vdsat of MB4, MB3 = 100mV. This implies (W/L)4, (W/L)3 = 400 (40000um/100um) In order to make the current invariant from changes of vdd. I pick L3, L4 = 100um. I Formula given in Razavi : Vdd 1, from Razavi (chapter 11) ro4 bigger L --> bigger ro. --> more stable current source. For MB1, i pick a vdsat1 = 200mV, since its gate voltage will be used to bias VB5T. Id = W 2 L Kn Vdsat 2 ---> (W/L)1 = 50. (500um/10um) We also use a relatively large L value for (W/L)1 and (W/L)2 to reduce. This gives us a better current source. Now, i choose (W/L)2= 4 (W/L)1 (2000um/10um) => Vdsat2 = ½ Vdsat1 = ½ * 200mV = 100mV. To size Rs: Do KCL, around the loop. I is picked to be 200uA. Vt+vdsat1-(Vt+vdsat2) I Rs = 0 => 200mv-100mV = I Rs => Rs = 100mV / 200uA = 500 Ohms Spice results: Supply independent current source: volt iref 2.00000 198.8411u 3.00000 200.8357u 4.00000 202.8120u

5.00000 204.7705u 6.00000 206.7114u 7.00000 208.6349u 8.00000 210.5412u 9.00000 212.4307u 10.00000 214.3036u 11.00000 216.1600u 12.00000 218.0004u 13.00000 219.8248u 14.00000 221.6335u 15.00000 223.4268u 3. Create the other biasing circuitry. Sizing MB5, MB6, MB7, MB8. Once you have a stable reference voltage, there is some flexibility how you design the other parts of the biasing network. First, lets use MB5 and MB6 to create Vbcp. We can size MB5 to be the same size as MB1. This gives us a steady 200uA reference current to work with. (W/L)5 = (W/L)1 (500um / 10um) Now the question is, how do we size MB6? The purpose of sizing MB6 is to create a Vbcp to bias our folded cascode in a high swing mode. If we bias it correct, Vout will be able to go up within 2 Vdsats of vdd while keeping all the transistors in saturation. We also need to leave at least Vdsat for the Vds of transistors M5l and M5r. This means gate voltage of M2L and M2R needs to be set at Vdd-Vdsat-(Vt+Vdsat) Vbcp = Vdd Vt-2Vdsat. The Vbcp is generated by MB6, and its equal to Vdd- Vt-Vdsat6. We see that we can get the appropriate voltage if we set Vdsat6 = 2 * Vdsat. Where Vdsat is the Vdsat that i picked for transistors in the folded cascode. (100mV). 2 I Vdsat= Kp W L, Use this equation to calculate W/L ratios and Vdsats. By looking at this equation, we see that if we wanted to generate 2 Vdsat, we should use (W/L)6 = (¼)* (W/L)5_folded,cascode. However there is a problem with the above scheme. Problem: This biasing scheme biases the drain of M5L and M5R at almost exactly Vdd-Vdsat. M5L and M5R are sitting on the edge between saturation and triode, and any disturbance could bring them into triode (such as raising the vdd to 15V). Solution: Bias the the gate of M2L and M2R at a slightly lower voltage.

Instead of using Vdd-Vt-2Vdsat to bias Vbcp, we can set Vbcp=Vdd Vt 2 2 Vdsat. I picked this value since if we set (W/L)6 = 1/8 * (W/L)5_folded,cascode, it sets Vbcp to the above expression. This sets the drain of M5 to Vdd Vt 2 2 Vdsat Vt Vdsat Vdd 180mV From the drain of M5, we have to get through another transistor to get to the output node, and since vdsat ~ 100mV, it will allow our Vout to get up to Vdd-300mV while all transistors are in saturation. Sizing MB8 and MB7 is exactly the same method as sizing MB6 and MB5. First, i sized MB8 by mirroring MB4, but using half of the current. (W/L)8 = ½ *(W/L)4. Reason: the transistors that i am trying to bias (nmos M3L, and M3R) are using 100uA. Its slightly easier if currents are matched. Now i sized MB7 to bias Vbcn. Vbcn=Vt 2 2 Vdsat. The analysis is the same as above. This imples (W/L)7=1/8* (W/L)3_folded,cascode This completes our biasing network. 4. Size the transistors for the folded cascode : I do not intend to post my transistor sizing for the folded cascode. This is for your project =). You maybe be able to figure out most of the W/L ratios just from the biasing structure I've used. 5. Testing the Circuit. Spice code : *HW7 Problem 3.options nomod accurate=1 post.op.lib 'ee140_model_level1.lib' TT.global vdd vss vss vss 0 0 vdd vdd 0 2.subckt my_reference vbcp vbcn vb5 vb5t xmb4 vb5t vb5 vdd vdd pmos w=40000u l=100u xmb3 vb5 vb5 vdd vdd pmos w=40000u l=100u xmb1 vb5t vb5t vss vss nmos w=500u l=10u xmb2 vb5 vb5t s2 s2 nmos w=2000u l=10u rs s2 vss 500 xmb5 vbcp vb5t vss vss nmos w=500u l=10u xmb6 vbcp vbcp vdd vdd pmos w=50u l=1u xmb8 vbcn vb5 vdd vdd pmos w=2000u l=10u xmb7 vbcn vbcn vss vss nmos w=125u l=10u

.ends.subckt start_up vb5t vb5 xinvp gate vb5t vdd vdd pmos w=1u l=1000u xinvn gate vb5t vss vss nmos w=1000u l=1u xpulldown vb5 gate vss vss nmos w=1u l=1u.ends.subckt folded_cascode vb5 vb5t vbcp vbcn vp vn out *sizing this amplifier will be your project =) xm1l dp vp middle middle nmos w=?? l=u xm1r dn vn middle middle nmos w=?? l=1u xm5t middle vb5t vss vss nmos w=?? l=1u xm5l dp vb5 vdd vdd pmos w=?? l=1u xm5r dn vb5 vdd vdd pmos w=?? l=1u xm2l d2 vbcp dp dp pmos w=?? l=1u xm2r out vbcp dn dn pmos w=?? l=1u xm3l d2 vbcn s3l s3l nmos w=?? l=1u xm3r out vbcn s3r s3r nmos w=?? l=1u xm4l s3l d2 vss vss nmos w=?? l=1u xm4r s3r d2 vss vss nmos w=?? l=1u.ends xamp vb5 vb5t vbcp vbcn vp vn out folded_cascode xref vbcp vbcn vb5 vb5t my_reference xstart vb5t vb5 start_up.param offset=offset_1_7 *use one of the values from below. vic vn vss 1 vid vp vn dc=offset ac=1 cl out 0 50pf.param offset_1_7=0.0000786 * vdd =2,vout=1.7.param offset2_03= -0.000022 * vdd=2 vout=0.3.param offset15_03= -0.000008 * vdd=15 vout=0.3.param offset15_14_7=0.0003845 * vdd=15 vout=14.7.tf v(out) vid.ac dec 100 1 10g *.dc offset -0.000030-0.000005 0.0000001 *.print vout=par('v(out)') *.dc vdd 2 15 1

*.print id=par('id(xref.xmb1.m0)') *.print vdsat2=par('vdsat(xref.xmb2.m0)') *.print vdsat1=par('vdsat(xref.xmb1.m0)').end Plots: You should have 4 plots, one for each case: Vdd=15V Vout=14.7 Vdd=15V Vout=0.3 Vdd=2V Vout=1.7 Vdd=2V Vout=0.3 I will only provided this one since the other plots look similar. Vdd=2V Vout=1.7

Vdd W/L=40000um/100um MB4 V B5 W/L=40000um/100um MB3 W/L=50um/1um MB8 W/L=2000um/10um MB6 V BCN or V B5T W/L=1um/1um W/L=500um/10um MB1 V B5T W/L=2000um/10um MB2 V BCP MB5 W/L=500um/10um W/L=125um/10um MB7 R S=500 W/L=1um/1000um W/L=1000um/1um Startup circuit (avoid I b1 =I b2 =0) Supply independent Bias voltage generation V B5 M5L Vdd M5R Folded cascode I d2l = I d5l -I d1l = I d5l -(I d5t /2 + g m1 V id /2) I d2r = I d5r -I d1r = I d5r -(I d5t /2 - g m1 V id /2) V + V - V BCP M2L M2R V BCN M3L M3R C L M1L M1R M4L M4R V B5T M5T